[INFO] crate dupcheck 0.1.0 is already in cache [INFO] testing dupcheck-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate dupcheck 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate dupcheck 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c729c9303f5a67d4e1fea4d0399d2fd71905691aca3005046da634cacb94157b [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" "c729c9303f5a67d4e1fea4d0399d2fd71905691aca3005046da634cacb94157b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c729c9303f5a67d4e1fea4d0399d2fd71905691aca3005046da634cacb94157b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c729c9303f5a67d4e1fea4d0399d2fd71905691aca3005046da634cacb94157b", kill_on_drop: false }` [INFO] [stdout] c729c9303f5a67d4e1fea4d0399d2fd71905691aca3005046da634cacb94157b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1ad6496664a6a8365224ad32d8e9e771e0eafad2ff6f60cdd212cffa18d9ac6 [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" "b1ad6496664a6a8365224ad32d8e9e771e0eafad2ff6f60cdd212cffa18d9ac6", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling sha2 v0.1.2 [INFO] [stderr] Compiling dupcheck v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.49s [INFO] running `Command { std: "docker" "inspect" "b1ad6496664a6a8365224ad32d8e9e771e0eafad2ff6f60cdd212cffa18d9ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1ad6496664a6a8365224ad32d8e9e771e0eafad2ff6f60cdd212cffa18d9ac6", kill_on_drop: false }` [INFO] [stdout] b1ad6496664a6a8365224ad32d8e9e771e0eafad2ff6f60cdd212cffa18d9ac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86481b3707657398ce23a2dfa2ef48706545d1b7e36d10517153f19b2d9c85e0 [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" "86481b3707657398ce23a2dfa2ef48706545d1b7e36d10517153f19b2d9c85e0", 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] [stdout] warning: use of deprecated item '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] [stderr] Compiling dupcheck v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (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: use of deprecated item '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: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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: use of deprecated item '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 item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "86481b3707657398ce23a2dfa2ef48706545d1b7e36d10517153f19b2d9c85e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86481b3707657398ce23a2dfa2ef48706545d1b7e36d10517153f19b2d9c85e0", kill_on_drop: false }` [INFO] [stdout] 86481b3707657398ce23a2dfa2ef48706545d1b7e36d10517153f19b2d9c85e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ff5c742edf4a39565afb1ad8977bb9715766bb1643618cc25a54cb372c61b1a2 [INFO] running `Command { std: "docker" "start" "-a" "ff5c742edf4a39565afb1ad8977bb9715766bb1643618cc25a54cb372c61b1a2", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utilities.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | let file = try!(File::open(&self)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utilities.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | let byte = try!(byte); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utilities.rs:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | let read = try!(dirs[0].read_dir()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utilities.rs:37:34 [INFO] [stderr] | [INFO] [stderr] 37 | let entry_path = try!(entry).path(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utilities.rs:40:32 [INFO] [stderr] | [INFO] [stderr] 40 | let size = try!(entry_path.metadata()).len(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:28 [INFO] [stderr] | [INFO] [stderr] 109 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utilities.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | let file = try!(File::open(&self)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:114:33 [INFO] [stderr] | [INFO] [stderr] 114 | let mut dir_files = try_with_path!( [INFO] [stderr] | _________________________________- [INFO] [stderr] 115 | | dir.files_within(Some(&sizes)), [INFO] [stderr] 116 | | dir [INFO] [stderr] 117 | | ); [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utilities.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | let byte = try!(byte); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utilities.rs:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | let read = try!(dirs[0].read_dir()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:134:28 [INFO] [stderr] | [INFO] [stderr] 134 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utilities.rs:37:34 [INFO] [stderr] | [INFO] [stderr] 37 | let entry_path = try!(entry).path(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utilities.rs:40:32 [INFO] [stderr] | [INFO] [stderr] 40 | let size = try!(entry_path.metadata()).len(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:137:33 [INFO] [stderr] | [INFO] [stderr] 137 | let mut dir_files = try_with_path!( [INFO] [stderr] | _________________________________- [INFO] [stderr] 138 | | parent.files_within(Some(&sizes)), [INFO] [stderr] 139 | | parent [INFO] [stderr] 140 | | ); [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:28 [INFO] [stderr] | [INFO] [stderr] 109 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:183:29 [INFO] [stderr] | [INFO] [stderr] 183 | let mut dir_files = try_with_path!(dir.files_within(None), dir); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:229:24 [INFO] [stderr] | [INFO] [stderr] 229 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:114:33 [INFO] [stderr] | [INFO] [stderr] 114 | let mut dir_files = try_with_path!( [INFO] [stderr] | _________________________________- [INFO] [stderr] 115 | | dir.files_within(Some(&sizes)), [INFO] [stderr] 116 | | dir [INFO] [stderr] 117 | | ); [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:245:24 [INFO] [stderr] | [INFO] [stderr] 245 | let hash = try_with_path!(file.sha256(), file); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:134:28 [INFO] [stderr] | [INFO] [stderr] 134 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:137:33 [INFO] [stderr] | [INFO] [stderr] 137 | let mut dir_files = try_with_path!( [INFO] [stderr] | _________________________________- [INFO] [stderr] 138 | | parent.files_within(Some(&sizes)), [INFO] [stderr] 139 | | parent [INFO] [stderr] 140 | | ); [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:183:29 [INFO] [stderr] | [INFO] [stderr] 183 | let mut dir_files = try_with_path!(dir.files_within(None), dir); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:229:24 [INFO] [stderr] | [INFO] [stderr] 229 | let metadata = try_with_path!(file.metadata(), file); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | format!("{} ({})", $y.display(), e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:245:24 [INFO] [stderr] | [INFO] [stderr] 245 | let hash = try_with_path!(file.sha256(), file); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> examples/duplicates-of.rs:64:55 [INFO] [stderr] | [INFO] [stderr] 64 | println!("Error: {}", dup_result.unwrap_err().description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> examples/duplicates-within.rs:46:55 [INFO] [stderr] | [INFO] [stderr] 46 | println!("Error: {}", dup_result.unwrap_err().description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> examples/duplicate-files.rs:48:55 [INFO] [stderr] | [INFO] [stderr] 48 | println!("Error: {}", dup_result.unwrap_err().description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/dupcheck-94ee70fc4db25485 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests dupcheck [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - duplicates_of (line 75) ... ok [INFO] [stdout] test src/lib.rs - duplicates_of (line 66) ... ok [INFO] [stdout] test src/lib.rs - duplicates_within (line 162) ... ok [INFO] [stdout] test src/lib.rs - duplicate_files (line 203) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ff5c742edf4a39565afb1ad8977bb9715766bb1643618cc25a54cb372c61b1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff5c742edf4a39565afb1ad8977bb9715766bb1643618cc25a54cb372c61b1a2", kill_on_drop: false }` [INFO] [stdout] ff5c742edf4a39565afb1ad8977bb9715766bb1643618cc25a54cb372c61b1a2