Build log
nerves_system_rpi4
avatarex 0.2.0 · fail · run avatarex-0.2.0-1789930095359
412 of 412 lines
1Resolving Hex dependencies...2Resolution completed in 0.241s3Unchanged:4 avatarex 0.2.05 cc_precompiler 0.1.116 circular_buffer 1.1.07 elixir_make 0.10.08 image 0.31.19 interactive_cmd 0.1.410 jason 1.4.511 nerves 1.15.012 nerves_discovery 0.1.513 nerves_logging 0.2.414 nerves_runtime 0.13.1315 nerves_system_bbb 2.30.216 nerves_system_br 1.34.417 nerves_system_mangopi_mq_pro 0.17.218 nerves_system_qemu_aarch64 0.4.219 nerves_system_rpi 2.1.220 nerves_system_rpi0 2.1.221 nerves_system_rpi0_2 2.1.222 nerves_system_rpi2 2.1.223 nerves_system_rpi3 2.1.224 nerves_system_rpi4 2.1.225 nerves_system_rpi5 2.1.226 nerves_system_x86_64 1.34.227 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.128 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.129 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.130 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.131 nerves_toolchain_x86_64_nerves_linux_musl 15.3.132 nerves_uevent 0.1.733 phoenix_html 3.3.434 property_table 0.3.435 ring_logger 0.11.736 shoehorn 0.9.337 sweet_xml 0.7.538 tablet 0.3.339 toolshed 0.5.040 uboot_env 1.0.241 vix 0.41.042* Getting avatarex (Hex package)43* Getting nerves (Hex package)44* Getting shoehorn (Hex package)45* Getting ring_logger (Hex package)46* Getting toolshed (Hex package)47* Getting nerves_runtime (Hex package)48* Getting nerves_system_bbb (Hex package)49* Getting nerves_system_mangopi_mq_pro (Hex package)50* Getting nerves_system_qemu_aarch64 (Hex package)51* Getting nerves_system_rpi (Hex package)52* Getting nerves_system_rpi0 (Hex package)53* Getting nerves_system_rpi0_2 (Hex package)54* Getting nerves_system_rpi2 (Hex package)55* Getting nerves_system_rpi3 (Hex package)56* Getting nerves_system_rpi4 (Hex package)57* Getting nerves_system_rpi5 (Hex package)58* Getting nerves_system_x86_64 (Hex package)59* Getting nerves_system_br (Hex package)60* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)61* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)62* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)63* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)64* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)65* Getting nerves_logging (Hex package)66* Getting nerves_uevent (Hex package)67* Getting uboot_env (Hex package)68* Getting elixir_make (Hex package)69* Getting property_table (Hex package)70* Getting circular_buffer (Hex package)71* Getting interactive_cmd (Hex package)72* Getting jason (Hex package)73* Getting nerves_discovery (Hex package)74* Getting tablet (Hex package)75* Getting image (Hex package)76* Getting phoenix_html (Hex package)77* Getting sweet_xml (Hex package)78* Getting vix (Hex package)79* Getting cc_precompiler (Hex package)80==> jason81Compiling 10 files (.ex)82Generated jason app83==> tablet84Compiling 2 files (.ex)85Generated tablet app86==> elixir_make87Compiling 8 files (.ex)88Generated elixir_make app89==> nerves_discovery90Compiling 5 files (.ex)91Generated nerves_discovery app92==> interactive_cmd93Compiling 1 file (.ex)94Generated interactive_cmd app95==> nerves96HOST_CC port.o97HOST_LD port98Compiling 55 files (.ex)99Generated nerves app100==> nerves_compatibility_test101102Nerves environment103 MIX_TARGET: rpi4104 MIX_ENV: prod105106Checking for prebuilt Nerves artifacts...107 Found nerves_system_rpi4 in cache108 /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2109 Found nerves_toolchain_aarch64_nerves_linux_gnu in cache110 /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1111==> jason112Compiling 10 files (.ex)113Compiling lib/decoder.ex (it's taking more than 10s)114Compiling lib/encode.ex (it's taking more than 10s)115Generated jason app116==> tablet117Compiling 2 files (.ex)118Generated tablet app119==> elixir_make120Compiling 8 files (.ex)121Generated elixir_make app122==> nerves_discovery123Compiling 5 files (.ex)124Generated nerves_discovery app125==> interactive_cmd126Compiling 1 file (.ex)127Generated interactive_cmd app128==> nerves129HOST_CC port.o130HOST_LD port131Compiling 55 files (.ex)132Compiling lib/mix/tasks/firmware.patch.ex (it's taking more than 10s)133Compiling lib/mix/tasks/firmware.ex (it's taking more than 10s)134Compiling lib/mix/tasks/nerves.artifact.get.ex (it's taking more than 10s)135Generated nerves app136==> nerves_system_br137Generated nerves_system_br app138==> nerves_toolchain_aarch64_nerves_linux_gnu139Compiling 1 file (.ex)140Generated nerves_toolchain_aarch64_nerves_linux_gnu app141==> nerves_system_rpi4142Generated nerves_system_rpi4 app143==> nerves_compatibility_test144145Nerves environment146 MIX_TARGET: rpi4147 MIX_ENV: prod148149==> circular_buffer150Compiling 1 file (.ex)151Generated circular_buffer app152==> nerves_logging153 CC kmsg_tailer.o154 LD kmsg_tailer155Compiling 5 files (.ex)156Generated nerves_logging app157==> ring_logger158Compiling 7 files (.ex)159Generated ring_logger app160==> shoehorn161Compiling 8 files (.ex)162Generated shoehorn app163==> phoenix_html164Compiling 9 files (.ex)165 warning: you are implementing a protocol for Plug.Conn but said module is not available. Make sure the module name is correct. If Plug.Conn is an optional dependency, please wrap the protocol implementation in a Code.ensure_loaded?(Plug.Conn) check166 │167 87 │ defimpl Phoenix.HTML.FormData, for: [Plug.Conn, Atom, Map] do168 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~169 │170 └─ lib/phoenix_html/form_data.ex:87: (file)171172 warning: comparison between distinct types found:173174 id == nil175176 given types:177178 dynamic(not false and not nil and not binary()) == nil179180 where "id" was given the types:181182 # type: dynamic(not false and not nil)183 # from: lib/phoenix_html/form_data.ex:92:8184 id = Keyword.get(opts, :id) || name185186 # type: dynamic(not false and not nil and not binary())187 # from: lib/phoenix_html/form_data.ex:94:12188 is_binary(id)189190 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false191192 type warning found at:193 │194 94 │ unless is_binary(id) or is_nil(id) do195 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~196 │197 └─ lib/phoenix_html/form_data.ex:94: Phoenix.HTML.FormData.Atom.to_form/2198199 warning: the 1st pattern in clause will never match:200201 60202203 because it is expected to receive type:204205 dynamic(empty_list() or non_empty_list(term(), term()))206207 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())208209 type warning found at:210 │211 56 │ def to_iodata(?<), do: "<"212 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~213 │214 └─ lib/phoenix_html/safe.ex:56: Phoenix.HTML.Safe.List.to_iodata/1215216 warning: the 1st pattern in clause will never match:217218 62219220 because it is expected to receive type:221222 dynamic(empty_list() or non_empty_list(term(), term()))223224 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())225226 type warning found at:227 │228 57 │ def to_iodata(?>), do: ">"229 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~230 │231 └─ lib/phoenix_html/safe.ex:57: Phoenix.HTML.Safe.List.to_iodata/1232233 warning: the 1st pattern in clause will never match:234235 38236237 because it is expected to receive type:238239 dynamic(empty_list() or non_empty_list(term(), term()))240241 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())242243 type warning found at:244 │245 58 │ def to_iodata(?&), do: "&"246 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~247 │248 └─ lib/phoenix_html/safe.ex:58: Phoenix.HTML.Safe.List.to_iodata/1249250 warning: the 1st pattern in clause will never match:251252 34253254 because it is expected to receive type:255256 dynamic(empty_list() or non_empty_list(term(), term()))257258 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())259260 type warning found at:261 │262 59 │ def to_iodata(?"), do: """263 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~264 │265 └─ lib/phoenix_html/safe.ex:59: Phoenix.HTML.Safe.List.to_iodata/1266267 warning: the 1st pattern in clause will never match:268269 39270271 because it is expected to receive type:272273 dynamic(empty_list() or non_empty_list(term(), term()))274275 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())276277 type warning found at:278 │279 60 │ def to_iodata(?'), do: "'"280 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~281 │282 └─ lib/phoenix_html/safe.ex:60: Phoenix.HTML.Safe.List.to_iodata/1283284 warning: the 1st pattern in clause will never match:285286 {:safe, data}287288 because it is expected to receive type:289290 dynamic(empty_list() or non_empty_list(term(), term()))291292 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())293294 type warning found at:295 │296 76 │ def to_iodata({:safe, data}) do297 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~298 │299 └─ lib/phoenix_html/safe.ex:76: Phoenix.HTML.Safe.List.to_iodata/1300301 warning: the following clause is redundant:302303 def to_iodata(other)304305 it has type:306307 dynamic(empty_list() or non_empty_list(term(), term()))308309 previous clauses have already matched on the following types:310311 non_empty_list(term(), term())312 empty_list()313314 │315 80 │ def to_iodata(other) do316 │ ~317 │318 └─ lib/phoenix_html/safe.ex:80:7: Phoenix.HTML.Safe.List.to_iodata/1319320 warning: the 1st pattern in clause will never match:321322 h323324 because it is expected to receive type:325326 dynamic(empty_list() or non_empty_list(term(), term()))327328 where "h" was given the type:329330 # type: integer()331 # from: lib/phoenix_html/safe.ex:62:25332 is_integer(h)333334 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())335336 type warning found at:337 │338 62 │ def to_iodata(h) when is_integer(h) and h <= 255 do339 │ ~340 │341 └─ lib/phoenix_html/safe.ex:62:17: Phoenix.HTML.Safe.List.to_iodata/1342343 warning: the 1st pattern in clause will never match:344345 h346347 because it is expected to receive type:348349 dynamic(empty_list() or non_empty_list(term(), term()))350351 where "h" was given the type:352353 # type: integer()354 # from: lib/phoenix_html/safe.ex:66:25355 is_integer(h)356357 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())358359 type warning found at:360 │361 66 │ def to_iodata(h) when is_integer(h) do362 │ ~363 │364 └─ lib/phoenix_html/safe.ex:66:17: Phoenix.HTML.Safe.List.to_iodata/1365366 warning: the 1st pattern in clause will never match:367368 h369370 because it is expected to receive type:371372 dynamic(empty_list() or non_empty_list(term(), term()))373374 where "h" was given the type:375376 # type: binary()377 # from: lib/phoenix_html/safe.ex:72:25378 is_binary(h)379380 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())381382 type warning found at:383 │384 72 │ def to_iodata(h) when is_binary(h) do385 │ ~386 │387 └─ lib/phoenix_html/safe.ex:72:17: Phoenix.HTML.Safe.List.to_iodata/1388389Generated phoenix_html app390==> uboot_env391Compiling 5 files (.ex)392Generated uboot_env app393==> cc_precompiler394Compiling 3 files (.ex)395Generated cc_precompiler app396==> vix397Downloading precompiled NIF to /home/nerves/.cache/elixir_make/vix-nif-2.17-aarch64-linux-gnu-0.41.0.tar.gz398Compiling 28 files (.ex)39940018:57:01.166 [warning] The on_load function for module Elixir.Vix.Nif returned:401{:error,402 {:load_failed,403 ~c"Failed to load NIF library: '/work/proj/_build/rpi4/lib/vix/priv/vix.so: cannot open shared object file: No such file or directory'"}}404405406== Compilation error in file lib/vix/vips/enum.ex ==407** (UndefinedFunctionError) function Vix.Nif.nif_vips_enum_list/0 is undefined (module Vix.Nif is not available)408 Vix.Nif.nif_vips_enum_list()409 lib/vix/vips/enum.ex:5: Vix.Vips.EnumHelper.__before_compile__/1410 (stdlib 8.0.3) lists.erl:2465: :lists.foldl/3411 (stdlib 8.0.3) lists.erl:2470: :lists.foldl_1/3412could not compile dependency :vix, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile vix --force", update it with "mix deps.update vix" or clean it with "mix deps.clean vix"