onchain_js

Build log

nerves_system_rpi5

onchain_js 0.5.0 · fail · run onchain_js-0.5.0-1794795712639
270 of 270 lines
1Resolving Hex dependencies...2Resolution completed in 0.041s3* 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_rpi5205Generated nerves_system_rpi5 app206==> nimble_parsec207Compiling 4 files (.ex)208Generated nimble_parsec app209==> nerves_compatibility_test210===> Analyzing applications...211===> Compiling telemetry212==> rustler_precompiled213Compiling 4 files (.ex)214Generated rustler_precompiled app215==> oxc216Compiling 18 files (.ex)21721802:37:06.292 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi5/lib/oxc/priv/native/liboxc_fmt_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so21922002:37:06.766 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi5/lib/oxc/priv/native/liboxc_lint_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so22122202:37:07.513 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi5/lib/oxc/priv/native/liboxc_ex_nif-v0.19.0-nif-2.15-aarch64-unknown-linux-gnu.so223Generated oxc app224==> ex_secp256k1225Compiling 2 files (.ex)22622702:37:08.010 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi5/lib/ex_secp256k1/priv/native/libex_secp256k1-v0.8.0-nif-2.16-aarch64-unknown-linux-gnu.so228Generated ex_secp256k1 app229==> ex_keccak230Compiling 1 file (.ex)23123202:37:08.154 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi5/lib/ex_keccak/priv/native/libexkeccak-v0.7.8-nif-2.16-aarch64-unknown-linux-gnu.so233Generated ex_keccak app234==> nerves_compatibility_test235===> Analyzing applications...236===> Compiling certifi237==> zen_websocket238Compiling 49 files (.ex)239Generated zen_websocket app240==> uboot_env241Compiling 5 files (.ex)242Generated uboot_env app243==> nimble_pool244Compiling 2 files (.ex)245Generated nimble_pool app246==> finch247Compiling 23 files (.ex)248Generated finch app249==> req250Compiling 24 files (.ex)251Generated req app252==> onchain253Compiling 86 files (.ex)25425502:37:29.986 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi5/lib/onchain/priv/native/libonchain_abi-v0.17.0-nif-2.15-aarch64-unknown-linux-gnu.so25625702:37:30.021 [warning] The on_load function for module Elixir.Onchain.ABI.Native returned:258{:error,259 {:load_failed,260  ~c"Failed to load NIF library: '/work/proj/_build/rpi5/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'"}}261262263== Compilation error in file lib/onchain/contract/sleuth.ex ==264** (UndefinedFunctionError) function Onchain.ABI.Native.parse_abi_json/1 is undefined (module Onchain.ABI.Native is not available)265    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\"}]")266    lib/onchain/contract/abi.ex:13: Onchain.Contract.ABI.parse_abi_json!/1267    lib/onchain/contract/generator.ex:212: Onchain.Contract.Generator.resolve_contract_input/2268    expanding macro: Onchain.Contract.Generator.__before_compile__/1269    lib/onchain/contract/sleuth.ex:1: Onchain.Contract.Sleuth (module)270could 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"