[INFO] fetching crate libstoragemgmt-rust 0.0.1... [INFO] checking libstoragemgmt-rust-0.0.1 against try#7306d3110618f84a6a4662b9e2cc4fd0d9b02da8 for pr-97346 [INFO] extracting crate libstoragemgmt-rust 0.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate libstoragemgmt-rust 0.0.1 on toolchain 7306d3110618f84a6a4662b9e2cc4fd0d9b02da8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7306d3110618f84a6a4662b9e2cc4fd0d9b02da8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libstoragemgmt-rust 0.0.1 [INFO] finished tweaking crates.io crate libstoragemgmt-rust 0.0.1 [INFO] tweaked toml for crates.io crate libstoragemgmt-rust 0.0.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7306d3110618f84a6a4662b9e2cc4fd0d9b02da8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7306d3110618f84a6a4662b9e2cc4fd0d9b02da8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+7306d3110618f84a6a4662b9e2cc4fd0d9b02da8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41c5d8f5527c0808d520d3f322ea23a2382370477c458df9471cf47b3b8f90a5 [INFO] running `Command { std: "docker" "start" "-a" "41c5d8f5527c0808d520d3f322ea23a2382370477c458df9471cf47b3b8f90a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41c5d8f5527c0808d520d3f322ea23a2382370477c458df9471cf47b3b8f90a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41c5d8f5527c0808d520d3f322ea23a2382370477c458df9471cf47b3b8f90a5", kill_on_drop: false }` [INFO] [stdout] 41c5d8f5527c0808d520d3f322ea23a2382370477c458df9471cf47b3b8f90a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+7306d3110618f84a6a4662b9e2cc4fd0d9b02da8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bb34062aae34267e2743165fb3ad86edae7d2270e2524bf4a7c9b157e7e7f3f [INFO] running `Command { std: "docker" "start" "-a" "5bb34062aae34267e2743165fb3ad86edae7d2270e2524bf4a7c9b157e7e7f3f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking libstoragemgmt-rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/client.rs:781:17 [INFO] [stdout] | [INFO] [stdout] 781 | ) -> Result<(AccessGroup)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 781 - ) -> Result<(AccessGroup)> { [INFO] [stdout] 781 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/client.rs:809:17 [INFO] [stdout] | [INFO] [stdout] 809 | ) -> Result<(AccessGroup)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 809 - ) -> Result<(AccessGroup)> { [INFO] [stdout] 809 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | 0...6 | 10 | 15 | 16 | 50 | 60 | 51 | 61 | 20...22 => unsafe { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data.rs:287:58 [INFO] [stdout] | [INFO] [stdout] 287 | 0...6 | 10 | 15 | 16 | 50 | 60 | 51 | 61 | 20...22 => unsafe { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data.rs:664:18 [INFO] [stdout] | [INFO] [stdout] 664 | 0 | 1 | 3...9 | 51...54 => unsafe { Ok(transmute(i)) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data.rs:664:27 [INFO] [stdout] | [INFO] [stdout] 664 | 0 | 1 | 3...9 | 51...54 => unsafe { Ok(transmute(i)) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data.rs:713:11 [INFO] [stdout] | [INFO] [stdout] 713 | -2...11 => unsafe { Ok(Some(transmute(i))) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/client.rs:781:17 [INFO] [stdout] | [INFO] [stdout] 781 | ) -> Result<(AccessGroup)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 781 - ) -> Result<(AccessGroup)> { [INFO] [stdout] 781 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/client.rs:809:17 [INFO] [stdout] | [INFO] [stdout] 809 | ) -> Result<(AccessGroup)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 809 - ) -> Result<(AccessGroup)> { [INFO] [stdout] 809 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | 0...6 | 10 | 15 | 16 | 50 | 60 | 51 | 61 | 20...22 => unsafe { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data.rs:287:58 [INFO] [stdout] | [INFO] [stdout] 287 | 0...6 | 10 | 15 | 16 | 50 | 60 | 51 | 61 | 20...22 => unsafe { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data.rs:664:18 [INFO] [stdout] | [INFO] [stdout] 664 | 0 | 1 | 3...9 | 51...54 => unsafe { Ok(transmute(i)) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data.rs:664:27 [INFO] [stdout] | [INFO] [stdout] 664 | 0 | 1 | 3...9 | 51...54 => unsafe { Ok(transmute(i)) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data.rs:713:11 [INFO] [stdout] | [INFO] [stdout] 713 | -2...11 => unsafe { Ok(Some(transmute(i))) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/error.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub(crate) data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LsmErrorIpc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:295:23 [INFO] [stdout] | [INFO] [stdout] 295 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `percent` [INFO] [stdout] --> src/client.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | percent: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `plugin_data` [INFO] [stdout] --> src/data.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 918 | plugin_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetPort` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/data.rs:885:23 [INFO] [stdout] | [INFO] [stdout] 885 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `plugin_data` [INFO] [stdout] --> src/data.rs:989:5 [INFO] [stdout] | [INFO] [stdout] 989 | plugin_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Battery` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/data.rs:946:23 [INFO] [stdout] | [INFO] [stdout] 946 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/error.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub(crate) data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LsmErrorIpc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:295:23 [INFO] [stdout] | [INFO] [stdout] 295 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `percent` [INFO] [stdout] --> src/client.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | percent: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `plugin_data` [INFO] [stdout] --> src/data.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 918 | plugin_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetPort` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/data.rs:885:23 [INFO] [stdout] | [INFO] [stdout] 885 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `plugin_data` [INFO] [stdout] --> src/data.rs:989:5 [INFO] [stdout] | [INFO] [stdout] 989 | plugin_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Battery` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/data.rs:946:23 [INFO] [stdout] | [INFO] [stdout] 946 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.35s [INFO] running `Command { std: "docker" "inspect" "5bb34062aae34267e2743165fb3ad86edae7d2270e2524bf4a7c9b157e7e7f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bb34062aae34267e2743165fb3ad86edae7d2270e2524bf4a7c9b157e7e7f3f", kill_on_drop: false }` [INFO] [stdout] 5bb34062aae34267e2743165fb3ad86edae7d2270e2524bf4a7c9b157e7e7f3f