Build log
nerves_system_rpi0_2
exnotify 0.1.0 · fail · run exnotify-0.1.0-1792960609835
316 of 316 lines
1Resolving Hex dependencies...2Resolution completed in 0.052s3Unchanged:4 bunch 1.6.45 bunch_native 0.3.06 bundlex 0.4.17 circular_buffer 1.1.08 elixir_make 0.10.19 exnotify 0.1.010 interactive_cmd 0.1.411 logger_backends 1.0.112 nerves 2.0.0-pre.313 nerves_discovery 0.1.614 nerves_logging 0.2.415 nerves_runtime 0.13.1316 nerves_system_br 1.35.317 nerves_system_rpi0_2 2.2.118 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.119 nerves_uevent 0.1.820 property_table 0.3.421 qex 0.5.222 ring_logger 0.11.723 secure_random 0.5.124 shmex 0.3.025 tablet 0.3.326 toolshed 0.5.027 uboot_env 1.0.328 unifex 0.4.029* Getting exnotify (Hex package)30* Getting nerves (Hex package)31* Getting logger_backends (Hex package)32* Getting ring_logger (Hex package)33* Getting toolshed (Hex package)34* Getting nerves_runtime (Hex package)35* Getting nerves_system_rpi0_2 (Hex package)36* Getting nerves_system_br (Hex package)37* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)38* Getting nerves_logging (Hex package)39* Getting nerves_uevent (Hex package)40* Getting uboot_env (Hex package)41* Getting elixir_make (Hex package)42* Getting property_table (Hex package)43* Getting circular_buffer (Hex package)44* Getting interactive_cmd (Hex package)45* Getting nerves_discovery (Hex package)46* Getting tablet (Hex package)47* Getting unifex (Hex package)48* Getting bunch (Hex package)49* Getting bundlex (Hex package)50* Getting shmex (Hex package)51* Getting bunch_native (Hex package)52* Getting qex (Hex package)53* Getting secure_random (Hex package)54==> tablet55Compiling 2 files (.ex)56Generated tablet app57==> nerves_discovery58Compiling 5 files (.ex)59Generated nerves_discovery app60==> interactive_cmd61Compiling 1 file (.ex)62Generated interactive_cmd app63==> nerves64Compiling 65 files (.ex)65Generated nerves app66==> nerves_system_br67Generated nerves_system_br app68==> circular_buffer69Compiling 1 file (.ex)70Generated circular_buffer app71==> logger_backends72Compiling 7 files (.ex)73Generated logger_backends app74==> bunch75Compiling 19 files (.ex)76Generated bunch app77==> elixir_make78Compiling 8 files (.ex)79Generated elixir_make app80==> nerves_logging81 CC kmsg_tailer.o82 LD kmsg_tailer83Compiling 5 files (.ex)84Generated nerves_logging app85==> ring_logger86Compiling 7 files (.ex)87Generated ring_logger app88==> nerves_toolchain_aarch64_nerves_linux_gnu89Compiling 1 file (.ex)90Generated nerves_toolchain_aarch64_nerves_linux_gnu app91==> nerves_system_rpi0_292Generated nerves_system_rpi0_2 app93==> secure_random94Compiling 1 file (.ex)95 warning: use Bitwise is deprecated. import Bitwise instead96 │97 2 │ use Bitwise98 │ ~~~~~~~~~~~99 │100 └─ lib/secure_random.ex:2: SecureRandom (module)101102Generated secure_random app103==> uboot_env104Compiling 5 files (.ex)105Generated uboot_env app106==> qex107Compiling 4 files (.ex)108warning: x..y inside match is deprecated, you must always match on the step: x..y//var or x..y//_ if you want to ignore it109 lib/qex.ex:45: Qex.new/1110111Generated qex app112==> bundlex113Compiling 29 files (.ex)114 warning: using single-quoted strings to represent charlists is deprecated.115 Use ~c"" if you indeed want a charlist or use "" instead.116 You may run "mix format --migrate" to change all single-quoted117 strings to use the ~c sigil and fix this warning.118 │119 38 │ {port, {:data, {:eol, 'ready'}}},120 │ ~121 │122 └─ lib/bundlex/cnode/server.ex:38:31123124 warning: using single-quoted strings to represent charlists is deprecated.125 Use ~c"" if you indeed want a charlist or use "" instead.126 You may run "mix format --migrate" to change all single-quoted127 strings to use the ~c sigil and fix this warning.128 │129 48 │ :ok = :win32reg.change_key(reg, '\\hklm\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion')130 │ ~131 │132 └─ lib/bundlex/platform.ex:48:41133134 warning: using single-quoted strings to represent charlists is deprecated.135 Use ~c"" if you indeed want a charlist or use "" instead.136 You may run "mix format --migrate" to change all single-quoted137 strings to use the ~c sigil and fix this warning.138 │139 49 │ {:ok, build} = :win32reg.value(reg, 'BuildLabEx')140 │ ~141 │142 └─ lib/bundlex/platform.ex:49:45143144 warning: expected a map or struct when accessing .toolchain_module in expression:145146 Bundlex.Platform.get_module(platform).toolchain_module147148 but got type:149150 dynamic(151 Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or152 Bundlex.Platform.Windows64153 )154155 where "platform" was given the type:156157 # type: dynamic(:linux or :macosx or :windows32 or :windows64)158 # from: lib/tasks/compile.bundlex.ex:34:37159 Bundlex.Platform.get_module(platform)160161 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()162163 type warning found at:164 │165 34 │ commands = commands ++ Platform.get_module(platform).toolchain_module.before_all!(platform)166 │ ~167 │168 └─ lib/tasks/compile.bundlex.ex:34:58: Mix.Tasks.Compile.Bundlex.run/1169170 warning: a struct for Bundlex.Native is expected on struct update:171172 %Bundlex.Native{native | deps: parsed_deps, preprocessors: preprocessors}173174 but got type:175176 dynamic(%{..., sources: term()})177178 where "native" was given the type:179180 # type: dynamic(%{..., sources: term()})181 # from: lib/bundlex/native.ex:126:51182 Enum.empty?(native.sources)183184 when defining the variable "native", you must also pattern match on "%Bundlex.Native{}"185186 type warning found at:187 │188 129 │ %__MODULE__{native | deps: parsed_deps, preprocessors: preprocessors}189 │ ~190 │191 └─ lib/bundlex/native.ex:129:9: Bundlex.Native.parse_native/2192193 warning: expected a map or struct when accessing .toolchain_module in expression:194195 Bundlex.Platform.get_module(platform).toolchain_module196197 but got type:198199 dynamic(200 Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or201 Bundlex.Platform.Windows64202 )203204 where "platform" was given the type:205206 # type: dynamic(:linux or :macosx or :windows32 or :windows64)207 # from: lib/bundlex/native.ex:106:27208 Bundlex.Platform.get_module(platform)209210 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()211212 type warning found at:213 │214 106 │ commands = Platform.get_module(platform).toolchain_module.compiler_commands(native)215 │ ~216 │217 └─ lib/bundlex/native.ex:106:48: Bundlex.Native.resolve_native/4218219Generated bundlex app220warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()221 (bundlex 0.4.1) lib/tasks/compile.bundlex.ex:34: Mix.Tasks.Compile.Bundlex.run/1222 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5223 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2224 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4225 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2226227==> bunch_native228Bundlex: Building natives: lib, bunch229warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()230 (bundlex 0.4.1) lib/bundlex/native.ex:106: Bundlex.Native.resolve_native/4231 (bunch 1.6.4) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/3232 (bundlex 0.4.1) lib/tasks/compile.bundlex.ex:38: Mix.Tasks.Compile.Bundlex.run/1233 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5234 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2235236Generated bunch_native app237==> shmex238Bundlex: Building natives: lib, shmex239Compiling 2 files (.ex)240 warning: the following pattern will never match:241242 {:ok, trimmed_front} <- trim_leading(shm, bytes)243244 because the right-hand side has type:245246 none()247248 where "bytes" was given the type:249250 # type: dynamic()251 # from: lib/shmex_native.ex:119:17252 bytes253254 where "shm" was given the type:255256 # type: dynamic()257 # from: lib/shmex_native.ex:119:12258 shm259260 type warning found at:261 │262 120 │ with {:ok, trimmed_front} <- trim_leading(shm, bytes),263 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~264 │265 └─ lib/shmex_native.ex:120: Shmex.Native.trim/2266267Generated shmex app268==> unifex269Bundlex: Building natives: unifex270Compiling 30 files (.ex)271 warning: unused require Bundlex.CNode272 │273 6 │ require Bundlex.CNode274 │ ~275 │276 └─ lib/unifex/cnode.ex:6:3277278Generated unifex app279==> exnotify280/usr/bin/sh: 1: clang-format: not found281Bundlex: Building natives: inotify282Compiling 1 file (.ex)283Generated exnotify app284==> property_table285Compiling 8 files (.ex)286Generated property_table app287==> nerves_uevent288 CC uevent.o289 LD uevent290Compiling 5 files (.ex)291Generated nerves_uevent app292==> nerves_runtime293Compiling 14 files (.ex)294Generated nerves_runtime app295==> toolshed296Compiling 5 files (.ex)297Generated toolshed app298==> nerves_compatibility_test299Compiling 2 files (.ex)300Generated nerves_compatibility_test app301* creating _build/rpi0_2/rel/nerves_compatibility_test/releases/0.1.0/vm.args302Building firmware...303** (Mix) Unexpected executable format for '/work/proj/_build/rpi0_2/rel/nerves_compatibility_test/lib/exnotify-0.1.0/priv/bundlex/cnode/inotify'304305Got:306 %{endian: :little, flags: 0, machine: :x86_64, type: :elf, bits: 64}307308Expecting:309 %{endian: :little, flags: 0, machine: :aarch64, type: :elf, bits: 64}310311This file was compiled for the host or a different target and probably will not work.312313If you are very sure you know what you are doing, place an empty file in the same314directory as the offending file(s) called '.noscrub'. This disables scrubbing for315that directory.316