onchain_js

Build log

nerves_system_qemu_aarch64

onchain_js 0.5.0 · fail · run onchain_js-0.5.0-1794795712639
283 of 283 lines
1Resolving Hex dependencies...2Resolution completed in 0.045s3* Getting onchain_js (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_bbb (Hex package)10* Getting nerves_system_mangopi_mq_pro (Hex package)11* Getting nerves_system_qemu_aarch64 (Hex package)12* Getting nerves_system_rpi0 (Hex package)13* Getting nerves_system_rpi0_2 (Hex package)14* Getting nerves_system_rpi4 (Hex package)15* Getting nerves_system_rpi5 (Hex package)16* Getting nerves_system_trellis (Hex package)17* Getting nerves_system_x86_64 (Hex package)18* Getting nerves_system_br (Hex package)19* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)20* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)21* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)22* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)23* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)24* Getting nerves_logging (Hex package)25* Getting nerves_uevent (Hex package)26* Getting uboot_env (Hex package)27* Getting elixir_make (Hex package)28* Getting property_table (Hex package)29* Getting circular_buffer (Hex package)30* Getting interactive_cmd (Hex package)31* Getting nerves_discovery (Hex package)32* Getting tablet (Hex package)33* Getting descripex (Hex package)34* Getting npm (Hex package)35* Getting onchain (Hex package)36* Getting quickbeam (Hex package)37* Getting jason (Hex package)38* Getting mint (Hex package)39* Getting mint_web_socket (Hex package)40* Getting nimble_pool (Hex package)41* Getting oxc (Hex package)42* Getting varint (Hex package)43* Getting zigler_precompiled (Hex package)44* Getting castore (Hex package)45* Getting json_codec (Hex package)46* Getting rustler_precompiled (Hex package)47* Getting json_spec (Hex package)48* Getting hpax (Hex package)49* Getting decimal (Hex package)50* Getting ex_keccak (Hex package)51* Getting ex_rlp (Hex package)52* Getting ex_secp256k1 (Hex package)53* Getting nimble_options (Hex package)54* Getting req (Hex package)55* Getting telemetry (Hex package)56* Getting zen_websocket (Hex package)57* Getting certifi (Hex package)58* Getting gun (Hex package)59* Getting cowlib (Hex package)60* Getting finch (Hex package)61* Getting mime (Hex package)62* Getting hex_solver (Hex package)63* Getting npm_semver (Hex package)64* Getting nimble_parsec (Hex package)65You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more66==> tablet67Compiling 2 files (.ex)68Generated tablet app69==> nerves_discovery70Compiling 5 files (.ex)71Generated nerves_discovery app72==> interactive_cmd73Compiling 1 file (.ex)74Generated interactive_cmd app75==> nerves76Compiling 65 files (.ex)77Generated nerves app78==> nerves_system_br79Generated nerves_system_br app80==> hex_solver81Compiling 21 files (.ex)82Generated hex_solver app83==> mime84Compiling 1 file (.ex)85Generated mime app86==> circular_buffer87Compiling 1 file (.ex)88Generated circular_buffer app89==> nimble_options90Compiling 3 files (.ex)91Generated nimble_options app92==> varint93Compiling 3 files (.ex)94Generated varint app95==> logger_backends96Compiling 7 files (.ex)97Generated logger_backends app98==> hpax99Compiling 4 files (.ex)100Generated hpax app101==> elixir_make102Compiling 8 files (.ex)103Generated elixir_make app104==> nerves_logging105 CC kmsg_tailer.o106 LD kmsg_tailer107Compiling 5 files (.ex)108Generated nerves_logging app109==> castore110Compiling 1 file (.ex)111Generated castore app112==> mint113Compiling 1 file (.erl)114Compiling 21 files (.ex)115Generated mint app116==> mint_web_socket117Compiling 7 files (.ex)118Generated mint_web_socket app119==> nerves_compatibility_test120===> Analyzing applications...121===> Compiling cowlib122===> Analyzing applications...123===> Compiling gun124==> ring_logger125Compiling 7 files (.ex)126Generated ring_logger app127==> json_spec128Compiling 2 files (.ex)129Generated json_spec app130==> descripex131Compiling 6 files (.ex)132Generated descripex app133==> decimal134Compiling 4 files (.ex)135Generated decimal app136==> jason137Compiling 10 files (.ex)138Generated jason app139==> json_codec140Compiling 6 files (.ex)141Generated json_codec app142==> ex_rlp143Compiling 6 files (.ex)144     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 operator145     │146 103 │       <<item::binary-size(size), new_tail::binary>> = tail147     │                           ~148     │149     └─ lib/ex_rlp/decode_item.ex:103:27: ExRLP.DecodeItem.do_decode_item/3150151     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 operator152     │153 120 │       <<item::binary-size(size), new_tail::binary>> = tail154     │                           ~155     │156     └─ lib/ex_rlp/decode_item.ex:120:27: ExRLP.DecodeItem.do_decode_item/3157158     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 operator159     │160 158 │     <<item::binary-size(size), new_tail::binary>> = tail161     │                         ~162     │163     └─ lib/ex_rlp/decode_item.ex:158:25: ExRLP.DecodeItem.do_decode_when_valid_length/4164165     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 operator166     │167 168 │     <<item::binary-size(size), new_tail::binary>> = tail168     │                         ~169     │170     └─ lib/ex_rlp/decode_item.ex:168:25: ExRLP.DecodeItem.do_decode_when_valid_length/4171172     warning: the variable "be_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator173     │174 187 │     <<be::binary-size(be_size), data::binary>> = tail175     │                       ~176     │177     └─ lib/ex_rlp/decode_item.ex:187:23: ExRLP.DecodeItem.decode_long_binary/2178179     warning: the variable "item_length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator180     │181 195 │       {_, <<item::binary-size(item_length), new_tail::binary>>} -> {item, new_tail}182     │                               ~183     │184     └─ lib/ex_rlp/decode_item.ex:195:31: ExRLP.DecodeItem.decode_long_binary/2185186    warning: default arguments in protocol definitions is deprecated187    │188  2 │   def encode(value, options \\ [])189    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~190    │191    └─ lib/ex_rlp/encode.ex:2: ExRLP.Encode (module)192193    warning: protocols can only define functions without implementation via def/1, found: encode/1194    │195  1 │ defprotocol ExRLP.Encode do196    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~197    │198    └─ lib/ex_rlp/encode.ex:1: ExRLP.Encode (module)199200Generated ex_rlp app201==> nerves_toolchain_aarch64_nerves_linux_gnu202Compiling 1 file (.ex)203Generated nerves_toolchain_aarch64_nerves_linux_gnu app204==> nerves_system_qemu_aarch64205Compiling 1 file (.ex)206Generated nerves_system_qemu_aarch64 app207==> nimble_parsec208Compiling 4 files (.ex)209Generated nimble_parsec app210==> nerves_compatibility_test211===> Analyzing applications...212===> Compiling telemetry213==> rustler_precompiled214Compiling 4 files (.ex)215Generated rustler_precompiled app216==> oxc217Compiling 18 files (.ex)21821902:30:37.983 [debug] Downloading NIF from https://github.com/elixir-volt/oxc_ex/releases/download/v0.19.0/liboxc_fmt_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz22022102:30:38.002 [debug] Downloading NIF from https://github.com/elixir-volt/oxc_ex/releases/download/v0.19.0/liboxc_lint_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz22222302:30:39.386 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/liboxc_fmt_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz and extracted to /work/proj/_build/qemu_aarch64/lib/oxc/priv/native/liboxc_fmt_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so22422502:30:40.354 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/liboxc_lint_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz and extracted to /work/proj/_build/qemu_aarch64/lib/oxc/priv/native/liboxc_lint_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so22622702:30:40.462 [debug] Downloading NIF from https://github.com/elixir-volt/oxc_ex/releases/download/v0.19.0/liboxc_ex_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz22822902:30:42.583 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/liboxc_ex_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz and extracted to /work/proj/_build/qemu_aarch64/lib/oxc/priv/native/liboxc_ex_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so230Generated oxc app231==> ex_secp256k1232Compiling 2 files (.ex)23323402:30:42.767 [debug] Downloading NIF from https://github.com/ayrat555/ex_secp256k1/releases/download/v0.8.0/libex_secp256k1-v0.8.0-nif-2.16-aarch64-unknown-linux-gnu.so.tar.gz23523602:30:43.247 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/libex_secp256k1-v0.8.0-nif-2.16-aarch64-unknown-linux-gnu.so.tar.gz and extracted to /work/proj/_build/qemu_aarch64/lib/ex_secp256k1/priv/native/libex_secp256k1-v0.8.0-nif-2.16-aarch64-unknown-linux-gnu.so237Generated ex_secp256k1 app238==> ex_keccak239Compiling 1 file (.ex)24024102:30:43.322 [debug] Downloading NIF from https://github.com/exWeb3/ex_keccak/releases/download/v0.7.8/libexkeccak-v0.7.8-nif-2.16-aarch64-unknown-linux-gnu.so.tar.gz24224302:30:43.688 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/libexkeccak-v0.7.8-nif-2.16-aarch64-unknown-linux-gnu.so.tar.gz and extracted to /work/proj/_build/qemu_aarch64/lib/ex_keccak/priv/native/libexkeccak-v0.7.8-nif-2.16-aarch64-unknown-linux-gnu.so244Generated ex_keccak app245==> nerves_compatibility_test246===> Analyzing applications...247===> Compiling certifi248==> zen_websocket249Compiling 49 files (.ex)250Generated zen_websocket app251==> uboot_env252Compiling 5 files (.ex)253Generated uboot_env app254==> nimble_pool255Compiling 2 files (.ex)256Generated nimble_pool app257==> finch258Compiling 23 files (.ex)259Generated finch app260==> req261Compiling 24 files (.ex)262Generated req app263==> onchain264Compiling 86 files (.ex)26526602:31:03.876 [debug] Downloading NIF from https://github.com/ZenHive/onchain-stack/releases/download/onchain-v0.17.0/libonchain_abi-v0.17.0-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz26726802:31:04.359 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/libonchain_abi-v0.17.0-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz and extracted to /work/proj/_build/qemu_aarch64/lib/onchain/priv/native/libonchain_abi-v0.17.0-nif-2.15-aarch64-unknown-linux-gnu.so26927002:31:04.377 [warning] The on_load function for module Elixir.Onchain.ABI.Native returned:271{:error,272 {:load_failed,273  ~c"Failed to load NIF library: '/work/proj/_build/qemu_aarch64/lib/onchain/priv/native/libonchain_abi-v0.17.0-nif-2.15-aarch64-unknown-linux-gnu.so: cannot open shared object file: No such file or directory'"}}274275276== Compilation error in file lib/onchain/contract/sleuth.ex ==277** (UndefinedFunctionError) function Onchain.ABI.Native.parse_abi_json/1 is undefined (module Onchain.ABI.Native is not available)278    Onchain.ABI.Native.parse_abi_json("[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"q\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"c\",\"type\":\"bytes\"}],\"name\":\"query\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"q\",\"type\":\"bytes\"}],\"name\":\"query\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]")279    lib/onchain/contract/abi.ex:13: Onchain.Contract.ABI.parse_abi_json!/1280    lib/onchain/contract/generator.ex:212: Onchain.Contract.Generator.resolve_contract_input/2281    expanding macro: Onchain.Contract.Generator.__before_compile__/1282    lib/onchain/contract/sleuth.ex:1: Onchain.Contract.Sleuth (module)283could not compile dependency :onchain, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile onchain --force", update it with "mix deps.update onchain" or clean it with "mix deps.clean onchain"