[INFO] fetching crate rust-kpdb 0.4.2... [INFO] checking rust-kpdb-0.4.2 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate rust-kpdb 0.4.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rust-kpdb 0.4.2 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-kpdb 0.4.2 [INFO] finished tweaking crates.io crate rust-kpdb 0.4.2 [INFO] tweaked toml for crates.io crate rust-kpdb 0.4.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 997ea224f9f00a963c2ba5c486140470cd0057bcda64d127cb9105c7a1b22aa9 [INFO] running `Command { std: "docker" "start" "-a" "997ea224f9f00a963c2ba5c486140470cd0057bcda64d127cb9105c7a1b22aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "997ea224f9f00a963c2ba5c486140470cd0057bcda64d127cb9105c7a1b22aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997ea224f9f00a963c2ba5c486140470cd0057bcda64d127cb9105c7a1b22aa9", kill_on_drop: false }` [INFO] [stdout] 997ea224f9f00a963c2ba5c486140470cd0057bcda64d127cb9105c7a1b22aa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e520ff36eb606e40c1dd6f728bfba4276acb1e68722858cdcbf8e09d6188a8e [INFO] running `Command { std: "docker" "start" "-a" "7e520ff36eb606e40c1dd6f728bfba4276acb1e68722858cdcbf8e09d6188a8e", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking xml-rs v0.6.1 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking secstr v0.3.2 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking quickcheck v0.4.1 [INFO] [stderr] Checking rust-kpdb v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | fn set_creation_time(&mut self, DateTime); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: DateTime` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn set_expires(&mut self, bool); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | fn set_expiry_time(&mut self, DateTime); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: DateTime` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_last_accessed(&mut self, DateTime); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: DateTime` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | fn set_last_modified(&mut self, DateTime); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: DateTime` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | fn set_location_changed(&mut self, DateTime); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: DateTime` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | fn set_usage_count(&mut self, i32); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: i32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | fn set_creation_time(&mut self, DateTime); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: DateTime` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn set_expires(&mut self, bool); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | fn set_expiry_time(&mut self, DateTime); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: DateTime` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_last_accessed(&mut self, DateTime); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: DateTime` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | fn set_last_modified(&mut self, DateTime); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: DateTime` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | fn set_location_changed(&mut self, DateTime); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: DateTime` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/types/times.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | fn set_usage_count(&mut self, i32); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: i32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/types/error.rs:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/types/error.rs:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/types/group.rs:390:36 [INFO] [stdout] | [INFO] [stdout] 390 | let group = Group::new(name.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-kpdb` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7e520ff36eb606e40c1dd6f728bfba4276acb1e68722858cdcbf8e09d6188a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e520ff36eb606e40c1dd6f728bfba4276acb1e68722858cdcbf8e09d6188a8e", kill_on_drop: false }` [INFO] [stdout] 7e520ff36eb606e40c1dd6f728bfba4276acb1e68722858cdcbf8e09d6188a8e