[INFO] fetching crate rass 0.2.0... [INFO] checking rass-0.2.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate rass 0.2.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate rass 0.2.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gpg-error v0.2.2 [INFO] [stderr] Downloaded libgpg-error-sys v0.2.3 [INFO] [stderr] Downloaded rpassword v0.3.1 [INFO] [stderr] Downloaded gpgme v0.5.0 [INFO] [stderr] Downloaded gpgme-sys v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f3f0d2623a527d4fd915dc69ee8c670e0d76c92358c8f3900ea3346c7466596 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2f3f0d2623a527d4fd915dc69ee8c670e0d76c92358c8f3900ea3346c7466596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f3f0d2623a527d4fd915dc69ee8c670e0d76c92358c8f3900ea3346c7466596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f3f0d2623a527d4fd915dc69ee8c670e0d76c92358c8f3900ea3346c7466596", kill_on_drop: false }` [INFO] [stdout] 2f3f0d2623a527d4fd915dc69ee8c670e0d76c92358c8f3900ea3346c7466596 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b0dc58f8a510783586f89e8ad2da6a012b81af0306ef8956a1804cce53d202d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8b0dc58f8a510783586f89e8ad2da6a012b81af0306ef8956a1804cce53d202d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling libgpg-error-sys v0.2.3 [INFO] [stderr] Compiling gpgme-sys v0.5.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rpassword v0.3.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.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: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: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: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: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: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: 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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: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: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: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: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: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: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: 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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 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:28 [INFO] [stdout] | [INFO] [stdout] 202 | let mut passhome = env::home_dir().unwrap(); [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:28 [INFO] [stdout] | [INFO] [stdout] 202 | let mut passhome = env::home_dir().unwrap(); [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 26.43s [INFO] running `Command { std: "docker" "inspect" "8b0dc58f8a510783586f89e8ad2da6a012b81af0306ef8956a1804cce53d202d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0dc58f8a510783586f89e8ad2da6a012b81af0306ef8956a1804cce53d202d", kill_on_drop: false }` [INFO] [stdout] 8b0dc58f8a510783586f89e8ad2da6a012b81af0306ef8956a1804cce53d202d