[INFO] fetching crate estash 0.6.2... [INFO] checking estash-0.6.2 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate estash 0.6.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate estash 0.6.2 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 estash 0.6.2 [INFO] finished tweaking crates.io crate estash 0.6.2 [INFO] tweaked toml for crates.io crate estash 0.6.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate estash 0.6.2 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5b48695cc4c928ef6cb5d13b7f246462e2a94e52dc37769f670425bebe9fe5b7 [INFO] running `Command { std: "docker" "start" "-a" "5b48695cc4c928ef6cb5d13b7f246462e2a94e52dc37769f670425bebe9fe5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b48695cc4c928ef6cb5d13b7f246462e2a94e52dc37769f670425bebe9fe5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b48695cc4c928ef6cb5d13b7f246462e2a94e52dc37769f670425bebe9fe5b7", kill_on_drop: false }` [INFO] [stdout] 5b48695cc4c928ef6cb5d13b7f246462e2a94e52dc37769f670425bebe9fe5b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 80a546b20ec6dcb42b78e467a7d5cee9388ac9f03980569e7c160513abab6616 [INFO] running `Command { std: "docker" "start" "-a" "80a546b20ec6dcb42b78e467a7d5cee9388ac9f03980569e7c160513abab6616", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Checking poly1305 v0.7.2 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling serde_json v1.0.86 [INFO] [stderr] Checking blake2b_simd v1.0.0 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking ttf-parser v0.17.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling fltk-sys v1.3.16 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking rust-argon2 v1.0.0 [INFO] [stderr] Checking rand_hc v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking salsa20 v0.9.0 [INFO] [stderr] Checking chacha20 v0.8.2 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking xsalsa20poly1305 v0.8.0 [INFO] [stderr] Checking chacha20poly1305 v0.9.1 [INFO] [stderr] Checking x25519-dalek v1.2.0 [INFO] [stderr] Checking crypto_box v0.7.2 [INFO] [stderr] Checking fltk v1.3.16 [INFO] [stderr] Checking estash v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `encrypt_bytes` and `decrypt_bytes_array` are never used [INFO] [stdout] --> src/encrypter/ecies.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ECIES { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn encrypt_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn decrypt_bytes_array( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Argon2id` is never constructed [INFO] [stdout] --> src/hasher/argon2id.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Argon2id<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_custom`, `hash_bytes`, `hash_str`, `verify_str`, and `verify_bytes` are never used [INFO] [stdout] --> src/hasher/argon2id.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Argon2id<'_> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new() -> Argon2id<'static> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn new_custom(config: Config<'static>) -> Argon2id<'static> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn hash_bytes(&mut self, pass: &[u8]) -> Result, argon2::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn hash_str(&mut self, pass: &str) -> Result, argon2::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn verify_str(&mut self, hash: &Vec, pass: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn verify_bytes(&mut self, hash: &Vec, pass: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_bytes` is never used [INFO] [stdout] --> src/hasher/blake3.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn hash_bytes(bytes: &[u8]) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encrypt_bytes` and `decrypt_bytes_array` are never used [INFO] [stdout] --> src/encrypter/ecies.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ECIES { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn encrypt_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn decrypt_bytes_array( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Argon2id` is never constructed [INFO] [stdout] --> src/hasher/argon2id.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Argon2id<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_custom`, `hash_bytes`, `hash_str`, `verify_str`, and `verify_bytes` are never used [INFO] [stdout] --> src/hasher/argon2id.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Argon2id<'_> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new() -> Argon2id<'static> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn new_custom(config: Config<'static>) -> Argon2id<'static> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn hash_bytes(&mut self, pass: &[u8]) -> Result, argon2::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn hash_str(&mut self, pass: &str) -> Result, argon2::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn verify_str(&mut self, hash: &Vec, pass: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn verify_bytes(&mut self, hash: &Vec, pass: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_bytes` is never used [INFO] [stdout] --> src/hasher/blake3.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn hash_bytes(bytes: &[u8]) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | drop(app); [INFO] [stdout] | ^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `App` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | drop(app); [INFO] [stdout] | ^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `App` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils/mod.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | match path_replaced.clone().chars().next() { [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/utils/mod.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | match path_replaced.clone().chars().next() { [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/utils/mod.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | match path_replaced.clone().chars().last() { [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/utils/mod.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | match path_replaced.clone().chars().last() { [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: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `estash` (bin "estash") due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `estash` (bin "estash" test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "80a546b20ec6dcb42b78e467a7d5cee9388ac9f03980569e7c160513abab6616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80a546b20ec6dcb42b78e467a7d5cee9388ac9f03980569e7c160513abab6616", kill_on_drop: false }` [INFO] [stdout] 80a546b20ec6dcb42b78e467a7d5cee9388ac9f03980569e7c160513abab6616