[INFO] fetching crate libstoragemgmt-rust 0.0.1... [INFO] checking libstoragemgmt-rust-0.0.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate libstoragemgmt-rust 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate libstoragemgmt-rust 0.0.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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 35 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.6.10 (available: v1.1.3) [INFO] [stderr] Adding idna v0.1.5 (available: v1.0.2) [INFO] [stderr] Adding percent-encoding v1.0.1 (available: v2.3.1) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding regex v0.2.11 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.5.6 (available: v0.8.4) [INFO] [stderr] Adding thread_local v0.3.6 (available: v1.1.8) [INFO] [stderr] Adding ucd-util v0.1.10 (available: v0.2.1) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65a2b9233d66c177c40af7c8bfc901e6767ceeed937db2536eb66ae4701e5c09 [INFO] running `Command { std: "docker" "start" "-a" "65a2b9233d66c177c40af7c8bfc901e6767ceeed937db2536eb66ae4701e5c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65a2b9233d66c177c40af7c8bfc901e6767ceeed937db2536eb66ae4701e5c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a2b9233d66c177c40af7c8bfc901e6767ceeed937db2536eb66ae4701e5c09", kill_on_drop: false }` [INFO] [stdout] 65a2b9233d66c177c40af7c8bfc901e6767ceeed937db2536eb66ae4701e5c09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0df8238704f312dd92b2f7f30859d73110ce4a2cc123e8e24f3a3ac83062ab5e [INFO] running `Command { std: "docker" "start" "-a" "0df8238704f312dd92b2f7f30859d73110ce4a2cc123e8e24f3a3ac83062ab5e", 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 tinyvec_macros v0.1.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [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: 11 warnings emitted [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.93s [INFO] running `Command { std: "docker" "inspect" "0df8238704f312dd92b2f7f30859d73110ce4a2cc123e8e24f3a3ac83062ab5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df8238704f312dd92b2f7f30859d73110ce4a2cc123e8e24f3a3ac83062ab5e", kill_on_drop: false }` [INFO] [stdout] 0df8238704f312dd92b2f7f30859d73110ce4a2cc123e8e24f3a3ac83062ab5e