[INFO] fetching crate stackmate 0.8.0... [INFO] checking stackmate-0.8.0 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate stackmate 0.8.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate stackmate 0.8.0 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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] 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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82cdffbe730519e8d1471e2f5ea1844d2e4f1eb43310896bfdeb967f4e72db5c [INFO] running `Command { std: "docker" "start" "-a" "82cdffbe730519e8d1471e2f5ea1844d2e4f1eb43310896bfdeb967f4e72db5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82cdffbe730519e8d1471e2f5ea1844d2e4f1eb43310896bfdeb967f4e72db5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82cdffbe730519e8d1471e2f5ea1844d2e4f1eb43310896bfdeb967f4e72db5c", kill_on_drop: false }` [INFO] [stdout] 82cdffbe730519e8d1471e2f5ea1844d2e4f1eb43310896bfdeb967f4e72db5c [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 489cbdf932bacac40cd695b3c93d018bf982794d6e8f19629f2b95e8300f5816 [INFO] running `Command { std: "docker" "start" "-a" "489cbdf932bacac40cd695b3c93d018bf982794d6e8f19629f2b95e8300f5816", 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] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-src v111.26.0+1.1.1u [INFO] [stderr] Checking base64-compat v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling autotools v0.2.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling tokio v1.14.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socks v0.3.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking unicode-normalization v0.1.9 [INFO] [stderr] Compiling bdk-macros v0.6.0 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Compiling libtor-derive v0.1.2 [INFO] [stderr] Compiling libtor-sys v46.9.1+0.4.6.9 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking serde v1.0.163 [INFO] [stderr] Checking bitcoin_hashes v0.10.0 [INFO] [stderr] Checking secp256k1 v0.20.3 [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 electrum-client v0.8.0 [INFO] [stderr] Checking miniscript v6.1.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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stackmate` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stackmate` (lib test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "489cbdf932bacac40cd695b3c93d018bf982794d6e8f19629f2b95e8300f5816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "489cbdf932bacac40cd695b3c93d018bf982794d6e8f19629f2b95e8300f5816", kill_on_drop: false }` [INFO] [stdout] 489cbdf932bacac40cd695b3c93d018bf982794d6e8f19629f2b95e8300f5816