Resolving Hex dependencies... Resolution completed in 0.066s Unchanged: circular_buffer 1.0.0 connection 1.1.0 crc32cer 1.1.3 elixir_make 0.9.0 interactive_cmd 0.1.3 jason 1.4.4 kayrock 1.0.0-rc2 nerves 1.14.0 nerves_discovery 0.1.2 nerves_logging 0.2.4 nerves_runtime 0.13.12 nerves_system_bbb 2.29.3 nerves_system_br 1.33.5 nerves_system_grisp2 0.17.3 nerves_system_mangopi_mq_pro 0.15.3 nerves_system_osd32mp1 0.24.3 nerves_system_qemu_aarch64 0.3.3 nerves_system_rpi 2.0.2 nerves_system_rpi0 2.0.2 nerves_system_rpi0_2 2.0.2 nerves_system_rpi2 2.0.2 nerves_system_rpi3 2.0.2 nerves_system_rpi4 2.0.2 nerves_system_rpi5 2.0.2 nerves_system_x86_64 1.33.3 nerves_toolchain_aarch64_nerves_linux_gnu 13.2.0 nerves_toolchain_armv6_nerves_linux_gnueabihf 13.2.0 nerves_toolchain_armv7_nerves_linux_gnueabihf 13.2.0 nerves_toolchain_ctng 1.10.0 nerves_toolchain_riscv64_nerves_linux_gnu 13.2.0 nerves_toolchain_x86_64_nerves_linux_musl 13.2.0 nerves_uevent 0.1.4 property_table 0.3.3 ring_logger 0.11.5 shoehorn 0.9.3 tablet 0.3.2 toolshed 0.4.2 uboot_env 1.0.2 varint 1.5.1 All dependencies have been fetched ==> jason Compiling 10 files (.ex) Generated jason app ==> tablet Compiling 2 files (.ex) Generated tablet app ==> elixir_make Compiling 8 files (.ex) Generated elixir_make app ==> nerves_discovery Compiling 5 files (.ex) Generated nerves_discovery app ==> interactive_cmd Compiling 1 file (.ex) Generated interactive_cmd app ==> nerves HOST_CC port.o HOST_LD port Compiling 51 files (.ex) Generated nerves app ==> nerves_compatibility_test Nerves environment MIX_TARGET: x86_64 MIX_ENV: prod Checking for prebuilt Nerves artifacts... Found nerves_system_x86_64 in cache /home/nerves/.nerves/artifacts/nerves_system_x86_64-portable-1.33.3 Found nerves_toolchain_x86_64_nerves_linux_musl in cache /home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-linux_aarch64-13.2.0 ==> nerves ==> nerves_system_br Generated nerves_system_br app ==> nerves_toolchain_ctng Compiling 1 file (.ex) Generated nerves_toolchain_ctng app ==> nerves_toolchain_x86_64_nerves_linux_musl Generated nerves_toolchain_x86_64_nerves_linux_musl app ==> nerves_system_x86_64 Generated nerves_system_x86_64 app ==> nerves_compatibility_test Nerves environment MIX_TARGET: x86_64 MIX_ENV: prod ==> connection Compiling 1 file (.ex) warning: using single-quoted strings to represent charlists is deprecated. Use ~c"" if you indeed want a charlist or use "" instead. You may run "mix format --migrate" to change all single-quoted strings to use the ~c sigil and fix this warning. │ 553 │ [{:data, [{'State', mod_state}]}] │ ~ │ └─ lib/connection.ex:553:20 warning: using single-quoted strings to represent charlists is deprecated. Use ~c"" if you indeed want a charlist or use "" instead. You may run "mix format --migrate" to change all single-quoted strings to use the ~c sigil and fix this warning. │ 680 │ format = '** Generic server ~p terminating \n' ++ │ ~ │ └─ lib/connection.ex:680:14 warning: using single-quoted strings to represent charlists is deprecated. Use ~c"" if you indeed want a charlist or use "" instead. You may run "mix format --migrate" to change all single-quoted strings to use the ~c sigil and fix this warning. │ 681 │ '** Last message in was ~p~n' ++ ## No last message │ ~ │ └─ lib/connection.ex:681:7 warning: using single-quoted strings to represent charlists is deprecated. Use ~c"" if you indeed want a charlist or use "" instead. You may run "mix format --migrate" to change all single-quoted strings to use the ~c sigil and fix this warning. │ 682 │ '** When Server state == ~p~n' ++ │ ~ │ └─ lib/connection.ex:682:7 warning: using single-quoted strings to represent charlists is deprecated. Use ~c"" if you indeed want a charlist or use "" instead. You may run "mix format --migrate" to change all single-quoted strings to use the ~c sigil and fix this warning. │ 683 │ '** Reason for termination == ~n** ~p~n' │ ~ │ └─ lib/connection.ex:683:7 Generated connection app ==> circular_buffer Compiling 1 file (.ex) Generated circular_buffer app ==> varint Compiling 2 files (.ex) Generated varint app ==> nerves_logging CC kmsg_tailer.o LD kmsg_tailer Compiling 5 files (.ex) Generated nerves_logging app ==> ring_logger Compiling 7 files (.ex) Generated ring_logger app ==> shoehorn Compiling 8 files (.ex) Generated shoehorn app ==> nerves_compatibility_test Compiling NIF in c_build -- Configuring done (0.1s) -- Generating done (0.0s) -- Build files have been written to: /work/proj/deps/crc32cer/c_build gmake[1]: Entering directory '/work/proj/deps/crc32cer/c_build' gmake[2]: Entering directory '/work/proj/deps/crc32cer/c_build' gmake[3]: Entering directory '/work/proj/deps/crc32cer/c_build' gmake[3]: Leaving directory '/work/proj/deps/crc32cer/c_build' [ 14%] Built target crc32c_sse42 gmake[3]: Entering directory '/work/proj/deps/crc32cer/c_build' gmake[3]: Leaving directory '/work/proj/deps/crc32cer/c_build' [ 28%] Built target crc32c_arm64 gmake[3]: Entering directory '/work/proj/deps/crc32cer/c_build' gmake[3]: Leaving directory '/work/proj/deps/crc32cer/c_build' [ 71%] Built target crc32c gmake[3]: Entering directory '/work/proj/deps/crc32cer/c_build' gmake[3]: Leaving directory '/work/proj/deps/crc32cer/c_build' [100%] Built target crc32cer_nif gmake[2]: Leaving directory '/work/proj/deps/crc32cer/c_build' gmake[1]: Leaving directory '/work/proj/deps/crc32cer/c_build' ===> Analyzing applications... ===> Compiling crc32cer ==> uboot_env Compiling 5 files (.ex) Generated uboot_env app ==> property_table Compiling 8 files (.ex) Generated property_table app ==> nerves_uevent CC uevent.o LD uevent Compiling 5 files (.ex) Generated nerves_uevent app ==> nerves_runtime Compiling 14 files (.ex) Generated nerves_runtime app ==> toolshed Compiling 5 files (.ex) Generated toolshed app ==> kayrock Compiling 69 files (.ex) warning: :kpro_schema.min_flexible_vsn/1 is undefined (module :kpro_schema is not available or is yet to be defined) │ 118 │ min_flexible = :kpro_schema.min_flexible_vsn(api) │ ~ │ └─ lib/kayrock/generate.ex:118:33: Kayrock.Generate.flexible_version?/2 warning: :snappyer.compress/1 is undefined (module :snappyer is not available or is yet to be defined) │ 33 │ {:ok, out} = :snappyer.compress(data) │ ~ │ └─ lib/kayrock/compression/snappy.ex:33:28: Kayrock.Compression.Snappy.compress/1 warning: :snappyer.decompress/1 is undefined (module :snappyer is not available or is yet to be defined) │ 59 │ case :snappyer.decompress(data) do │ ~ │ └─ lib/kayrock/compression/snappy.ex:59:24: Kayrock.Compression.Snappy.decompress/1 └─ lib/kayrock/compression/snappy.ex:75:20: Kayrock.Compression.Snappy.decompress_chunks/2 warning: :ssl.close/1 is undefined (module :ssl is not available or is yet to be defined) │ 39 │ def close(%Kayrock.Socket{ssl: true} = socket), do: :ssl.close(socket.socket) │ ~ │ └─ lib/kayrock/socket.ex:39:60: Kayrock.Socket.close/1 warning: :ssl.send/2 is undefined (module :ssl is not available or is yet to be defined) │ 51 │ :ssl.send(socket.socket, data) │ ~ │ └─ lib/kayrock/socket.ex:51:10: Kayrock.Socket.send/2 warning: :ssl.setopts/2 is undefined (module :ssl is not available or is yet to be defined) │ 65 │ :ssl.setopts(socket.socket, options) │ ~ │ └─ lib/kayrock/socket.ex:65:10: Kayrock.Socket.setopts/2 warning: :ssl.recv/2 is undefined (module :ssl is not available or is yet to be defined) │ 80 │ :ssl.recv(socket.socket, length) │ ~ │ └─ lib/kayrock/socket.ex:80:10: Kayrock.Socket.recv/2 warning: :ssl.recv/3 is undefined (module :ssl is not available or is yet to be defined) │ 90 │ :ssl.recv(socket.socket, length, timeout) │ ~ │ └─ lib/kayrock/socket.ex:90:10: Kayrock.Socket.recv/3 warning: :ssl.connect/3 is undefined (module :ssl is not available or is yet to be defined) │ 125 │ :ssl.connect(host, port, socket_options) │ ~ │ └─ lib/kayrock/socket.ex:125:10: Kayrock.Socket.create_socket/4 Generated kayrock app ==> nerves_compatibility_test Compiling 2 files (.ex) Generated nerves_compatibility_test app |nerves| Building OTP Release... * [Nerves] validating vm.args * skipping runtime configuration (config/runtime.exs not found) * creating _build/x86_64/rel/nerves_compatibility_test/releases/0.1.0/vm.args Updating base firmware image with Erlang release... scrub-otp-release.sh: ERROR: Unexpected executable format for '/work/proj/_build/x86_64/_nerves-tmp/rootfs_overlay/srv/erlang/lib/crc32cer-1.1.3/priv/libcrc32cer_nif.so' Got: readelf:AArch64;0x0 Expecting: readelf:Advanced Micro Devices X86-64;0x0 This file was compiled for the host or a different target and probably will not work. Check the following: 1. If this file comes from a library, that library may be compiling to its source directory under `deps`. Manually clean up the source directory and try building again. 2. Are you using a path dependency in your mix deps? If so, run 'mix clean' in that directory to avoid pulling in any of its build products. 3. Did you recently upgrade or change your Nerves system? If so, try cleaning and rebuilding this project and its deps. 4. Are you building outside of Nerves' mix integration? If so, make sure that you've sourced 'nerves-env.sh'. If you are very sure you know what you are doing, you may place an empty file in the same directory as the offending file(s) called '.noscrub'. This will explicitly disable scrubbing for that directory. If you're still having trouble, please file an issue on Github at https://github.com/nerves-project/nerves_system_br/issues.