[INFO] cloning repository https://github.com/president-xd/moni-fim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/president-xd/moni-fim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpresident-xd%2Fmoni-fim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpresident-xd%2Fmoni-fim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e518198e915fe4096817ce0ea3e4350d347de350 [INFO] testing president-xd/moni-fim against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpresident-xd%2Fmoni-fim" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/president-xd/moni-fim [INFO] finished tweaking git repo https://github.com/president-xd/moni-fim [INFO] tweaked toml for git repo https://github.com/president-xd/moni-fim written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/president-xd/moni-fim on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/president-xd/moni-fim 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7219996eeb6ac4d60bb11f0a1919758ef25002c341676dae81396fba633e7ec1 [INFO] running `Command { std: "docker" "start" "-a" "7219996eeb6ac4d60bb11f0a1919758ef25002c341676dae81396fba633e7ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7219996eeb6ac4d60bb11f0a1919758ef25002c341676dae81396fba633e7ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7219996eeb6ac4d60bb11f0a1919758ef25002c341676dae81396fba633e7ec1", kill_on_drop: false }` [INFO] [stdout] 7219996eeb6ac4d60bb11f0a1919758ef25002c341676dae81396fba633e7ec1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 986a742b07cf81cb1892c15d4cd093c96d0500966bcb044f27e6b1345dc37f18 [INFO] running `Command { std: "docker" "start" "-a" "986a742b07cf81cb1892c15d4cd093c96d0500966bcb044f27e6b1345dc37f18", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling linux-audit-parser v0.2.7 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling xattr v1.5.0 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.13.0 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_with v3.13.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling moni-fim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/components/cli.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/components/combined.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config as LogConfig` [INFO] [stdout] --> src/components/logger.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | ColorChoice, CombinedLogger, Config as LogConfig, ConfigBuilder, SharedLogger, TermLogger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/components/combined.rs:1080:49 [INFO] [stdout] | [INFO] [stdout] 1080 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/components/realtime.rs:333:49 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `policy` [INFO] [stdout] --> src/components/combined.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | fn start_monitoring_threads(&mut self, policy: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `policy` [INFO] [stdout] --> src/components/combined.rs:527:47 [INFO] [stdout] | [INFO] [stdout] 527 | fn run_detailed_baseline_check(&mut self, policy: Option<&Policy>) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_size` [INFO] [stdout] --> src/components/hashing.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let file_size = metadata.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_baseline_check` is never read [INFO] [stdout] --> src/components/combined.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CombinedMonitor { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | last_baseline_check: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `syscall` and `details` are never read [INFO] [stdout] --> src/components/combined.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 879 | struct DetailedAuditEvent { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 886 | syscall: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 887 | success: bool, [INFO] [stdout] 888 | details: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailedAuditEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ppid` and `session` are never read [INFO] [stdout] --> src/components/realtime.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 175 | struct AuditDetails { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 176 | pid: String, [INFO] [stdout] 177 | ppid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | session: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuditDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/components/cli.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/components/combined.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config as LogConfig` [INFO] [stdout] --> src/components/logger.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | ColorChoice, CombinedLogger, Config as LogConfig, ConfigBuilder, SharedLogger, TermLogger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/components/combined.rs:1080:49 [INFO] [stdout] | [INFO] [stdout] 1080 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/components/realtime.rs:333:49 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `policy` [INFO] [stdout] --> src/components/combined.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | fn start_monitoring_threads(&mut self, policy: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `policy` [INFO] [stdout] --> src/components/combined.rs:527:47 [INFO] [stdout] | [INFO] [stdout] 527 | fn run_detailed_baseline_check(&mut self, policy: Option<&Policy>) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_size` [INFO] [stdout] --> src/components/hashing.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let file_size = metadata.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_with_baseline` is never used [INFO] [stdout] --> src/components/baseline.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn compare_with_baseline(baseline_name: &str, paths: Vec, config: &Config) -> 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 `last_baseline_check` is never read [INFO] [stdout] --> src/components/combined.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CombinedMonitor { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | last_baseline_check: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `syscall` and `details` are never read [INFO] [stdout] --> src/components/combined.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 879 | struct DetailedAuditEvent { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 886 | syscall: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 887 | success: bool, [INFO] [stdout] 888 | details: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailedAuditEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `export_public_key` and `export_public_key_hex` are never used [INFO] [stdout] --> src/components/crypto.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CryptoManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn export_public_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn export_public_key_hex(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_file_change` is never used [INFO] [stdout] --> src/components/formatter.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn format_file_change(change_type: &str, path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_permission_string` is never used [INFO] [stdout] --> src/components/formatter.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn format_permission_string(mode: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triplet` is never used [INFO] [stdout] --> src/components/formatter.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn triplet(mode: u32) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_user_group` is never used [INFO] [stdout] --> src/components/formatter.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn format_user_group(uid: u32, gid: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_event_type` is never used [INFO] [stdout] --> src/components/formatter.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn format_event_type(event_type: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_policy_action` is never used [INFO] [stdout] --> src/components/formatter.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn format_policy_action(action: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_table_header` is never used [INFO] [stdout] --> src/components/formatter.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn format_table_header(headers: &[&str]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_baseline_status` is never used [INFO] [stdout] --> src/components/formatter.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn format_baseline_status(compressed: bool, signed: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashProgress` is never constructed [INFO] [stdout] --> src/components/hashing.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct HashProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `percentage` are never used [INFO] [stdout] --> src/components/hashing.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl HashProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(total_bytes: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn update(&self, bytes: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn percentage(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_file_with_progress` is never used [INFO] [stdout] --> src/components/hashing.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn hash_file_with_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_hash` is never used [INFO] [stdout] --> src/components/hashing.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn quick_hash(data: &[u8], algorithm: &HashAlgorithm) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_hash` is never used [INFO] [stdout] --> src/components/hashing.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn verify_hash(path: &Path, expected_hash: &str, algorithm: &HashAlgorithm) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_baseline_operation` is never used [INFO] [stdout] --> src/components/logger.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn log_baseline_operation(operation: &str, baseline_name: &str, details: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_policy_operation` is never used [INFO] [stdout] --> src/components/logger.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn log_policy_operation(operation: &str, policy_name: &str, details: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_performance` is never used [INFO] [stdout] --> src/components/logger.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn log_performance(operation: &str, duration_ms: u64, details: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_audit_event` is never used [INFO] [stdout] --> src/components/logger.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn log_audit_event(event_type: &str, path: &str, user: &str, process: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_compression_stats` is never used [INFO] [stdout] --> src/components/logger.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn log_compression_stats(original_size: u64, compressed_size: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_startup_info` is never used [INFO] [stdout] --> src/components/logger.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn log_startup_info() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_shutdown_info` is never used [INFO] [stdout] --> src/components/logger.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn log_shutdown_info() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_monitoring_start` is never used [INFO] [stdout] --> src/components/logger.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn log_monitoring_start(paths: &[std::path::PathBuf], mode: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_monitoring_stop` is never used [INFO] [stdout] --> src/components/logger.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn log_monitoring_stop(mode: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ppid` and `session` are never read [INFO] [stdout] --> src/components/realtime.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 175 | struct AuditDetails { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 176 | pid: String, [INFO] [stdout] 177 | ppid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | session: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuditDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.14s [INFO] running `Command { std: "docker" "inspect" "986a742b07cf81cb1892c15d4cd093c96d0500966bcb044f27e6b1345dc37f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986a742b07cf81cb1892c15d4cd093c96d0500966bcb044f27e6b1345dc37f18", kill_on_drop: false }` [INFO] [stdout] 986a742b07cf81cb1892c15d4cd093c96d0500966bcb044f27e6b1345dc37f18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19f108d7c95009caa6867301bc86a512dfe1e8e1d672d5cd1b80da3509a2b3af [INFO] running `Command { std: "docker" "start" "-a" "19f108d7c95009caa6867301bc86a512dfe1e8e1d672d5cd1b80da3509a2b3af", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling xattr v1.5.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling moni-fim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/components/cli.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/components/combined.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config as LogConfig` [INFO] [stdout] --> src/components/logger.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | ColorChoice, CombinedLogger, Config as LogConfig, ConfigBuilder, SharedLogger, TermLogger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/components/cli.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/components/combined.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config as LogConfig` [INFO] [stdout] --> src/components/logger.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | ColorChoice, CombinedLogger, Config as LogConfig, ConfigBuilder, SharedLogger, TermLogger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/components/combined.rs:1080:49 [INFO] [stdout] | [INFO] [stdout] 1080 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/components/realtime.rs:333:49 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/components/combined.rs:1080:49 [INFO] [stdout] | [INFO] [stdout] 1080 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/components/realtime.rs:333:49 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `policy` [INFO] [stdout] --> src/components/combined.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | fn start_monitoring_threads(&mut self, policy: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `policy` [INFO] [stdout] --> src/components/combined.rs:527:47 [INFO] [stdout] | [INFO] [stdout] 527 | fn run_detailed_baseline_check(&mut self, policy: Option<&Policy>) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_size` [INFO] [stdout] --> src/components/hashing.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let file_size = metadata.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_baseline_check` is never read [INFO] [stdout] --> src/components/combined.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CombinedMonitor { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | last_baseline_check: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `syscall` and `details` are never read [INFO] [stdout] --> src/components/combined.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 879 | struct DetailedAuditEvent { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 886 | syscall: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 887 | success: bool, [INFO] [stdout] 888 | details: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailedAuditEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ppid` and `session` are never read [INFO] [stdout] --> src/components/realtime.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 175 | struct AuditDetails { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 176 | pid: String, [INFO] [stdout] 177 | ppid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | session: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuditDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `policy` [INFO] [stdout] --> src/components/combined.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | fn start_monitoring_threads(&mut self, policy: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `policy` [INFO] [stdout] --> src/components/combined.rs:527:47 [INFO] [stdout] | [INFO] [stdout] 527 | fn run_detailed_baseline_check(&mut self, policy: Option<&Policy>) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_size` [INFO] [stdout] --> src/components/hashing.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let file_size = metadata.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/hashing.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut temp_file = NamedTempFile::new().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_baseline_check` is never read [INFO] [stdout] --> src/components/combined.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CombinedMonitor { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | last_baseline_check: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `syscall` and `details` are never read [INFO] [stdout] --> src/components/combined.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 879 | struct DetailedAuditEvent { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 886 | syscall: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 887 | success: bool, [INFO] [stdout] 888 | details: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailedAuditEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ppid` and `session` are never read [INFO] [stdout] --> src/components/realtime.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 175 | struct AuditDetails { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 176 | pid: String, [INFO] [stdout] 177 | ppid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | session: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuditDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/components/cli.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/components/combined.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config as LogConfig` [INFO] [stdout] --> src/components/logger.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | ColorChoice, CombinedLogger, Config as LogConfig, ConfigBuilder, SharedLogger, TermLogger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/components/combined.rs:1080:49 [INFO] [stdout] | [INFO] [stdout] 1080 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/components/realtime.rs:333:49 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `policy` [INFO] [stdout] --> src/components/combined.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | fn start_monitoring_threads(&mut self, policy: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `policy` [INFO] [stdout] --> src/components/combined.rs:527:47 [INFO] [stdout] | [INFO] [stdout] 527 | fn run_detailed_baseline_check(&mut self, policy: Option<&Policy>) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_size` [INFO] [stdout] --> src/components/hashing.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let file_size = metadata.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_read` is assigned to, but never used [INFO] [stdout] --> src/components/hashing.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut total_read = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_read` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_read` is never read [INFO] [stdout] --> src/components/hashing.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | total_read += n as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/hashing.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut temp_file = NamedTempFile::new().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_with_baseline` is never used [INFO] [stdout] --> src/components/baseline.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn compare_with_baseline(baseline_name: &str, paths: Vec, config: &Config) -> 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 `last_baseline_check` is never read [INFO] [stdout] --> src/components/combined.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CombinedMonitor { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | last_baseline_check: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `syscall` and `details` are never read [INFO] [stdout] --> src/components/combined.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 879 | struct DetailedAuditEvent { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 886 | syscall: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 887 | success: bool, [INFO] [stdout] 888 | details: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailedAuditEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `export_public_key` and `export_public_key_hex` are never used [INFO] [stdout] --> src/components/crypto.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CryptoManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn export_public_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn export_public_key_hex(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_file_change` is never used [INFO] [stdout] --> src/components/formatter.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn format_file_change(change_type: &str, path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_permission_string` is never used [INFO] [stdout] --> src/components/formatter.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn format_permission_string(mode: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triplet` is never used [INFO] [stdout] --> src/components/formatter.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn triplet(mode: u32) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_user_group` is never used [INFO] [stdout] --> src/components/formatter.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn format_user_group(uid: u32, gid: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_event_type` is never used [INFO] [stdout] --> src/components/formatter.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn format_event_type(event_type: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_policy_action` is never used [INFO] [stdout] --> src/components/formatter.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn format_policy_action(action: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_table_header` is never used [INFO] [stdout] --> src/components/formatter.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn format_table_header(headers: &[&str]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_baseline_status` is never used [INFO] [stdout] --> src/components/formatter.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn format_baseline_status(compressed: bool, signed: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashProgress` is never constructed [INFO] [stdout] --> src/components/hashing.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct HashProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `percentage` are never used [INFO] [stdout] --> src/components/hashing.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl HashProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(total_bytes: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn update(&self, bytes: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn percentage(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_file_with_progress` is never used [INFO] [stdout] --> src/components/hashing.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn hash_file_with_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_hash` is never used [INFO] [stdout] --> src/components/hashing.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn verify_hash(path: &Path, expected_hash: &str, algorithm: &HashAlgorithm) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_baseline_operation` is never used [INFO] [stdout] --> src/components/logger.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn log_baseline_operation(operation: &str, baseline_name: &str, details: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_policy_operation` is never used [INFO] [stdout] --> src/components/logger.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn log_policy_operation(operation: &str, policy_name: &str, details: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_performance` is never used [INFO] [stdout] --> src/components/logger.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn log_performance(operation: &str, duration_ms: u64, details: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_audit_event` is never used [INFO] [stdout] --> src/components/logger.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn log_audit_event(event_type: &str, path: &str, user: &str, process: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_compression_stats` is never used [INFO] [stdout] --> src/components/logger.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn log_compression_stats(original_size: u64, compressed_size: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_startup_info` is never used [INFO] [stdout] --> src/components/logger.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn log_startup_info() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_shutdown_info` is never used [INFO] [stdout] --> src/components/logger.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn log_shutdown_info() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_monitoring_start` is never used [INFO] [stdout] --> src/components/logger.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn log_monitoring_start(paths: &[std::path::PathBuf], mode: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_monitoring_stop` is never used [INFO] [stdout] --> src/components/logger.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn log_monitoring_stop(mode: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ppid` and `session` are never read [INFO] [stdout] --> src/components/realtime.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 175 | struct AuditDetails { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 176 | pid: String, [INFO] [stdout] 177 | ppid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | session: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuditDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.50s [INFO] running `Command { std: "docker" "inspect" "19f108d7c95009caa6867301bc86a512dfe1e8e1d672d5cd1b80da3509a2b3af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19f108d7c95009caa6867301bc86a512dfe1e8e1d672d5cd1b80da3509a2b3af", kill_on_drop: false }` [INFO] [stdout] 19f108d7c95009caa6867301bc86a512dfe1e8e1d672d5cd1b80da3509a2b3af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 219c7306f2ea47770cf7d8f3053107e168f5dbcaa5d31eb921435eefb5467254 [INFO] running `Command { std: "docker" "start" "-a" "219c7306f2ea47770cf7d8f3053107e168f5dbcaa5d31eb921435eefb5467254", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `KeyCode` [INFO] [stderr] --> src/components/cli.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | event::{self, Event, KeyCode}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `walkdir::WalkDir` [INFO] [stderr] --> src/components/combined.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use walkdir::WalkDir; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Config as LogConfig` [INFO] [stderr] --> src/components/logger.rs:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | ColorChoice, CombinedLogger, Config as LogConfig, ConfigBuilder, SharedLogger, TermLogger, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/components/combined.rs:1080:49 [INFO] [stderr] | [INFO] [stderr] 1080 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/components/realtime.rs:333:49 [INFO] [stderr] | [INFO] [stderr] 333 | if let Some(naive) = NaiveDateTime::from_timestamp_opt(unix_time, 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `policy` [INFO] [stderr] --> src/components/combined.rs:347:44 [INFO] [stderr] | [INFO] [stderr] 347 | fn start_monitoring_threads(&mut self, policy: Option) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `policy` [INFO] [stderr] --> src/components/combined.rs:527:47 [INFO] [stderr] | [INFO] [stderr] 527 | fn run_detailed_baseline_check(&mut self, policy: Option<&Policy>) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_policy` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_size` [INFO] [stderr] --> src/components/hashing.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let file_size = metadata.len(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size` [INFO] [stderr] [INFO] [stderr] warning: variable `total_read` is assigned to, but never used [INFO] [stderr] --> src/components/hashing.rs:103:17 [INFO] [stderr] | [INFO] [stderr] 103 | let mut total_read = 0u64; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_total_read` instead [INFO] [stderr] [INFO] [stderr] warning: variable `total_read` is assigned to, but never used [INFO] [stderr] --> src/components/hashing.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | let mut total_read = 0u64; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_total_read` instead [INFO] [stderr] [INFO] [stderr] warning: variable `total_read` is assigned to, but never used [INFO] [stderr] --> src/components/hashing.rs:141:17 [INFO] [stderr] | [INFO] [stderr] 141 | let mut total_read = 0u64; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_total_read` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `total_read` is never read [INFO] [stderr] --> src/components/hashing.rs:111:17 [INFO] [stderr] | [INFO] [stderr] 111 | total_read += n as u64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `total_read` is never read [INFO] [stderr] --> src/components/hashing.rs:130:17 [INFO] [stderr] | [INFO] [stderr] 130 | total_read += n as u64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `total_read` is never read [INFO] [stderr] --> src/components/hashing.rs:149:17 [INFO] [stderr] | [INFO] [stderr] 149 | total_read += n as u64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: field `last_baseline_check` is never read [INFO] [stderr] --> src/components/combined.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct CombinedMonitor { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | last_baseline_check: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `syscall` and `details` are never read [INFO] [stderr] --> src/components/combined.rs:886:5 [INFO] [stderr] | [INFO] [stderr] 879 | struct DetailedAuditEvent { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 886 | syscall: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 887 | success: bool, [INFO] [stderr] 888 | details: HashMap, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DetailedAuditEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `ppid` and `session` are never read [INFO] [stderr] --> src/components/realtime.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 175 | struct AuditDetails { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 176 | pid: String, [INFO] [stderr] 177 | ppid: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 186 | session: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AuditDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `moni-fim` (lib) generated 17 warnings (run `cargo fix --lib -p moni-fim` to apply 6 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/components/hashing.rs:193:13 [INFO] [stderr] | [INFO] [stderr] 193 | let mut temp_file = NamedTempFile::new().unwrap(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `compare_with_baseline` is never used [INFO] [stderr] --> src/components/baseline.rs:389:8 [INFO] [stderr] | [INFO] [stderr] 389 | pub fn compare_with_baseline(baseline_name: &str, paths: Vec, config: &Config) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `last_baseline_check` is never read [INFO] [stderr] --> src/components/combined.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct CombinedMonitor { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | last_baseline_check: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `export_public_key` and `export_public_key_hex` are never used [INFO] [stderr] --> src/components/crypto.rs:179:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl CryptoManager { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 179 | pub fn export_public_key(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 183 | pub fn export_public_key_hex(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_file_change` is never used [INFO] [stderr] --> src/components/formatter.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn format_file_change(change_type: &str, path: &Path) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_permission_string` is never used [INFO] [stderr] --> src/components/formatter.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn format_permission_string(mode: u32) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `triplet` is never used [INFO] [stderr] --> src/components/formatter.rs:118:4 [INFO] [stderr] | [INFO] [stderr] 118 | fn triplet(mode: u32) -> String { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_user_group` is never used [INFO] [stderr] --> src/components/formatter.rs:127:8 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn format_user_group(uid: u32, gid: u32) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_event_type` is never used [INFO] [stderr] --> src/components/formatter.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn format_event_type(event_type: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_policy_action` is never used [INFO] [stderr] --> src/components/formatter.rs:143:8 [INFO] [stderr] | [INFO] [stderr] 143 | pub fn format_policy_action(action: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_table_header` is never used [INFO] [stderr] --> src/components/formatter.rs:152:8 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn format_table_header(headers: &[&str]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_baseline_status` is never used [INFO] [stderr] --> src/components/formatter.rs:161:8 [INFO] [stderr] | [INFO] [stderr] 161 | pub fn format_baseline_status(compressed: bool, signed: bool) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HashProgress` is never constructed [INFO] [stderr] --> src/components/hashing.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct HashProgress { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `update`, and `percentage` are never used [INFO] [stderr] --> src/components/hashing.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl HashProgress { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 20 | pub fn new(total_bytes: u64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn update(&self, bytes: u64) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn percentage(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `hash_file_with_progress` is never used [INFO] [stderr] --> src/components/hashing.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn hash_file_with_progress( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `verify_hash` is never used [INFO] [stderr] --> src/components/hashing.rs:179:8 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn verify_hash(path: &Path, expected_hash: &str, algorithm: &HashAlgorithm) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `log_baseline_operation` is never used [INFO] [stderr] --> src/components/logger.rs:86:8 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn log_baseline_operation(operation: &str, baseline_name: &str, details: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `log_policy_operation` is never used [INFO] [stderr] --> src/components/logger.rs:90:8 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn log_policy_operation(operation: &str, policy_name: &str, details: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `log_performance` is never used [INFO] [stderr] --> src/components/logger.rs:98:8 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn log_performance(operation: &str, duration_ms: u64, details: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `log_audit_event` is never used [INFO] [stderr] --> src/components/logger.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn log_audit_event(event_type: &str, path: &str, user: &str, process: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `log_compression_stats` is never used [INFO] [stderr] --> src/components/logger.rs:112:8 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn log_compression_stats(original_size: u64, compressed_size: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `log_startup_info` is never used [INFO] [stderr] --> src/components/logger.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn log_startup_info() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `log_shutdown_info` is never used [INFO] [stderr] --> src/components/logger.rs:132:8 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn log_shutdown_info() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `log_monitoring_start` is never used [INFO] [stderr] --> src/components/logger.rs:138:8 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn log_monitoring_start(paths: &[std::path::PathBuf], mode: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `log_monitoring_stop` is never used [INFO] [stderr] --> src/components/logger.rs:145:8 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn log_monitoring_stop(mode: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `moni-fim` (bin "moni-fim" test) generated 41 warnings (16 duplicates) (run `cargo fix --bin "moni-fim" -p moni-fim --tests` to apply 1 suggestion) [INFO] [stderr] warning: `moni-fim` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/moni_fim-11b6648fe73d4247) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test components::hashing::tests::test_quick_hash ... ok [INFO] [stdout] test components::hashing::tests::test_hash_algorithms ... ok [INFO] [stdout] test components::crypto::tests::test_sign_and_verify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/moni_fim-5aeb78acbce7820d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test components::hashing::tests::test_quick_hash ... ok [INFO] [stdout] test components::hashing::tests::test_hash_algorithms ... ok [INFO] [stdout] test components::crypto::tests::test_sign_and_verify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests moni_fim [INFO] [stdout] [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" "219c7306f2ea47770cf7d8f3053107e168f5dbcaa5d31eb921435eefb5467254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "219c7306f2ea47770cf7d8f3053107e168f5dbcaa5d31eb921435eefb5467254", kill_on_drop: false }` [INFO] [stdout] 219c7306f2ea47770cf7d8f3053107e168f5dbcaa5d31eb921435eefb5467254