[INFO] fetching crate lethe 0.8.0... [INFO] testing lethe-0.8.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate lethe 0.8.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lethe 0.8.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb941aa97d9fc0b3444b92b4d6739c6526f9f3a1c832582b977460b7843cfd76 [INFO] running `Command { std: "docker" "start" "-a" "fb941aa97d9fc0b3444b92b4d6739c6526f9f3a1c832582b977460b7843cfd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb941aa97d9fc0b3444b92b4d6739c6526f9f3a1c832582b977460b7843cfd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb941aa97d9fc0b3444b92b4d6739c6526f9f3a1c832582b977460b7843cfd76", kill_on_drop: false }` [INFO] [stdout] fb941aa97d9fc0b3444b92b4d6739c6526f9f3a1c832582b977460b7843cfd76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb685bfaadc82f34a20bbba52a71223fe45fea5ac43058c17df68000ae1c489b [INFO] running `Command { std: "docker" "start" "-a" "bb685bfaadc82f34a20bbba52a71223fe45fea5ac43058c17df68000ae1c489b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling gimli v0.26.2 [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 ryu v1.0.11 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling retain_mut v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling textwrap v0.15.1 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling roaring v0.10.1 [INFO] [stderr] Compiling sysfs-class v0.1.3 [INFO] [stderr] Compiling streaming-iterator v0.1.7 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling console v0.15.1 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling clap v3.2.22 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling nix v0.25.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indicatif v0.17.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling plist v1.3.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling prettytable-rs v0.9.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)]` 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)]` 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 24.26s [INFO] running `Command { std: "docker" "inspect" "bb685bfaadc82f34a20bbba52a71223fe45fea5ac43058c17df68000ae1c489b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb685bfaadc82f34a20bbba52a71223fe45fea5ac43058c17df68000ae1c489b", kill_on_drop: false }` [INFO] [stdout] bb685bfaadc82f34a20bbba52a71223fe45fea5ac43058c17df68000ae1c489b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] debdf4ee83d4da37f7ec2bf825816babbce2fa9bbf93ba788198b1f1fc6e6d13 [INFO] running `Command { std: "docker" "start" "-a" "debdf4ee83d4da37f7ec2bf825816babbce2fa9bbf93ba788198b1f1fc6e6d13", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling textwrap v0.15.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling retain_mut v0.1.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling console v0.15.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling clap v3.2.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indicatif v0.17.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling sysfs-class v0.1.3 [INFO] [stderr] Compiling roaring v0.10.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling plist v1.3.1 [INFO] [stderr] Compiling nix v0.25.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling streaming-iterator v0.1.7 [INFO] [stderr] Compiling prettytable-rs v0.9.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)]` 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)]` 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 40.92s [INFO] running `Command { std: "docker" "inspect" "debdf4ee83d4da37f7ec2bf825816babbce2fa9bbf93ba788198b1f1fc6e6d13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debdf4ee83d4da37f7ec2bf825816babbce2fa9bbf93ba788198b1f1fc6e6d13", kill_on_drop: false }` [INFO] [stdout] debdf4ee83d4da37f7ec2bf825816babbce2fa9bbf93ba788198b1f1fc6e6d13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f793ed77edaf7c97b774830f40ea5c6b7a18d5a8103b1ec32977a4e4ab4fae5f [INFO] running `Command { std: "docker" "start" "-a" "f793ed77edaf7c97b774830f40ea5c6b7a18d5a8103b1ec32977a4e4ab4fae5f", 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)]` 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)]` 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.14s [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_empty_marker ... ok [INFO] [stdout] test actions::marker::test::test_marker_tracking_edge_values ... ok [INFO] [stdout] test actions::marker::test::test_marker_tracking_unique_values ... ok [INFO] [stdout] test actions::wipe::test::test_wipe_task_validation ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_from_offset ... ok [INFO] [stdout] test sanitization::stage::test::test_stage_fill_behaves ... ok [INFO] [stdout] test sanitization::test::test_scheme_find ... ok [INFO] [stdout] test sanitization::mem::test::test_vec_fill ... ok [INFO] [stdout] test sanitization::stage::test::test_stage_random_behaves ... 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::args::test::test_block_size_parser_good ... ok [INFO] [stdout] test ui::args::test::test_bytes_parser_good ... 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_from_beginning ... ok [INFO] [stdout] test sanitization::stage::test::test_stage_random_entropy ... ok [INFO] [stdout] test sanitization::mem::test::test_aligned_allocation ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_skip_bad_blocks_at_beginning ... 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_write_failures_skips_bad_blocks ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_validation_failure_with_retries ... ok [INFO] [stdout] test actions::wipe::test::test_wiping_handle_completely_corrupt_storage ... 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_skip_bad_blocks_at_ending ... 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" "f793ed77edaf7c97b774830f40ea5c6b7a18d5a8103b1ec32977a4e4ab4fae5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f793ed77edaf7c97b774830f40ea5c6b7a18d5a8103b1ec32977a4e4ab4fae5f", kill_on_drop: false }` [INFO] [stdout] f793ed77edaf7c97b774830f40ea5c6b7a18d5a8103b1ec32977a4e4ab4fae5f