onchain

Build log

nerves_system_x86_64

onchain 0.16.1 · fail · run onchain-0.16.1-1790986128449
209 of 209 lines
1Resolving Hex dependencies...2Resolution completed in 0.129s3Unchanged:4  certifi 2.17.05  circular_buffer 1.1.06  cowlib 2.20.0 VULNERABLE!7    EEF-CVE-2026-43966 (MEDIUM)8    aka: CVE-2026-43966, GHSA-w4f7-4cxr-rv3c9    HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/210    https://osv.dev/vulnerability/EEF-CVE-2026-439661112    EEF-CVE-2026-43969 (LOW)13    aka: CVE-2026-43969, GHSA-g2wm-735q-3f5614    Cookie Request Header Injection via Unvalidated Encoder in cow_cookie:cookie/115    https://osv.dev/vulnerability/EEF-CVE-2026-4396916  decimal 3.1.117  descripex 1.0.018  elixir_make 0.10.019  ex_keccak 0.7.820  ex_rlp 0.6.021  ex_secp256k1 0.8.022  finch 0.24.023  gun 2.6.0 VULNERABLE!24    GHSA-w4f7-4cxr-rv3c (MEDIUM)25    aka: CVE-2026-43966, EEF-CVE-2026-4396626    cowboy and gun affected by an HTTP Request/Response Splitting vulnerability27    https://osv.dev/vulnerability/GHSA-w4f7-4cxr-rv3c28  hpax 1.1.029  interactive_cmd 0.1.430  jason 1.4.531  json_spec 1.2.032  mime 2.0.733  mint 1.11.034  nerves 2.0.0-pre.235  nerves_discovery 0.1.536  nerves_logging 0.2.437  nerves_runtime 0.13.1338  nerves_system_bbb 2.30.239  nerves_system_br 1.34.440  nerves_system_mangopi_mq_pro 0.17.241  nerves_system_qemu_aarch64 0.4.242  nerves_system_rpi0 2.1.243  nerves_system_rpi4 2.1.244  nerves_system_rpi5 2.1.245  nerves_system_trellis 0.5.046  nerves_system_x86_64 1.34.247  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.148  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.149  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.150  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.151  nerves_toolchain_x86_64_nerves_linux_musl 15.3.152  nerves_uevent 0.1.753  nimble_options 1.1.154  nimble_pool 1.1.055  onchain 0.16.156  property_table 0.3.457  req 0.7.458  ring_logger 0.11.759  rustler_precompiled 0.10.060  tablet 0.3.361  telemetry 1.4.262  toolshed 0.5.063  uboot_env 1.0.264  zen_websocket 0.9.065* Getting onchain (Hex package)66* Getting nerves (Hex package)67* Getting ring_logger (Hex package)68* Getting toolshed (Hex package)69* Getting nerves_runtime (Hex package)70* Getting nerves_system_bbb (Hex package)71* Getting nerves_system_mangopi_mq_pro (Hex package)72* Getting nerves_system_qemu_aarch64 (Hex package)73* Getting nerves_system_rpi0 (Hex package)74* Getting nerves_system_rpi4 (Hex package)75* Getting nerves_system_rpi5 (Hex package)76* Getting nerves_system_trellis (Hex package)77* Getting nerves_system_x86_64 (Hex package)78* Getting nerves_system_br (Hex package)79* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)80* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)81* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)82* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)83* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)84* Getting nerves_logging (Hex package)85* Getting nerves_uevent (Hex package)86* Getting uboot_env (Hex package)87* Getting elixir_make (Hex package)88* Getting property_table (Hex package)89* Getting circular_buffer (Hex package)90* Getting interactive_cmd (Hex package)91* Getting nerves_discovery (Hex package)92* Getting tablet (Hex package)93* Getting decimal (Hex package)94* Getting descripex (Hex package)95* Getting ex_keccak (Hex package)96* Getting ex_rlp (Hex package)97* Getting ex_secp256k1 (Hex package)98* Getting jason (Hex package)99* Getting nimble_options (Hex package)100* Getting req (Hex package)101* Getting rustler_precompiled (Hex package)102* Getting telemetry (Hex package)103* Getting zen_websocket (Hex package)104* Getting certifi (Hex package)105* Getting gun (Hex package)106* Getting cowlib (Hex package)107* Getting finch (Hex package)108* Getting mime (Hex package)109* Getting mint (Hex package)110* Getting nimble_pool (Hex package)111* Getting hpax (Hex package)112* Getting json_spec (Hex package)113Found packages with security advisories, see above for details114You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more115===> Analyzing applications...116===> Compiling gun117==> descripex118Compiling 6 files (.ex)119Generated descripex app120==> ex_rlp121Compiling 6 files (.ex)122     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 operator123     │124 103 │       <<item::binary-size(size), new_tail::binary>> = tail125     │                           ~126     │127     └─ lib/ex_rlp/decode_item.ex:103:27: ExRLP.DecodeItem.do_decode_item/3128129     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 operator130     │131 120 │       <<item::binary-size(size), new_tail::binary>> = tail132     │                           ~133     │134     └─ lib/ex_rlp/decode_item.ex:120:27: ExRLP.DecodeItem.do_decode_item/3135136     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 operator137     │138 158 │     <<item::binary-size(size), new_tail::binary>> = tail139     │                         ~140     │141     └─ lib/ex_rlp/decode_item.ex:158:25: ExRLP.DecodeItem.do_decode_when_valid_length/4142143     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 operator144     │145 168 │     <<item::binary-size(size), new_tail::binary>> = tail146     │                         ~147     │148     └─ lib/ex_rlp/decode_item.ex:168:25: ExRLP.DecodeItem.do_decode_when_valid_length/4149150     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 operator151     │152 187 │     <<be::binary-size(be_size), data::binary>> = tail153     │                       ~154     │155     └─ lib/ex_rlp/decode_item.ex:187:23: ExRLP.DecodeItem.decode_long_binary/2156157     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 operator158     │159 195 │       {_, <<item::binary-size(item_length), new_tail::binary>>} -> {item, new_tail}160     │                               ~161     │162     └─ lib/ex_rlp/decode_item.ex:195:31: ExRLP.DecodeItem.decode_long_binary/2163164    warning: default arguments in protocol definitions is deprecated165    │166  2 │   def encode(value, options \\ [])167    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~168    │169    └─ lib/ex_rlp/encode.ex:2: ExRLP.Encode (module)170171    warning: protocols can only define functions without implementation via def/1, found: encode/1172    │173  1 │ defprotocol ExRLP.Encode do174    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~175    │176    └─ lib/ex_rlp/encode.ex:1: ExRLP.Encode (module)177178Generated ex_rlp app179==> ex_keccak180Compiling 1 file (.ex)18118200:19:18.481 [debug] Downloading NIF from https://github.com/exWeb3/ex_keccak/releases/download/v0.7.8/libexkeccak-v0.7.8-nif-2.16-x86_64-unknown-linux-musl.so.tar.gz18318400:19:19.185 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/libexkeccak-v0.7.8-nif-2.16-x86_64-unknown-linux-musl.so.tar.gz and extracted to /work/proj/_build/x86_64/lib/ex_keccak/priv/native/libexkeccak-v0.7.8-nif-2.16-x86_64-unknown-linux-musl.so185Generated ex_keccak app186==> zen_websocket187Compiling 49 files (.ex)188Generated zen_websocket app189==> onchain190Compiling 85 files (.ex)19119200:19:26.702 [debug] Downloading NIF from https://github.com/ZenHive/onchain-stack/releases/download/onchain-v0.16.1/libonchain_abi-v0.16.1-nif-2.15-x86_64-unknown-linux-musl.so.tar.gz19319400:19:27.104 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/libonchain_abi-v0.16.1-nif-2.15-x86_64-unknown-linux-musl.so.tar.gz and extracted to /work/proj/_build/x86_64/lib/onchain/priv/native/libonchain_abi-v0.16.1-nif-2.15-x86_64-unknown-linux-musl.so19519600:19:27.127 [warning] The on_load function for module Elixir.Onchain.ABI.Native returned:197{:error,198 {:load_failed,199  ~c"Failed to load NIF library /work/proj/_build/x86_64/lib/onchain/priv/native/libonchain_abi-v0.16.1-nif-2.15-x86_64-unknown-linux-musl: '/lib/x86_64-linux-gnu/libc.so: invalid ELF header'"}}200201202== Compilation error in file lib/onchain/contract/sleuth.ex ==203** (UndefinedFunctionError) function Onchain.ABI.Native.parse_abi_json/1 is undefined (module Onchain.ABI.Native is not available)204    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\"}]")205    lib/onchain/contract/abi.ex:13: Onchain.Contract.ABI.parse_abi_json!/1206    lib/onchain/contract/generator.ex:212: Onchain.Contract.Generator.resolve_contract_input/2207    expanding macro: Onchain.Contract.Generator.__before_compile__/1208    lib/onchain/contract/sleuth.ex:1: Onchain.Contract.Sleuth (module)209could 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"