onchain_solana

Build log

nerves_system_rpi0_2

onchain_solana 0.1.0 · fail · run onchain_solana-0.1.0-1794796657860
232 of 232 lines
1Resolving Hex dependencies...2Resolution completed in 0.042s3* Getting onchain_solana (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 jason (Hex package)35* Getting onchain (Hex package)36* Getting req (Hex package)37* Getting finch (Hex package)38* Getting mime (Hex package)39* Getting mint (Hex package)40* Getting nimble_options (Hex package)41* Getting nimble_pool (Hex package)42* Getting telemetry (Hex package)43* Getting hpax (Hex package)44* Getting decimal (Hex package)45* Getting ex_keccak (Hex package)46* Getting ex_rlp (Hex package)47* Getting ex_secp256k1 (Hex package)48* Getting rustler_precompiled (Hex package)49* Getting zen_websocket (Hex package)50* Getting certifi (Hex package)51* Getting gun (Hex package)52* Getting cowlib (Hex package)53* Getting json_spec (Hex package)54You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more55==> tablet56Compiling 2 files (.ex)57Generated tablet app58==> nerves_discovery59Compiling 5 files (.ex)60Generated nerves_discovery app61==> interactive_cmd62Compiling 1 file (.ex)63Generated interactive_cmd app64==> nerves65Compiling 65 files (.ex)66Generated nerves app67==> nerves_system_br68Generated nerves_system_br app69==> mime70Compiling 1 file (.ex)71Generated mime app72==> circular_buffer73Compiling 1 file (.ex)74Generated circular_buffer app75==> nimble_options76Compiling 3 files (.ex)77Generated nimble_options app78==> logger_backends79Compiling 7 files (.ex)80Generated logger_backends app81==> hpax82Compiling 4 files (.ex)83Generated hpax app84==> mint85Compiling 1 file (.erl)86Compiling 21 files (.ex)87Generated mint app88==> elixir_make89Compiling 8 files (.ex)90Generated elixir_make app91==> nerves_logging92 CC kmsg_tailer.o93 LD kmsg_tailer94Compiling 5 files (.ex)95Generated nerves_logging app96==> nerves_compatibility_test97===> Analyzing applications...98===> Compiling cowlib99===> Analyzing applications...100===> Compiling gun101==> ring_logger102Compiling 7 files (.ex)103Generated ring_logger app104==> json_spec105Compiling 2 files (.ex)106Generated json_spec app107==> descripex108Compiling 6 files (.ex)109Generated descripex app110==> decimal111Compiling 4 files (.ex)112Generated decimal app113==> jason114Compiling 10 files (.ex)115Generated jason app116==> ex_rlp117Compiling 6 files (.ex)118     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 operator119     │120 103 │       <<item::binary-size(size), new_tail::binary>> = tail121     │                           ~122     │123     └─ lib/ex_rlp/decode_item.ex:103:27: ExRLP.DecodeItem.do_decode_item/3124125     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 operator126     │127 120 │       <<item::binary-size(size), new_tail::binary>> = tail128     │                           ~129     │130     └─ lib/ex_rlp/decode_item.ex:120:27: ExRLP.DecodeItem.do_decode_item/3131132     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 operator133     │134 158 │     <<item::binary-size(size), new_tail::binary>> = tail135     │                         ~136     │137     └─ lib/ex_rlp/decode_item.ex:158:25: ExRLP.DecodeItem.do_decode_when_valid_length/4138139     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 operator140     │141 168 │     <<item::binary-size(size), new_tail::binary>> = tail142     │                         ~143     │144     └─ lib/ex_rlp/decode_item.ex:168:25: ExRLP.DecodeItem.do_decode_when_valid_length/4145146     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 operator147     │148 187 │     <<be::binary-size(be_size), data::binary>> = tail149     │                       ~150     │151     └─ lib/ex_rlp/decode_item.ex:187:23: ExRLP.DecodeItem.decode_long_binary/2152153     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 operator154     │155 195 │       {_, <<item::binary-size(item_length), new_tail::binary>>} -> {item, new_tail}156     │                               ~157     │158     └─ lib/ex_rlp/decode_item.ex:195:31: ExRLP.DecodeItem.decode_long_binary/2159160    warning: default arguments in protocol definitions is deprecated161    │162  2 │   def encode(value, options \\ [])163    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~164    │165    └─ lib/ex_rlp/encode.ex:2: ExRLP.Encode (module)166167    warning: protocols can only define functions without implementation via def/1, found: encode/1168    │169  1 │ defprotocol ExRLP.Encode do170    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~171    │172    └─ lib/ex_rlp/encode.ex:1: ExRLP.Encode (module)173174Generated ex_rlp app175==> nerves_toolchain_aarch64_nerves_linux_gnu176Compiling 1 file (.ex)177Generated nerves_toolchain_aarch64_nerves_linux_gnu app178==> nerves_system_rpi0_2179Generated nerves_system_rpi0_2 app180==> nerves_compatibility_test181===> Analyzing applications...182===> Compiling telemetry183==> rustler_precompiled184Compiling 4 files (.ex)185Generated rustler_precompiled app186==> ex_secp256k1187Compiling 2 files (.ex)18818902:44:28.918 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi0_2/lib/ex_secp256k1/priv/native/libex_secp256k1-v0.8.0-nif-2.16-aarch64-unknown-linux-gnu.so190Generated ex_secp256k1 app191==> ex_keccak192Compiling 1 file (.ex)19319402:44:29.001 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi0_2/lib/ex_keccak/priv/native/libexkeccak-v0.7.8-nif-2.16-aarch64-unknown-linux-gnu.so195Generated ex_keccak app196==> nerves_compatibility_test197===> Analyzing applications...198===> Compiling certifi199==> zen_websocket200Compiling 49 files (.ex)201Generated zen_websocket app202==> uboot_env203Compiling 5 files (.ex)204Generated uboot_env app205==> nimble_pool206Compiling 2 files (.ex)207Generated nimble_pool app208==> finch209Compiling 23 files (.ex)210Generated finch app211==> req212Compiling 24 files (.ex)213Generated req app214==> onchain215Compiling 86 files (.ex)21621702:44:52.213 [debug] Copying NIF from cache and extracting to /work/proj/_build/rpi0_2/lib/onchain/priv/native/libonchain_abi-v0.17.0-nif-2.15-aarch64-unknown-linux-gnu.so21821902:44:52.283 [warning] The on_load function for module Elixir.Onchain.ABI.Native returned:220{:error,221 {:load_failed,222  ~c"Failed to load NIF library: '/work/proj/_build/rpi0_2/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'"}}223224225== Compilation error in file lib/onchain/contract/sleuth.ex ==226** (UndefinedFunctionError) function Onchain.ABI.Native.parse_abi_json/1 is undefined (module Onchain.ABI.Native is not available)227    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\"}]")228    lib/onchain/contract/abi.ex:13: Onchain.Contract.ABI.parse_abi_json!/1229    lib/onchain/contract/generator.ex:212: Onchain.Contract.Generator.resolve_contract_input/2230    expanding macro: Onchain.Contract.Generator.__before_compile__/1231    lib/onchain/contract/sleuth.ex:1: Onchain.Contract.Sleuth (module)232could 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"