Build log
nerves_system_rpi5
ex_memvid 0.1.2 · fail · run ex_memvid-0.1.2-1791257685385
939 of 939 lines
1Resolving Hex dependencies...2Resolution completed in 0.229s3Unchanged: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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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/rpi5/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_rpi5505Generated nerves_system_rpi5 app506==> ex_maybe507Compiling 1 file (.ex)508Generated ex_maybe app509==> nerves_compatibility_test510===> Analyzing applications...511===> Compiling telemetry512==> nx513Compiling 43 files (.ex)514Generated nx app51551603:44:05.524 [info] EVISION_PREFER_PRECOMPILED: true; try to download and use the precompiled library.51751803:44:05.529 [info] Current target `aarch64-linux-gnu` has precompiled binaries.51952003:44:05.530 [info] Current host NIF version is `2.18`, will use precompiled binaries with NIF version 2.16.52152203:44:05.531 [info] Copying priv directory: /home/nerves/.cache/evision-nif_2.16-aarch64-linux-gnu-contrib-0.2.17/priv => /work/proj/_build/rpi5/lib/evision/priv52352403:44:06.057 [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_rpi5/evision/lib/generated525warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"526 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2527 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1528 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5529 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2530 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4531 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2532533==> evision534Compiling 685 files (.ex)535Compiling lib/generated/evision.ex (it's taking more than 10s)536Compiling lib/generated/evision_nif.ex (it's taking more than 10s)537 warning: the following clause will never match:538539 {:error, error} ->540541 because it attempts to match on the result of:542543 IO.binwrite(state.file, body)544545 which has type:546547 dynamic(not {:error, term()})548549 type warning found at:550 │551 79 │ {:error, error} ->552 │ ~~~~~~~~~~~~~~~~~~553 │554 └─ lib/zoo/utils/http.ex:79: Evision.Zoo.Utils.HTTP.download_receive/2555556 warning: the following clause will never match:557558 {:error, error} ->559560 because it attempts to match on the result of:561562 IO.binwrite(state.file, body_part)563564 which has type:565566 dynamic(not {:error, term()})567568 type warning found at:569 │570 106 │ {:error, error} ->571 │ ~~~~~~~~~~~~~~~~~~572 │573 └─ lib/zoo/utils/http.ex:106: Evision.Zoo.Utils.HTTP.download_receive/2574575 warning: the following clause is redundant:576577 def write(self, name, val) when is_binary(name) and is_integer(val)578579 it has type:580581 dynamic(), binary(), integer()582583 previous clauses have already matched on the following types:584585 term(), binary(), empty_list() or non_empty_list(term(), term())586 term(), binary(), binary()587 term(), binary(), float() or integer()588589 │590 704 │ def write(self, name, val) when is_binary(name) and is_integer(val)591 │ ~592 │593 └─ lib/generated/evision_filestorage.ex:704:7: Evision.FileStorage.write/3594595 warning: the following clause is redundant:596597 def dictValue(i) when is_integer(i)598599 it has type:600601 integer()602603 previous clauses have already matched on the following types:604605 binary()606 float() or integer()607608 │609 109 │ def dictValue(i) when is_integer(i)610 │ ~611 │612 └─ lib/generated/evision_dnn_dictvalue.ex:109:7: Evision.DNN.DictValue.dictValue/1613614 warning: the following clause cannot match because the previous clauses already matched all possible values:615616 _ ->617618 it attempts to match on the result of:619620 bboxes.__struct__621622 which has the already matched type:623624 dynamic(Evision.Mat or Nx.Tensor)625626 type warning found at:627 │628 172 │ _ ->629 │ ~630 │631 └─ lib/generated/evision_dnn.ex:172:13: Evision.DNN.nmsBoxes/4632633 warning: the following clause cannot match because the previous clauses already matched all possible values:634635 _ ->636637 it attempts to match on the result of:638639 bboxes.__struct__640641 which has the already matched type:642643 dynamic(Evision.Mat or Nx.Tensor)644645 type warning found at:646 │647 256 │ _ ->648 │ ~649 │650 └─ lib/generated/evision_dnn.ex:256:13: Evision.DNN.nmsBoxesBatched/6651652 warning: the following clause cannot match because the previous clauses already matched all possible values:653654 _ ->655656 it attempts to match on the result of:657658 bboxes.__struct__659660 which has the already matched type:661662 dynamic(Evision.Mat or Nx.Tensor)663664 type warning found at:665 │666 339 │ _ ->667 │ ~668 │669 └─ lib/generated/evision_dnn.ex:339:13: Evision.DNN.nmsBoxesBatched/5670671 warning: the following clause cannot match because the previous clauses already matched all possible values:672673 _ ->674675 it attempts to match on the result of:676677 bboxes.__struct__678679 which has the already matched type:680681 dynamic(Evision.Mat or Nx.Tensor)682683 type warning found at:684 │685 430 │ _ ->686 │ ~687 │688 └─ lib/generated/evision_dnn.ex:430:13: Evision.DNN.softNMSBoxes/5689690 warning: the following clause cannot match because the previous clauses already matched all possible values:691692 _ ->693694 it attempts to match on the result of:695696 bboxes.__struct__697698 which has the already matched type:699700 dynamic(Evision.Mat or Nx.Tensor)701702 type warning found at:703 │704 518 │ _ ->705 │ ~706 │707 └─ lib/generated/evision_dnn.ex:518:13: Evision.DNN.softNMSBoxes/4708709 warning: the following clause is redundant:710711 def gpuMat(m)712 when is_map(m) and (is_atom(Evision.CUDA.GpuMat) or :fail) and is_map_key(m, :__struct__) and713 :erlang.map_get(:__struct__, m) == Evision.CUDA.GpuMat714715 it has type:716717 dynamic(%{..., __struct__: Evision.CUDA.GpuMat})718719 previous clauses have already matched on the following types:720721 %{..., __struct__: Evision.CUDA.GpuMat}722723 │724 431 │ def gpuMat(m) when is_struct(m, Evision.CUDA.GpuMat)725 │ ~726 │727 └─ lib/generated/evision_cuda_gpumat.ex:431:7: Evision.CUDA.GpuMat.gpuMat/1728729 warning: the right-hand side of || will never be executed:730731 opts || ...732733 because the left-hand side always evaluates to:734735 dynamic(non_empty_list({:mode, :cuda_ipc or :host_ipc or :local}))736737 where "opts" was given the types:738739 # type: dynamic(non_empty_list({:mode, :cuda_ipc or :host_ipc or :local}))740 # from: lib/generated/evision_cuda_gpumat.ex:125:44741 [mode: mode] = opts742743 # type: empty_list() or non_empty_list(term(), term())744 # from: lib/generated/evision_cuda_gpumat.ex:126:8745 is_list(opts)746747 type warning found at:748 │749 127 │ opts = Keyword.validate!(opts || [], [mode: :local])750 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~751 │752 └─ lib/generated/evision_cuda_gpumat.ex:127: Evision.CUDA.GpuMat.to_pointer/2753754 warning: the right-hand side of || will never be executed:755756 opts || ...757758 because the left-hand side always evaluates to:759760 dynamic(empty_list() or non_empty_list(term(), term()))761762 where "opts" was given the types:763764 # type: dynamic(empty_list() or non_empty_list(term(), term()))765 # from: lib/generated/evision_cuda_gpumat.ex:290:50766 opts767768 # type: empty_list() or non_empty_list(term(), term())769 # from: lib/generated/evision_cuda_gpumat.ex:290:109770 is_list(opts)771772 type warning found at:773 │774 291 │ opts = Keyword.validate!(opts || [], [device_id: 0])775 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~776 │777 └─ lib/generated/evision_cuda_gpumat.ex:291: Evision.CUDA.GpuMat.from_pointer/4778779 warning: the following clause will never match:780781 {:error, reason} ->782783 it is expected to match on type:784785 dynamic(786 ({:is_binary, boolean(), term()} and not {:is_binary, true, term()}) or787 ({:not_empty_shape, boolean()} and not {:not_empty_shape, true}) or788 ({:not_error, boolean(), {term(), ...}} and not {:not_error, true, {term(), ...}})789 )790791 type warning found at:792 │793 1286 │ {:error, reason} ->794 │ ~~~~~~~~~~~~~~~~~~~795 │796 └─ lib/evision_mat.ex:1286: Evision.Mat.to_nx/2797798 warning: a struct for Nx.Tensor is expected on struct update:799800 %Nx.Tensor{l | shape: out_shape}801802 but got type:803804 dynamic()805806 where "l" was given the type:807808 # type: dynamic()809 # from: lib/evision/backend.ex:563:27810 l811812 when defining the variable "l", you must also pattern match on "%Nx.Tensor{}"813814 type warning found at:815 │816 566 │ {to_nx(l_mat, %T{l | shape: out_shape}), to_nx(b_mat, %T{r | shape: out_shape})}817 │ ~818 │819 └─ lib/evision/backend.ex:566:19: Evision.Backend.enforce_same_shape/3820821 warning: this clause of defp to_number/1 is never used (or it will always fail/warn when invoked)822 │823 714 │ defp to_number(n) when is_number(n), do: n824 │ ~825 │826 └─ lib/evision/backend.ex:714:8: Evision.Backend.to_number/1827828 warning: the following clause is redundant:829830 true ->831832 previous clauses have already matched on the following types:833834 atom() and not(:u8, :u16, :s8, :s16, :s32, :f32, :f64)835836 type warning found at:837 │838 2104 │ true ->839 │ ~840 │841 └─ lib/evision_mat.ex:2104:12: Evision.Mat.check_unsupported_type/1842843 warning: the right-hand side of || will never be executed:844845 opts || ...846847 because the left-hand side always evaluates to:848849 dynamic(empty_list() or non_empty_list(term(), term()))850851 where "opts" was given the types:852853 # type: dynamic(empty_list() or non_empty_list(term(), term()))854 # from: lib/evision_mat.ex:873:23855 opts856857 # type: empty_list() or non_empty_list(term(), term())858 # from: lib/evision_mat.ex:873:34859 is_list(opts)860861 type warning found at:862 │863 874 │ opts = Keyword.validate!(opts || [], mode: :local)864 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~865 │866 └─ lib/evision_mat.ex:874: Evision.Mat.to_pointer/2867868Generated evision app869==> xav870mkdir -p /work/proj/_build/rpi5/lib/xav/priv871mkdir -p /work/proj/_build/rpi5/lib/xav/priv872/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 -fstack-protector-strong -mcpu=cortex-a76 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi5-2.1.2/staging -fPIC -shared -I/home/nerves/.nerves/artifacts/nerves_system_rpi5-2.1.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/rpi5/lib/xav/priv/libxavdecoder.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample873/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 -fstack-protector-strong -mcpu=cortex-a76 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi5-2.1.2/staging -fPIC -shared -I/home/nerves/.nerves/artifacts/nerves_system_rpi5-2.1.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/rpi5/lib/xav/priv/libxavreader.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample874In file included from c_src/xav/xav_reader.h:2,875 from c_src/xav/xav_reader.c:1:876c_src/xav/reader.h:8:10: fatal error: libswscale/swscale.h: No such file or directory877 8 | #include <libswscale/swscale.h>878 | ^~~~~~~~~~~~~~~~~~~~~~879compilation terminated.880In file included from c_src/xav/decoder.h:6,881 from c_src/xav/xav_decoder.h:2,882 from c_src/xav/xav_decoder.c:1:883c_src/xav/utils.h:8:10: fatal error: libswscale/swscale.h: No such file or directory884 8 | #include <libswscale/swscale.h>885 | ^~~~~~~~~~~~~~~~~~~~~~886compilation terminated.887In file included from c_src/xav/decoder.h:6,888 from c_src/xav/decoder.c:1:889c_src/xav/utils.h:8:10: fatal error: libswscale/swscale.h: No such file or directory890 8 | #include <libswscale/swscale.h>891 | ^~~~~~~~~~~~~~~~~~~~~~892compilation terminated.893In file included from c_src/xav/reader.c:1:894c_src/xav/reader.h:8:10: fatal error: libswscale/swscale.h: No such file or directory895 8 | #include <libswscale/swscale.h>896 | ^~~~~~~~~~~~~~~~~~~~~~897compilation terminated.898In file included from c_src/xav/video_converter.c:1:899c_src/xav/video_converter.h:5:10: fatal error: libswscale/swscale.h: No such file or directory900 5 | #include <libswscale/swscale.h>901 | ^~~~~~~~~~~~~~~~~~~~~~902compilation terminated.903In file included from c_src/xav/video_converter.c:1:904c_src/xav/video_converter.h:5:10: fatal error: libswscale/swscale.h: No such file or directory905 5 | #include <libswscale/swscale.h>906 | ^~~~~~~~~~~~~~~~~~~~~~907compilation terminated.908In file included from c_src/xav/audio_converter.c:9:909c_src/xav/utils.h:8:10: fatal error: libswscale/swscale.h: No such file or directory910 8 | #include <libswscale/swscale.h>911 | ^~~~~~~~~~~~~~~~~~~~~~912compilation terminated.913In file included from c_src/xav/utils.c:1:914c_src/xav/utils.h:8:10: fatal error: libswscale/swscale.h: No such file or directory915 8 | #include <libswscale/swscale.h>916 | ^~~~~~~~~~~~~~~~~~~~~~917compilation terminated.918In file included from c_src/xav/audio_converter.c:9:919c_src/xav/utils.h:8:10: fatal error: libswscale/swscale.h: No such file or directory920 8 | #include <libswscale/swscale.h>921 | ^~~~~~~~~~~~~~~~~~~~~~922compilation terminated.923make: *** [Makefile:53: /work/proj/_build/rpi5/lib/xav/priv/libxavdecoder.so] Error 1924make: *** Waiting for unfinished jobs....925In file included from c_src/xav/utils.c:1:926c_src/xav/utils.h:8:10: fatal error: libswscale/swscale.h: No such file or directory927 8 | #include <libswscale/swscale.h>928 | ^~~~~~~~~~~~~~~~~~~~~~929compilation terminated.930make: *** [Makefile:57: /work/proj/_build/rpi5/lib/xav/priv/libxavreader.so] Error 1931could 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"932==> nerves_compatibility_test933** (Mix) Could not compile with "make" (exit status: 2).934You need to have gcc and make installed. If you are using935Ubuntu or any other Debian-based system, install the packages936"build-essential". Also install "erlang-dev" package if not937included in your Erlang/OTP version. If you're on Fedora, run938"dnf group install 'Development Tools'".939