Build log
nerves_system_qemu_aarch64
ex_memvid 0.1.2 · fail · run ex_memvid-0.1.2-1791257685385
945 of 945 lines
1Resolving Hex dependencies...2Resolution completed in 0.257s3Unchanged:4 axon 0.8.15 bumblebee 0.7.16 castore 1.0.217 cc_precompiler 0.1.118 circular_buffer 1.1.09 complex 0.7.010 elixir_make 0.10.011 evision 0.2.1712 ex_maybe 1.1.113 ex_memvid 0.1.214 gen_state_machine 3.0.015 hnswlib 0.1.1016 interactive_cmd 0.1.417 jason 1.4.518 matrix_reloaded 2.3.019 nerves 2.0.0-pre.220 nerves_discovery 0.1.521 nerves_logging 0.2.422 nerves_runtime 0.13.1323 nerves_system_bbb 2.30.224 nerves_system_br 1.34.425 nerves_system_mangopi_mq_pro 0.17.226 nerves_system_qemu_aarch64 0.4.227 nerves_system_rpi0 2.1.228 nerves_system_rpi4 2.1.229 nerves_system_rpi5 2.1.230 nerves_system_trellis 0.5.031 nerves_system_x86_64 1.34.232 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.133 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.134 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.135 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.136 nerves_toolchain_x86_64_nerves_linux_musl 15.3.137 nerves_uevent 0.1.738 nimble_options 1.1.139 nx 0.13.140 nx_image 0.1.241 nx_signal 0.2.042 pngex 0.1.243 polaris 0.2.044 property_table 0.3.445 qr_code 3.2.046 qrex 0.1.047 result 1.7.248 ring_logger 0.11.749 rustler_precompiled 0.10.050 safetensors 0.1.351 tablet 0.3.352 telemetry 1.4.253 text_chunker 0.7.054 tokenizers 0.5.155 toolshed 0.5.056 uboot_env 1.0.257 unpickler 0.1.058 unzip 0.13.059 xav 0.12.060 xml_builder 2.4.161* Getting ex_memvid (Hex package)62* Getting nerves (Hex package)63* Getting ring_logger (Hex package)64* Getting toolshed (Hex package)65* Getting nerves_runtime (Hex package)66* Getting nerves_system_bbb (Hex package)67* Getting nerves_system_mangopi_mq_pro (Hex package)68* Getting nerves_system_qemu_aarch64 (Hex package)69* Getting nerves_system_rpi0 (Hex package)70* Getting nerves_system_rpi4 (Hex package)71* Getting nerves_system_rpi5 (Hex package)72* Getting nerves_system_trellis (Hex package)73* Getting nerves_system_x86_64 (Hex package)74* Getting nerves_system_br (Hex package)75* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)76* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)77* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)78* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)79* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)80* Getting nerves_logging (Hex package)81* Getting nerves_uevent (Hex package)82* Getting uboot_env (Hex package)83* Getting elixir_make (Hex package)84* Getting property_table (Hex package)85* Getting circular_buffer (Hex package)86* Getting interactive_cmd (Hex package)87* Getting nerves_discovery (Hex package)88* Getting tablet (Hex package)89* Getting bumblebee (Hex package)90* Getting evision (Hex package)91* Getting gen_state_machine (Hex package)92* Getting hnswlib (Hex package)93* Getting nimble_options (Hex package)94* Getting nx (Hex package)95* Getting qr_code (Hex package)96* Getting qrex (Hex package)97* Getting text_chunker (Hex package)98* Getting xav (Hex package)99* Getting rustler_precompiled (Hex package)100* Getting ex_maybe (Hex package)101* Getting matrix_reloaded (Hex package)102* Getting pngex (Hex package)103* Getting result (Hex package)104* Getting xml_builder (Hex package)105* Getting complex (Hex package)106* Getting telemetry (Hex package)107* Getting cc_precompiler (Hex package)108* Getting castore (Hex package)109* Getting axon (Hex package)110* Getting jason (Hex package)111* Getting nx_image (Hex package)112* Getting nx_signal (Hex package)113* Getting safetensors (Hex package)114* Getting tokenizers (Hex package)115* Getting unpickler (Hex package)116* Getting unzip (Hex package)117* Getting polaris (Hex package)118 warning: the following conditional expression:119120 needs_unarchive121122 will always evaluate to:123124 dynamic(true)125126 where "needs_unarchive" was given the type:127128 # type: dynamic(true)129 # from: mix.exs:760:45130 {needs_download, needs_unarchive} =131 if File.exists?(cache_file) do132 if File.regular?(cache_file) do133 {:ok, algo, cache_file_checksum} = checksum(cache_file)134 135 case Logger.__should_log__(:info, Mix.Tasks.Compile.EvisionPrecompiled) do136 ...137 end138 139 {checksum_matched?, algo_in_map, checksum_in_map} =140 verify_checksum(cache_file, algo, cache_file_checksum)141 142 if checksum_matched? do143 {false, true}144 else145 case Logger.__should_log__(:error, Mix.Tasks.Compile.EvisionPrecompiled) do146 ...147 end148 149 case Logger.__should_log__(:warning, Mix.Tasks.Compile.EvisionPrecompiled) do150 ...151 end152 153 {true, true}154 end155 else156 File.rm_rf!(cache_file)157 158 case Logger.__should_log__(:warning, Mix.Tasks.Compile.EvisionPrecompiled) do159 ...160 end161 162 {true, true}163 end164 else165 {true, true}166 end167168 type warning found at:169 │170 837 │ if needs_unarchive do171 │ ~~~~~~~~~~~~~~~~~~~~~172 │173 └─ mix.exs:837: Mix.Tasks.Compile.EvisionPrecompiled.prepare/8174175==> nerves_system_br176Generated nerves_system_br app177==> result178Compiling 7 files (.ex)179Generated result app180==> circular_buffer181Compiling 1 file (.ex)182Generated circular_buffer app183==> nimble_options184Compiling 3 files (.ex)185Generated nimble_options app186==> jason187Compiling 10 files (.ex)188Generated jason app189==> xml_builder190Compiling 4 files (.ex)191Generated xml_builder app192==> unpickler193Compiling 3 files (.ex)194 warning: the variable "prefix_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator195 │196 275 │ <<string::binary-size(prefix_size), ?L>> = string197 │ ~198 │199 └─ lib/unpickler.ex:275:27: Unpickler.load_op/3200201 warning: the variable "content_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator202 │203 306 │ <<q, string::binary-size(content_size), q>> when q in [?', ?"] ->204 │ ~205 │206 └─ lib/unpickler.ex:306:34: Unpickler.load_op/3207208Generated unpickler app209==> complex210Compiling 2 files (.ex)211 warning: the following clause is redundant:212213 def divide(n, b) when is_number(n) and (b === :infinity or b === :neg_infinity)214215 it has type:216217 dynamic(float() or integer()), dynamic(:infinity or :neg_infinity)218219 previous clauses have already matched on the following types:220221 :infinity or :nan or :neg_infinity, :infinity or :nan or :neg_infinity222 :nan, float() or integer()223 float() or integer(), :nan224 float() or integer(), :infinity225 float() or integer(), :neg_infinity226 float() or integer(), float() or integer()227228 │229 590 │ def divide(n, b) when is_number(n) and b in [:infinity, :neg_infinity] do230 │ ~231 │232 └─ lib/complex.ex:590:7: Complex.divide/2233234 warning: the following clause is redundant:235236 def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0237238 it has type:239240 dynamic(%Complex{re: float() or integer(), im: float() or integer()}), :neg_infinity241242 previous clauses have already matched on the following types:243244 :infinity or :nan or :neg_infinity, %Complex{}245 %Complex{}, :infinity or :nan or :neg_infinity246 %Complex{re: :infinity or :nan or :neg_infinity}, term()247 %Complex{im: :infinity or :nan or :neg_infinity}, term()248 term(), %Complex{re: :infinity or :nan or :neg_infinity}249 term(), %Complex{im: :infinity or :nan or :neg_infinity}250 :nan, term()251 term(), :nan252253 │254 1143 │ def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0, do: new(:infinity, 0)255 │ ~256 │257 └─ lib/complex.ex:1143:7: Complex.pow/2258259 warning: the following clause is redundant:260261 def atan2(:nan, :nan)262263 it has type:264265 :nan, :nan266267 previous clauses have already matched on the following types:268269 float() or integer(), float() or integer()270 :infinity, :infinity271 :infinity, :neg_infinity272 :infinity, :nan273 :infinity, float() or integer()274 :neg_infinity, :infinity275 :neg_infinity, :neg_infinity276 :neg_infinity, :nan277 :neg_infinity, float() or integer()278 :nan, :infinity or :nan or :neg_infinity or float() or integer()279 :infinity or :nan or :neg_infinity or float() or integer(), :nan280281 │282 1458 │ def atan2(:nan, :nan), do: :nan283 │ ~284 │285 └─ lib/complex.ex:1458:7: Complex.atan2/2286287Generated complex app288==> tablet289Compiling 2 files (.ex)290Generated tablet app291==> elixir_make292Compiling 8 files (.ex)293Generated elixir_make app294==> nerves_logging295 CC kmsg_tailer.o296 LD kmsg_tailer297Compiling 5 files (.ex)298Generated nerves_logging app299==> castore300Compiling 1 file (.ex)301Generated castore app302==> unzip303Compiling 6 files (.ex)304 warning: unused require Logger305 │306 40 │ require Logger307 │ ~308 │309 └─ lib/unzip.ex:40:3310311Generated unzip app312==> gen_state_machine313Compiling 3 files (.ex)314 warning: using single-quoted strings to represent charlists is deprecated.315 Use ~c"" if you indeed want a charlist or use "" instead.316 You may run "mix format --migrate" to change all single-quoted317 strings to use the ~c sigil and fix this warning.318 │319 21 │ {'** State machine ~tp terminating~n' ++ _ = format, args} ->320 │ ~321 │322 └─ lib/gen_state_machine/translator.ex:21:8323324 warning: using single-quoted strings to represent charlists is deprecated.325 Use ~c"" if you indeed want a charlist or use "" instead.326 You may run "mix format --migrate" to change all single-quoted327 strings to use the ~c sigil and fix this warning.328 │329 24 │ {'** State machine ~p terminating~n' ++ _ = format, args} ->330 │ ~331 │332 └─ lib/gen_state_machine/translator.ex:24:8333334 warning: List.zip/1 is deprecated. Use Enum.zip/1 instead335 │336 62 │ |> List.zip()337 │ ~338 │339 └─ lib/gen_state_machine/translator.ex:62:15: GenStateMachine.Translator.do_translate/4340341Generated gen_state_machine app342==> nerves_discovery343Compiling 5 files (.ex)344Generated nerves_discovery app345==> ring_logger346Compiling 7 files (.ex)347Generated ring_logger app348==> interactive_cmd349Compiling 1 file (.ex)350Generated interactive_cmd app351==> nerves352Compiling 65 files (.ex)353 warning: redefining module Mix.Tasks.Nerves.Init (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Mix.Tasks.Nerves.Init.beam)354 │355 6 │ defmodule Mix.Tasks.Nerves.Init do356 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~357 │358 └─ lib/mix/tasks/nerves.init.ex:6: Mix.Tasks.Nerves.Init (module)359360 warning: redefining module Nerves (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.beam)361 │362 6 │ defmodule Nerves do363 │ ~~~~~~~~~~~~~~~~~~~364 │365 └─ lib/nerves.ex:6: Nerves (module)366367 warning: redefining module Nerves.ArtifactResolver (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.ArtifactResolver.beam)368 │369 5 │ defmodule Nerves.ArtifactResolver do370 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~371 │372 └─ lib/nerves/artifact_resolver.ex:5: Nerves.ArtifactResolver (module)373374 warning: redefining module Nerves.BuildAction.AppModes (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.AppModes.beam)375 │376 6 │ defmodule Nerves.BuildAction.AppModes do377 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~378 │379 └─ lib/nerves/build_action/app_modes.ex:6: Nerves.BuildAction.AppModes (module)380381 warning: redefining module Nerves.BuildAction.CheckExecutables (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.CheckExecutables.beam)382 │383 5 │ defmodule Nerves.BuildAction.CheckExecutables do384 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~385 │386 └─ lib/nerves/build_action/check_executables.ex:5: Nerves.BuildAction.CheckExecutables (module)387388 warning: redefining module Nerves.BuildAction.Erlinit (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.Erlinit.beam)389 │390 8 │ defmodule Nerves.BuildAction.Erlinit do391 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~392 │393 └─ lib/nerves/build_action/erlinit.ex:8: Nerves.BuildAction.Erlinit (module)394395 warning: redefining module Nerves.BuildAction.Firmware (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.Firmware.beam)396 │397 5 │ defmodule Nerves.BuildAction.Firmware do398 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~399 │400 └─ lib/nerves/build_action/firmware.ex:5: Nerves.BuildAction.Firmware (module)401402 warning: redefining module Nerves.BuildAction.IExStartupCheck (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.IExStartupCheck.beam)403 │404 7 │ defmodule Nerves.BuildAction.IExStartupCheck do405 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~406 │407 └─ lib/nerves/build_action/iex_startup_check.ex:7: Nerves.BuildAction.IExStartupCheck (module)408409 warning: redefining module Nerves.BuildAction.NervesV1System (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1System.beam)410 │411 5 │ defmodule Nerves.BuildAction.NervesV1System do412 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~413 │414 └─ lib/nerves/build_action/nerves_v1_system.ex:5: Nerves.BuildAction.NervesV1System (module)415416 warning: redefining module Nerves.BuildAction.NervesV1Toolchain (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1Toolchain.beam)417 │418 5 │ defmodule Nerves.BuildAction.NervesV1Toolchain do419 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~420 │421 └─ lib/nerves/build_action/nerves_v1_toolchain.ex:5: Nerves.BuildAction.NervesV1Toolchain (module)422423 warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)424 │425 5 │ defmodule Nerves.BuildAction.Rootfs do426 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~427 │428 └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)429430 warning: redefining module Nerves.BuildAction.SortApps (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)431 │432 6 │ defmodule Nerves.BuildAction.SortApps do433 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~434 │435 └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)436437 warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.StripAll.beam)438 │439 5 │ defmodule Nerves.BuildAction.StripAll do440 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~441 │442 └─ lib/nerves/build_action/strip_all.ex:5: Nerves.BuildAction.StripAll (module)443444 warning: redefining module Nerves.BuildAction.Trimmer (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.Trimmer.beam)445 │446 5 │ defmodule Nerves.BuildAction.Trimmer do447 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~448 │449 └─ lib/nerves/build_action/trimmer.ex:5: Nerves.BuildAction.Trimmer (module)450451 warning: redefining module Nerves.BuildPlan (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildPlan.beam)452 │453 5 │ defmodule Nerves.BuildPlan do454 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~455 │456 └─ lib/nerves/build_plan.ex:5: Nerves.BuildPlan (module)457458 warning: redefining module Nerves.BuildPlan.Checks (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildPlan.Checks.beam)459 │460 5 │ defmodule Nerves.BuildPlan.Checks do461 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~462 │463 └─ lib/nerves/build_plan/checks.ex:5: Nerves.BuildPlan.Checks (module)464465 warning: redefining module Nerves.Container (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.Container.beam)466 │467 6 │ defmodule Nerves.Container do468 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~469 │470 └─ lib/nerves/container.ex:6: Nerves.Container (module)471472 warning: redefining module Nerves.Fingerprint (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.Fingerprint.beam)473 │474 5 │ defmodule Nerves.Fingerprint do475 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~476 │477 └─ lib/nerves/fingerprint.ex:5: Nerves.Fingerprint (module)478479 warning: redefining module Nerves.MixPackage (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.MixPackage.beam)480 │481 5 │ defmodule Nerves.MixPackage do482 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~483 │484 └─ lib/nerves/mix_package.ex:5: Nerves.MixPackage (module)485486 warning: redefining module Nerves.Paths (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.Paths.beam)487 │488 5 │ defmodule Nerves.Paths do489 │ ~~~~~~~~~~~~~~~~~~~~~~~~~490 │491 └─ lib/nerves/paths.ex:5: Nerves.Paths (module)492493 warning: redefining module Nerves.TargetTuple (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.TargetTuple.beam)494 │495 5 │ defmodule Nerves.TargetTuple do496 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~497 │498 └─ lib/nerves/target_tuple.ex:5: Nerves.TargetTuple (module)499500Generated nerves app501==> nerves_toolchain_aarch64_nerves_linux_gnu502Compiling 1 file (.ex)503Generated nerves_toolchain_aarch64_nerves_linux_gnu app504==> nerves_system_qemu_aarch64505Compiling 1 file (.ex)506Generated nerves_system_qemu_aarch64 app507==> ex_maybe508Compiling 1 file (.ex)509Generated ex_maybe app510==> nerves_compatibility_test511===> Analyzing applications...512===> Compiling telemetry513==> nx514Compiling 43 files (.ex)515Compiling lib/nx/binary_backend.ex (it's taking more than 10s)516Generated nx app51751803:40:07.456 [info] EVISION_PREFER_PRECOMPILED: true; try to download and use the precompiled library.51952003:40:07.459 [info] Current target `aarch64-linux-gnu` has precompiled binaries.52152203:40:07.459 [info] Current host NIF version is `2.18`, will use precompiled binaries with NIF version 2.16.523==> evision524Downloading precompiled tarball from: https://github.com/cocoa-xu/evision/releases/download/v0.2.17/evision-nif_2.16-aarch64-linux-gnu-contrib-0.2.17.tar.gz52552603:40:10.331 [info] Precompiled binary tarball downloaded and saved to /home/nerves/.cache/evision-nif_2.16-aarch64-linux-gnu-contrib-0.2.17.tar.gz, sha256=e68f2139445f644b0274195c6d3adc0d6924032efba371116013d3418c102fbf52752803:40:12.916 [info] Copying priv directory: /home/nerves/.cache/evision-nif_2.16-aarch64-linux-gnu-contrib-0.2.17/priv => /work/proj/_build/qemu_aarch64/lib/evision/priv52953003:40:14.430 [info] Copying generated Elixir binding files: /home/nerves/.cache/evision-nif_2.16-aarch64-linux-gnu-contrib-0.2.17/elixir_generated => /work/proj/deps_qemu_aarch64/evision/lib/generated531warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"532 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2533 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1534 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5535 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2536 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4537 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2538539Compiling 685 files (.ex)540Compiling lib/generated/evision.ex (it's taking more than 10s)541Compiling lib/generated/evision_nif.ex (it's taking more than 10s)542 warning: the following clause will never match:543544 {:error, error} ->545546 because it attempts to match on the result of:547548 IO.binwrite(state.file, body)549550 which has type:551552 dynamic(not {:error, term()})553554 type warning found at:555 │556 79 │ {:error, error} ->557 │ ~~~~~~~~~~~~~~~~~~558 │559 └─ lib/zoo/utils/http.ex:79: Evision.Zoo.Utils.HTTP.download_receive/2560561 warning: the following clause will never match:562563 {:error, error} ->564565 because it attempts to match on the result of:566567 IO.binwrite(state.file, body_part)568569 which has type:570571 dynamic(not {:error, term()})572573 type warning found at:574 │575 106 │ {:error, error} ->576 │ ~~~~~~~~~~~~~~~~~~577 │578 └─ lib/zoo/utils/http.ex:106: Evision.Zoo.Utils.HTTP.download_receive/2579580 warning: the following clause is redundant:581582 def write(self, name, val) when is_binary(name) and is_integer(val)583584 it has type:585586 dynamic(), binary(), integer()587588 previous clauses have already matched on the following types:589590 term(), binary(), empty_list() or non_empty_list(term(), term())591 term(), binary(), binary()592 term(), binary(), float() or integer()593594 │595 704 │ def write(self, name, val) when is_binary(name) and is_integer(val)596 │ ~597 │598 └─ lib/generated/evision_filestorage.ex:704:7: Evision.FileStorage.write/3599600 warning: the following clause is redundant:601602 def dictValue(i) when is_integer(i)603604 it has type:605606 integer()607608 previous clauses have already matched on the following types:609610 binary()611 float() or integer()612613 │614 109 │ def dictValue(i) when is_integer(i)615 │ ~616 │617 └─ lib/generated/evision_dnn_dictvalue.ex:109:7: Evision.DNN.DictValue.dictValue/1618619 warning: the following clause cannot match because the previous clauses already matched all possible values:620621 _ ->622623 it attempts to match on the result of:624625 bboxes.__struct__626627 which has the already matched type:628629 dynamic(Evision.Mat or Nx.Tensor)630631 type warning found at:632 │633 172 │ _ ->634 │ ~635 │636 └─ lib/generated/evision_dnn.ex:172:13: Evision.DNN.nmsBoxes/4637638 warning: the following clause cannot match because the previous clauses already matched all possible values:639640 _ ->641642 it attempts to match on the result of:643644 bboxes.__struct__645646 which has the already matched type:647648 dynamic(Evision.Mat or Nx.Tensor)649650 type warning found at:651 │652 256 │ _ ->653 │ ~654 │655 └─ lib/generated/evision_dnn.ex:256:13: Evision.DNN.nmsBoxesBatched/6656657 warning: the following clause cannot match because the previous clauses already matched all possible values:658659 _ ->660661 it attempts to match on the result of:662663 bboxes.__struct__664665 which has the already matched type:666667 dynamic(Evision.Mat or Nx.Tensor)668669 type warning found at:670 │671 339 │ _ ->672 │ ~673 │674 └─ lib/generated/evision_dnn.ex:339:13: Evision.DNN.nmsBoxesBatched/5675676 warning: the following clause cannot match because the previous clauses already matched all possible values:677678 _ ->679680 it attempts to match on the result of:681682 bboxes.__struct__683684 which has the already matched type:685686 dynamic(Evision.Mat or Nx.Tensor)687688 type warning found at:689 │690 430 │ _ ->691 │ ~692 │693 └─ lib/generated/evision_dnn.ex:430:13: Evision.DNN.softNMSBoxes/5694695 warning: the following clause cannot match because the previous clauses already matched all possible values:696697 _ ->698699 it attempts to match on the result of:700701 bboxes.__struct__702703 which has the already matched type:704705 dynamic(Evision.Mat or Nx.Tensor)706707 type warning found at:708 │709 518 │ _ ->710 │ ~711 │712 └─ lib/generated/evision_dnn.ex:518:13: Evision.DNN.softNMSBoxes/4713714 warning: the following clause is redundant:715716 def gpuMat(m)717 when is_map(m) and (is_atom(Evision.CUDA.GpuMat) or :fail) and is_map_key(m, :__struct__) and718 :erlang.map_get(:__struct__, m) == Evision.CUDA.GpuMat719720 it has type:721722 dynamic(%{..., __struct__: Evision.CUDA.GpuMat})723724 previous clauses have already matched on the following types:725726 %{..., __struct__: Evision.CUDA.GpuMat}727728 │729 431 │ def gpuMat(m) when is_struct(m, Evision.CUDA.GpuMat)730 │ ~731 │732 └─ lib/generated/evision_cuda_gpumat.ex:431:7: Evision.CUDA.GpuMat.gpuMat/1733734 warning: the right-hand side of || will never be executed:735736 opts || ...737738 because the left-hand side always evaluates to:739740 dynamic(non_empty_list({:mode, :cuda_ipc or :host_ipc or :local}))741742 where "opts" was given the types:743744 # type: dynamic(non_empty_list({:mode, :cuda_ipc or :host_ipc or :local}))745 # from: lib/generated/evision_cuda_gpumat.ex:125:44746 [mode: mode] = opts747748 # type: empty_list() or non_empty_list(term(), term())749 # from: lib/generated/evision_cuda_gpumat.ex:126:8750 is_list(opts)751752 type warning found at:753 │754 127 │ opts = Keyword.validate!(opts || [], [mode: :local])755 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~756 │757 └─ lib/generated/evision_cuda_gpumat.ex:127: Evision.CUDA.GpuMat.to_pointer/2758759 warning: the right-hand side of || will never be executed:760761 opts || ...762763 because the left-hand side always evaluates to:764765 dynamic(empty_list() or non_empty_list(term(), term()))766767 where "opts" was given the types:768769 # type: dynamic(empty_list() or non_empty_list(term(), term()))770 # from: lib/generated/evision_cuda_gpumat.ex:290:50771 opts772773 # type: empty_list() or non_empty_list(term(), term())774 # from: lib/generated/evision_cuda_gpumat.ex:290:109775 is_list(opts)776777 type warning found at:778 │779 291 │ opts = Keyword.validate!(opts || [], [device_id: 0])780 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~781 │782 └─ lib/generated/evision_cuda_gpumat.ex:291: Evision.CUDA.GpuMat.from_pointer/4783784 warning: the following clause will never match:785786 {:error, reason} ->787788 it is expected to match on type:789790 dynamic(791 ({:is_binary, boolean(), term()} and not {:is_binary, true, term()}) or792 ({:not_empty_shape, boolean()} and not {:not_empty_shape, true}) or793 ({:not_error, boolean(), {term(), ...}} and not {:not_error, true, {term(), ...}})794 )795796 type warning found at:797 │798 1286 │ {:error, reason} ->799 │ ~~~~~~~~~~~~~~~~~~~800 │801 └─ lib/evision_mat.ex:1286: Evision.Mat.to_nx/2802803 warning: a struct for Nx.Tensor is expected on struct update:804805 %Nx.Tensor{l | shape: out_shape}806807 but got type:808809 dynamic()810811 where "l" was given the type:812813 # type: dynamic()814 # from: lib/evision/backend.ex:563:27815 l816817 when defining the variable "l", you must also pattern match on "%Nx.Tensor{}"818819 type warning found at:820 │821 566 │ {to_nx(l_mat, %T{l | shape: out_shape}), to_nx(b_mat, %T{r | shape: out_shape})}822 │ ~823 │824 └─ lib/evision/backend.ex:566:19: Evision.Backend.enforce_same_shape/3825826 warning: this clause of defp to_number/1 is never used (or it will always fail/warn when invoked)827 │828 714 │ defp to_number(n) when is_number(n), do: n829 │ ~830 │831 └─ lib/evision/backend.ex:714:8: Evision.Backend.to_number/1832833 warning: the following clause is redundant:834835 true ->836837 previous clauses have already matched on the following types:838839 atom() and not(:u8, :u16, :s8, :s16, :s32, :f32, :f64)840841 type warning found at:842 │843 2104 │ true ->844 │ ~845 │846 └─ lib/evision_mat.ex:2104:12: Evision.Mat.check_unsupported_type/1847848 warning: the right-hand side of || will never be executed:849850 opts || ...851852 because the left-hand side always evaluates to:853854 dynamic(empty_list() or non_empty_list(term(), term()))855856 where "opts" was given the types:857858 # type: dynamic(empty_list() or non_empty_list(term(), term()))859 # from: lib/evision_mat.ex:873:23860 opts861862 # type: empty_list() or non_empty_list(term(), term())863 # from: lib/evision_mat.ex:873:34864 is_list(opts)865866 type warning found at:867 │868 874 │ opts = Keyword.validate!(opts || [], mode: :local)869 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~870 │871 └─ lib/evision_mat.ex:874: Evision.Mat.to_pointer/2872873Generated evision app874==> xav875mkdir -p /work/proj/_build/qemu_aarch64/lib/xav/priv876mkdir -p /work/proj/_build/qemu_aarch64/lib/xav/priv877/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a53 -fPIE -pie -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_qemu_aarch64-0.4.2/staging -fPIC -shared -I/home/nerves/.nerves/artifacts/nerves_system_qemu_aarch64-0.4.2/staging/usr/lib/erlang/erts-17.0.6/include -Ic_src/xav c_src/xav/xav_decoder.c c_src/xav/decoder.c c_src/xav/video_converter.c c_src/xav/audio_converter.c c_src/xav/utils.c c_src/xav/channel_layout.c -o /work/proj/_build/qemu_aarch64/lib/xav/priv/libxavdecoder.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample878/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a53 -fPIE -pie -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_qemu_aarch64-0.4.2/staging -fPIC -shared -I/home/nerves/.nerves/artifacts/nerves_system_qemu_aarch64-0.4.2/staging/usr/lib/erlang/erts-17.0.6/include -Ic_src/xav c_src/xav/xav_reader.c c_src/xav/reader.c c_src/xav/video_converter.c c_src/xav/audio_converter.c c_src/xav/utils.c -o /work/proj/_build/qemu_aarch64/lib/xav/priv/libxavreader.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample879In file included from c_src/xav/xav_decoder.h:1,880 from c_src/xav/xav_decoder.c:1:881c_src/xav/audio_converter.h:3:10: fatal error: libavutil/channel_layout.h: No such file or directory882 3 | #include <libavutil/channel_layout.h>883 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~884compilation terminated.885In file included from c_src/xav/xav_reader.h:1,886 from c_src/xav/xav_reader.c:1:887c_src/xav/audio_converter.h:3:10: fatal error: libavutil/channel_layout.h: No such file or directory888 3 | #include <libavutil/channel_layout.h>889 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~890compilation terminated.891In file included from c_src/xav/decoder.c:1:892c_src/xav/decoder.h:1:10: fatal error: libavcodec/avcodec.h: No such file or directory893 1 | #include <libavcodec/avcodec.h>894 | ^~~~~~~~~~~~~~~~~~~~~~895compilation terminated.896In file included from c_src/xav/reader.c:1:897c_src/xav/reader.h:1:10: fatal error: libavcodec/avcodec.h: No such file or directory898 1 | #include <libavcodec/avcodec.h>899 | ^~~~~~~~~~~~~~~~~~~~~~900compilation terminated.901In file included from c_src/xav/video_converter.c:1:902c_src/xav/video_converter.h:2:10: fatal error: libavutil/channel_layout.h: No such file or directory903 2 | #include <libavutil/channel_layout.h>904 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~905compilation terminated.906In file included from c_src/xav/video_converter.c:1:907c_src/xav/video_converter.h:2:10: fatal error: libavutil/channel_layout.h: No such file or directory908 2 | #include <libavutil/channel_layout.h>909 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~910compilation terminated.911c_src/xav/audio_converter.c:1:10: fatal error: libavutil/channel_layout.h: No such file or directory912 1 | #include <libavutil/channel_layout.h>913 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~914compilation terminated.915c_src/xav/audio_converter.c:1:10: fatal error: libavutil/channel_layout.h: No such file or directory916 1 | #include <libavutil/channel_layout.h>917 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~918compilation terminated.919In file included from c_src/xav/utils.c:1:920c_src/xav/utils.h:2:10: fatal error: libavcodec/avcodec.h: No such file or directory921 2 | #include <libavcodec/avcodec.h>922 | ^~~~~~~~~~~~~~~~~~~~~~923compilation terminated.924In file included from c_src/xav/utils.c:1:925c_src/xav/utils.h:2:10: fatal error: libavcodec/avcodec.h: No such file or directory926 2 | #include <libavcodec/avcodec.h>927 | ^~~~~~~~~~~~~~~~~~~~~~928compilation terminated.929make: *** [Makefile:57: /work/proj/_build/qemu_aarch64/lib/xav/priv/libxavreader.so] Error 1930make: *** Waiting for unfinished jobs....931In file included from c_src/xav/channel_layout.c:1:932c_src/xav/channel_layout.h:3:10: fatal error: libavcodec/avcodec.h: No such file or directory933 3 | #include <libavcodec/avcodec.h>934 | ^~~~~~~~~~~~~~~~~~~~~~935compilation terminated.936make: *** [Makefile:53: /work/proj/_build/qemu_aarch64/lib/xav/priv/libxavdecoder.so] Error 1937could not compile dependency :xav, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile xav --force", update it with "mix deps.update xav" or clean it with "mix deps.clean xav"938==> nerves_compatibility_test939** (Mix) Could not compile with "make" (exit status: 2).940You need to have gcc and make installed. If you are using941Ubuntu or any other Debian-based system, install the packages942"build-essential". Also install "erlang-dev" package if not943included in your Erlang/OTP version. If you're on Fedora, run944"dnf group install 'Development Tools'".945