[INFO] cloning repository https://github.com/ogola5/bitcoin_dapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ogola5/bitcoin_dapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogola5%2Fbitcoin_dapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogola5%2Fbitcoin_dapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b83ec3d542aadf71f60182cad534e9a5bafb3d34 [INFO] building ogola5/bitcoin_dapp against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogola5%2Fbitcoin_dapp" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ogola5/bitcoin_dapp [INFO] finished tweaking git repo https://github.com/ogola5/bitcoin_dapp [INFO] tweaked toml for git repo https://github.com/ogola5/bitcoin_dapp written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ogola5/bitcoin_dapp on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ogola5/bitcoin_dapp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7426fdf63056cadab37d518cc8803d33f2dd73caf897509bfa487f3b286efa2 [INFO] running `Command { std: "docker" "start" "-a" "d7426fdf63056cadab37d518cc8803d33f2dd73caf897509bfa487f3b286efa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7426fdf63056cadab37d518cc8803d33f2dd73caf897509bfa487f3b286efa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7426fdf63056cadab37d518cc8803d33f2dd73caf897509bfa487f3b286efa2", kill_on_drop: false }` [INFO] [stdout] d7426fdf63056cadab37d518cc8803d33f2dd73caf897509bfa487f3b286efa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] acfeedefc713b4434d5da85beae674b7888be13d29a3d3b157582875c5b6eac7 [INFO] running `Command { std: "docker" "start" "-a" "acfeedefc713b4434d5da85beae674b7888be13d29a3d3b157582875c5b6eac7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling winnow v0.5.37 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bitcoin_hashes v0.10.0 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling secp256k1 v0.22.2 [INFO] [stderr] Compiling bitcoin v0.28.2 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-cdk-macros v0.7.1 [INFO] [stderr] Compiling ic-cdk v0.10.0 [INFO] [stderr] Compiling bitcoin_dapp_backend v0.1.0 (/opt/rustwide/workdir/src/bitcoin_dapp_backend) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "canister_init" "--export" "canister_post_upgrade" "--export" "canister_pre_upgrade" "--export" "canister_update get_balance" "--export" "canister_update get_current_fee_percentiles" "--export" "canister_update get_p2pkh_address" "--export" "canister_update get_utxos" "--export" "canister_update send" "--export" "rustsecp256k1_v0_5_0_context_create" "--export" "rustsecp256k1_v0_5_0_context_destroy" "--export" "rustsecp256k1_v0_5_0_default_error_callback_fn" "--export" "rustsecp256k1_v0_5_0_default_illegal_callback_fn" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<9 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libbs58-d328228bb53bbec7,libripemd-ce3e1ec52e3f37e2,libbitcoin-83724583f4129efb,libbech32-d033dac9be9970a9,libsecp256k1-1189f39f064a5413,libsecp256k1_sys-c0ba8ccfaa452eff,libbitcoin_hashes-64da22e636769660,libic_cdk-4646bbd4810e04dc,libic0-19b494fff10f0af6,libcandid-55e8bb13e5a94719,libhex-85aa986ef279af61,libcrc32fast-f0a61590867b47c0,libdata_encoding-71926b05c6baa478,libserde_bytes-4c37f70b69c3ba32,libpretty-85ce64d1e0780194,libarrayvec-2e7d169db69581ec,libtyped_arena-70816aa6787b7878,libleb128-1dee6129498640b0,libbyteorder-529cc76400af54b3,libsha2-3584603ac31ca7ef,libcfg_if-50b02a9e3502ecf2,libdigest-175d4c26469c7771,libblock_buffer-ff766ba1f1bc2312,libcrypto_common-54f1074c3cc16168,libgeneric_array-143189b5e972f6af,libtypenum-0fe8d28fad3fc2b1,libnum_bigint-cf9fa3ec6bd364cd,libnum_integer-198949f8265312af,libnum_traits-cfacb2f8b0a054ea,libanyhow-cc291afd76ef0481,libnum_enum-9e26d66149b16f37,libbinread-bb7e306bf31adc47,liblazy_static-36da267ce9339a94,libthiserror-c8f6976cb35db543,libcodespan_reporting-13f6a53f4760f0b0,libunicode_width-9718a35a1702a5af,libtermcolor-8fb4caf4dcc3553a,libserde-de2320e3e9de0d12}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/secp256k1-sys-0bb89553db833ff5/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/bitcoin_dapp_backend.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-c0ba8ccfaa452eff.rlib: archive member 'wasm.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-c0ba8ccfaa452eff.rlib: archive member 'lax_der_parsing.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-c0ba8ccfaa452eff.rlib: archive member 'precomputed_ecmult_gen.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-c0ba8ccfaa452eff.rlib: archive member 'precomputed_ecmult.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-c0ba8ccfaa452eff.rlib: archive member 'secp256k1.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-c0ba8ccfaa452eff.rlib(secp256k1_sys-c0ba8ccfaa452eff.secp256k1_sys.50c9a8a71cfcd524-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_preallocated_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-c0ba8ccfaa452eff.rlib(secp256k1_sys-c0ba8ccfaa452eff.secp256k1_sys.50c9a8a71cfcd524-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_preallocated_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-c0ba8ccfaa452eff.rlib(secp256k1_sys-c0ba8ccfaa452eff.secp256k1_sys.50c9a8a71cfcd524-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_preallocated_destroy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin_dapp_backend` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "acfeedefc713b4434d5da85beae674b7888be13d29a3d3b157582875c5b6eac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acfeedefc713b4434d5da85beae674b7888be13d29a3d3b157582875c5b6eac7", kill_on_drop: false }` [INFO] [stdout] acfeedefc713b4434d5da85beae674b7888be13d29a3d3b157582875c5b6eac7