[INFO] fetching crate hdd 0.10.3... [INFO] testing hdd-0.10.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate hdd 0.10.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate hdd 0.10.3 [INFO] finished tweaking crates.io crate hdd 0.10.3 [INFO] tweaked toml for crates.io crate hdd 0.10.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hdd 0.10.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hdd 0.10.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.4.3 [INFO] [stderr] Downloaded number_prefix v0.2.8 [INFO] [stderr] Downloaded dtoa v0.4.5 [INFO] [stderr] Downloaded separator v0.3.1 [INFO] [stderr] Downloaded serde_derive v0.9.15 [INFO] [stderr] Downloaded cexpr v0.2.3 [INFO] [stderr] Downloaded clang-sys v0.21.2 [INFO] [stderr] Downloaded prettytable-rs v0.6.7 [INFO] [stderr] Downloaded serde_codegen_internals v0.14.2 [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded bindgen v0.31.3 [INFO] [stderr] Downloaded csv v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ced80f3575f0ef7decbff484ba04d437f6637a3aceb22e89e5bdefe20b94a6f [INFO] running `Command { std: "docker" "start" "-a" "7ced80f3575f0ef7decbff484ba04d437f6637a3aceb22e89e5bdefe20b94a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ced80f3575f0ef7decbff484ba04d437f6637a3aceb22e89e5bdefe20b94a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ced80f3575f0ef7decbff484ba04d437f6637a3aceb22e89e5bdefe20b94a6f", kill_on_drop: false }` [INFO] [stdout] 7ced80f3575f0ef7decbff484ba04d437f6637a3aceb22e89e5bdefe20b94a6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b7bfb292f85eaec4a29a322293e59f5f417632d222a8f92f41d37d8138ea5903 [INFO] running `Command { std: "docker" "start" "-a" "b7bfb292f85eaec4a29a322293e59f5f417632d222a8f92f41d37d8138ea5903", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling hdd v0.10.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ata/data/id.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 271 | 0x0000 | 0xffff | 0x0002...0x0400 => RPM::Unknown, [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/ata/data/id.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | 0x0001 ... 0x000c => Some("(obsolete)"), [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/scsi/pages.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | 0x30...0x3e => "(Vendor-Specific)", [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/scsi/pages.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 226 | x @ 0x8000...0xffff => VendorSpecific(x), [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/scsi/pages.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | 4...7 => Failed, [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/drivedb/drivedb.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg_attr(feature = "cargo-clippy", allow(match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/utils.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(feature = "cargo-clippy", allow(needless_range_loop))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/utils.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(feature = "cargo-clippy", allow(needless_range_loop))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/device/linux.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | let mut buf = BufReader::new(uevent); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `alloc` should have an upper case name [INFO] [stdout] --> src/scsi/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | const alloc: usize = 4096; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ALLOC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `alloc` should have an upper case name [INFO] [stdout] --> src/scsi/mod.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | const alloc: usize = 4096; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ALLOC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/vpd/device_id.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse(data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse(data: &[u8]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/sense/mod.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(data: &Vec) -> Option<(bool, Sense)> { [INFO] [stdout] | ^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(data: &Vec) -> Option<(bool, Sense<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/sense/fixed.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn parse(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn parse(data: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/sense/descriptor.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(data: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/drivedb/drivedb.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_meta(&self, id: &id::Id, extra_attributes: &Vec) -> DriveMeta { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_meta(&self, id: &id::Id, extra_attributes: &Vec) -> DriveMeta<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b7bfb292f85eaec4a29a322293e59f5f417632d222a8f92f41d37d8138ea5903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bfb292f85eaec4a29a322293e59f5f417632d222a8f92f41d37d8138ea5903", kill_on_drop: false }` [INFO] [stdout] b7bfb292f85eaec4a29a322293e59f5f417632d222a8f92f41d37d8138ea5903 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 70b73e7ad7be25bc14587f5eb7ee40df660480707d6acff53fe459b1d7473c54 [INFO] running `Command { std: "docker" "start" "-a" "70b73e7ad7be25bc14587f5eb7ee40df660480707d6acff53fe459b1d7473c54", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ata/data/id.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 271 | 0x0000 | 0xffff | 0x0002...0x0400 => RPM::Unknown, [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/ata/data/id.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | 0x0001 ... 0x000c => Some("(obsolete)"), [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/scsi/pages.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | 0x30...0x3e => "(Vendor-Specific)", [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/scsi/pages.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 226 | x @ 0x8000...0xffff => VendorSpecific(x), [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/scsi/pages.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | 4...7 => Failed, [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] [stderr] Compiling hdd v0.10.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/drivedb/drivedb.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg_attr(feature = "cargo-clippy", allow(match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/utils.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(feature = "cargo-clippy", allow(needless_range_loop))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/utils.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(feature = "cargo-clippy", allow(needless_range_loop))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/device/linux.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | let mut buf = BufReader::new(uevent); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `alloc` should have an upper case name [INFO] [stdout] --> src/scsi/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | const alloc: usize = 4096; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ALLOC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `alloc` should have an upper case name [INFO] [stdout] --> src/scsi/mod.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | const alloc: usize = 4096; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ALLOC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/vpd/device_id.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse(data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse(data: &[u8]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/sense/mod.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(data: &Vec) -> Option<(bool, Sense)> { [INFO] [stdout] | ^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(data: &Vec) -> Option<(bool, Sense<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/sense/fixed.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn parse(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn parse(data: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/sense/descriptor.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(data: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/drivedb/drivedb.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_meta(&self, id: &id::Id, extra_attributes: &Vec) -> DriveMeta { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_meta(&self, id: &id::Id, extra_attributes: &Vec) -> DriveMeta<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ata/data/id.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 271 | 0x0000 | 0xffff | 0x0002...0x0400 => RPM::Unknown, [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/ata/data/id.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | 0x0001 ... 0x000c => Some("(obsolete)"), [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/scsi/pages.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | 0x30...0x3e => "(Vendor-Specific)", [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/scsi/pages.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 226 | x @ 0x8000...0xffff => VendorSpecific(x), [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/scsi/pages.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | 4...7 => Failed, [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/drivedb/drivedb.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg_attr(feature = "cargo-clippy", allow(match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/utils.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(feature = "cargo-clippy", allow(needless_range_loop))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/utils.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(feature = "cargo-clippy", allow(needless_range_loop))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/device/linux.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | let mut buf = BufReader::new(uevent); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `alloc` should have an upper case name [INFO] [stdout] --> src/scsi/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | const alloc: usize = 4096; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ALLOC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `alloc` should have an upper case name [INFO] [stdout] --> src/scsi/mod.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | const alloc: usize = 4096; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ALLOC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/vpd/device_id.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse(data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse(data: &[u8]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/sense/mod.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(data: &Vec) -> Option<(bool, Sense)> { [INFO] [stdout] | ^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(data: &Vec) -> Option<(bool, Sense<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/sense/fixed.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn parse(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn parse(data: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scsi/data/sense/descriptor.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(data: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/drivedb/drivedb.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_meta(&self, id: &id::Id, extra_attributes: &Vec) -> DriveMeta { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_meta(&self, id: &id::Id, extra_attributes: &Vec) -> DriveMeta<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "70b73e7ad7be25bc14587f5eb7ee40df660480707d6acff53fe459b1d7473c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b73e7ad7be25bc14587f5eb7ee40df660480707d6acff53fe459b1d7473c54", kill_on_drop: false }` [INFO] [stdout] 70b73e7ad7be25bc14587f5eb7ee40df660480707d6acff53fe459b1d7473c54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dbe1b3745e2c1bbf2756ef1ff08c41a10a25c37a3dbf99c0653eb8e276321961 [INFO] running `Command { std: "docker" "start" "-a" "dbe1b3745e2c1bbf2756ef1ff08c41a10a25c37a3dbf99c0653eb8e276321961", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ata/data/id.rs:271:28 [INFO] [stderr] | [INFO] [stderr] 271 | 0x0000 | 0xffff | 0x0002...0x0400 => RPM::Unknown, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ata/data/id.rs:280:11 [INFO] [stderr] | [INFO] [stderr] 280 | 0x0001 ... 0x000c => Some("(obsolete)"), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/scsi/pages.rs:118:7 [INFO] [stderr] | [INFO] [stderr] 118 | 0x30...0x3e => "(Vendor-Specific)", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/scsi/pages.rs:226:15 [INFO] [stderr] | [INFO] [stderr] 226 | x @ 0x8000...0xffff => VendorSpecific(x), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/scsi/pages.rs:410:7 [INFO] [stderr] | [INFO] [stderr] 410 | 4...7 => Failed, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/drivedb/drivedb.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | #[cfg_attr(feature = "cargo-clippy", allow(match_same_arms))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/utils.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | #[cfg_attr(feature = "cargo-clippy", allow(needless_range_loop))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/utils.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg_attr(feature = "cargo-clippy", allow(needless_range_loop))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `default`, `env_logger`, `lazy_static`, `number_prefix`, `prettytable-rs`, `separator`, `serde`, `serde_derive`, `serde_json`, and `serializable` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/device/linux.rs:106:8 [INFO] [stderr] | [INFO] [stderr] 106 | let mut buf = BufReader::new(uevent); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `alloc` should have an upper case name [INFO] [stderr] --> src/scsi/mod.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | const alloc: usize = 4096; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `ALLOC` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `alloc` should have an upper case name [INFO] [stderr] --> src/scsi/mod.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | const alloc: usize = 4096; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `ALLOC` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scsi/data/vpd/device_id.rs:51:20 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn parse(data: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | pub fn parse(data: &[u8]) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scsi/data/sense/mod.rs:27:20 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn parse(data: &Vec) -> Option<(bool, Sense)> { [INFO] [stderr] | ^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 27 | pub fn parse(data: &Vec) -> Option<(bool, Sense<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scsi/data/sense/fixed.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn parse(data: &[u8]) -> Option { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 39 | pub fn parse(data: &[u8]) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scsi/data/sense/descriptor.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn parse(data: &[u8]) -> Option { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 19 | pub fn parse(data: &[u8]) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/drivedb/drivedb.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn render_meta(&self, id: &id::Id, extra_attributes: &Vec) -> DriveMeta { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn render_meta(&self, id: &id::Id, extra_attributes: &Vec) -> DriveMeta<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `hdd` (lib) generated 16 warnings (run `cargo fix --lib -p hdd` to apply 11 suggestions) [INFO] [stderr] warning: `hdd` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hdd-5e4402366e42b757) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dbe1b3745e2c1bbf2756ef1ff08c41a10a25c37a3dbf99c0653eb8e276321961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe1b3745e2c1bbf2756ef1ff08c41a10a25c37a3dbf99c0653eb8e276321961", kill_on_drop: false }` [INFO] [stdout] dbe1b3745e2c1bbf2756ef1ff08c41a10a25c37a3dbf99c0653eb8e276321961