[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] checking wu7947848-code/sysmonitor-rs against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwu7947848-code%2Fsysmonitor-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wu7947848-code/sysmonitor-rs on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "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" "+011c518242557d21690f7936b5812318dc2fec47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 62f71c5d42e0f589f9f2ee8bf682e4d69ee35d5c9a000680eb68420bd40a405f
[INFO] running `Command { std: "docker" "start" "62f71c5d42e0f589f9f2ee8bf682e4d69ee35d5c9a000680eb68420bd40a405f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62f71c5d42e0f589f9f2ee8bf682e4d69ee35d5c9a000680eb68420bd40a405f", 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" "62f71c5d42e0f589f9f2ee8bf682e4d69ee35d5c9a000680eb68420bd40a405f" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62f71c5d42e0f589f9f2ee8bf682e4d69ee35d5c9a000680eb68420bd40a405f", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "62f71c5d42e0f589f9f2ee8bf682e4d69ee35d5c9a000680eb68420bd40a405f" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking typenum v1.20.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling openssl v0.10.80
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]    Compiling openssl-sys v0.9.116
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking rayon-core v1.13.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]     Checking winnow v0.7.15
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling procfs v0.17.0
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]     Checking async-convert v1.0.0
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking procfs-core v0.17.0
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling validator_derive v0.18.2
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking sysinfo v0.32.1
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking validator v0.18.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking h2 v0.4.14
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tower-http v0.6.10
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking backoff v0.4.0
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking reqwest-eventsource v0.6.0
[INFO] [stderr]     Checking async-openai v0.26.0
[INFO] [stderr]     Checking 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: 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: 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: 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: `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] [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 03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.29.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "62f71c5d42e0f589f9f2ee8bf682e4d69ee35d5c9a000680eb68420bd40a405f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62f71c5d42e0f589f9f2ee8bf682e4d69ee35d5c9a000680eb68420bd40a405f", kill_on_drop: false }`
[INFO] [stdout] 62f71c5d42e0f589f9f2ee8bf682e4d69ee35d5c9a000680eb68420bd40a405f
