Build log
host
ex_memvid 0.1.2 · fail · run ex_memvid-0.1.2-1791257685385
553 of 553 lines
1Resolving Hex dependencies...2Resolution completed in 0.289s3Unchanged: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.161All dependencies have been fetched62 warning: the following conditional expression:6364 needs_unarchive6566 will always evaluate to:6768 dynamic(true)6970 where "needs_unarchive" was given the type:7172 # type: dynamic(true)73 # from: mix.exs:760:4574 {needs_download, needs_unarchive} =75 if File.exists?(cache_file) do76 if File.regular?(cache_file) do77 {:ok, algo, cache_file_checksum} = checksum(cache_file)78 79 case Logger.__should_log__(:info, Mix.Tasks.Compile.EvisionPrecompiled) do80 ...81 end82 83 {checksum_matched?, algo_in_map, checksum_in_map} =84 verify_checksum(cache_file, algo, cache_file_checksum)85 86 if checksum_matched? do87 {false, true}88 else89 case Logger.__should_log__(:error, Mix.Tasks.Compile.EvisionPrecompiled) do90 ...91 end92 93 case Logger.__should_log__(:warning, Mix.Tasks.Compile.EvisionPrecompiled) do94 ...95 end96 97 {true, true}98 end99 else100 File.rm_rf!(cache_file)101 102 case Logger.__should_log__(:warning, Mix.Tasks.Compile.EvisionPrecompiled) do103 ...104 end105 106 {true, true}107 end108 else109 {true, true}110 end111112 type warning found at:113 │114 837 │ if needs_unarchive do115 │ ~~~~~~~~~~~~~~~~~~~~~116 │117 └─ mix.exs:837: Mix.Tasks.Compile.EvisionPrecompiled.prepare/8118119==> result120Compiling 7 files (.ex)121Generated result app122==> ex_maybe123Compiling 1 file (.ex)124Generated ex_maybe app12512603:35:16.640 [info] EVISION_PREFER_PRECOMPILED: true; try to download and use the precompiled library.12712803:35:16.643 [info] Current target `x86_64-linux-gnu` has precompiled binaries.12913003:35:16.644 [info] Current host NIF version is `2.18`, will use precompiled binaries with NIF version 2.16.131==> evision132Downloading precompiled tarball from: https://github.com/cocoa-xu/evision/releases/download/v0.2.17/evision-nif_2.16-x86_64-linux-gnu-contrib-0.2.17.tar.gz13313403:35:20.567 [info] Precompiled binary tarball downloaded and saved to /home/nerves/.cache/evision-nif_2.16-x86_64-linux-gnu-contrib-0.2.17.tar.gz, sha256=7e0c19427c2aee789c2ecaf7a10fa35cac8a533647834d66b559908bab590dae13513603:35:26.865 [info] Copying priv directory: /home/nerves/.cache/evision-nif_2.16-x86_64-linux-gnu-contrib-0.2.17/priv => /work/proj/_build/host/lib/evision/priv13713803:35:28.033 [info] Copying generated Elixir binding files: /home/nerves/.cache/evision-nif_2.16-x86_64-linux-gnu-contrib-0.2.17/elixir_generated => /work/proj/deps/evision/lib/generated139warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"140 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2141 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1142 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5143 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2144 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4145 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2146147Compiling 686 files (.ex)148Compiling lib/generated/evision.ex (it's taking more than 10s)149Compiling lib/generated/evision_nif.ex (it's taking more than 10s)150 warning: the following clause will never match:151152 {:error, error} ->153154 because it attempts to match on the result of:155156 IO.binwrite(state.file, body)157158 which has type:159160 dynamic(not {:error, term()})161162 type warning found at:163 │164 79 │ {:error, error} ->165 │ ~~~~~~~~~~~~~~~~~~166 │167 └─ lib/zoo/utils/http.ex:79: Evision.Zoo.Utils.HTTP.download_receive/2168169 warning: the following clause will never match:170171 {:error, error} ->172173 because it attempts to match on the result of:174175 IO.binwrite(state.file, body_part)176177 which has type:178179 dynamic(not {:error, term()})180181 type warning found at:182 │183 106 │ {:error, error} ->184 │ ~~~~~~~~~~~~~~~~~~185 │186 └─ lib/zoo/utils/http.ex:106: Evision.Zoo.Utils.HTTP.download_receive/2187188 warning: the following clause is redundant:189190 def write(self, name, val) when is_binary(name) and is_integer(val)191192 it has type:193194 dynamic(), binary(), integer()195196 previous clauses have already matched on the following types:197198 term(), binary(), empty_list() or non_empty_list(term(), term())199 term(), binary(), binary()200 term(), binary(), float() or integer()201202 │203 704 │ def write(self, name, val) when is_binary(name) and is_integer(val)204 │ ~205 │206 └─ lib/generated/evision_filestorage.ex:704:7: Evision.FileStorage.write/3207208 warning: the following clause is redundant:209210 def dictValue(i) when is_integer(i)211212 it has type:213214 integer()215216 previous clauses have already matched on the following types:217218 binary()219 float() or integer()220221 │222 109 │ def dictValue(i) when is_integer(i)223 │ ~224 │225 └─ lib/generated/evision_dnn_dictvalue.ex:109:7: Evision.DNN.DictValue.dictValue/1226227 warning: the following clause cannot match because the previous clauses already matched all possible values:228229 _ ->230231 it attempts to match on the result of:232233 bboxes.__struct__234235 which has the already matched type:236237 dynamic(Evision.Mat or Nx.Tensor)238239 type warning found at:240 │241 172 │ _ ->242 │ ~243 │244 └─ lib/generated/evision_dnn.ex:172:13: Evision.DNN.nmsBoxes/4245246 warning: the following clause cannot match because the previous clauses already matched all possible values:247248 _ ->249250 it attempts to match on the result of:251252 bboxes.__struct__253254 which has the already matched type:255256 dynamic(Evision.Mat or Nx.Tensor)257258 type warning found at:259 │260 256 │ _ ->261 │ ~262 │263 └─ lib/generated/evision_dnn.ex:256:13: Evision.DNN.nmsBoxesBatched/6264265 warning: the following clause cannot match because the previous clauses already matched all possible values:266267 _ ->268269 it attempts to match on the result of:270271 bboxes.__struct__272273 which has the already matched type:274275 dynamic(Evision.Mat or Nx.Tensor)276277 type warning found at:278 │279 339 │ _ ->280 │ ~281 │282 └─ lib/generated/evision_dnn.ex:339:13: Evision.DNN.nmsBoxesBatched/5283284 warning: the following clause cannot match because the previous clauses already matched all possible values:285286 _ ->287288 it attempts to match on the result of:289290 bboxes.__struct__291292 which has the already matched type:293294 dynamic(Evision.Mat or Nx.Tensor)295296 type warning found at:297 │298 430 │ _ ->299 │ ~300 │301 └─ lib/generated/evision_dnn.ex:430:13: Evision.DNN.softNMSBoxes/5302303 warning: the following clause cannot match because the previous clauses already matched all possible values:304305 _ ->306307 it attempts to match on the result of:308309 bboxes.__struct__310311 which has the already matched type:312313 dynamic(Evision.Mat or Nx.Tensor)314315 type warning found at:316 │317 518 │ _ ->318 │ ~319 │320 └─ lib/generated/evision_dnn.ex:518:13: Evision.DNN.softNMSBoxes/4321322 warning: the following clause is redundant:323324 def gpuMat(m)325 when is_map(m) and (is_atom(Evision.CUDA.GpuMat) or :fail) and is_map_key(m, :__struct__) and326 :erlang.map_get(:__struct__, m) == Evision.CUDA.GpuMat327328 it has type:329330 dynamic(%{..., __struct__: Evision.CUDA.GpuMat})331332 previous clauses have already matched on the following types:333334 %{..., __struct__: Evision.CUDA.GpuMat}335336 │337 431 │ def gpuMat(m) when is_struct(m, Evision.CUDA.GpuMat)338 │ ~339 │340 └─ lib/generated/evision_cuda_gpumat.ex:431:7: Evision.CUDA.GpuMat.gpuMat/1341342 warning: the right-hand side of || will never be executed:343344 opts || ...345346 because the left-hand side always evaluates to:347348 dynamic(non_empty_list({:mode, :cuda_ipc or :host_ipc or :local}))349350 where "opts" was given the types:351352 # type: dynamic(non_empty_list({:mode, :cuda_ipc or :host_ipc or :local}))353 # from: lib/generated/evision_cuda_gpumat.ex:125:44354 [mode: mode] = opts355356 # type: empty_list() or non_empty_list(term(), term())357 # from: lib/generated/evision_cuda_gpumat.ex:126:8358 is_list(opts)359360 type warning found at:361 │362 127 │ opts = Keyword.validate!(opts || [], [mode: :local])363 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~364 │365 └─ lib/generated/evision_cuda_gpumat.ex:127: Evision.CUDA.GpuMat.to_pointer/2366367 warning: the right-hand side of || will never be executed:368369 opts || ...370371 because the left-hand side always evaluates to:372373 dynamic(empty_list() or non_empty_list(term(), term()))374375 where "opts" was given the types:376377 # type: dynamic(empty_list() or non_empty_list(term(), term()))378 # from: lib/generated/evision_cuda_gpumat.ex:290:50379 opts380381 # type: empty_list() or non_empty_list(term(), term())382 # from: lib/generated/evision_cuda_gpumat.ex:290:109383 is_list(opts)384385 type warning found at:386 │387 291 │ opts = Keyword.validate!(opts || [], [device_id: 0])388 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~389 │390 └─ lib/generated/evision_cuda_gpumat.ex:291: Evision.CUDA.GpuMat.from_pointer/4391392 warning: the following clause will never match:393394 {:error, reason} ->395396 it is expected to match on type:397398 dynamic(399 ({:is_binary, boolean(), term()} and not {:is_binary, true, term()}) or400 ({:not_empty_shape, boolean()} and not {:not_empty_shape, true}) or401 ({:not_error, boolean(), {term(), ...}} and not {:not_error, true, {term(), ...}})402 )403404 type warning found at:405 │406 1286 │ {:error, reason} ->407 │ ~~~~~~~~~~~~~~~~~~~408 │409 └─ lib/evision_mat.ex:1286: Evision.Mat.to_nx/2410411 warning: a struct for Nx.Tensor is expected on struct update:412413 %Nx.Tensor{l | shape: out_shape}414415 but got type:416417 dynamic()418419 where "l" was given the type:420421 # type: dynamic()422 # from: lib/evision/backend.ex:563:27423 l424425 when defining the variable "l", you must also pattern match on "%Nx.Tensor{}"426427 type warning found at:428 │429 566 │ {to_nx(l_mat, %T{l | shape: out_shape}), to_nx(b_mat, %T{r | shape: out_shape})}430 │ ~431 │432 └─ lib/evision/backend.ex:566:19: Evision.Backend.enforce_same_shape/3433434 warning: the following clause is redundant:435436 true ->437438 previous clauses have already matched on the following types:439440 atom() and not(:f32, :f64, :s16, :s32, :s8, :u16, :u8)441442 type warning found at:443 │444 2104 │ true ->445 │ ~446 │447 └─ lib/evision_mat.ex:2104:12: Evision.Mat.check_unsupported_type/1448449 warning: this clause of defp to_number/1 is never used (or it will always fail/warn when invoked)450 │451 714 │ defp to_number(n) when is_number(n), do: n452 │ ~453 │454 └─ lib/evision/backend.ex:714:8: Evision.Backend.to_number/1455456 warning: the right-hand side of || will never be executed:457458 opts || ...459460 because the left-hand side always evaluates to:461462 dynamic(empty_list() or non_empty_list(term(), term()))463464 where "opts" was given the types:465466 # type: dynamic(empty_list() or non_empty_list(term(), term()))467 # from: lib/evision_mat.ex:873:23468 opts469470 # type: empty_list() or non_empty_list(term(), term())471 # from: lib/evision_mat.ex:873:34472 is_list(opts)473474 type warning found at:475 │476 874 │ opts = Keyword.validate!(opts || [], mode: :local)477 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~478 │479 └─ lib/evision_mat.ex:874: Evision.Mat.to_pointer/2480481Generated evision app482==> xav483mkdir -p /work/proj/_build/host/lib/xav/priv484mkdir -p /work/proj/_build/host/lib/xav/priv485cc -fPIC -shared -I/usr/local/lib/erlang/erts-17.1/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/host/lib/xav/priv/libxavdecoder.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample486cc -fPIC -shared -I/usr/local/lib/erlang/erts-17.1/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/host/lib/xav/priv/libxavreader.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample487In file included from c_src/xav/xav_decoder.h:1,488 from c_src/xav/xav_decoder.c:1:489c_src/xav/audio_converter.h:3:10: fatal error: libavutil/channel_layout.h: No such file or directory490 3 | #include <libavutil/channel_layout.h>491 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~492In file included from c_src/xav/xav_reader.h:1,493 from c_src/xav/xav_reader.c:1:494c_src/xav/audio_converter.h:3:10: fatal error: libavutil/channel_layout.h: No such file or directory495 3 | #include <libavutil/channel_layout.h>496 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~497compilation terminated.498compilation terminated.499In file included from c_src/xav/decoder.c:1:500c_src/xav/decoder.h:1:10: fatal error: libavcodec/avcodec.h: No such file or directory501 1 | #include <libavcodec/avcodec.h>502 | ^~~~~~~~~~~~~~~~~~~~~~503compilation terminated.504In file included from c_src/xav/reader.c:1:505c_src/xav/reader.h:1:10: fatal error: libavcodec/avcodec.h: No such file or directory506 1 | #include <libavcodec/avcodec.h>507 | ^~~~~~~~~~~~~~~~~~~~~~508compilation terminated.509In file included from c_src/xav/video_converter.c:1:510c_src/xav/video_converter.h:2:10: fatal error: libavutil/channel_layout.h: No such file or directory511 2 | #include <libavutil/channel_layout.h>512 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~513compilation terminated.514In file included from c_src/xav/video_converter.c:1:515c_src/xav/video_converter.h:2:10: fatal error: libavutil/channel_layout.h: No such file or directory516 2 | #include <libavutil/channel_layout.h>517 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~518compilation terminated.519c_src/xav/audio_converter.c:1:10: fatal error: libavutil/channel_layout.h: No such file or directory520 1 | #include <libavutil/channel_layout.h>521 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~522compilation terminated.523c_src/xav/audio_converter.c:1:10: fatal error: libavutil/channel_layout.h: No such file or directory524 1 | #include <libavutil/channel_layout.h>525 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~526compilation terminated.527In file included from c_src/xav/utils.c:1:528c_src/xav/utils.h:2:10: fatal error: libavcodec/avcodec.h: No such file or directory529 2 | #include <libavcodec/avcodec.h>530 | ^~~~~~~~~~~~~~~~~~~~~~531compilation terminated.532In file included from c_src/xav/utils.c:1:533c_src/xav/utils.h:2:10: fatal error: libavcodec/avcodec.h: No such file or directory534 2 | #include <libavcodec/avcodec.h>535 | ^~~~~~~~~~~~~~~~~~~~~~536compilation terminated.537make: *** [Makefile:57: /work/proj/_build/host/lib/xav/priv/libxavreader.so] Error 1538make: *** Waiting for unfinished jobs....539In file included from c_src/xav/channel_layout.c:1:540c_src/xav/channel_layout.h:3:10: fatal error: libavcodec/avcodec.h: No such file or directory541 3 | #include <libavcodec/avcodec.h>542 | ^~~~~~~~~~~~~~~~~~~~~~543compilation terminated.544make: *** [Makefile:53: /work/proj/_build/host/lib/xav/priv/libxavdecoder.so] Error 1545could 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"546==> nerves_compatibility_test547** (Mix) Could not compile with "make" (exit status: 2).548You need to have gcc and make installed. If you are using549Ubuntu or any other Debian-based system, install the packages550"build-essential". Also install "erlang-dev" package if not551included in your Erlang/OTP version. If you're on Fedora, run552"dnf group install 'Development Tools'".553