[INFO] fetching crate rass 0.2.0... [INFO] checking rass-0.2.0 against master#f1ce0e6a00593493a12e0e3662119786c761f375 for pr-92413 [INFO] extracting crate rass 0.2.0 into /workspace/builds/worker-95/source [INFO] validating manifest of crates.io crate rass 0.2.0 on toolchain f1ce0e6a00593493a12e0e3662119786c761f375 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rass 0.2.0 [INFO] finished tweaking crates.io crate rass 0.2.0 [INFO] tweaked toml for crates.io crate rass 0.2.0 written to /workspace/builds/worker-95/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd0e98351da87f2bd049c151392c89f51355b53b1ca1747d58b73a29bf95cfcb [INFO] running `Command { std: "docker" "start" "-a" "bd0e98351da87f2bd049c151392c89f51355b53b1ca1747d58b73a29bf95cfcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd0e98351da87f2bd049c151392c89f51355b53b1ca1747d58b73a29bf95cfcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd0e98351da87f2bd049c151392c89f51355b53b1ca1747d58b73a29bf95cfcb", kill_on_drop: false }` [INFO] [stdout] bd0e98351da87f2bd049c151392c89f51355b53b1ca1747d58b73a29bf95cfcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cb38c8c72aa168317c3931b6504510b286794820a08e5ce5aecc6b7c3f2b633 [INFO] running `Command { std: "docker" "start" "-a" "2cb38c8c72aa168317c3931b6504510b286794820a08e5ce5aecc6b7c3f2b633", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking rpassword v0.3.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling libgpg-error-sys v0.2.3 [INFO] [stderr] Compiling gpgme-sys v0.5.0 [INFO] [stderr] Checking gpg-error v0.2.2 [INFO] [stderr] Checking gpgme v0.5.0 [INFO] [stderr] Checking rass v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | try!(store.fill()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | try!(store.fill()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | self.entries = try!(self.parse(&t)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | let sub = try!(self.parse(&p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | try!(ctx.encrypt_with_flags(Some(&key), flags, &mut input, &mut output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | try!(output.seek(io::SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | try!(io::copy(&mut output, &mut outfile)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | try!(vcs.add(path.to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | try!(vcs.commit(&format!("Add given password {} to store.", entry))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:282:19 [INFO] [stdout] | [INFO] [stdout] 282 | let key = try!(ctx.find_key(&*self.gpgid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | let mut input = try!(gpgme::Data::from_bytes(data.into())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:284:26 [INFO] [stdout] | [INFO] [stdout] 284 | let mut output = try!(gpgme::Data::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | let mut outfile = try!(File::create(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | try!(fs::remove_file(&p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | try!(vcs.remove(p.to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | try!(vcs.commit(&format!("Remove {} from store.", entry.to_string()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/store.rs:354:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] ... [INFO] [stdout] 354 | use std::io::{Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let f = try!(fs::File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | try!(store.fill()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | try!(store.fill()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | self.entries = try!(self.parse(&t)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | let sub = try!(self.parse(&p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | try!(ctx.encrypt_with_flags(Some(&key), flags, &mut input, &mut output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | try!(output.seek(io::SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | try!(io::copy(&mut output, &mut outfile)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | try!(vcs.add(path.to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | try!(vcs.commit(&format!("Add given password {} to store.", entry))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:282:19 [INFO] [stdout] | [INFO] [stdout] 282 | let key = try!(ctx.find_key(&*self.gpgid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | let mut input = try!(gpgme::Data::from_bytes(data.into())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:284:26 [INFO] [stdout] | [INFO] [stdout] 284 | let mut output = try!(gpgme::Data::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | let mut outfile = try!(File::create(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | try!(fs::remove_file(&p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | try!(vcs.remove(p.to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | try!(vcs.commit(&format!("Remove {} from store.", entry.to_string()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/store.rs:354:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] ... [INFO] [stdout] 354 | use std::io::{Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/store.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let f = try!(fs::File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/store.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | let mut passhome = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 66 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/store.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | let mut passhome = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 66 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/store.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | PassStoreError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/store.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | PassStoreError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:199:90 [INFO] [stdout] | [INFO] [stdout] 199 | let q = format!("Are you sure you would like to delete {}? [y/N]", pass);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:199:90 [INFO] [stdout] | [INFO] [stdout] 199 | let q = format!("Are you sure you would like to delete {}? [y/N]", pass);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.95s [INFO] running `Command { std: "docker" "inspect" "2cb38c8c72aa168317c3931b6504510b286794820a08e5ce5aecc6b7c3f2b633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cb38c8c72aa168317c3931b6504510b286794820a08e5ce5aecc6b7c3f2b633", kill_on_drop: false }` [INFO] [stdout] 2cb38c8c72aa168317c3931b6504510b286794820a08e5ce5aecc6b7c3f2b633