[INFO] fetching crate dupcheck 0.1.0... [INFO] checking dupcheck-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate dupcheck 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate dupcheck 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dupcheck 0.1.0 [INFO] finished tweaking crates.io crate dupcheck 0.1.0 [INFO] tweaked toml for crates.io crate dupcheck 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2 v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63b9fd3cddbafed0124791f782944470946b306efc5f15a32e9a710ba6f4a541 [INFO] running `Command { std: "docker" "start" "-a" "63b9fd3cddbafed0124791f782944470946b306efc5f15a32e9a710ba6f4a541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63b9fd3cddbafed0124791f782944470946b306efc5f15a32e9a710ba6f4a541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b9fd3cddbafed0124791f782944470946b306efc5f15a32e9a710ba6f4a541", kill_on_drop: false }` [INFO] [stdout] 63b9fd3cddbafed0124791f782944470946b306efc5f15a32e9a710ba6f4a541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b38882ba29af20dd9826778baf66dfe0ef044476ba0f49e49780b2173f1c10cd [INFO] running `Command { std: "docker" "start" "-a" "b38882ba29af20dd9826778baf66dfe0ef044476ba0f49e49780b2173f1c10cd", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking sha2 v0.1.2 [INFO] [stderr] Checking dupcheck v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utilities.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let file = try!(File::open(&self)); [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/utilities.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | let byte = try!(byte); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utilities.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let read = try!(dirs[0].read_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utilities.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | let entry_path = try!(entry).path(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utilities.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | let size = try!(entry_path.metadata()).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utilities.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let file = try!(File::open(&self)); [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/utilities.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | let byte = try!(byte); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utilities.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let read = try!(dirs[0].read_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utilities.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | let entry_path = try!(entry).path(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utilities.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | let size = try!(entry_path.metadata()).len(); [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | let mut dir_files = try_with_path!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 115 | | dir.files_within(Some(&sizes)), [INFO] [stdout] 116 | | dir [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | let mut dir_files = try_with_path!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 138 | | parent.files_within(Some(&sizes)), [INFO] [stdout] 139 | | parent [INFO] [stdout] 140 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | let mut dir_files = try_with_path!(dir.files_within(None), dir); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | let hash = try_with_path!(file.sha256(), file); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | let mut dir_files = try_with_path!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 115 | | dir.files_within(Some(&sizes)), [INFO] [stdout] 116 | | dir [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | let mut dir_files = try_with_path!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 138 | | parent.files_within(Some(&sizes)), [INFO] [stdout] 139 | | parent [INFO] [stdout] 140 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | let mut dir_files = try_with_path!(dir.files_within(None), dir); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | let hash = try_with_path!(file.sha256(), file); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_with_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [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] --> examples/duplicates-of.rs:64:55 [INFO] [stdout] | [INFO] [stdout] 64 | println!("Error: {}", dup_result.unwrap_err().description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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] --> examples/duplicates-within.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | println!("Error: {}", dup_result.unwrap_err().description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] --> examples/duplicate-files.rs:48:55 [INFO] [stdout] | [INFO] [stdout] 48 | println!("Error: {}", dup_result.unwrap_err().description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.19s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b38882ba29af20dd9826778baf66dfe0ef044476ba0f49e49780b2173f1c10cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b38882ba29af20dd9826778baf66dfe0ef044476ba0f49e49780b2173f1c10cd", kill_on_drop: false }` [INFO] [stdout] b38882ba29af20dd9826778baf66dfe0ef044476ba0f49e49780b2173f1c10cd