onchain_js

Build log

nerves_system_rpi4

onchain_js 0.5.0 · fail · run onchain_js-0.5.0-1794795712639
271 of 271 lines
1Resolving Hex dependencies...2Resolution completed in 0.056s3* 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)138Compiling lib/decoder.ex (it's taking more than 10s)139Generated jason app140==> json_codec141Compiling 6 files (.ex)142Generated json_codec app143==> ex_rlp144Compiling 6 files (.ex)145     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 operator146     │147 103 │       <<item::binary-size(size), new_tail::binary>> = tail148     │                           ~149     │150     └─ lib/ex_rlp/decode_item.ex:103:27: ExRLP.DecodeItem.do_decode_item/3151152     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 operator153     │154 120 │       <<item::binary-size(size), new_tail::binary>> = tail155     │                           ~156     │157     └─ lib/ex_rlp/decode_item.ex:120:27: ExRLP.DecodeItem.do_decode_item/3158159     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 operator160     │161 158 │     <<item::binary-size(size), new_tail::binary>> = tail162     │                         ~163     │164     └─ lib/ex_rlp/decode_item.ex:158:25: ExRLP.DecodeItem.do_decode_when_valid_length/4165166     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 operator167     │168 168 │     <<item::binary-size(size), new_tail::binary>> = tail169     │                         ~170     │171     └─ lib/ex_rlp/decode_item.ex:168:25: ExRLP.DecodeItem.do_decode_when_valid_length/4172173     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 operator174     │175 187 │     <<be::binary-size(be_size), data::binary>> = tail176     │                       ~177     │178     └─ lib/ex_rlp/decode_item.ex:187:23: ExRLP.DecodeItem.decode_long_binary/2179180     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 operator181     │182 195 │       {_, <<item::binary-size(item_length), new_tail::binary>>} -> {item, new_tail}183     │                               ~184     │185     └─ lib/ex_rlp/decode_item.ex:195:31: ExRLP.DecodeItem.decode_long_binary/2186187    warning: default arguments in protocol definitions is deprecated188    │189  2 │   def encode(value, options \\ [])190    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~191    │192    └─ lib/ex_rlp/encode.ex:2: ExRLP.Encode (module)193194    warning: protocols can only define functions without implementation via def/1, found: encode/1195    │196  1 │ defprotocol ExRLP.Encode do197    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~198    │199    └─ lib/ex_rlp/encode.ex:1: ExRLP.Encode (module)200201Generated ex_rlp app202==> nerves_toolchain_aarch64_nerves_linux_gnu203Compiling 1 file (.ex)204Generated nerves_toolchain_aarch64_nerves_linux_gnu app205==> nerves_system_rpi4206Generated nerves_system_rpi4 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:34:22.519 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi4/lib/oxc/priv/native/liboxc_fmt_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so22022102:34:22.827 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi4/lib/oxc/priv/native/liboxc_lint_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so22222302:34:23.314 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi4/lib/oxc/priv/native/liboxc_ex_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so224Generated oxc app225==> ex_secp256k1226Compiling 2 files (.ex)22722802:34:23.717 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi4/lib/ex_secp256k1/priv/native/libex_secp256k1-v0.8.0-nif-2.16-aarch64-unknown-linux-gnu.so229Generated ex_secp256k1 app230==> ex_keccak231Compiling 1 file (.ex)23223302:34:23.808 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi4/lib/ex_keccak/priv/native/libexkeccak-v0.7.8-nif-2.16-aarch64-unknown-linux-gnu.so234Generated ex_keccak app235==> nerves_compatibility_test236===> Analyzing applications...237===> Compiling certifi238==> zen_websocket239Compiling 49 files (.ex)240Generated zen_websocket app241==> uboot_env242Compiling 5 files (.ex)243Generated uboot_env app244==> nimble_pool245Compiling 2 files (.ex)246Generated nimble_pool app247==> finch248Compiling 23 files (.ex)249Generated finch app250==> req251Compiling 24 files (.ex)252Generated req app253==> onchain254Compiling 86 files (.ex)25525602:34:42.465 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi4/lib/onchain/priv/native/libonchain_abi-v0.17.0-nif-2.15-aarch64-unknown-linux-gnu.so25725802:34:42.554 [warning] The on_load function for module Elixir.Onchain.ABI.Native returned:259{:error,260 {:load_failed,261  ~c"Failed to load NIF library: '/work/proj/_build/rpi4/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'"}}262263264== Compilation error in file lib/onchain/contract/sleuth.ex ==265** (UndefinedFunctionError) function Onchain.ABI.Native.parse_abi_json/1 is undefined (module Onchain.ABI.Native is not available)266    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\"}]")267    lib/onchain/contract/abi.ex:13: Onchain.Contract.ABI.parse_abi_json!/1268    lib/onchain/contract/generator.ex:212: Onchain.Contract.Generator.resolve_contract_input/2269    expanding macro: Onchain.Contract.Generator.__before_compile__/1270    lib/onchain/contract/sleuth.ex:1: Onchain.Contract.Sleuth (module)271could 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"