[INFO] fetching crate lethe 0.8.0... [INFO] testing lethe-0.8.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate lethe 0.8.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate lethe 0.8.0 [INFO] finished tweaking crates.io crate lethe 0.8.0 [INFO] tweaked toml for crates.io crate lethe 0.8.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lethe 0.8.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lethe 0.8.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d0f4ac1dfbe2b138226ad991904823febd622828f660d04353fcaae749027b3 [INFO] running `Command { std: "docker" "start" "-a" "8d0f4ac1dfbe2b138226ad991904823febd622828f660d04353fcaae749027b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d0f4ac1dfbe2b138226ad991904823febd622828f660d04353fcaae749027b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d0f4ac1dfbe2b138226ad991904823febd622828f660d04353fcaae749027b3", kill_on_drop: false }` [INFO] [stdout] 8d0f4ac1dfbe2b138226ad991904823febd622828f660d04353fcaae749027b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed59b8607e5199097d2de6dac2f0a49c8698cd0a4b7b0d2ec53c6c34709b0c25 [INFO] running `Command { std: "docker" "start" "-a" "ed59b8607e5199097d2de6dac2f0a49c8698cd0a4b7b0d2ec53c6c34709b0c25", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling console v0.15.1 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling retain_mut v0.1.7 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling textwrap v0.15.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling clap v3.2.22 [INFO] [stderr] Compiling plist v1.3.1 [INFO] [stderr] Compiling indicatif v0.17.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling roaring v0.10.1 [INFO] [stderr] Compiling prettytable-rs v0.9.0 [INFO] [stderr] Compiling nix v0.25.0 [INFO] [stderr] Compiling sysfs-class v0.1.3 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling streaming-iterator v0.1.7 [INFO] [stderr] Compiling lethe v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::storage::nix::*` [INFO] [stdout] --> src/storage/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::storage::nix::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [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: method `position` is never used [INFO] [stdout] --> src/storage/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait StorageAccess { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 34 | fn position(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_size` is never read [INFO] [stdout] --> src/storage/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct StorageDetails { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 63 | pub size: u64, [INFO] [stdout] 64 | pub block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageDetails` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "ed59b8607e5199097d2de6dac2f0a49c8698cd0a4b7b0d2ec53c6c34709b0c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed59b8607e5199097d2de6dac2f0a49c8698cd0a4b7b0d2ec53c6c34709b0c25", kill_on_drop: false }` [INFO] [stdout] ed59b8607e5199097d2de6dac2f0a49c8698cd0a4b7b0d2ec53c6c34709b0c25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23adc238f98bc936c079e961b6a83bb85d61fd8e9c66da8510c6d0e3eed99635 [INFO] running `Command { std: "docker" "start" "-a" "23adc238f98bc936c079e961b6a83bb85d61fd8e9c66da8510c6d0e3eed99635", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling console v0.15.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling retain_mut v0.1.7 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.1 [INFO] [stderr] Compiling sysfs-class v0.1.3 [INFO] [stderr] Compiling clap v3.2.22 [INFO] [stderr] Compiling nix v0.25.0 [INFO] [stderr] Compiling roaring v0.10.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling indicatif v0.17.1 [INFO] [stderr] Compiling plist v1.3.1 [INFO] [stderr] Compiling prettytable-rs v0.9.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling streaming-iterator v0.1.7 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling lethe v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::storage::nix::*` [INFO] [stdout] --> src/storage/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::storage::nix::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [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: method `position` is never used [INFO] [stdout] --> src/storage/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait StorageAccess { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 34 | fn position(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_size` is never read [INFO] [stdout] --> src/storage/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct StorageDetails { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 63 | pub size: u64, [INFO] [stdout] 64 | pub block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageDetails` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 2m 50s [INFO] running `Command { std: "docker" "inspect" "23adc238f98bc936c079e961b6a83bb85d61fd8e9c66da8510c6d0e3eed99635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23adc238f98bc936c079e961b6a83bb85d61fd8e9c66da8510c6d0e3eed99635", kill_on_drop: false }` [INFO] [stdout] 23adc238f98bc936c079e961b6a83bb85d61fd8e9c66da8510c6d0e3eed99635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dab8ebdd3b22bfb5282c4badb4621a007049d146c1e35e8cf9a51c24a60563ce [INFO] running `Command { std: "docker" "start" "-a" "dab8ebdd3b22bfb5282c4badb4621a007049d146c1e35e8cf9a51c24a60563ce", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::storage::nix::*` [INFO] [stderr] --> src/storage/mod.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use crate::storage::nix::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `linux` [INFO] [stderr] --> src/main.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | if cfg!(linux) { [INFO] [stderr] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [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: method `position` is never used [INFO] [stderr] --> src/storage/mod.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub trait StorageAccess { [INFO] [stderr] | ------------- method in this trait [INFO] [stderr] 34 | fn position(&mut self) -> Result; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `block_size` is never read [INFO] [stderr] --> src/storage/mod.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct StorageDetails { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 63 | pub size: u64, [INFO] [stderr] 64 | pub block_size: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StorageDetails` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `lethe` (bin "lethe" test) generated 4 warnings (run `cargo fix --bin "lethe" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lethe-45115641aa5ad9ba) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test actions::marker::test::test_marker_tracking_edge_values ... ok [INFO] [stdout] test actions::wipe::test::test_wipe_task_validation ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_from_beginning ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_handle_completely_corrupt_storage ... ok [INFO] [stdout] test actions::marker::test::test_empty_marker ... ok [INFO] [stdout] test actions::marker::test::test_marker_tracking_unique_values ... ok [INFO] [stdout] test sanitization::mem::test::test_aligned_allocation ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_from_offset ... ok [INFO] [stdout] test sanitization::mem::test::test_vec_fill ... ok [INFO] [stdout] test sanitization::stage::test::test_stage_fill_behaves ... ok [INFO] [stdout] test sanitization::stage::test::test_stage_random_behaves ... ok [INFO] [stdout] test sanitization::stage::test::test_stage_random_entropy ... ok [INFO] [stdout] test sanitization::test::test_scheme_find ... ok [INFO] [stdout] test ui::args::test::test_block_size_parser_good ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_skip_bad_blocks_at_ending ... ok [INFO] [stdout] test ui::args::test::test_bytes_parser_good ... ok [INFO] [stdout] test ui::idshortcuts::test::test_last_part ... ok [INFO] [stdout] test ui::idshortcuts::test::test_no_intersection ... ok [INFO] [stdout] test ui::idshortcuts::test::test_normal ... ok [INFO] [stdout] test ui::idshortcuts::test::test_real_nix ... ok [INFO] [stdout] test ui::idshortcuts::test::test_real_windows ... ok [INFO] [stdout] test ui::idshortcuts::test::test_sub_prefixes ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_validation_failure_without_retries ... ok [INFO] [stdout] test ui::args::test::test_bytes_parser_bad ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_write_failures_skips_bad_blocks ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_fill_failure ... ok [INFO] [stdout] test ui::args::test::test_block_size_parser_bad ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_validation_failure_with_retries ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_skip_bad_blocks_at_beginning ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dab8ebdd3b22bfb5282c4badb4621a007049d146c1e35e8cf9a51c24a60563ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab8ebdd3b22bfb5282c4badb4621a007049d146c1e35e8cf9a51c24a60563ce", kill_on_drop: false }` [INFO] [stdout] dab8ebdd3b22bfb5282c4badb4621a007049d146c1e35e8cf9a51c24a60563ce