[INFO] fetching crate libstoragemgmt-rust 0.0.1... [INFO] checking libstoragemgmt-rust-0.0.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate libstoragemgmt-rust 0.0.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate libstoragemgmt-rust 0.0.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding idna v0.1.5 (latest: v1.0.2) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.4) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e1ea5960b12da159e83b1c236ce8bb364f6000e9bd7c79b4a333d9290341a9b [INFO] running `Command { std: "docker" "start" "-a" "9e1ea5960b12da159e83b1c236ce8bb364f6000e9bd7c79b4a333d9290341a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e1ea5960b12da159e83b1c236ce8bb364f6000e9bd7c79b4a333d9290341a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e1ea5960b12da159e83b1c236ce8bb364f6000e9bd7c79b4a333d9290341a9b", kill_on_drop: false }` [INFO] [stdout] 9e1ea5960b12da159e83b1c236ce8bb364f6000e9bd7c79b4a333d9290341a9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0828a13c7575e9c97e6b0496128827227385a9e84fdef63a909768d57722fdc2 [INFO] running `Command { std: "docker" "start" "-a" "0828a13c7575e9c97e6b0496128827227385a9e84fdef63a909768d57722fdc2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.209 [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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 `data` is never read [INFO] [stdout] --> src/error.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 296 | pub(crate) struct LsmErrorIpc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 299 | pub(crate) data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LsmErrorIpc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `percent` is never read [INFO] [stdout] --> src/client.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct Job { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 52 | status: u32, [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] [INFO] [stdout] [INFO] [stdout] warning: field `plugin_data` is never read [INFO] [stdout] --> src/data.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 888 | pub struct TargetPort { [INFO] [stdout] | ---------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `plugin_data` is never read [INFO] [stdout] --> src/data.rs:989:5 [INFO] [stdout] | [INFO] [stdout] 948 | pub struct Battery { [INFO] [stdout] | ------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/error.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 296 | pub(crate) struct LsmErrorIpc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 299 | pub(crate) data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LsmErrorIpc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `percent` is never read [INFO] [stdout] --> src/client.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct Job { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 52 | status: u32, [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] [INFO] [stdout] [INFO] [stdout] warning: field `plugin_data` is never read [INFO] [stdout] --> src/data.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 888 | pub struct TargetPort { [INFO] [stdout] | ---------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `plugin_data` is never read [INFO] [stdout] --> src/data.rs:989:5 [INFO] [stdout] | [INFO] [stdout] 948 | pub struct Battery { [INFO] [stdout] | ------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.13s [INFO] running `Command { std: "docker" "inspect" "0828a13c7575e9c97e6b0496128827227385a9e84fdef63a909768d57722fdc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0828a13c7575e9c97e6b0496128827227385a9e84fdef63a909768d57722fdc2", kill_on_drop: false }` [INFO] [stdout] 0828a13c7575e9c97e6b0496128827227385a9e84fdef63a909768d57722fdc2