ex_memvid

Build log

nerves_system_mangopi_mq_pro

ex_memvid 0.1.2 · fail · run ex_memvid-0.1.2-1791257685385
943 of 943 lines
1Resolving Hex dependencies...2Resolution completed in 0.202s3Unchanged: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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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.SortApps (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)424    │425  6 │ defmodule Nerves.BuildAction.SortApps do426    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~427    │428    └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)429430    warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)431    │432  5 │ defmodule Nerves.BuildAction.Rootfs do433    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~434    │435    └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)436437    warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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/mangopi_mq_pro/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_riscv64_nerves_linux_gnu502Compiling 1 file (.ex)503Generated nerves_toolchain_riscv64_nerves_linux_gnu app504==> nerves_system_mangopi_mq_pro505Generated nerves_system_mangopi_mq_pro 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:39:11.414 [info] EVISION_PREFER_PRECOMPILED: true; try to download and use the precompiled library.51751803:39:11.418 [info] Current target `riscv64-linux-gnu` has precompiled binaries.51952003:39:11.418 [info] Current host NIF version is `2.18`, will use precompiled binaries with NIF version 2.16.521==> evision522Downloading precompiled tarball from: https://github.com/cocoa-xu/evision/releases/download/v0.2.17/evision-nif_2.16-riscv64-linux-gnu-contrib-0.2.17.tar.gz52352403:39:13.546 [info] Precompiled binary tarball downloaded and saved to /home/nerves/.cache/evision-nif_2.16-riscv64-linux-gnu-contrib-0.2.17.tar.gz, sha256=4d586162f6992a4a1d85281190e66733751181ae2d649ae4b4bf25de0ad056b852552603:39:15.567 [info] Copying priv directory: /home/nerves/.cache/evision-nif_2.16-riscv64-linux-gnu-contrib-0.2.17/priv => /work/proj/_build/mangopi_mq_pro/lib/evision/priv52752803:39:15.983 [info] Copying generated Elixir binding files: /home/nerves/.cache/evision-nif_2.16-riscv64-linux-gnu-contrib-0.2.17/elixir_generated => /work/proj/deps_mangopi_mq_pro/evision/lib/generated529warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"530  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2531  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1532  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5533  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2534  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4535  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2536537Compiling 685 files (.ex)538Compiling lib/generated/evision.ex (it's taking more than 10s)539Compiling lib/generated/evision_nif.ex (it's taking more than 10s)540    warning: the following clause will never match:541542        {:error, error} ->543544    because it attempts to match on the result of:545546        IO.binwrite(state.file, body)547548    which has type:549550        dynamic(not {:error, term()})551552    type warning found at:553    │554 79 │       {:error, error} ->555    │       ~~~~~~~~~~~~~~~~~~556    │557    └─ lib/zoo/utils/http.ex:79: Evision.Zoo.Utils.HTTP.download_receive/2558559     warning: the following clause will never match:560561         {:error, error} ->562563     because it attempts to match on the result of:564565         IO.binwrite(state.file, body_part)566567     which has type:568569         dynamic(not {:error, term()})570571     type warning found at:572     │573 106 │       {:error, error} ->574     │       ~~~~~~~~~~~~~~~~~~575     │576     └─ lib/zoo/utils/http.ex:106: Evision.Zoo.Utils.HTTP.download_receive/2577578     warning: the following clause is redundant:579580         def write(self, name, val) when is_binary(name) and is_integer(val)581582     it has type:583584         dynamic(), binary(), integer()585586     previous clauses have already matched on the following types:587588         term(), binary(), empty_list() or non_empty_list(term(), term())589         term(), binary(), binary()590         term(), binary(), float() or integer()591592     │593 704 │   def write(self, name, val) when is_binary(name) and is_integer(val)594     │       ~595     │596     └─ lib/generated/evision_filestorage.ex:704:7: Evision.FileStorage.write/3597598     warning: the following clause is redundant:599600         def dictValue(i) when is_integer(i)601602     it has type:603604         integer()605606     previous clauses have already matched on the following types:607608         binary()609         float() or integer()610611     │612 109 │   def dictValue(i) when is_integer(i)613     │       ~614     │615     └─ lib/generated/evision_dnn_dictvalue.ex:109:7: Evision.DNN.DictValue.dictValue/1616617     warning: the following clause cannot match because the previous clauses already matched all possible values:618619         _ ->620621     it attempts to match on the result of:622623         bboxes.__struct__624625     which has the already matched type:626627         dynamic(Evision.Mat or Nx.Tensor)628629     type warning found at:630     │631 172 │           _ ->632     │             ~633     │634     └─ lib/generated/evision_dnn.ex:172:13: Evision.DNN.nmsBoxes/4635636     warning: the following clause cannot match because the previous clauses already matched all possible values:637638         _ ->639640     it attempts to match on the result of:641642         bboxes.__struct__643644     which has the already matched type:645646         dynamic(Evision.Mat or Nx.Tensor)647648     type warning found at:649     │650 256 │           _ ->651     │             ~652     │653     └─ lib/generated/evision_dnn.ex:256:13: Evision.DNN.nmsBoxesBatched/6654655     warning: the following clause cannot match because the previous clauses already matched all possible values:656657         _ ->658659     it attempts to match on the result of:660661         bboxes.__struct__662663     which has the already matched type:664665         dynamic(Evision.Mat or Nx.Tensor)666667     type warning found at:668     │669 339 │           _ ->670     │             ~671     │672     └─ lib/generated/evision_dnn.ex:339:13: Evision.DNN.nmsBoxesBatched/5673674     warning: the following clause cannot match because the previous clauses already matched all possible values:675676         _ ->677678     it attempts to match on the result of:679680         bboxes.__struct__681682     which has the already matched type:683684         dynamic(Evision.Mat or Nx.Tensor)685686     type warning found at:687     │688 430 │           _ ->689     │             ~690     │691     └─ lib/generated/evision_dnn.ex:430:13: Evision.DNN.softNMSBoxes/5692693     warning: the following clause cannot match because the previous clauses already matched all possible values:694695         _ ->696697     it attempts to match on the result of:698699         bboxes.__struct__700701     which has the already matched type:702703         dynamic(Evision.Mat or Nx.Tensor)704705     type warning found at:706     │707 518 │           _ ->708     │             ~709     │710     └─ lib/generated/evision_dnn.ex:518:13: Evision.DNN.softNMSBoxes/4711712     warning: the following clause is redundant:713714         def gpuMat(m)715             when is_map(m) and (is_atom(Evision.CUDA.GpuMat) or :fail) and is_map_key(m, :__struct__) and716                    :erlang.map_get(:__struct__, m) == Evision.CUDA.GpuMat717718     it has type:719720         dynamic(%{..., __struct__: Evision.CUDA.GpuMat})721722     previous clauses have already matched on the following types:723724         %{..., __struct__: Evision.CUDA.GpuMat}725726     │727 431 │   def gpuMat(m) when is_struct(m, Evision.CUDA.GpuMat)728     │       ~729     │730     └─ lib/generated/evision_cuda_gpumat.ex:431:7: Evision.CUDA.GpuMat.gpuMat/1731732     warning: the right-hand side of || will never be executed:733734         opts || ...735736     because the left-hand side always evaluates to:737738         dynamic(non_empty_list({:mode, :cuda_ipc or :host_ipc or :local}))739740     where "opts" was given the types:741742         # type: dynamic(non_empty_list({:mode, :cuda_ipc or :host_ipc or :local}))743         # from: lib/generated/evision_cuda_gpumat.ex:125:44744         [mode: mode] = opts745746         # type: empty_list() or non_empty_list(term(), term())747         # from: lib/generated/evision_cuda_gpumat.ex:126:8748         is_list(opts)749750     type warning found at:751     │752 127 │     opts = Keyword.validate!(opts || [], [mode: :local])753     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~754     │755     └─ lib/generated/evision_cuda_gpumat.ex:127: Evision.CUDA.GpuMat.to_pointer/2756757     warning: the right-hand side of || will never be executed:758759         opts || ...760761     because the left-hand side always evaluates to:762763         dynamic(empty_list() or non_empty_list(term(), term()))764765     where "opts" was given the types:766767         # type: dynamic(empty_list() or non_empty_list(term(), term()))768         # from: lib/generated/evision_cuda_gpumat.ex:290:50769         opts770771         # type: empty_list() or non_empty_list(term(), term())772         # from: lib/generated/evision_cuda_gpumat.ex:290:109773         is_list(opts)774775     type warning found at:776     │777 291 │     opts = Keyword.validate!(opts || [], [device_id: 0])778     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~779     │780     └─ lib/generated/evision_cuda_gpumat.ex:291: Evision.CUDA.GpuMat.from_pointer/4781782      warning: the following clause will never match:783784          {:error, reason} ->785786      it is expected to match on type:787788          dynamic(789            ({:is_binary, boolean(), term()} and not {:is_binary, true, term()}) or790              ({:not_empty_shape, boolean()} and not {:not_empty_shape, true}) or791              ({:not_error, boolean(), {term(), ...}} and not {:not_error, true, {term(), ...}})792          )793794      type warning found at:795      │796 1286 │       {:error, reason} ->797      │       ~~~~~~~~~~~~~~~~~~~798      │799      └─ lib/evision_mat.ex:1286: Evision.Mat.to_nx/2800801      warning: the following clause is redundant:802803          true ->804805      previous clauses have already matched on the following types:806807          atom() and not(:u8, :u16, :s8, :s16, :s32, :f32, :f64)808809      type warning found at:810      │811 2104 │       true ->812      │            ~813      │814      └─ lib/evision_mat.ex:2104:12: Evision.Mat.check_unsupported_type/1815816     warning: a struct for Nx.Tensor is expected on struct update:817818         %Nx.Tensor{l | shape: out_shape}819820     but got type:821822         dynamic()823824     where "l" was given the type:825826         # type: dynamic()827         # from: lib/evision/backend.ex:563:27828         l829830     when defining the variable "l", you must also pattern match on "%Nx.Tensor{}"831832     type warning found at:833     │834 566 │     {to_nx(l_mat, %T{l | shape: out_shape}), to_nx(b_mat, %T{r | shape: out_shape})}835     │                   ~836     │837     └─ lib/evision/backend.ex:566:19: Evision.Backend.enforce_same_shape/3838839     warning: the right-hand side of || will never be executed:840841         opts || ...842843     because the left-hand side always evaluates to:844845         dynamic(empty_list() or non_empty_list(term(), term()))846847     where "opts" was given the types:848849         # type: dynamic(empty_list() or non_empty_list(term(), term()))850         # from: lib/evision_mat.ex:873:23851         opts852853         # type: empty_list() or non_empty_list(term(), term())854         # from: lib/evision_mat.ex:873:34855         is_list(opts)856857     type warning found at:858     │859 874 │     opts = Keyword.validate!(opts || [], mode: :local)860     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~861     │862     └─ lib/evision_mat.ex:874: Evision.Mat.to_pointer/2863864     warning: this clause of defp to_number/1 is never used (or it will always fail/warn when invoked)865     │866 714 │   defp to_number(n) when is_number(n), do: n867     │        ~868     │869     └─ lib/evision/backend.ex:714:8: Evision.Backend.to_number/1870871Generated evision app872==> xav873mkdir -p /work/proj/_build/mangopi_mq_pro/lib/xav/priv874mkdir -p /work/proj/_build/mangopi_mq_pro/lib/xav/priv875/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-15.3.1/bin/riscv64-nerves-linux-gnu-gcc -mabi=lp64d -fstack-protector-strong -march=rv64imafdc_zicsr_zifencei -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_mangopi_mq_pro-0.17.2/staging  -fPIC -shared -I/home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-0.17.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/mangopi_mq_pro/lib/xav/priv/libxavdecoder.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample876/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-15.3.1/bin/riscv64-nerves-linux-gnu-gcc -mabi=lp64d -fstack-protector-strong -march=rv64imafdc_zicsr_zifencei -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_mangopi_mq_pro-0.17.2/staging  -fPIC -shared -I/home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-0.17.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/mangopi_mq_pro/lib/xav/priv/libxavreader.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample877In file included from c_src/xav/xav_reader.h:1,878                 from c_src/xav/xav_reader.c:1:879c_src/xav/audio_converter.h:3:10: fatal error: libavutil/channel_layout.h: No such file or directory880    3 | #include <libavutil/channel_layout.h>881      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~882compilation terminated.883In file included from c_src/xav/xav_decoder.h:1,884                 from c_src/xav/xav_decoder.c:1:885c_src/xav/audio_converter.h:3:10: fatal error: libavutil/channel_layout.h: No such file or directory886    3 | #include <libavutil/channel_layout.h>887      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~888compilation terminated.889In file included from c_src/xav/reader.c:1:890c_src/xav/reader.h:1:10: fatal error: libavcodec/avcodec.h: No such file or directory891    1 | #include <libavcodec/avcodec.h>892      |          ^~~~~~~~~~~~~~~~~~~~~~893compilation terminated.894In file included from c_src/xav/decoder.c:1:895c_src/xav/decoder.h:1:10: fatal error: libavcodec/avcodec.h: No such file or directory896    1 | #include <libavcodec/avcodec.h>897      |          ^~~~~~~~~~~~~~~~~~~~~~898In file included from c_src/xav/video_converter.c:1:899c_src/xav/video_converter.h:2:10: fatal error: libavutil/channel_layout.h: No such file or directory900    2 | #include <libavutil/channel_layout.h>901      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~902compilation terminated.903compilation terminated.904c_src/xav/audio_converter.c:1:10: fatal error: libavutil/channel_layout.h: No such file or directory905    1 | #include <libavutil/channel_layout.h>906      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~907compilation terminated.908In file included from c_src/xav/video_converter.c:1:909c_src/xav/video_converter.h:2:10: fatal error: libavutil/channel_layout.h: No such file or directory910    2 | #include <libavutil/channel_layout.h>911      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~912compilation terminated.913c_src/xav/audio_converter.c:1:10: fatal error: libavutil/channel_layout.h: No such file or directory914    1 | #include <libavutil/channel_layout.h>915      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~916compilation terminated.917In file included from c_src/xav/utils.c:1:918c_src/xav/utils.h:2:10: fatal error: libavcodec/avcodec.h: No such file or directory919    2 | #include <libavcodec/avcodec.h>920      |          ^~~~~~~~~~~~~~~~~~~~~~921compilation terminated.922make: *** [Makefile:57: /work/proj/_build/mangopi_mq_pro/lib/xav/priv/libxavreader.so] Error 1923make: *** Waiting for unfinished jobs....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.929In file included from c_src/xav/channel_layout.c:1:930c_src/xav/channel_layout.h:3:10: fatal error: libavcodec/avcodec.h: No such file or directory931    3 | #include <libavcodec/avcodec.h>932      |          ^~~~~~~~~~~~~~~~~~~~~~933compilation terminated.934make: *** [Makefile:53: /work/proj/_build/mangopi_mq_pro/lib/xav/priv/libxavdecoder.so] Error 1935could 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"936==> nerves_compatibility_test937** (Mix) Could not compile with "make" (exit status: 2).938You need to have gcc and make installed. If you are using939Ubuntu or any other Debian-based system, install the packages940"build-essential". Also install "erlang-dev" package if not941included in your Erlang/OTP version. If you're on Fedora, run942"dnf group install 'Development Tools'".943