[INFO] cloning repository https://github.com/wu7947848-code/sysmonitor-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wu7947848-code/sysmonitor-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwu7947848-code%2Fsysmonitor-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwu7947848-code%2Fsysmonitor-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54d6e24fd0b474e8e0edfb094d176ec94b7014fc
[INFO] testing wu7947848-code/sysmonitor-rs against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwu7947848-code%2Fsysmonitor-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wu7947848-code/sysmonitor-rs
[INFO] finished tweaking git repo https://github.com/wu7947848-code/sysmonitor-rs
[INFO] tweaked toml for git repo https://github.com/wu7947848-code/sysmonitor-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wu7947848-code/sysmonitor-rs on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wu7947848-code/sysmonitor-rs 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator v0.18.1
[INFO] [stderr]   Downloaded validator_derive v0.18.2
[INFO] [stderr]   Downloaded sysinfo v0.32.1
[INFO] [stderr]   Downloaded openssl-sys v0.9.116
[INFO] [stderr]   Downloaded openssl v0.10.80
[INFO] [stderr]   Downloaded procfs v0.17.0
[INFO] [stderr]   Downloaded procfs-core v0.17.0
[INFO] [stderr]   Downloaded reqwest-eventsource v0.6.0
[INFO] [stderr]   Downloaded axum-macros v0.4.2
[INFO] [stderr]   Downloaded async-openai v0.26.0
[INFO] [stderr]   Downloaded eventsource-stream v0.2.3
[INFO] [stderr]   Downloaded async-convert v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa
[INFO] running `Command { std: "docker" "start" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling openssl v0.10.80
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling data-encoding v2.11.0
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling procfs v0.17.0
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.116
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling validator_derive v0.18.2
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling procfs-core v0.17.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling derive_builder v0.20.2
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling async-convert v1.0.0
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling validator v0.18.1
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling sysinfo v0.32.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling h2 v0.4.14
[INFO] [stderr]    Compiling tower-http v0.6.10
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling async-openai v0.26.0
[INFO] [stderr]    Compiling sysmonitor-rs v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/analyzer/context.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[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 imports: `MetricEnvelope` and `SourceId`
[INFO] [stdout]   --> src/analyzer/context.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::event_bus::{Alert, Event, MetricEnvelope, MetricPayload, SourceId};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]   --> src/analyzer/governor.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use chrono::{DateTime, Utc};
[INFO] [stdout]    |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::cpu_mem::CpuMemSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::collectors::cpu_mem::CpuMemSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::disk::DiskSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::collectors::disk::DiskSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::filesystem::FilesystemSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::collectors::filesystem::FilesystemSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::network::NetworkSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::collectors::network::NetworkSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProcInfo` and `ProcessSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::collectors::process::{ProcInfo, ProcessSnapshot};
[INFO] [stdout]    |                                  ^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `L2ApprovalEvent`, `Severity`, `ToolCallResult`, and `ToolStatus`
[INFO] [stdout]   --> src/lib.rs:25:42
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Alert, AlertStatus, Event, EventBus, L2ApprovalEvent, MetricEnvelope, MetricPayload,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     ReasoningStage, ReasoningStep, RiskLevel, Severity, SuggestedAction, ToolCallRequest,
[INFO] [stdout]    |                                               ^^^^^^^^
[INFO] [stdout] 27 |     ToolCallResult, ToolStatus, fingerprint_alert,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EnrichedContext`
[INFO] [stdout]   --> src/lib.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::analyzer::context::{EnrichedContext, build_context};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LlmAnalysis` and `ToolCallSpec`
[INFO] [stdout]   --> src/lib.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::analyzer::deepseek::{DeepSeekClient, LlmAnalysis, LlmBackend, MockResponses, ToolCallSpec};
[INFO] [stdout]    |                                                 ^^^^^^^^^^^                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OfflineTemplates`
[INFO] [stdout]   --> src/lib.rs:31:62
[INFO] [stdout]    |
[INFO] [stdout] 31 | use crate::analyzer::governor::{AlertGovernor, GateDecision, OfflineTemplates};
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ApprovalOutcome`
[INFO] [stdout]   --> src/lib.rs:35:47
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::actuator::token::{ApprovalGateway, ApprovalOutcome};
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From<f64>` is not satisfied
[INFO] [stdout]    --> src/analyzer/deepseek.rs:148:26
[INFO] [stdout]     |
[INFO] [stdout] 148 |             .temperature(0.2)
[INFO] [stdout]     |                          ^^^ help: explicitly specify the type as `f32`: `0.2_f32`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #154024 <https://github.com/rust-lang/rust/issues/154024>
[INFO] [stdout]     = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/api/ws.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | async fn handle_socket(mut socket: WebSocket, state: ApiState) {
[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: unused variable: `tool_name`
[INFO] [stdout]    --> src/analyzer/deepseek.rs:230:5
[INFO] [stdout]     |
[INFO] [stdout] 230 |     tool_name: &str,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tool_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stat_collector_failures`
[INFO] [stdout]    --> src/lib.rs:346:5
[INFO] [stdout]     |
[INFO] [stdout] 346 |     stat_collector_failures: Arc<std::sync::atomic::AtomicU64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stat_collector_failures`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sas2`
[INFO] [stdout]    --> src/lib.rs:427:33
[INFO] [stdout]     |
[INFO] [stdout] 427 | ...                   let sas2 = stat_alerts_suppressed.clone();
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_sas2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s
[INFO] running `Command { std: "docker" "inspect" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/analyzer/context.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[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 imports: `MetricEnvelope` and `SourceId`
[INFO] [stdout]   --> src/analyzer/context.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::event_bus::{Alert, Event, MetricEnvelope, MetricPayload, SourceId};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]   --> src/analyzer/governor.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use chrono::{DateTime, Utc};
[INFO] [stdout]    |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::cpu_mem::CpuMemSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::collectors::cpu_mem::CpuMemSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::disk::DiskSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::collectors::disk::DiskSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::filesystem::FilesystemSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::collectors::filesystem::FilesystemSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::network::NetworkSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::collectors::network::NetworkSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProcInfo` and `ProcessSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::collectors::process::{ProcInfo, ProcessSnapshot};
[INFO] [stdout]    |                                  ^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `L2ApprovalEvent`, `Severity`, `ToolCallResult`, and `ToolStatus`
[INFO] [stdout]   --> src/lib.rs:25:42
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Alert, AlertStatus, Event, EventBus, L2ApprovalEvent, MetricEnvelope, MetricPayload,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     ReasoningStage, ReasoningStep, RiskLevel, Severity, SuggestedAction, ToolCallRequest,
[INFO] [stdout]    |                                               ^^^^^^^^
[INFO] [stdout] 27 |     ToolCallResult, ToolStatus, fingerprint_alert,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EnrichedContext`
[INFO] [stdout]   --> src/lib.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::analyzer::context::{EnrichedContext, build_context};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LlmAnalysis` and `ToolCallSpec`
[INFO] [stdout]   --> src/lib.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::analyzer::deepseek::{DeepSeekClient, LlmAnalysis, LlmBackend, MockResponses, ToolCallSpec};
[INFO] [stdout]    |                                                 ^^^^^^^^^^^                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OfflineTemplates`
[INFO] [stdout]   --> src/lib.rs:31:62
[INFO] [stdout]    |
[INFO] [stdout] 31 | use crate::analyzer::governor::{AlertGovernor, GateDecision, OfflineTemplates};
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ApprovalOutcome`
[INFO] [stdout]   --> src/lib.rs:35:47
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::actuator::token::{ApprovalGateway, ApprovalOutcome};
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From<f64>` is not satisfied
[INFO] [stdout]    --> src/analyzer/deepseek.rs:148:26
[INFO] [stdout]     |
[INFO] [stdout] 148 |             .temperature(0.2)
[INFO] [stdout]     |                          ^^^ help: explicitly specify the type as `f32`: `0.2_f32`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #154024 <https://github.com/rust-lang/rust/issues/154024>
[INFO] [stdout]     = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling sysmonitor-rs v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/api/ws.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | async fn handle_socket(mut socket: WebSocket, state: ApiState) {
[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: unused variable: `tool_name`
[INFO] [stdout]    --> src/analyzer/deepseek.rs:230:5
[INFO] [stdout]     |
[INFO] [stdout] 230 |     tool_name: &str,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tool_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stat_collector_failures`
[INFO] [stdout]    --> src/lib.rs:346:5
[INFO] [stdout]     |
[INFO] [stdout] 346 |     stat_collector_failures: Arc<std::sync::atomic::AtomicU64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stat_collector_failures`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sas2`
[INFO] [stdout]    --> src/lib.rs:427:33
[INFO] [stdout]     |
[INFO] [stdout] 427 | ...                   let sas2 = stat_alerts_suppressed.clone();
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_sas2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/analyzer/context.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[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 imports: `MetricEnvelope` and `SourceId`
[INFO] [stdout]   --> src/analyzer/context.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::event_bus::{Alert, Event, MetricEnvelope, MetricPayload, SourceId};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]   --> src/analyzer/governor.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use chrono::{DateTime, Utc};
[INFO] [stdout]    |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::cpu_mem::CpuMemSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::collectors::cpu_mem::CpuMemSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::disk::DiskSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::collectors::disk::DiskSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::filesystem::FilesystemSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::collectors::filesystem::FilesystemSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::collectors::network::NetworkSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::collectors::network::NetworkSnapshot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProcInfo` and `ProcessSnapshot`
[INFO] [stdout]   --> src/analyzer/rules.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::collectors::process::{ProcInfo, ProcessSnapshot};
[INFO] [stdout]    |                                  ^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `L2ApprovalEvent`, `Severity`, `ToolCallResult`, and `ToolStatus`
[INFO] [stdout]   --> src/lib.rs:25:42
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Alert, AlertStatus, Event, EventBus, L2ApprovalEvent, MetricEnvelope, MetricPayload,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     ReasoningStage, ReasoningStep, RiskLevel, Severity, SuggestedAction, ToolCallRequest,
[INFO] [stdout]    |                                               ^^^^^^^^
[INFO] [stdout] 27 |     ToolCallResult, ToolStatus, fingerprint_alert,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EnrichedContext`
[INFO] [stdout]   --> src/lib.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::analyzer::context::{EnrichedContext, build_context};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LlmAnalysis` and `ToolCallSpec`
[INFO] [stdout]   --> src/lib.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::analyzer::deepseek::{DeepSeekClient, LlmAnalysis, LlmBackend, MockResponses, ToolCallSpec};
[INFO] [stdout]    |                                                 ^^^^^^^^^^^                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OfflineTemplates`
[INFO] [stdout]   --> src/lib.rs:31:62
[INFO] [stdout]    |
[INFO] [stdout] 31 | use crate::analyzer::governor::{AlertGovernor, GateDecision, OfflineTemplates};
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ApprovalOutcome`
[INFO] [stdout]   --> src/lib.rs:35:47
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::actuator::token::{ApprovalGateway, ApprovalOutcome};
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From<f64>` is not satisfied
[INFO] [stdout]    --> src/analyzer/deepseek.rs:148:26
[INFO] [stdout]     |
[INFO] [stdout] 148 |             .temperature(0.2)
[INFO] [stdout]     |                          ^^^ help: explicitly specify the type as `f32`: `0.2_f32`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #154024 <https://github.com/rust-lang/rust/issues/154024>
[INFO] [stdout]     = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/api/ws.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | async fn handle_socket(mut socket: WebSocket, state: ApiState) {
[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: unused variable: `tool_name`
[INFO] [stdout]    --> src/analyzer/deepseek.rs:230:5
[INFO] [stdout]     |
[INFO] [stdout] 230 |     tool_name: &str,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tool_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/analyzer/rules.rs:1743:13
[INFO] [stdout]      |
[INFO] [stdout] 1743 |         let mut rule = CpuUsageHigh::new(80.0, 60.0);
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/analyzer/rules.rs:1753:13
[INFO] [stdout]      |
[INFO] [stdout] 1753 |         let mut rule = CpuUsageHigh::new(80.0, 60.0);
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/analyzer/rules.rs:1764:13
[INFO] [stdout]      |
[INFO] [stdout] 1764 |         let mut rule = CpuUsageHigh::new(80.0, 60.0);
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/analyzer/rules.rs:1777:13
[INFO] [stdout]      |
[INFO] [stdout] 1777 |         let mut rule = ProcessFdHigh::new(50); // threshold=50, 2x=100
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stat_collector_failures`
[INFO] [stdout]    --> src/lib.rs:346:5
[INFO] [stdout]     |
[INFO] [stdout] 346 |     stat_collector_failures: Arc<std::sync::atomic::AtomicU64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stat_collector_failures`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sas2`
[INFO] [stdout]    --> src/lib.rs:427:33
[INFO] [stdout]     |
[INFO] [stdout] 427 | ...                   let sas2 = stat_alerts_suppressed.clone();
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_sas2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 16.17s
[INFO] running `Command { std: "docker" "inspect" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]  --> src/analyzer/context.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::time::Duration;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `MetricEnvelope` and `SourceId`
[INFO] [stderr]   --> src/analyzer/context.rs:11:38
[INFO] [stderr]    |
[INFO] [stderr] 11 | use crate::event_bus::{Alert, Event, MetricEnvelope, MetricPayload, SourceId};
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^^                 ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DateTime` and `Utc`
[INFO] [stderr]   --> src/analyzer/governor.rs:13:14
[INFO] [stderr]    |
[INFO] [stderr] 13 | use chrono::{DateTime, Utc};
[INFO] [stderr]    |              ^^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::collectors::cpu_mem::CpuMemSnapshot`
[INFO] [stderr]   --> src/analyzer/rules.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::collectors::cpu_mem::CpuMemSnapshot;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::collectors::disk::DiskSnapshot`
[INFO] [stderr]   --> src/analyzer/rules.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use crate::collectors::disk::DiskSnapshot;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::collectors::filesystem::FilesystemSnapshot`
[INFO] [stderr]   --> src/analyzer/rules.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use crate::collectors::filesystem::FilesystemSnapshot;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::collectors::network::NetworkSnapshot`
[INFO] [stderr]   --> src/analyzer/rules.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use crate::collectors::network::NetworkSnapshot;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ProcInfo` and `ProcessSnapshot`
[INFO] [stderr]   --> src/analyzer/rules.rs:16:34
[INFO] [stderr]    |
[INFO] [stderr] 16 | use crate::collectors::process::{ProcInfo, ProcessSnapshot};
[INFO] [stderr]    |                                  ^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `L2ApprovalEvent`, `Severity`, `ToolCallResult`, and `ToolStatus`
[INFO] [stderr]   --> src/lib.rs:25:42
[INFO] [stderr]    |
[INFO] [stderr] 25 |     Alert, AlertStatus, Event, EventBus, L2ApprovalEvent, MetricEnvelope, MetricPayload,
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^^
[INFO] [stderr] 26 |     ReasoningStage, ReasoningStep, RiskLevel, Severity, SuggestedAction, ToolCallRequest,
[INFO] [stderr]    |                                               ^^^^^^^^
[INFO] [stderr] 27 |     ToolCallResult, ToolStatus, fingerprint_alert,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `EnrichedContext`
[INFO] [stderr]   --> src/lib.rs:29:32
[INFO] [stderr]    |
[INFO] [stderr] 29 | use crate::analyzer::context::{EnrichedContext, build_context};
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `LlmAnalysis` and `ToolCallSpec`
[INFO] [stderr]   --> src/lib.rs:30:49
[INFO] [stderr]    |
[INFO] [stderr] 30 | use crate::analyzer::deepseek::{DeepSeekClient, LlmAnalysis, LlmBackend, MockResponses, ToolCallSpec};
[INFO] [stderr]    |                                                 ^^^^^^^^^^^                             ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `OfflineTemplates`
[INFO] [stderr]   --> src/lib.rs:31:62
[INFO] [stderr]    |
[INFO] [stderr] 31 | use crate::analyzer::governor::{AlertGovernor, GateDecision, OfflineTemplates};
[INFO] [stderr]    |                                                              ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ApprovalOutcome`
[INFO] [stderr]   --> src/lib.rs:35:47
[INFO] [stderr]    |
[INFO] [stderr] 35 | use crate::actuator::token::{ApprovalGateway, ApprovalOutcome};
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From<f64>` is not satisfied
[INFO] [stderr]    --> src/analyzer/deepseek.rs:148:26
[INFO] [stderr]     |
[INFO] [stderr] 148 |             .temperature(0.2)
[INFO] [stderr]     |                          ^^^ help: explicitly specify the type as `f32`: `0.2_f32`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #154024 <https://github.com/rust-lang/rust/issues/154024>
[INFO] [stderr]     = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/api/ws.rs:15:24
[INFO] [stderr]    |
[INFO] [stderr] 15 | async fn handle_socket(mut socket: WebSocket, state: ApiState) {
[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: unused variable: `tool_name`
[INFO] [stderr]    --> src/analyzer/deepseek.rs:230:5
[INFO] [stderr]     |
[INFO] [stderr] 230 |     tool_name: &str,
[INFO] [stderr]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tool_name`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `stat_collector_failures`
[INFO] [stderr]    --> src/lib.rs:346:5
[INFO] [stderr]     |
[INFO] [stderr] 346 |     stat_collector_failures: Arc<std::sync::atomic::AtomicU64>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stat_collector_failures`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sas2`
[INFO] [stderr]    --> src/lib.rs:427:33
[INFO] [stderr]     |
[INFO] [stderr] 427 | ...                   let sas2 = stat_alerts_suppressed.clone();
[INFO] [stderr]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_sas2`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/analyzer/rules.rs:1743:13
[INFO] [stderr]      |
[INFO] [stderr] 1743 |         let mut rule = CpuUsageHigh::new(80.0, 60.0);
[INFO] [stderr]      |             ----^^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/analyzer/rules.rs:1753:13
[INFO] [stderr]      |
[INFO] [stderr] 1753 |         let mut rule = CpuUsageHigh::new(80.0, 60.0);
[INFO] [stderr]      |             ----^^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/analyzer/rules.rs:1764:13
[INFO] [stderr]      |
[INFO] [stderr] 1764 |         let mut rule = CpuUsageHigh::new(80.0, 60.0);
[INFO] [stderr]      |             ----^^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/analyzer/rules.rs:1777:13
[INFO] [stderr]      |
[INFO] [stderr] 1777 |         let mut rule = ProcessFdHigh::new(50); // threshold=50, 2x=100
[INFO] [stderr]      |             ----^^^^
[INFO] [stderr]      |             |
[INFO] [stderr]      |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: `sysmonitor-rs` (lib) generated 18 warnings (run `cargo fix --lib -p sysmonitor-rs` to apply 18 suggestions)
[INFO] [stderr] warning: `sysmonitor-rs` (lib test) generated 22 warnings (18 duplicates) (run `cargo fix --lib -p sysmonitor-rs --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sysmonitor_rs-6150c917dbb84539)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test analyzer::governor::tests::test_circuit_breaker_opens_after_failures ... ok
[INFO] [stdout] test analyzer::governor::tests::test_template_interpolation ... ok
[INFO] [stdout] test analyzer::governor::tests::test_dedup_suppresses_within_window ... ok
[INFO] [stdout] test analyzer::deepseek::tests::test_mock_responses_parse_minimal ... ok
[INFO] [stdout] test analyzer::rules::tests::test_cpu_high_triggers_alarm ... ok
[INFO] [stdout] test analyzer::rules::tests::test_oom_precursor_no_trigger_when_safe ... ok
[INFO] [stdout] test analyzer::rules::tests::test_cpu_recovery ... ok
[INFO] [stdout] test analyzer::rules::tests::test_fd_massive_triggers_immediate ... ok
[INFO] [stdout] test analyzer::rules::tests::test_cpu_hysteresis_no_duplicate ... ok
[INFO] [stdout] test analyzer::rules::tests::test_oom_precursor_triggers ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sysmonitor_rs-58d075cdb25e12e1)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests sysmonitor_rs
[INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
[INFO] [stdout] 
[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] [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" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa", kill_on_drop: false }`
[INFO] [stdout] 6c62a9fab9d3b8327d27f2551c2b5ea0a0aa46d13980f4796ab74e16cb2deafa
