[INFO] cloning repository https://github.com/milkshakeWaves/rust-chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/milkshakeWaves/rust-chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmilkshakeWaves%2Frust-chain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmilkshakeWaves%2Frust-chain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f12ccbc5a19780c57d294119444996ba4ae4a3a [INFO] building milkshakeWaves/rust-chain against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmilkshakeWaves%2Frust-chain" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/milkshakeWaves/rust-chain [INFO] finished tweaking git repo https://github.com/milkshakeWaves/rust-chain [INFO] tweaked toml for git repo https://github.com/milkshakeWaves/rust-chain written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/milkshakeWaves/rust-chain 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/milkshakeWaves/rust-chain 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7deed4348d9a216f82077f65c18397eead436481a9ad7a4af2f2a237d41241e4 [INFO] running `Command { std: "docker" "start" "-a" "7deed4348d9a216f82077f65c18397eead436481a9ad7a4af2f2a237d41241e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7deed4348d9a216f82077f65c18397eead436481a9ad7a4af2f2a237d41241e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7deed4348d9a216f82077f65c18397eead436481a9ad7a4af2f2a237d41241e4", kill_on_drop: false }` [INFO] [stdout] 7deed4348d9a216f82077f65c18397eead436481a9ad7a4af2f2a237d41241e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5ef53076587b96924275039765fb5c4189be1ba6665d060800299d4a5922f1a7 [INFO] running `Command { std: "docker" "start" "-a" "5ef53076587b96924275039765fb5c4189be1ba6665d060800299d4a5922f1a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling secp256k1-sys v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling secp256k1 v0.28.0 [INFO] [stderr] Compiling rust-chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/core/errors.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(err: FromHexError) -> AppendToHistoryError { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/core/errors.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | fn from(err: FromHexError) -> TransactionValidationError { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemPool` is never constructed [INFO] [stdout] --> src/core/memory_pool.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MemPool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/memory_pool.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MemPool { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn new(max_cap: usize) -> MemPool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn add_tx(&mut self, tx: Transaction) -> Result<(), TransactionValidationError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn take_txs_w_limit(&mut self, limit: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_tx(&self, nonce: &str) -> Option<&Transaction> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn evict_tx(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn remove_tx(&mut self, nonce: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wallet` is never constructed [INFO] [stdout] --> src/core/wallet.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Wallet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_key_pair`, and `get_public_keys` are never used [INFO] [stdout] --> src/core/wallet.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Wallet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Wallet { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn add_key_pair(&mut self, key_pair: WalletKeyPair) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_public_keys(&self) -> Vec<&PublicKey> { [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" "__main_void" "--export" "rustsecp256k1_v0_9_0_context_create" "--export" "rustsecp256k1_v0_9_0_context_destroy" "--export" "rustsecp256k1_v0_9_0_default_error_callback_fn" "--export" "rustsecp256k1_v0_9_0_default_illegal_callback_fn" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{librust_chain-517a8314ed50029d,libsha2-3584603ac31ca7ef,libdigest-175d4c26469c7771,libblock_buffer-ff766ba1f1bc2312,libcrypto_common-54f1074c3cc16168,libgeneric_array-143189b5e972f6af,libtypenum-0fe8d28fad3fc2b1,libserde_json-b092e21e7e90561d,libryu-758d5f45864a8a15,libitoa-9c1bb7077bf41900,libsecp256k1-d519fe8eb9e9e690,librand-3d92f219be17bdf9,librand_chacha-fa7cde576a6ffb5f,libppv_lite86-486e4425e6fd09e6,librand_core-bcc5478ab238230f,libgetrandom-369def8f764d7ef2,libwasi-b9c6bfbff0bef49f,libcfg_if-50b02a9e3502ecf2,libsecp256k1_sys-85241ed29d28efd6,libserde-4791de040dade3d7,libbitcoin_hashes-c568e8cdc8e43253,libhex_conservative-2665214b30469e68,libhex-85aa986ef279af61,libchrono-17f37317c02cb41b,libnum_traits-1bf6b7a3d1d0e57d}.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-47ca67ab3047b771/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/rust_chain-496a42cf025ba75b.wasm" "--gc-sections" "-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-85241ed29d28efd6.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-85241ed29d28efd6.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-85241ed29d28efd6.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-85241ed29d28efd6.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-85241ed29d28efd6.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/librust_chain-517a8314ed50029d.rlib(rust_chain-517a8314ed50029d.rust_chain.4c83b709c18bf443-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_9_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_chain-517a8314ed50029d.rlib(rust_chain-517a8314ed50029d.rust_chain.4c83b709c18bf443-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_9_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_chain-517a8314ed50029d.rlib(rust_chain-517a8314ed50029d.rust_chain.4c83b709c18bf443-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_9_0_ecdsa_signature_serialize_der [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-d519fe8eb9e9e690.rlib(secp256k1-d519fe8eb9e9e690.secp256k1.743cdcfb6c99aa1c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_9_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-d519fe8eb9e9e690.rlib(secp256k1-d519fe8eb9e9e690.secp256k1.743cdcfb6c99aa1c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_9_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-d519fe8eb9e9e690.rlib(secp256k1-d519fe8eb9e9e690.secp256k1.743cdcfb6c99aa1c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_9_0_ecdsa_signature_serialize_der [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-85241ed29d28efd6.rlib(secp256k1_sys-85241ed29d28efd6.secp256k1_sys.baf2940aa6565e00-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_9_0_context_preallocated_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-85241ed29d28efd6.rlib(secp256k1_sys-85241ed29d28efd6.secp256k1_sys.baf2940aa6565e00-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_9_0_context_preallocated_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-85241ed29d28efd6.rlib(secp256k1_sys-85241ed29d28efd6.secp256k1_sys.baf2940aa6565e00-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_9_0_context_preallocated_destroy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-chain` (bin "rust-chain") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "5ef53076587b96924275039765fb5c4189be1ba6665d060800299d4a5922f1a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef53076587b96924275039765fb5c4189be1ba6665d060800299d4a5922f1a7", kill_on_drop: false }` [INFO] [stdout] 5ef53076587b96924275039765fb5c4189be1ba6665d060800299d4a5922f1a7