[INFO] cloning repository https://github.com/emersonmde/badcoin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emersonmde/badcoin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femersonmde%2Fbadcoin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femersonmde%2Fbadcoin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e21327ab8c1388d520bcf35d275a65e45cd977e9 [INFO] building emersonmde/badcoin against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femersonmde%2Fbadcoin" "/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/emersonmde/badcoin [INFO] finished tweaking git repo https://github.com/emersonmde/badcoin [INFO] tweaked toml for git repo https://github.com/emersonmde/badcoin written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/emersonmde/badcoin 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/emersonmde/badcoin 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] 5979d34664a161827ff909a3304c156215954c853e6b464337e59967d8b5f09e [INFO] running `Command { std: "docker" "start" "-a" "5979d34664a161827ff909a3304c156215954c853e6b464337e59967d8b5f09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5979d34664a161827ff909a3304c156215954c853e6b464337e59967d8b5f09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5979d34664a161827ff909a3304c156215954c853e6b464337e59967d8b5f09e", kill_on_drop: false }` [INFO] [stdout] 5979d34664a161827ff909a3304c156215954c853e6b464337e59967d8b5f09e [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] 66ace2679f5e13dff209a0d37174b6c5ed2f7b7904afb3c2369799c2e7e8cd12 [INFO] running `Command { std: "docker" "start" "-a" "66ace2679f5e13dff209a0d37174b6c5ed2f7b7904afb3c2369799c2e7e8cd12", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling hex v0.4.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling secp256k1 v0.22.2 [INFO] [stderr] Compiling badcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `secp256k1::Signature`: Use ecdsa::Signature instead. [INFO] [stdout] --> src/keypair.rs:4:59 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{Secp256k1, SecretKey, PublicKey, Message, Signature}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `secp256k1::Signature`: Use ecdsa::Signature instead. [INFO] [stdout] --> src/keypair.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let s = Signature::from_str(signature).expect("Unable to read Signature"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `secp256k1::Signature`: Use ecdsa::Signature instead. [INFO] [stdout] --> src/keypair.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let s = Signature::from_str(&signature).expect("Unable to read Signature"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `secp256k1::ecdsa::>::sign`: Use sign_ecdsa instead. [INFO] [stdout] --> src/keypair.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | let signature = secp.sign(&message_bytes, &self.secret_key); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `secp256k1::ecdsa::>::verify`: Use verify_ecdsa instead [INFO] [stdout] --> src/keypair.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | None => secp.verify(&m, &s, &self.public_key).is_ok(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `secp256k1::ecdsa::>::verify`: Use verify_ecdsa instead [INFO] [stdout] --> src/keypair.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | secp.verify(&m, &s, &pk).is_ok() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `secp256k1::ecdsa::>::verify`: Use verify_ecdsa instead [INFO] [stdout] --> src/keypair.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | secp.verify(&m, &s, &k).is_ok() [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_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" "/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/{libbadcoin-cabec3cb4dd0b7c1,libhex-b641ae62ee84f9c6,libsha2-5652543dec8c360d,libdigest-74e08cffd5c8c6f8,libopaque_debug-c49481a206caa42f,libfake_simd-ca4b4de3dd52aa09,libblock_buffer-bd96f95322deccde,libgeneric_array-89fa81291e276ddd,libtypenum-97af3467da89acf5,libblock_padding-91dfda1310f3089d,libbyte_tools-2d99e388891527ef,libbyteorder-1e6983f3598691a3,libchrono-146f430dfef3a5d6,libnum_integer-1e79b6b6d5e78643,libnum_traits-9e3d3902f3e174b1,libtime-b34d6b13cfe715b3,libsecp256k1-cf02dabb8d3da03d,libsecp256k1_sys-aac81a5d28412731,librand-12a709ff79fd82d2,librand_xorshift-2bc20c69768a78d9,librand_pcg-cd884781174b2fa4,librand_hc-616e6ddde9a64c95,librand_chacha-c23ef0f66c6d1a04,librand_isaac-fab7d5bc42ed396c,librand_core-dbe786ecad3dd8f6,librand_os-4a04da00598c8914,librand_jitter-436d4ba70d564eae,librand_core-7b75640df732d16f,libserde-d0f843c9d321f2ad}.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-b9787f246c04851e/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/badcoin-1a44b0ccf67ec42e.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-aac81a5d28412731.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-aac81a5d28412731.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-aac81a5d28412731.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-aac81a5d28412731.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-aac81a5d28412731.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/libbadcoin-cabec3cb4dd0b7c1.rlib(badcoin-cabec3cb4dd0b7c1.badcoin.b8ca5fd252dd3cf4-cgu.1.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbadcoin-cabec3cb4dd0b7c1.rlib(badcoin-cabec3cb4dd0b7c1.badcoin.b8ca5fd252dd3cf4-cgu.1.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbadcoin-cabec3cb4dd0b7c1.rlib(badcoin-cabec3cb4dd0b7c1.badcoin.b8ca5fd252dd3cf4-cgu.1.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_ec_seckey_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbadcoin-cabec3cb4dd0b7c1.rlib(badcoin-cabec3cb4dd0b7c1.badcoin.b8ca5fd252dd3cf4-cgu.1.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_ec_pubkey_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbadcoin-cabec3cb4dd0b7c1.rlib(badcoin-cabec3cb4dd0b7c1.badcoin.b8ca5fd252dd3cf4-cgu.1.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_preallocated_destroy [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbadcoin-cabec3cb4dd0b7c1.rlib(badcoin-cabec3cb4dd0b7c1.badcoin.b8ca5fd252dd3cf4-cgu.1.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_nonce_function_rfc6979 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbadcoin-cabec3cb4dd0b7c1.rlib(badcoin-cabec3cb4dd0b7c1.badcoin.b8ca5fd252dd3cf4-cgu.1.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_nonce_function_rfc6979 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbadcoin-cabec3cb4dd0b7c1.rlib(badcoin-cabec3cb4dd0b7c1.badcoin.b8ca5fd252dd3cf4-cgu.1.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_ecdsa_sign [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbadcoin-cabec3cb4dd0b7c1.rlib(badcoin-cabec3cb4dd0b7c1.badcoin.b8ca5fd252dd3cf4-cgu.1.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_ecdsa_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_ec_pubkey_parse [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_ec_pubkey_serialize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_ecdsa_signature_parse_der [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_no_precomp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1-cf02dabb8d3da03d.rlib(secp256k1-cf02dabb8d3da03d.secp256k1.54e891002ead163c-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_5_0_context_no_precomp [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `badcoin` (bin "badcoin") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "66ace2679f5e13dff209a0d37174b6c5ed2f7b7904afb3c2369799c2e7e8cd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ace2679f5e13dff209a0d37174b6c5ed2f7b7904afb3c2369799c2e7e8cd12", kill_on_drop: false }` [INFO] [stdout] 66ace2679f5e13dff209a0d37174b6c5ed2f7b7904afb3c2369799c2e7e8cd12