Build log
nerves_system_rpi4
alike 0.4.4 · fail · run alike-0.4.4-1789751333347
501 of 501 lines
1Resolving Hex dependencies...2Resolution completed in 0.362s3Unchanged:4 alike 0.4.45 axon 0.8.16 bumblebee 0.7.17 castore 1.0.218 circular_buffer 1.1.09 complex 0.7.010 elixir_make 0.10.011 exla 0.13.112 fine 0.1.613 interactive_cmd 0.1.414 jason 1.4.515 nerves 1.15.016 nerves_discovery 0.1.517 nerves_logging 0.2.418 nerves_runtime 0.13.1319 nerves_system_bbb 2.30.220 nerves_system_br 1.34.421 nerves_system_mangopi_mq_pro 0.17.222 nerves_system_qemu_aarch64 0.4.223 nerves_system_rpi 2.1.224 nerves_system_rpi0 2.1.225 nerves_system_rpi0_2 2.1.226 nerves_system_rpi2 2.1.227 nerves_system_rpi3 2.1.228 nerves_system_rpi4 2.1.229 nerves_system_rpi5 2.1.230 nerves_system_x86_64 1.34.231 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.132 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.133 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.134 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.135 nerves_toolchain_x86_64_nerves_linux_musl 15.3.136 nerves_uevent 0.1.737 nimble_pool 1.1.038 nx 0.13.139 nx_image 0.1.240 nx_signal 0.2.041 polaris 0.1.042 property_table 0.3.443 ring_logger 0.11.744 rustler_precompiled 0.9.045 safetensors 0.1.346 shoehorn 0.9.347 tablet 0.3.348 telemetry 1.4.249 tokenizers 0.5.150 toolshed 0.5.051 uboot_env 1.0.252 unpickler 0.1.053 unzip 0.13.054 xla 0.10.055* Getting alike (Hex package)56* Getting nerves (Hex package)57* Getting shoehorn (Hex package)58* Getting ring_logger (Hex package)59* Getting toolshed (Hex package)60* Getting nerves_runtime (Hex package)61* Getting nerves_system_bbb (Hex package)62* Getting nerves_system_mangopi_mq_pro (Hex package)63* Getting nerves_system_qemu_aarch64 (Hex package)64* Getting nerves_system_rpi (Hex package)65* Getting nerves_system_rpi0 (Hex package)66* Getting nerves_system_rpi0_2 (Hex package)67* Getting nerves_system_rpi2 (Hex package)68* Getting nerves_system_rpi3 (Hex package)69* Getting nerves_system_rpi4 (Hex package)70* Getting nerves_system_rpi5 (Hex package)71* Getting nerves_system_x86_64 (Hex package)72* Getting nerves_system_br (Hex package)73* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)74* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)75* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)76* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)77* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)78* Getting nerves_logging (Hex package)79* Getting nerves_uevent (Hex package)80* Getting uboot_env (Hex package)81* Getting elixir_make (Hex package)82* Getting property_table (Hex package)83* Getting circular_buffer (Hex package)84* Getting interactive_cmd (Hex package)85* Getting jason (Hex package)86* Getting nerves_discovery (Hex package)87* Getting tablet (Hex package)88* Getting bumblebee (Hex package)89* Getting exla (Hex package)90* Getting nx (Hex package)91* Getting complex (Hex package)92* Getting telemetry (Hex package)93* Getting fine (Hex package)94* Getting nimble_pool (Hex package)95* Getting xla (Hex package)96* Getting axon (Hex package)97* Getting nx_image (Hex package)98* Getting nx_signal (Hex package)99* Getting safetensors (Hex package)100* Getting tokenizers (Hex package)101* Getting unpickler (Hex package)102* Getting unzip (Hex package)103* Getting castore (Hex package)104* Getting rustler_precompiled (Hex package)105* Getting polaris (Hex package)106==> jason107Compiling 10 files (.ex)108Generated jason app109==> tablet110Compiling 2 files (.ex)111Generated tablet app112==> elixir_make113Compiling 8 files (.ex)114Generated elixir_make app115==> nerves_discovery116Compiling 5 files (.ex)117Generated nerves_discovery app118==> interactive_cmd119Compiling 1 file (.ex)120Generated interactive_cmd app121==> nerves122HOST_CC port.o123HOST_LD port124Compiling 55 files (.ex)125Generated nerves app126==> nerves_compatibility_test127128Nerves environment129 MIX_TARGET: rpi4130 MIX_ENV: prod131132Checking for prebuilt Nerves artifacts...133 Found nerves_toolchain_aarch64_nerves_linux_gnu in cache134 /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1135 Found nerves_system_rpi4 in cache136 /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2137==> jason138Compiling 10 files (.ex)139Compiling lib/encode.ex (it's taking more than 10s)140Compiling lib/decoder.ex (it's taking more than 10s)141Generated jason app142==> tablet143Compiling 2 files (.ex)144Generated tablet app145==> elixir_make146Compiling 8 files (.ex)147Generated elixir_make app148==> nerves_discovery149Compiling 5 files (.ex)150Generated nerves_discovery app151==> interactive_cmd152Compiling 1 file (.ex)153Generated interactive_cmd app154==> nerves155HOST_CC port.o156HOST_LD port157Compiling 55 files (.ex)158Generated nerves app159==> nerves_toolchain_aarch64_nerves_linux_gnu160Compiling 1 file (.ex)161Generated nerves_toolchain_aarch64_nerves_linux_gnu app162==> nerves_system_br163Generated nerves_system_br app164==> nerves_system_rpi4165Generated nerves_system_rpi4 app166==> nerves_compatibility_test167168Nerves environment169 MIX_TARGET: rpi4170 MIX_ENV: prod171172==> circular_buffer173Compiling 1 file (.ex)174Generated circular_buffer app175==> fine176Compiling 1 file (.ex)177Generated fine app178==> unpickler179Compiling 3 files (.ex)180 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 operator181 │182 275 │ <<string::binary-size(prefix_size), ?L>> = string183 │ ~184 │185 └─ lib/unpickler.ex:275:27: Unpickler.load_op/3186187 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 operator188 │189 306 │ <<q, string::binary-size(content_size), q>> when q in [?', ?"] ->190 │ ~191 │192 └─ lib/unpickler.ex:306:34: Unpickler.load_op/3193194Generated unpickler app195==> complex196Compiling 2 files (.ex)197 warning: the following clause is redundant:198199 def divide(n, b) when is_number(n) and (b === :infinity or b === :neg_infinity)200201 it has type:202203 dynamic(float() or integer()), dynamic(:infinity or :neg_infinity)204205 previous clauses have already matched on the following types:206207 :infinity or :nan or :neg_infinity, :infinity or :nan or :neg_infinity208 :nan, float() or integer()209 float() or integer(), :nan210 float() or integer(), :infinity211 float() or integer(), :neg_infinity212 float() or integer(), float() or integer()213214 │215 590 │ def divide(n, b) when is_number(n) and b in [:infinity, :neg_infinity] do216 │ ~217 │218 └─ lib/complex.ex:590:7: Complex.divide/2219220 warning: the following clause is redundant:221222 def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0223224 it has type:225226 dynamic(%Complex{re: float() or integer(), im: float() or integer()}), :neg_infinity227228 previous clauses have already matched on the following types:229230 :infinity or :nan or :neg_infinity, %Complex{}231 %Complex{}, :infinity or :nan or :neg_infinity232 %Complex{re: :infinity or :nan or :neg_infinity}, term()233 %Complex{im: :infinity or :nan or :neg_infinity}, term()234 term(), %Complex{re: :infinity or :nan or :neg_infinity}235 term(), %Complex{im: :infinity or :nan or :neg_infinity}236 :nan, term()237 term(), :nan238239 │240 1143 │ def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0, do: new(:infinity, 0)241 │ ~242 │243 └─ lib/complex.ex:1143:7: Complex.pow/2244245 warning: the following clause is redundant:246247 def atan2(:nan, :nan)248249 it has type:250251 :nan, :nan252253 previous clauses have already matched on the following types:254255 float() or integer(), float() or integer()256 :infinity, :infinity257 :infinity, :neg_infinity258 :infinity, :nan259 :infinity, float() or integer()260 :neg_infinity, :infinity261 :neg_infinity, :neg_infinity262 :neg_infinity, :nan263 :neg_infinity, float() or integer()264 :nan, :infinity or :nan or :neg_infinity or float() or integer()265 :infinity or :nan or :neg_infinity or float() or integer(), :nan266267 │268 1458 │ def atan2(:nan, :nan), do: :nan269 │ ~270 │271 └─ lib/complex.ex:1458:7: Complex.atan2/2272273Generated complex app274==> nerves_logging275 CC kmsg_tailer.o276 LD kmsg_tailer277Compiling 5 files (.ex)278Generated nerves_logging app279==> castore280Compiling 1 file (.ex)281Generated castore app282==> unzip283Compiling 6 files (.ex)284 warning: unused require Logger285 │286 40 │ require Logger287 │ ~288 │289 └─ lib/unzip.ex:40:3290291Generated unzip app292==> ring_logger293Compiling 7 files (.ex)294Generated ring_logger app295==> shoehorn296Compiling 8 files (.ex)297Generated shoehorn app298==> xla299Compiling 5 files (.ex)300Generated xla app301==> nerves_compatibility_test302===> Analyzing applications...303===> Compiling telemetry304==> nx305Compiling 43 files (.ex)306Compiling lib/nx/defn/expr.ex (it's taking more than 10s)307Compiling lib/nx/binary_backend.ex (it's taking more than 10s)308Compiling lib/nx.ex (it's taking more than 10s)309Generated nx app310==> nx_image311Compiling 1 file (.ex)312Generated nx_image app313==> safetensors314Compiling 3 files (.ex)315 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator316 │317 27 │ for <<data::size(size)-binary <- binary>> do318 │ ~319 │320 └─ lib/safetensors/shared.ex:27:26: Safetensors.Shared.new_byte_order/3321322Generated safetensors app323==> polaris324Compiling 5 files (.ex)325Generated polaris app326==> axon327Compiling 27 files (.ex)328 warning: unused require Polaris.Updates329 │330 212 │ require Polaris.Updates331 │ ~332 │333 └─ lib/axon/loop.ex:212:3334335Compiling lib/axon/loop.ex (it's taking more than 10s)336Compiling lib/axon/compiler.ex (it's taking more than 10s)337Compiling lib/axon.ex (it's taking more than 10s)338 warning: unused require Logger339 │340 284 │ require Logger341 │ ~342 │343 └─ lib/axon.ex:284:3344345 warning: the following conditional expression will always succeed:346347 not improved?348349 because it evaluates to:350351 dynamic(true)352353 where "improved?" was given the type:354355 # type: dynamic(false or nil)356 # from: lib/axon/loop.ex:1124:7357 improved?358359 type warning found at:360 │361 1136 │ not improved? and not over_patience? ->362 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~363 │364 └─ lib/axon/loop.ex:1136: Axon.Loop.monitor_impl/6365366 warning: the following clause will never match:367368 map when is_map(map) ->369370 because it attempts to match on the result of:371372 value373374 which has type:375376 dynamic(not empty_list() and not map() and not non_empty_list(term(), term()))377378 where "map" was given the type:379380 # type: map()381 # from: lib/axon/model_state.ex:208:16382 is_map(map)383384 type warning found at:385 │386 208 │ map when is_map(map) ->387 │ ~388 │389 └─ lib/axon/model_state.ex:208:7: Axon.ModelState.transform_to_parameters/1390391 warning: the following clause is redundant:392393 %{parent: [parent_id]} = popped ->394395 previous clauses have already matched on the following types:396397 %{..., op: term(), op_name: :container, parent: term()}398 %{..., parent: non_empty_list(term(), term())}399400 where "parent_id" was given the type:401402 # type: dynamic()403 # from: lib/axon.ex:3960:30404 %{parent: [parent_id]} = popped405406 where "popped" was given the type:407408 # type: dynamic(%{..., parent: non_empty_list(term())})409 # from: lib/axon.ex:3960:30410 %{parent: [parent_id]} = popped411412 type warning found at:413 │414 3960 │ %{parent: [parent_id]} = popped ->415 │ ~416 │417 └─ lib/axon.ex:3960:39: Axon.pop_node/1418419Generated axon app420==> rustler_precompiled421Compiling 4 files (.ex)422Generated rustler_precompiled app423==> tokenizers424Compiling 18 files (.ex)42542617:29:52.786 [debug] Downloading NIF from https://github.com/elixir-nx/tokenizers/releases/download/v0.5.1/libex_tokenizers-v0.5.1-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz42742817:29:55.584 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/libex_tokenizers-v0.5.1-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz and extracted to /work/proj/_build/rpi4/lib/tokenizers/priv/native/libex_tokenizers-v0.5.1-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz429Generated tokenizers app430==> nx_signal431Compiling 5 files (.ex)432 warning: Nx.reflect/2 is deprecated. Use pad_outer/3 instead433 │434 349 │ tensor = Nx.reflect(tensor, padding_config: [{half_window, half_window}])435 │ ~436 │437 └─ lib/nx_signal.ex:349:17: NxSignal."__defn:as_windowed_reflect_padding__"/2438439 warning: Tuple.append/2 is deprecated. Use insert_at instead440 │441 739 │ |> Tuple.append(out_len)442 │ ~443 │444 └─ lib/nx_signal.ex:739:14: NxSignal.overlap_and_add_output_shape/2445446Generated nx_signal app447==> bumblebee448Compiling 107 files (.ex)449Compiling lib/bumblebee/audio/speech_to_text_whisper.ex (it's taking more than 10s)450 warning: Nx.Defn.Kernel.create_token/0 is deprecated. Use hook/2 or hook/3 instead. Will be removed in a future release.451 │452 666 │ token = create_token()453 │ ~454 │455 └─ lib/bumblebee/text/generation.ex:666:13: Bumblebee.Text.Generation."__defn:update_sequences__"/4456457 warning: Nx.Defn.Kernel.hook_token/3 is deprecated. Use hook/2 or hook/3 instead. Will be removed in a future release.458 │459 667 │ {token, _} = hook_token(token, data, :token)460 │ ~461 │462 └─ lib/bumblebee/text/generation.ex:667:18: Bumblebee.Text.Generation."__defn:update_sequences__"/4463464 warning: Nx.Defn.Kernel.attach_token/2 is deprecated. Use hook/2 or hook/3 instead. Will be removed in a future release.465 │466 670 │ attach_token(token, state)467 │ ~468 │469 └─ lib/bumblebee/text/generation.ex:670:5: Bumblebee.Text.Generation."__defn:update_sequences__"/4470471Generated bumblebee app472==> uboot_env473Compiling 5 files (.ex)474Generated uboot_env app475==> nimble_pool476Compiling 2 files (.ex)477Generated nimble_pool app478==> exla479Unpacking /home/nerves/.cache/xla/0.10.0/download/xla_extension-0.10.0-x86_64-linux-gnu-cpu.tar.gz into /work/proj/deps_rpi4/exla/cache480Using libexla.so from /home/nerves/.cache/xla/exla/elixir-1.20.3-erts-17.0.4-xla-0.10.0-exla-0.13.1-uzp2q7t2znw2jdz523kyykvami/libexla.so481/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/aarch64-nerves-linux-gnu-g++ -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -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_rpi4-portable-2.1.2/staging -fPIC -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2/staging/usr/lib/erlang/erts-17.0.6/include -I/work/proj/deps_rpi4/fine/c_include -Icache/xla_extension/include -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-comment -std=c++17 -w -DNDEBUG -O3 -DEXLA_PROD -c c_src/exla/exla.cc -o cache/0.13.1/objs/exla.o482In file included from cache/xla_extension/include/xla/printer.h:31,483 from cache/xla_extension/include/xla/layout.h:32,484 from cache/xla_extension/include/xla/shape.h:37,485 from c_src/exla/custom_calls/../exla_nif_util.h:9,486 from c_src/exla/custom_calls/runtime_callback_bridge.h:9,487 from c_src/exla/exla.cc:15:488cache/xla_extension/include/highwayhash/highwayhash.h:49:10: fatal error: highwayhash/hh_neon.h: No such file or directory489 49 | #include "highwayhash/hh_neon.h"490 | ^~~~~~~~~~~~~~~~~~~~~~~491compilation terminated.492make: *** [Makefile:128: cache/0.13.1/objs/exla.o] Error 1493could not compile dependency :exla, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile exla --force", update it with "mix deps.update exla" or clean it with "mix deps.clean exla"494==> nerves_compatibility_test495** (Mix) Could not compile with "make" (exit status: 2).496You need to have gcc and make installed. If you are using497Ubuntu or any other Debian-based system, install the packages498"build-essential". Also install "erlang-dev" package if not499included in your Erlang/OTP version. If you're on Fedora, run500"dnf group install 'Development Tools'".501