[INFO] fetching crate stackmate 0.8.0... [INFO] checking stackmate-0.8.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate stackmate 0.8.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate stackmate 0.8.0 [INFO] finished tweaking crates.io crate stackmate 0.8.0 [INFO] tweaked toml for crates.io crate stackmate 0.8.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stackmate 0.8.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 132 packages to latest compatible versions [INFO] [stderr] Adding base32 v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bdk v0.16.1 (available: v0.30.2) [INFO] [stderr] Adding bip39 v1.2.0 (available: v2.2.0) [INFO] [stderr] Adding bitcoin v0.27.1 (available: v0.32.6) [INFO] [stderr] Adding libtor v46.9.0+0.4.6.x (available: v47.13.0+0.4.7.x) [INFO] [stderr] Adding secp256k1 v0.21.3 (available: v0.31.1) [INFO] [stderr] Adding tokio v1.14.1 (available: v1.45.1) [INFO] [stderr] Adding unicode-normalization v0.1.9 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `46.6.1+0.4.6.6` for dependency `libtor` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libtor-derive v0.1.2 [INFO] [stderr] Downloaded libtor v46.9.0+0.4.6.x [INFO] [stderr] Downloaded jsonrpc v0.12.1 [INFO] [stderr] Downloaded bitcoincore-rpc-json v0.14.0 [INFO] [stderr] Downloaded bitcoincore-rpc v0.14.0 [INFO] [stderr] Downloaded base64-compat v1.0.0 [INFO] [stderr] Downloaded secp256k1 v0.21.3 [INFO] [stderr] Downloaded electrum-client v0.8.0 [INFO] [stderr] Downloaded miniscript v6.1.0 [INFO] [stderr] Downloaded bdk v0.16.1 [INFO] [stderr] Downloaded bitcoin v0.27.1 [INFO] [stderr] Downloaded libtor-sys v46.9.1+0.4.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87a78235403f5a4f005dc6af90837313cd2851701d014ae8483d68020a83bfc5 [INFO] running `Command { std: "docker" "start" "-a" "87a78235403f5a4f005dc6af90837313cd2851701d014ae8483d68020a83bfc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87a78235403f5a4f005dc6af90837313cd2851701d014ae8483d68020a83bfc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a78235403f5a4f005dc6af90837313cd2851701d014ae8483d68020a83bfc5", kill_on_drop: false }` [INFO] [stdout] 87a78235403f5a4f005dc6af90837313cd2851701d014ae8483d68020a83bfc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f2468e686bc726ec1b75935e77e77a804ee629950286c76d5d10e62ace61588 [INFO] running `Command { std: "docker" "start" "-a" "6f2468e686bc726ec1b75935e77e77a804ee629950286c76d5d10e62ace61588", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `46.6.1+0.4.6.6` for dependency `libtor` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking base64-compat v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-src v300.5.0+3.5.0 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autotools v0.2.7 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling tokio v1.14.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling libtor-sys v46.9.1+0.4.6.9 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking unicode-normalization v0.1.9 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking socks v0.3.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling libtor-derive v0.1.2 [INFO] [stderr] Compiling bdk-macros v0.6.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking bitcoin_hashes v0.10.0 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking bip39 v1.2.0 [INFO] [stderr] Checking jsonrpc v0.12.1 [INFO] [stderr] Checking bitcoin v0.27.1 [INFO] [stderr] Checking secp256k1 v0.21.3 [INFO] [stderr] Checking bitcoincore-rpc-json v0.14.0 [INFO] [stderr] Checking miniscript v6.1.0 [INFO] [stderr] Checking electrum-client v0.8.0 [INFO] [stderr] Checking bitcoincore-rpc v0.14.0 [INFO] [stderr] Checking bdk v0.16.1 [INFO] [stderr] Checking libtor v46.9.0+0.4.6.x [INFO] [stderr] Checking stackmate v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | CString::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1091 | let _ = CString::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/key/ec.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | let public_key = if public_key.clone().len() == 64 { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/key/ec.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | "02".to_string() + public_key.clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/key/ec.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | } else if public_key.clone().len() == 66 { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_KeychainKind` should have a snake case name [INFO] [stdout] --> src/wallet/psbt.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | Error::SpendingPolicyRequired(_KeychainKind) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_keychain_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::ffi::CString::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | CString::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1091 | let _ = CString::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/key/ec.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | let public_key = if public_key.clone().len() == 64 { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/key/ec.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | "02".to_string() + public_key.clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/key/ec.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | } else if public_key.clone().len() == 66 { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/key/aes.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | let iv_ciphertext = cbc_encrypt(secret.clone(),key.clone(),Encoding::Base64); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/key/aes.rs:81:59 [INFO] [stdout] | [INFO] [stdout] 81 | let iv_ciphertext = cbc_encrypt(secret.clone(),key.clone(),Encoding::Base64); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/key/aes.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | let plaintext = cbc_decrypt(&iv_ciphertext.clone(), key.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_KeychainKind` should have a snake case name [INFO] [stdout] --> src/wallet/psbt.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | Error::SpendingPolicyRequired(_KeychainKind) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_keychain_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 34s [INFO] running `Command { std: "docker" "inspect" "6f2468e686bc726ec1b75935e77e77a804ee629950286c76d5d10e62ace61588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f2468e686bc726ec1b75935e77e77a804ee629950286c76d5d10e62ace61588", kill_on_drop: false }` [INFO] [stdout] 6f2468e686bc726ec1b75935e77e77a804ee629950286c76d5d10e62ace61588