[INFO] cloning repository https://github.com/ELDEVODE/bitcoin_testc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ELDEVODE/bitcoin_testc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FELDEVODE%2Fbitcoin_testc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FELDEVODE%2Fbitcoin_testc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e28f65c5bd9d7f0d3fa0dd4b1a7ba57b1e6b5051 [INFO] building ELDEVODE/bitcoin_testc against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FELDEVODE%2Fbitcoin_testc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ELDEVODE/bitcoin_testc [INFO] finished tweaking git repo https://github.com/ELDEVODE/bitcoin_testc [INFO] tweaked toml for git repo https://github.com/ELDEVODE/bitcoin_testc written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ELDEVODE/bitcoin_testc 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/ELDEVODE/bitcoin_testc 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 730024edae77cee9d8df422cc5290653cf53cf255bb13e64734489c586ff3c59 [INFO] running `Command { std: "docker" "start" "-a" "730024edae77cee9d8df422cc5290653cf53cf255bb13e64734489c586ff3c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "730024edae77cee9d8df422cc5290653cf53cf255bb13e64734489c586ff3c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "730024edae77cee9d8df422cc5290653cf53cf255bb13e64734489c586ff3c59", kill_on_drop: false }` [INFO] [stdout] 730024edae77cee9d8df422cc5290653cf53cf255bb13e64734489c586ff3c59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4732578dec12707daf0a5f6b8bacc231f6a42ea83cc169a4b365fedd4e5883b3 [INFO] running `Command { std: "docker" "start" "-a" "4732578dec12707daf0a5f6b8bacc231f6a42ea83cc169a4b365fedd4e5883b3", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling ic0 v0.21.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 bs58 v0.5.1 [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 serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling secp256k1 v0.22.2 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling bitcoin v0.28.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.10.9 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Compiling ic-cdk v0.13.2 [INFO] [stderr] Compiling ic-cdk-timers v0.7.0 [INFO] [stderr] Compiling bitcoin_test_backend v0.1.0 (/opt/rustwide/workdir/src/bitcoin_test_backend) [INFO] [stdout] warning: struct `ECDSAPublicKeyReply` is never constructed [INFO] [stdout] --> src/bitcoin_test_backend/src/types.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ECDSAPublicKeyReply { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EcdsaKeyId` is never constructed [INFO] [stdout] --> src/bitcoin_test_backend/src/types.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EcdsaKeyId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EcdsaCurve` is never used [INFO] [stdout] --> src/bitcoin_test_backend/src/types.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum EcdsaCurve { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignWithECDSAReply` is never constructed [INFO] [stdout] --> src/bitcoin_test_backend/src/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SignWithECDSAReply { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ECDSAPublicKey` is never constructed [INFO] [stdout] --> src/bitcoin_test_backend/src/types.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ECDSAPublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignWithECDSA` is never constructed [INFO] [stdout] --> src/bitcoin_test_backend/src/types.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SignWithECDSA { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libbs58-665836f850c0f188,libripemd-ce3e1ec52e3f37e2,libbitcoin-00b877a7cf1b0ad5,libbech32-d033dac9be9970a9,libsecp256k1-2e4172e6054fcb45,libsecp256k1_sys-8a4640e8f4b67d0a,libbitcoin_hashes-64da22e636769660,libic_cdk-3adf0d1248a677d5,libic0-47375e62c62c2ee1,libcandid-58c76a38ce93a06e,libhex-85aa986ef279af61,libserde_bytes-9d18e380ae3992dc,libpretty-928ba8c4eaa6a3ba,libunicode_width-0abf0f68269fc7a6,libarrayvec-2e7d169db69581ec,libtyped_arena-70816aa6787b7878,libleb128-1dee6129498640b0,libbyteorder-529cc76400af54b3,libic_principal-e87fc78dd5567e82,libcrc32fast-e0220637d8011755,libdata_encoding-813373ce7b390375,libsha2-3584603ac31ca7ef,libcfg_if-50b02a9e3502ecf2,libdigest-175d4c26469c7771,libblock_buffer-ff766ba1f1bc2312,libcrypto_common-54f1074c3cc16168,libgeneric_array-143189b5e972f6af,libtypenum-0fe8d28fad3fc2b1,libnum_bigint-9e6be292971e5434,libnum_integer-b1d6c2abb4147bb1,libnum_traits-14c0b589c88d1f7d,libanyhow-b18d3e0417b79d1a,libbinread-1110fb4694e66e44,liblazy_static-6cae036cc417a885,libthiserror-718814877e1b8906,libserde-d5fe3749eb01faf9}.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-95da2426c9fe4861/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/bitcoin_test_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-8a4640e8f4b67d0a.rlib: archive member '3fec8a5f3c4f77fb-wasm.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-8a4640e8f4b67d0a.rlib: archive member '84f2453a56d059fc-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-8a4640e8f4b67d0a.rlib: archive member 'c928380082b86401-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-8a4640e8f4b67d0a.rlib: archive member 'c928380082b86401-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-8a4640e8f4b67d0a.rlib: archive member 'c928380082b86401-secp256k1.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-8a4640e8f4b67d0a.rlib(secp256k1_sys-8a4640e8f4b67d0a.secp256k1_sys.915b034b5f24dd2d-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-8a4640e8f4b67d0a.rlib(secp256k1_sys-8a4640e8f4b67d0a.secp256k1_sys.915b034b5f24dd2d-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-8a4640e8f4b67d0a.rlib(secp256k1_sys-8a4640e8f4b67d0a.secp256k1_sys.915b034b5f24dd2d-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_test_backend` (lib) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4732578dec12707daf0a5f6b8bacc231f6a42ea83cc169a4b365fedd4e5883b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4732578dec12707daf0a5f6b8bacc231f6a42ea83cc169a4b365fedd4e5883b3", kill_on_drop: false }` [INFO] [stdout] 4732578dec12707daf0a5f6b8bacc231f6a42ea83cc169a4b365fedd4e5883b3