Build log
nerves_system_rpi4
bin_class 0.3.0 · fail · run bin_class-0.3.0-1789524433176
426 of 426 lines
1Resolving Hex dependencies...2Resolution completed in 0.365s3Unchanged:4 axon 0.8.15 bin_class 0.3.06 castore 1.0.217 chunx 0.2.18 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_options 1.1.138 nimble_pool 1.1.039 nx 0.13.140 polaris 0.1.041 property_table 0.3.442 ring_logger 0.11.743 rustler_precompiled 0.9.044 scholar 0.4.245 shoehorn 0.9.346 tablet 0.3.347 telemetry 1.4.248 tokenizers 0.5.149 toolshed 0.5.050 uboot_env 1.0.251 xla 0.10.052* Getting bin_class (Hex package)53* Getting nerves (Hex package)54* Getting shoehorn (Hex package)55* Getting ring_logger (Hex package)56* Getting toolshed (Hex package)57* Getting nerves_runtime (Hex package)58* Getting nerves_system_bbb (Hex package)59* Getting nerves_system_mangopi_mq_pro (Hex package)60* Getting nerves_system_qemu_aarch64 (Hex package)61* Getting nerves_system_rpi (Hex package)62* Getting nerves_system_rpi0 (Hex package)63* Getting nerves_system_rpi0_2 (Hex package)64* Getting nerves_system_rpi2 (Hex package)65* Getting nerves_system_rpi3 (Hex package)66* Getting nerves_system_rpi4 (Hex package)67* Getting nerves_system_rpi5 (Hex package)68* Getting nerves_system_x86_64 (Hex package)69* Getting nerves_system_br (Hex package)70* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)71* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)72* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)73* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)74* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)75* Getting nerves_logging (Hex package)76* Getting nerves_uevent (Hex package)77* Getting uboot_env (Hex package)78* Getting elixir_make (Hex package)79* Getting property_table (Hex package)80* Getting circular_buffer (Hex package)81* Getting interactive_cmd (Hex package)82* Getting jason (Hex package)83* Getting nerves_discovery (Hex package)84* Getting tablet (Hex package)85* Getting axon (Hex package)86* Getting chunx (Hex package)87* Getting exla (Hex package)88* Getting nx (Hex package)89* Getting tokenizers (Hex package)90* Getting castore (Hex package)91* Getting rustler_precompiled (Hex package)92* Getting complex (Hex package)93* Getting telemetry (Hex package)94* Getting fine (Hex package)95* Getting nimble_pool (Hex package)96* Getting xla (Hex package)97* Getting scholar (Hex package)98* Getting nimble_options (Hex package)99* Getting polaris (Hex package)100==> jason101Compiling 10 files (.ex)102Compiling lib/decoder.ex (it's taking more than 10s)103Compiling lib/encode.ex (it's taking more than 10s)104Generated jason app105==> tablet106Compiling 2 files (.ex)107Generated tablet app108==> elixir_make109Compiling 8 files (.ex)110Generated elixir_make app111==> nerves_discovery112Compiling 5 files (.ex)113Generated nerves_discovery app114==> interactive_cmd115Compiling 1 file (.ex)116Generated interactive_cmd app117==> nerves118HOST_CC port.o119HOST_LD port120Compiling 55 files (.ex)121Generated nerves app122==> nerves_compatibility_test123124Nerves environment125 MIX_TARGET: rpi4126 MIX_ENV: prod127128Checking for prebuilt Nerves artifacts...129 Found nerves_toolchain_aarch64_nerves_linux_gnu in cache130 /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1131 Found nerves_system_rpi4 in cache132 /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2133==> jason134Compiling 10 files (.ex)135Generated jason app136==> tablet137Compiling 2 files (.ex)138Generated tablet app139==> elixir_make140Compiling 8 files (.ex)141Generated elixir_make app142==> nerves_discovery143Compiling 5 files (.ex)144Generated nerves_discovery app145==> interactive_cmd146Compiling 1 file (.ex)147Generated interactive_cmd app148==> nerves149HOST_CC port.o150HOST_LD port151Compiling 55 files (.ex)152Generated nerves app153==> nerves_toolchain_aarch64_nerves_linux_gnu154Compiling 1 file (.ex)155Generated nerves_toolchain_aarch64_nerves_linux_gnu app156==> nerves_system_br157Generated nerves_system_br app158==> nerves_system_rpi4159Generated nerves_system_rpi4 app160==> nerves_compatibility_test161162Nerves environment163 MIX_TARGET: rpi4164 MIX_ENV: prod165166==> circular_buffer167Compiling 1 file (.ex)168Generated circular_buffer app169==> nimble_options170Compiling 3 files (.ex)171Generated nimble_options app172==> fine173Compiling 1 file (.ex)174Generated fine app175==> complex176Compiling 2 files (.ex)177 warning: the following clause is redundant:178179 def divide(n, b) when is_number(n) and (b === :infinity or b === :neg_infinity)180181 it has type:182183 dynamic(float() or integer()), dynamic(:infinity or :neg_infinity)184185 previous clauses have already matched on the following types:186187 :infinity or :nan or :neg_infinity, :infinity or :nan or :neg_infinity188 :nan, float() or integer()189 float() or integer(), :nan190 float() or integer(), :infinity191 float() or integer(), :neg_infinity192 float() or integer(), float() or integer()193194 │195 590 │ def divide(n, b) when is_number(n) and b in [:infinity, :neg_infinity] do196 │ ~197 │198 └─ lib/complex.ex:590:7: Complex.divide/2199200 warning: the following clause is redundant:201202 def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0203204 it has type:205206 dynamic(%Complex{re: float() or integer(), im: float() or integer()}), :neg_infinity207208 previous clauses have already matched on the following types:209210 :infinity or :nan or :neg_infinity, %Complex{}211 %Complex{}, :infinity or :nan or :neg_infinity212 %Complex{re: :infinity or :nan or :neg_infinity}, term()213 %Complex{im: :infinity or :nan or :neg_infinity}, term()214 term(), %Complex{re: :infinity or :nan or :neg_infinity}215 term(), %Complex{im: :infinity or :nan or :neg_infinity}216 :nan, term()217 term(), :nan218219 │220 1143 │ def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0, do: new(:infinity, 0)221 │ ~222 │223 └─ lib/complex.ex:1143:7: Complex.pow/2224225 warning: the following clause is redundant:226227 def atan2(:nan, :nan)228229 it has type:230231 :nan, :nan232233 previous clauses have already matched on the following types:234235 float() or integer(), float() or integer()236 :infinity, :infinity237 :infinity, :neg_infinity238 :infinity, :nan239 :infinity, float() or integer()240 :neg_infinity, :infinity241 :neg_infinity, :neg_infinity242 :neg_infinity, :nan243 :neg_infinity, float() or integer()244 :nan, :infinity or :nan or :neg_infinity or float() or integer()245 :infinity or :nan or :neg_infinity or float() or integer(), :nan246247 │248 1458 │ def atan2(:nan, :nan), do: :nan249 │ ~250 │251 └─ lib/complex.ex:1458:7: Complex.atan2/2252253Generated complex app254==> nerves_logging255 CC kmsg_tailer.o256 LD kmsg_tailer257Compiling 5 files (.ex)258Generated nerves_logging app259==> castore260Compiling 1 file (.ex)261Generated castore app262==> ring_logger263Compiling 7 files (.ex)264Generated ring_logger app265==> shoehorn266Compiling 8 files (.ex)267Generated shoehorn app268==> xla269Compiling 5 files (.ex)270Generated xla app271==> nerves_compatibility_test272===> Analyzing applications...273===> Compiling telemetry274==> nx275Compiling 43 files (.ex)276Compiling lib/nx/defn/compiler.ex (it's taking more than 10s)277Compiling lib/nx/defn/tree.ex (it's taking more than 10s)278Compiling lib/nx/defn/graph.ex (it's taking more than 10s)279Compiling lib/nx/defn/grad.ex (it's taking more than 10s)280Compiling lib/nx/defn/evaluator.ex (it's taking more than 10s)281Compiling lib/nx/binary_backend.ex (it's taking more than 10s)282Compiling lib/nx/defn/expr.ex (it's taking more than 10s)283Compiling lib/nx.ex (it's taking more than 10s)284Generated nx app285==> polaris286Compiling 5 files (.ex)287Generated polaris app288==> axon289Compiling 27 files (.ex)290 warning: unused require Polaris.Updates291 │292 212 │ require Polaris.Updates293 │ ~294 │295 └─ lib/axon/loop.ex:212:3296297Compiling lib/axon.ex (it's taking more than 10s)298 warning: unused require Logger299 │300 284 │ require Logger301 │ ~302 │303 └─ lib/axon.ex:284:3304305 warning: the following conditional expression will always succeed:306307 not improved?308309 because it evaluates to:310311 dynamic(true)312313 where "improved?" was given the type:314315 # type: dynamic(false or nil)316 # from: lib/axon/loop.ex:1124:7317 improved?318319 type warning found at:320 │321 1136 │ not improved? and not over_patience? ->322 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~323 │324 └─ lib/axon/loop.ex:1136: Axon.Loop.monitor_impl/6325326 warning: the following clause will never match:327328 map when is_map(map) ->329330 because it attempts to match on the result of:331332 value333334 which has type:335336 dynamic(not empty_list() and not map() and not non_empty_list(term(), term()))337338 where "map" was given the type:339340 # type: map()341 # from: lib/axon/model_state.ex:208:16342 is_map(map)343344 type warning found at:345 │346 208 │ map when is_map(map) ->347 │ ~348 │349 └─ lib/axon/model_state.ex:208:7: Axon.ModelState.transform_to_parameters/1350351 warning: the following clause is redundant:352353 %{parent: [parent_id]} = popped ->354355 previous clauses have already matched on the following types:356357 %{..., op: term(), op_name: :container, parent: term()}358 %{..., parent: non_empty_list(term(), term())}359360 where "parent_id" was given the type:361362 # type: dynamic()363 # from: lib/axon.ex:3960:30364 %{parent: [parent_id]} = popped365366 where "popped" was given the type:367368 # type: dynamic(%{..., parent: non_empty_list(term())})369 # from: lib/axon.ex:3960:30370 %{parent: [parent_id]} = popped371372 type warning found at:373 │374 3960 │ %{parent: [parent_id]} = popped ->375 │ ~376 │377 └─ lib/axon.ex:3960:39: Axon.pop_node/1378379Generated axon app380==> scholar381Compiling 70 files (.ex)382Generated scholar app383==> rustler_precompiled384Compiling 4 files (.ex)385Generated rustler_precompiled app386==> tokenizers387Compiling 18 files (.ex)38838902:28:11.846 [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.gz39039102:28:19.172 [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.gz392Compiling lib/tokenizers/native.ex (it's taking more than 10s)393Generated tokenizers app394==> chunx395Compiling 13 files (.ex)396Generated chunx app397==> uboot_env398Compiling 5 files (.ex)399Generated uboot_env app400==> nimble_pool401Compiling 2 files (.ex)402Generated nimble_pool app403==> exla404Unpacking /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/cache405Using 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.so406/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.o407In file included from cache/xla_extension/include/xla/printer.h:31,408 from cache/xla_extension/include/xla/layout.h:32,409 from cache/xla_extension/include/xla/shape.h:37,410 from c_src/exla/custom_calls/../exla_nif_util.h:9,411 from c_src/exla/custom_calls/runtime_callback_bridge.h:9,412 from c_src/exla/exla.cc:15:413cache/xla_extension/include/highwayhash/highwayhash.h:49:10: fatal error: highwayhash/hh_neon.h: No such file or directory414 49 | #include "highwayhash/hh_neon.h"415 | ^~~~~~~~~~~~~~~~~~~~~~~416compilation terminated.417make: *** [Makefile:128: cache/0.13.1/objs/exla.o] Error 1418could 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"419==> nerves_compatibility_test420** (Mix) Could not compile with "make" (exit status: 2).421You need to have gcc and make installed. If you are using422Ubuntu or any other Debian-based system, install the packages423"build-essential". Also install "erlang-dev" package if not424included in your Erlang/OTP version. If you're on Fedora, run425"dnf group install 'Development Tools'".426