[INFO] cloning repository https://github.com/CyberSecurityUP/ironclaw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CyberSecurityUP/ironclaw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCyberSecurityUP%2Fironclaw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCyberSecurityUP%2Fironclaw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbd8b17efd0d037d8fa9991f79dafcbecf7e650d [INFO] checking CyberSecurityUP/ironclaw against master#0028f344ce9f64766259577c998a1959ca1f6a0b for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCyberSecurityUP%2Fironclaw" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CyberSecurityUP/ironclaw [INFO] finished tweaking git repo https://github.com/CyberSecurityUP/ironclaw [INFO] tweaked toml for git repo https://github.com/CyberSecurityUP/ironclaw written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CyberSecurityUP/ironclaw on toolchain 0028f344ce9f64766259577c998a1959ca1f6a0b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CyberSecurityUP/ironclaw 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" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hostname v0.4.2 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.13.0 [INFO] [stderr] Downloaded opentelemetry-otlp v0.14.0 [INFO] [stderr] Downloaded opentelemetry_sdk v0.21.2 [INFO] [stderr] Downloaded lz4_flex v0.11.5 [INFO] [stderr] Downloaded async-compression v0.4.39 [INFO] [stderr] Downloaded opentelemetry v0.21.0 [INFO] [stderr] Downloaded tracing-opentelemetry v0.22.0 [INFO] [stderr] Downloaded opentelemetry-proto v0.4.0 [INFO] [stderr] Downloaded rusqlite v0.31.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d6ad34858b45a5648bf2ed5d4d5da84dd7859b888fccf1a570bf4711da071dd [INFO] running `Command { std: "docker" "start" "-a" "2d6ad34858b45a5648bf2ed5d4d5da84dd7859b888fccf1a570bf4711da071dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d6ad34858b45a5648bf2ed5d4d5da84dd7859b888fccf1a570bf4711da071dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6ad34858b45a5648bf2ed5d4d5da84dd7859b888fccf1a570bf4711da071dd", kill_on_drop: false }` [INFO] [stdout] 2d6ad34858b45a5648bf2ed5d4d5da84dd7859b888fccf1a570bf4711da071dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 705a05d781448374aa01417f77173a011dff07aefd48fefb289310d1b38f8c12 [INFO] running `Command { std: "docker" "start" "-a" "705a05d781448374aa01417f77173a011dff07aefd48fefb289310d1b38f8c12", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking deranged v0.5.6 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking compression-codecs v0.4.36 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking clap_lex v1.0.0 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking clap_builder v4.5.59 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking twox-hash v2.1.2 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking shell-words v1.1.1 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking lz4_flex v0.11.5 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking hostname v0.4.2 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking opentelemetry v0.21.0 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.13.0 [INFO] [stderr] Checking clap v4.5.59 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking moka v0.12.13 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking opentelemetry_sdk v0.21.2 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking governor v0.6.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tracing-opentelemetry v0.22.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking async-compression v0.4.39 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stderr] Checking opentelemetry-proto v0.4.0 [INFO] [stderr] Checking opentelemetry-otlp v0.14.0 [INFO] [stderr] Checking ironclaw v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `sender` is never read [INFO] [stdout] --> tests/security_tests.rs:1681:9 [INFO] [stdout] | [INFO] [stdout] 1679 | struct MockChannelMessage { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 1680 | channel_type: &'static str, [INFO] [stdout] 1681 | sender: &'static str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/engine.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [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: `Deserialize` and `Serialize` [INFO] [stdout] --> src/core/multimodal.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/core/multimodal.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/memory/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/memory/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/cli/onboard.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/observability/mod.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/plugins/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/plugins/mod.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/skills/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/skills/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/skills/mod.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScanFinding`, `ScanRecommendation`, and `ScanSeverity` [INFO] [stdout] --> src/skills/mod.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub use scanner::{ScanFinding, ScanReport, ScanRecommendation, ScanSeverity, SkillScanner}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64` and `Ordering` [INFO] [stdout] --> src/antitheft/mod.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/network/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/network/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/gateway/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/gateway/mod.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio::sync::{broadcast, watch, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/workflow/mod.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/engine.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [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: `Deserialize` and `Serialize` [INFO] [stdout] --> src/core/multimodal.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/core/multimodal.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/memory/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/memory/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/cli/onboard.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/observability/mod.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/plugins/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/plugins/mod.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/skills/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/skills/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/skills/mod.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScanFinding`, `ScanRecommendation`, and `ScanSeverity` [INFO] [stdout] --> src/skills/mod.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub use scanner::{ScanFinding, ScanReport, ScanRecommendation, ScanSeverity, SkillScanner}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64` and `Ordering` [INFO] [stdout] --> src/antitheft/mod.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/network/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/network/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/gateway/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/gateway/mod.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio::sync::{broadcast, watch, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/workflow/mod.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/engine.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut registry = ToolRegistry::new(); [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/core/engine.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut registry = ToolRegistry::new(); [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: associated items `from_toml` and `to_toml` are never used [INFO] [stdout] --> src/core/config.rs:1283:12 [INFO] [stdout] | [INFO] [stdout] 1256 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1283 | pub fn from_toml(toml_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1291 | pub fn to_toml(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CostReportEntry` is never constructed [INFO] [stdout] --> src/core/cost.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct CostReportEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CostReport` is never constructed [INFO] [stdout] --> src/core/cost.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct CostReport { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_report` is never used [INFO] [stdout] --> src/core/cost.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl CostTracker { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_report(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `usd_to_cents` is never used [INFO] [stdout] --> src/core/cost.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn usd_to_cents(usd: f64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process_message`, `is_session_active`, `active_provider`, and `active_model` are never used [INFO] [stdout] --> src/core/engine.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 115 | impl Engine { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub async fn process_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn is_session_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn active_provider(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn active_model(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPPORTED_IMAGE_TYPES` is never used [INFO] [stdout] --> src/core/multimodal.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const SUPPORTED_IMAGE_TYPES: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPPORTED_AUDIO_TYPES` is never used [INFO] [stdout] --> src/core/multimodal.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const SUPPORTED_AUDIO_TYPES: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPPORTED_VIDEO_TYPES` is never used [INFO] [stdout] --> src/core/multimodal.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SUPPORTED_VIDEO_TYPES: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_IMAGE_SIZE` is never used [INFO] [stdout] --> src/core/multimodal.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const MAX_IMAGE_SIZE: usize = 10 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_AUDIO_SIZE` is never used [INFO] [stdout] --> src/core/multimodal.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const MAX_AUDIO_SIZE: usize = 25 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_media_type` is never used [INFO] [stdout] --> src/core/multimodal.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn detect_media_type(path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_file_as_content_block` is never used [INFO] [stdout] --> src/core/multimodal.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn load_file_as_content_block(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_content_block` is never used [INFO] [stdout] --> src/core/multimodal.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn validate_content_block(block: &ContentBlock) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_anthropic_format` is never used [INFO] [stdout] --> src/core/multimodal.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn to_anthropic_format(blocks: &[ContentBlock]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_openai_format` is never used [INFO] [stdout] --> src/core/multimodal.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn to_openai_format(blocks: &[ContentBlock]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_text` is never used [INFO] [stdout] --> src/core/multimodal.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn extract_text(blocks: &[ContentBlock]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `media_summary` is never used [INFO] [stdout] --> src/core/multimodal.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn media_summary(blocks: &[ContentBlock]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `required_permissions` and `is_cacheable` are never used [INFO] [stdout] --> src/core/tool.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 42 | fn required_permissions(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn is_cacheable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuiltinTools` is never used [INFO] [stdout] --> src/core/tool.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum BuiltinTools { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `tool_name`, `default_risk`, and `all` are never used [INFO] [stdout] --> src/core/tool.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl BuiltinTools { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 88 | /// The string name used for function calling. [INFO] [stdout] 89 | pub fn tool_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn default_risk(&self) -> RiskLevel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn all() -> &'static [BuiltinTools] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register` and `list` are never used [INFO] [stdout] --> src/core/tool.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl ToolRegistry { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn register(&mut self, tool: Box) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn list(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `requires_approval` is never used [INFO] [stdout] --> src/core/types.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl RiskLevel { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 34 | /// Returns `true` if this risk level requires human approval by default. [INFO] [stdout] 35 | pub fn requires_approval(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/types.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl ContentBlock { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 182 | /// Create a text block. [INFO] [stdout] 183 | pub fn text(s: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn image_base64(data: String, media_type: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn image_url(url: String, media_type: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn audio_base64(data: String, media_type: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn video_url(url: String, media_type: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn is_media(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn as_text(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn estimated_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `has_permission` are never used [INFO] [stdout] --> src/core/types.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 329 | impl SecurityContext { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 330 | /// Create a new security context with minimal privileges. [INFO] [stdout] 331 | pub fn new(session_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn has_permission(&self, perm: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/types.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 391 | impl ProviderUsage { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 392 | /// Build a new `ProviderUsage` computing totals automatically. [INFO] [stdout] 393 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChannelMessage` is never constructed [INFO] [stdout] --> src/core/types.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 426 | pub struct ChannelMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionInfo` is never constructed [INFO] [stdout] --> src/core/types.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 463 | pub struct SessionInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionUsageSummary` is never constructed [INFO] [stdout] --> src/core/types.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | pub struct SessionUsageSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `record` is never used [INFO] [stdout] --> src/core/types.rs:519:12 [INFO] [stdout] | [INFO] [stdout] 517 | impl SessionUsageSummary { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 518 | /// Accumulate a single provider usage record into this summary. [INFO] [stdout] 519 | pub fn record(&mut self, usage: &ProviderUsage) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_OUTPUT_BYTES` is never used [INFO] [stdout] --> src/sandbox/mod.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const MAX_OUTPUT_BYTES: usize = 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PIDS_LIMIT` is never used [INFO] [stdout] --> src/sandbox/mod.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const DEFAULT_PIDS_LIMIT: u32 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SANDBOX_UID` is never used [INFO] [stdout] --> src/sandbox/mod.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const SANDBOX_UID: u32 = 65534; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SandboxBackend` is never used [INFO] [stdout] --> src/sandbox/mod.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait SandboxBackend: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxResult` is never constructed [INFO] [stdout] --> src/sandbox/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SandboxResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceUsage` is never constructed [INFO] [stdout] --> src/sandbox/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ResourceUsage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NetworkPolicy` is never used [INFO] [stdout] --> src/sandbox/mod.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum NetworkPolicy { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SENSITIVE_ENV_KEYWORDS` is never used [INFO] [stdout] --> src/sandbox/mod.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | const SENSITIVE_ENV_KEYWORDS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_sensitive_env` is never used [INFO] [stdout] --> src/sandbox/mod.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn is_sensitive_env(key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_output` is never used [INFO] [stdout] --> src/sandbox/mod.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn truncate_output(s: String, max: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DockerSandbox` is never constructed [INFO] [stdout] --> src/sandbox/mod.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct DockerSandbox { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build_docker_cmd` are never used [INFO] [stdout] --> src/sandbox/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl DockerSandbox { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 131 | pub fn new(config: &SandboxConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn build_docker_cmd(&self, command: &str, env: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BubblewrapSandbox` is never constructed [INFO] [stdout] --> src/sandbox/mod.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct BubblewrapSandbox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build_bwrap_cmd` are never used [INFO] [stdout] --> src/sandbox/mod.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 324 | impl BubblewrapSandbox { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 325 | pub fn new(config: &SandboxConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn build_bwrap_cmd(&self, command: &str, env: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NativeSandbox` is never constructed [INFO] [stdout] --> src/sandbox/mod.rs:474:12 [INFO] [stdout] | [INFO] [stdout] 474 | pub struct NativeSandbox; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NATIVE_WHITELIST` is never used [INFO] [stdout] --> src/sandbox/mod.rs:477:7 [INFO] [stdout] | [INFO] [stdout] 477 | const NATIVE_WHITELIST: &[&str] = &["PATH", "HOME", "LANG", "TERM", "USER", "SHELL", "TMPDIR"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sandbox` is never used [INFO] [stdout] --> src/sandbox/mod.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | pub async fn create_sandbox(config: &SandboxConfig) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SandboxLevel` is never used [INFO] [stdout] --> src/sandbox/profiles.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum SandboxLevel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/sandbox/profiles.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl SandboxLevel { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 54 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxProfile` is never constructed [INFO] [stdout] --> src/sandbox/profiles.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct SandboxProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilesystemAccess` is never constructed [INFO] [stdout] --> src/sandbox/profiles.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FilesystemAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkAccess` is never constructed [INFO] [stdout] --> src/sandbox/profiles.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct NetworkAccess { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceLimits` is never constructed [INFO] [stdout] --> src/sandbox/profiles.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct ResourceLimits { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvPolicy` is never constructed [INFO] [stdout] --> src/sandbox/profiles.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct EnvPolicy { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sandbox/profiles.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl SandboxProfile { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 182 | /// Create a profile from a named level with built-in defaults. [INFO] [stdout] 183 | pub fn preset(level: SandboxLevel) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn minimal() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn standard() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn elevated() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn unrestricted() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn merge_with(&mut self, overrides: &SandboxProfileOverride) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn to_sandbox_config(&self, base: &SandboxConfig) -> SandboxConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxProfileOverride` is never constructed [INFO] [stdout] --> src/sandbox/profiles.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub struct SandboxProfileOverride { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxProfileResolver` is never constructed [INFO] [stdout] --> src/sandbox/profiles.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct SandboxProfileResolver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sandbox/profiles.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 398 | impl SandboxProfileResolver { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 399 | pub fn new(default_level: SandboxLevel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn from_config(entries: &[SandboxProfileEntry]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn resolve(&self, skill_name: &str) -> SandboxProfile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn resolve_default(&self) -> SandboxProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn register_custom(&mut self, name: &str, profile: SandboxProfile) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn set_skill_level(&mut self, skill: &str, level: SandboxLevel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | pub fn list_assignments(&self) -> Vec<(&str, SandboxLevel)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxProfileEntry` is never constructed [INFO] [stdout] --> src/sandbox/profiles.rs:501:12 [INFO] [stdout] | [INFO] [stdout] 501 | pub struct SandboxProfileEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxProfilesConfig` is never constructed [INFO] [stdout] --> src/sandbox/profiles.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | pub struct SandboxProfilesConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_standard` is never used [INFO] [stdout] --> src/sandbox/profiles.rs:539:4 [INFO] [stdout] | [INFO] [stdout] 539 | fn default_standard() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HIGH_RISK_PATTERNS` is never used [INFO] [stdout] --> src/guardian/mod.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | const HIGH_RISK_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `classify_risk` is never used [INFO] [stdout] --> src/guardian/mod.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl CommandGuardian { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn classify_risk(&self, command: &str) -> RiskLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fs_policy` and `net_policy` are never read [INFO] [stdout] --> src/rbac/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Policy { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | fs_policy: FilesystemPolicy, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | /// Network access control [INFO] [stdout] 25 | net_policy: NetworkPolicy, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tool_name`, `require_approval`, and `required_permissions` are never read [INFO] [stdout] --> src/rbac/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ToolAccess { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 39 | pub tool_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | pub enabled: bool, [INFO] [stdout] 41 | pub require_approval: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub rate_limit: Option, [INFO] [stdout] 43 | pub required_permissions: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolAccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read_allow`, `write_allow`, and `deny` are never read [INFO] [stdout] --> src/rbac/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct FilesystemPolicy { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 67 | read_allow: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 68 | write_allow: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | deny: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilesystemPolicy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `allow_domains`, `block_domains`, `allow_private`, and `max_requests_per_hour` are never read [INFO] [stdout] --> src/rbac/mod.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct NetworkPolicy { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 74 | allow_domains: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | block_domains: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | allow_private: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 77 | max_requests_per_hour: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkPolicy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `require_approval_high_risk` and `max_concurrent` are never read [INFO] [stdout] --> src/rbac/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | struct SystemPolicy { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | allow_shell: bool, [INFO] [stdout] 83 | require_approval_high_risk: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | max_concurrent: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemPolicy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_fs_read`, `check_fs_write`, and `check_network_access` are never used [INFO] [stdout] --> src/rbac/mod.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 156 | impl Policy { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn check_fs_read(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn check_fs_write(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn check_network_access(&self, domain: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pattern` is never read [INFO] [stdout] --> src/rbac/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Pattern { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 91 | pattern: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `matches`, `glob_match`, and `match_impl` are never used [INFO] [stdout] --> src/rbac/mod.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 94 | impl Pattern { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn matches(&self, path: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn glob_match(pattern: &str, text: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn match_impl(p: &[char], t: &[char], pi: usize, ti: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryEntry` is never constructed [INFO] [stdout] --> src/memory/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct MemoryEntry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoreStats` is never constructed [INFO] [stdout] --> src/memory/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct StoreStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `retrieve`, `search`, `delete`, `list_contexts`, `compact`, and `stats` are never used [INFO] [stdout] --> src/memory/mod.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait MemoryStore: Send + Sync { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 64 | async fn retrieve(&self, key: &str, context: &str) -> Result>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | async fn search( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | async fn delete(&self, key: &str, context: &str) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | async fn list_contexts(&self) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | async fn compact(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | async fn stats(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context_isolation` is never read [INFO] [stdout] --> src/memory/mod.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct EncryptedSqliteStore { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | context_isolation: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `decrypt` and `deserialize_entry` are never used [INFO] [stdout] --> src/memory/mod.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl EncryptedSqliteStore { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | fn decrypt(&self, ciphertext: &[u8], nonce: &[u8; 12]) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn deserialize_entry(data: &[u8]) -> Result<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filter_search_results` is never used [INFO] [stdout] --> src/memory/mod.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 464 | impl EncryptedSqliteStore { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 465 | /// Helper: decrypt rows and perform full-text keyword matching. [INFO] [stdout] 466 | fn filter_search_results( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostgresStore` is never constructed [INFO] [stdout] --> src/memory/mod.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | pub struct PostgresStore { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/mod.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 536 | impl PostgresStore { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 537 | pub fn new(connection_string: &str, pool_size: usize, encryption_key: [u8; 32]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RedisStore` is never constructed [INFO] [stdout] --> src/memory/mod.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | pub struct RedisStore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/mod.rs:592:12 [INFO] [stdout] | [INFO] [stdout] 591 | impl RedisStore { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 592 | pub fn new(url: &str, prefix: &str, encryption_key: [u8; 32]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_entries` is never read [INFO] [stdout] --> src/memory/mod.rs:643:5 [INFO] [stdout] | [INFO] [stdout] 640 | pub struct FileStore { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 643 | max_entries: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_cost_per_1k` and `output_cost_per_1k` are never read [INFO] [stdout] --> src/providers/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct CostTracker { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | input_cost_per_1k: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | output_cost_per_1k: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CostTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_cost_usd` is never used [INFO] [stdout] --> src/providers/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl CostTracker { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn total_cost_usd(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `model`, `stream_chat`, `models`, `health_check`, and `cost_per_1k_tokens` are never used [INFO] [stdout] --> src/providers/mod.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait Provider: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 84 | /// Human-readable provider identifier (e.g. `"anthropic"`). [INFO] [stdout] 85 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn model(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | async fn stream_chat(&self, messages: &[Message], tools: &[Value]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | async fn models(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | async fn health_check(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn cost_per_1k_tokens(&self) -> CostSchedule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cost` is never read [INFO] [stdout] --> src/providers/mod.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct OpenAiCompatibleProvider { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 201 | cost: CostSchedule, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cost` is never read [INFO] [stdout] --> src/providers/mod.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct AnthropicProvider { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 401 | cost: CostSchedule, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cost` is never read [INFO] [stdout] --> src/providers/mod.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 603 | pub struct GoogleProvider { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 610 | cost: CostSchedule, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cost` is never read [INFO] [stdout] --> src/providers/mod.rs:823:5 [INFO] [stdout] | [INFO] [stdout] 816 | pub struct CohereProvider { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 823 | cost: CostSchedule, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `region`, `model`, `max_tokens`, `timeout_secs`, and `cost` are never read [INFO] [stdout] --> src/providers/mod.rs:933:5 [INFO] [stdout] | [INFO] [stdout] 932 | pub struct BedrockProvider { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 933 | region: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 934 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 935 | max_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 936 | timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 937 | cost: CostSchedule, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_id`, `location`, `model`, `max_tokens`, `timeout_secs`, and `cost` are never read [INFO] [stdout] --> src/providers/mod.rs:1042:5 [INFO] [stdout] | [INFO] [stdout] 1041 | pub struct VertexAiProvider { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 1042 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1043 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1044 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1045 | max_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1046 | timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1047 | cost: CostSchedule, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cost` and `cost_tracker` are never read [INFO] [stdout] --> src/providers/mod.rs:1096:5 [INFO] [stdout] | [INFO] [stdout] 1090 | pub struct HuggingFaceProvider { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1096 | cost: CostSchedule, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1097 | cost_tracker: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cost` is never read [INFO] [stdout] --> src/providers/mod.rs:1177:5 [INFO] [stdout] | [INFO] [stdout] 1172 | pub struct ReplicateProvider { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1177 | cost: CostSchedule, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cost` is never read [INFO] [stdout] --> src/providers/mod.rs:1263:5 [INFO] [stdout] | [INFO] [stdout] 1257 | pub struct CloudflareProvider { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1263 | cost: CostSchedule, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `available_providers` is never used [INFO] [stdout] --> src/providers/mod.rs:1650:12 [INFO] [stdout] | [INFO] [stdout] 1602 | impl ProviderFactory { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1650 | pub fn available_providers() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_from_config` is never used [INFO] [stdout] --> src/observability/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn init_from_config(config: &ObservabilityConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetricsCollector` is never constructed [INFO] [stdout] --> src/observability/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct MetricsCollector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/observability/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl MetricsCollector { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 99 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn record_request(&self, duration_ms: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn record_tool_execution(&self, tool_name: &str, duration_ms: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn record_error(&self, kind: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn record_latency(&self, latency_ms: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn record_blocked_command(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn set_active_sessions(&self, n: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn set_memory_usage_bytes(&self, n: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn set_cache_entries(&self, n: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn prometheus_export(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn write_histogram(out: &mut String, name: &str, help: &str, samples: &[f64]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `percentile` is never used [INFO] [stdout] --> src/observability/mod.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | fn percentile(sorted: &[f64], pct: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http_client` is never read [INFO] [stdout] --> src/observability/mod.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 321 | pub struct SiemExporter { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 324 | http_client: reqwest::Client, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/observability/mod.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl SiemExporter { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn flush(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_size_bytes` is never read [INFO] [stdout] --> src/observability/mod.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 523 | pub struct AuditLog { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 526 | max_size_bytes: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_if_needed` is never used [INFO] [stdout] --> src/observability/mod.rs:678:12 [INFO] [stdout] | [INFO] [stdout] 548 | impl AuditLog { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 678 | pub fn rotate_if_needed(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExternalLogFormat` is never used [INFO] [stdout] --> src/observability/mod.rs:768:10 [INFO] [stdout] | [INFO] [stdout] 768 | pub enum ExternalLogFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExternalLogConfig` is never constructed [INFO] [stdout] --> src/observability/mod.rs:785:12 [INFO] [stdout] | [INFO] [stdout] 785 | pub struct ExternalLogConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_ext_batch` is never used [INFO] [stdout] --> src/observability/mod.rs:801:4 [INFO] [stdout] | [INFO] [stdout] 801 | fn default_ext_batch() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_ext_interval` is never used [INFO] [stdout] --> src/observability/mod.rs:804:4 [INFO] [stdout] | [INFO] [stdout] 804 | fn default_ext_interval() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExternalLogExporter` is never constructed [INFO] [stdout] --> src/observability/mod.rs:812:12 [INFO] [stdout] | [INFO] [stdout] 812 | pub struct ExternalLogExporter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/observability/mod.rs:819:12 [INFO] [stdout] | [INFO] [stdout] 818 | impl ExternalLogExporter { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 819 | pub fn new(config: ExternalLogConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 833 | pub fn log(&self, level: &str, message: &str, fields: Option<&HashMap>) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 851 | pub fn flush(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 861 | fn format_json( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 883 | fn format_logfmt( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 903 | fn format_syslog(&self, level: &str, message: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 925 | fn send_batch(&self, batch: &[Value]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Plugin` is never used [INFO] [stdout] --> src/plugins/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginCapability` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct PluginCapability { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginManifest` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct PluginManifest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PluginPermission` is never used [INFO] [stdout] --> src/plugins/mod.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum PluginPermission { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PluginSourceKind` is never used [INFO] [stdout] --> src/plugins/mod.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum PluginSourceKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PluginState` is never used [INFO] [stdout] --> src/plugins/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | pub enum PluginState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManagedPlugin` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct ManagedPlugin { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginSandbox` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct PluginSandbox { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check`, and `sanitize_output` are never used [INFO] [stdout] --> src/plugins/mod.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl PluginSandbox { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 170 | pub fn new(permissions: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn check(&self, requested: &PluginPermission) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn sanitize_output(raw: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_ansi_codes` is never used [INFO] [stdout] --> src/plugins/mod.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn strip_ansi_codes(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginManager` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct PluginManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/plugins/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl PluginManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 215 | /// Create a new `PluginManager` that scans the given directories. [INFO] [stdout] 216 | pub fn new(plugin_dirs: Vec, allowed_permissions: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn discover(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn validate(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn load(&self, name: &str, factory: F) -> Result<()> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub async fn activate(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub async fn unload(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub async fn hot_reload(&self, name: &str, factory: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn list(&self) -> Vec<(String, PluginState)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | pub fn get_manifest(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn get_state(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillManifest` is never constructed [INFO] [stdout] --> src/skills/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SkillManifest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SkillSource` is never used [INFO] [stdout] --> src/skills/mod.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum SkillSource { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VerifyResult` is never used [INFO] [stdout] --> src/skills/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum VerifyResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `require_signatures` and `trusted_keys` are never read [INFO] [stdout] --> src/skills/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct SkillVerifier { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 109 | require_signatures: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | trusted_keys: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `verify_skill`, and `load_skill` are never used [INFO] [stdout] --> src/skills/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl SkillVerifier { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 114 | pub fn new(config: &SkillsConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn verify_skill(&self, manifest: &SkillManifest, content: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn load_skill(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillLoader` is never constructed [INFO] [stdout] --> src/skills/mod.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct SkillLoader { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load`, and `load_manifest` are never used [INFO] [stdout] --> src/skills/mod.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 293 | impl SkillLoader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 294 | pub fn new(config: &SkillsConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn load(&self, path: &Path) -> Result<(SkillManifest, ScanReport)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn load_manifest(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisteredSkill` is never constructed [INFO] [stdout] --> src/skills/mod.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct RegisteredSkill { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SkillSourceAdapter` is never used [INFO] [stdout] --> src/skills/mod.rs:357:11 [INFO] [stdout] | [INFO] [stdout] 357 | pub trait SkillSourceAdapter: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenClawAdapter` is never constructed [INFO] [stdout] --> src/skills/mod.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct OpenClawAdapter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/skills/mod.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 373 | impl OpenClawAdapter { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 374 | pub fn new(registry_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZeroClawAdapter` is never constructed [INFO] [stdout] --> src/skills/mod.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | pub struct ZeroClawAdapter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/skills/mod.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 411 | impl ZeroClawAdapter { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 412 | pub fn new(index_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillRegistry` is never constructed [INFO] [stdout] --> src/skills/mod.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 442 | pub struct SkillRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/skills/mod.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 449 | impl SkillRegistry { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 450 | /// Create a new registry rooted at the given local directory. [INFO] [stdout] 451 | pub fn new(config: &SkillsConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn add_adapter(&mut self, adapter: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn discover(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 543 | pub fn install(&mut self, skill_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | pub fn get(&self, name: &str) -> Option<&RegisteredSkill> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | pub fn list(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 585 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shellexpand` is never used [INFO] [stdout] --> src/skills/mod.rs:644:4 [INFO] [stdout] | [INFO] [stdout] 644 | fn shellexpand(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommunityScanner` is never constructed [INFO] [stdout] --> src/skills/community.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CommunityScanner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `analyze`, `scan_directory`, `walk_dir`, and `quarantine` are never used [INFO] [stdout] --> src/skills/community.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl CommunityScanner { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new(quarantine_dir: &Path) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn analyze(&self, skill_dir: &Path) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn scan_directory(&self, dir: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn walk_dir( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn quarantine(&self) -> &Quarantine { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StaticAnalysisSummary` is never constructed [INFO] [stdout] --> src/skills/community.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct StaticAnalysisSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FindingSummary` is never constructed [INFO] [stdout] --> src/skills/community.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct FindingSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DependencyAnalyzer` is never constructed [INFO] [stdout] --> src/skills/community.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct DependencyAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `analyze`, `check_npm_deps`, `check_pypi_deps`, `check_cargo_deps`, and `check_typosquatting` are never used [INFO] [stdout] --> src/skills/community.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 231 | impl DependencyAnalyzer { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 232 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn analyze(&self, skill_dir: &Path) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn check_npm_deps(&self, content: &str) -> (usize, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | fn check_pypi_deps(&self, content: &str) -> (usize, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | fn check_cargo_deps(&self, content: &str) -> (usize, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | fn check_typosquatting( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edit_distance` is never used [INFO] [stdout] --> src/skills/community.rs:445:4 [INFO] [stdout] | [INFO] [stdout] 445 | fn edit_distance(a: &str, b: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReputationDatabase` is never constructed [INFO] [stdout] --> src/skills/community.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct ReputationDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_skill`, `is_known_good`, and `is_known_malicious` are never used [INFO] [stdout] --> src/skills/community.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 486 | impl ReputationDatabase { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 487 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn check_skill(&self, skill_dir: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 561 | pub fn is_known_good(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 566 | pub fn is_known_malicious(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quarantine` is never constructed [INFO] [stdout] --> src/skills/community.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | pub struct Quarantine { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuarantineEntry` is never constructed [INFO] [stdout] --> src/skills/community.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 582 | pub struct QuarantineEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QuarantineStatus` is never used [INFO] [stdout] --> src/skills/community.rs:592:10 [INFO] [stdout] | [INFO] [stdout] 592 | pub enum QuarantineStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/skills/community.rs:599:12 [INFO] [stdout] | [INFO] [stdout] 598 | impl Quarantine { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 599 | pub fn new(base_dir: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | pub fn approve(&mut self, skill_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | pub fn reject(&mut self, skill_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 659 | pub fn list_pending(&self) -> Vec<&QuarantineEntry> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 667 | pub fn base_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 672 | pub fn count_by_status(&self, status: QuarantineStatus) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommunityReport` is never constructed [INFO] [stdout] --> src/skills/community.rs:683:12 [INFO] [stdout] | [INFO] [stdout] 683 | pub struct CommunityReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommunityRecommendation` is never used [INFO] [stdout] --> src/skills/community.rs:693:10 [INFO] [stdout] | [INFO] [stdout] 693 | pub enum CommunityRecommendation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecurityIssue` is never constructed [INFO] [stdout] --> src/skills/community.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub struct SecurityIssue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IssueCategory` is never used [INFO] [stdout] --> src/skills/community.rs:721:10 [INFO] [stdout] | [INFO] [stdout] 721 | pub enum IssueCategory { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IssueSeverity` is never used [INFO] [stdout] --> src/skills/community.rs:729:10 [INFO] [stdout] | [INFO] [stdout] 729 | pub enum IssueSeverity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DependencyReport` is never constructed [INFO] [stdout] --> src/skills/community.rs:736:12 [INFO] [stdout] | [INFO] [stdout] 736 | pub struct DependencyReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Info` is never constructed [INFO] [stdout] --> src/skills/scanner.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum ScanSeverity { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanSeverity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `matched_text` is never read [INFO] [stdout] --> src/skills/scanner.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ScanFinding { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub matched_text: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/skills/scanner.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ScanReport { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 55 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_block` is never used [INFO] [stdout] --> src/skills/scanner.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl SkillScanner { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn should_block(&self, report: &ScanReport) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `credential_patterns` is never read [INFO] [stdout] --> src/antitheft/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AntiStealer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | credential_patterns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Low` is never constructed [INFO] [stdout] --> src/antitheft/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum Severity { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Severity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pattern`, `credential_type`, and `severity` are never read [INFO] [stdout] --> src/antitheft/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CredentialPattern { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 65 | pub pattern: Regex, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | pub credential_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub severity: Severity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CredentialPattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_accesses` and `network_requests` are never read [INFO] [stdout] --> src/antitheft/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct AccessTracker { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 72 | /// Recent file accesses (path → timestamp) [INFO] [stdout] 73 | file_accesses: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 74 | /// Recent network requests (domain → timestamp) [INFO] [stdout] 75 | network_requests: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccessTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/antitheft/mod.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct SensitiveAccess { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 86 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SensitiveAccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rule` and `category` are never read [INFO] [stdout] --> src/antitheft/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct Finding { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 101 | pub rule: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Finding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scan_content`, `blocked_count`, and `cleanup_expired` are never used [INFO] [stdout] --> src/antitheft/mod.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl AntiStealer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn scan_content(&self, content: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn blocked_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn cleanup_expired(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_resolved_ip` is never used [INFO] [stdout] --> src/network/mod.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl SsrfGuard { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn check_resolved_ip(&self, ip: IpAddr) -> SsrfCheckResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_action` is never read [INFO] [stdout] --> src/dlp/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DlpEngine { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | default_action: DlpAction, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warn` is never constructed [INFO] [stdout] --> src/dlp/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum DlpAction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | Warn, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DlpAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PersonalInfo` is never constructed [INFO] [stdout] --> src/dlp/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum DataType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | PersonalInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rule_id`, `data_type`, `action_taken`, `description`, and `matched_length` are never read [INFO] [stdout] --> src/dlp/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct DlpFinding { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 82 | pub rule_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 83 | pub data_type: DataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 84 | pub action_taken: DlpAction, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 85 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | pub matched_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DlpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic_auth` and `jwt_secret` are never read [INFO] [stdout] --> src/ui/mod.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct WebUiConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 330 | pub basic_auth: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 331 | /// Optional JWT secret for token validation [INFO] [stdout] 332 | pub jwt_secret: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebUiConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop`, `push_chat`, `push_status`, and `push_tools` are never used [INFO] [stdout] --> src/ui/mod.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 373 | impl WebUi { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 426 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn push_chat(&self, role: &str, content: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn push_status(&self, provider: &str, model: &str, session_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn push_tools(&self, tools: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/channels/mod.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl ChannelMessage { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 116 | /// Build a new message with a fresh UUID and current timestamp. [INFO] [stdout] 117 | pub fn new(channel_type: ChannelType, sender: &str, content: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `messages_received`, `messages_sent`, `errors`, `rate_limited`, `sanitization_hits`, and `last_activity` are never read [INFO] [stdout] --> src/channels/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChannelMetrics { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 138 | pub messages_received: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | pub messages_sent: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 140 | pub errors: AtomicU64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 141 | pub rate_limited: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 142 | pub sanitization_hits: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | pub last_activity: Mutex>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelMetrics` 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 `record_receive`, `record_send`, `record_rate_limit`, `record_error`, and `record_sanitization` are never used [INFO] [stdout] --> src/channels/mod.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 159 | impl ChannelMetrics { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 160 | /// Record that a message was received and touch the activity timestamp. [INFO] [stdout] 161 | pub async fn record_receive(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub async fn record_send(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn record_rate_limit(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn record_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn record_sanitization(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capacity`, `refill_rate`, `tokens`, and `last_refill` are never read [INFO] [stdout] --> src/channels/mod.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct RateLimiter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 195 | /// Maximum tokens (burst capacity). [INFO] [stdout] 196 | capacity: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 197 | /// Tokens added per second. [INFO] [stdout] 198 | refill_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 199 | /// Current token count. [INFO] [stdout] 200 | tokens: Mutex, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 201 | /// Last refill instant. [INFO] [stdout] 202 | last_refill: Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimiter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_acquire` is never used [INFO] [stdout] --> src/channels/mod.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 205 | impl RateLimiter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn try_acquire(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputSanitizer` is never constructed [INFO] [stdout] --> src/channels/mod.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct InputSanitizer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `sanitize` is never used [INFO] [stdout] --> src/channels/mod.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 242 | impl InputSanitizer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn sanitize(input: &str) -> (String, bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SenderValidator` is never constructed [INFO] [stdout] --> src/channels/mod.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct SenderValidator; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `validate` is never used [INFO] [stdout] --> src/channels/mod.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 316 | impl SenderValidator { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn validate(sender: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/channels/mod.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 353 | pub trait Channel: Send + Sync { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 354 | /// Human-readable name of the channel (e.g. "slack", "discord"). [INFO] [stdout] 355 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | async fn start(&self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | async fn stop(&self) -> Result<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | async fn send_message(&self, message: &ChannelMessage) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | async fn receive_messages(&self) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn is_connected(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn metrics(&self) -> &ChannelMetrics; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connected`, `metrics`, `rate_limiter`, `shutdown`, and `inbox` are never read [INFO] [stdout] --> src/channels/mod.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 384 | pub struct ChannelBase { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 385 | pub connected: AtomicBool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 386 | pub metrics: ChannelMetrics, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 387 | pub rate_limiter: RateLimiter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 388 | pub shutdown: AtomicBool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 389 | pub inbox: Mutex>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/channels/mod.rs:407:18 [INFO] [stdout] | [INFO] [stdout] 392 | impl ChannelBase { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 407 | pub async fn inbound_pipeline(&self, msg: &mut ChannelMessage) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn request_shutdown(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn is_shutdown_requested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | pub async fn drain_inbox(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | pub async fn outbound_pipeline(&self, msg: &mut ChannelMessage) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn scan_for_credentials(content: &str) -> (String, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 574 | pub fn scan_for_pii(content: &str) -> (String, bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PipeOk` is never used [INFO] [stdout] --> src/channels/mod.rs:678:7 [INFO] [stdout] | [INFO] [stdout] 678 | trait PipeOk { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 699 | / impl_channel_stub!( [INFO] [stdout] 700 | | CliChannel, ChannelType::Cli, "cli", [INFO] [stdout] | | ---------- field in this struct [INFO] [stdout] 701 | | burst = 120, per_sec = 10.0, [INFO] [stdout] 702 | | doc = "Interactive terminal channel reading from stdin and writing to stdout." [INFO] [stdout] 703 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 705 | / impl_channel_stub!( [INFO] [stdout] 706 | | SlackChannel, ChannelType::Slack, "slack", [INFO] [stdout] | | ------------ field in this struct [INFO] [stdout] 707 | | burst = 50, per_sec = 1.0, [INFO] [stdout] 708 | | doc = "Slack integration via Events API (inbound) and Web API (outbound)." [INFO] [stdout] 709 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 711 | / impl_channel_stub!( [INFO] [stdout] 712 | | DiscordChannel, ChannelType::Discord, "discord", [INFO] [stdout] | | -------------- field in this struct [INFO] [stdout] 713 | | burst = 50, per_sec = 2.0, [INFO] [stdout] 714 | | doc = "Discord bot using Gateway WebSocket for events and REST for replies." [INFO] [stdout] 715 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 717 | / impl_channel_stub!( [INFO] [stdout] 718 | | TelegramChannel, ChannelType::Telegram, "telegram", [INFO] [stdout] | | --------------- field in this struct [INFO] [stdout] 719 | | burst = 30, per_sec = 1.0, [INFO] [stdout] 720 | | doc = "Telegram Bot API with long-polling and optional webhook receiver." [INFO] [stdout] 721 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 723 | / impl_channel_stub!( [INFO] [stdout] 724 | | WhatsAppChannel, ChannelType::WhatsApp, "whatsapp", [INFO] [stdout] | | --------------- field in this struct [INFO] [stdout] 725 | | burst = 20, per_sec = 0.5, [INFO] [stdout] 726 | | doc = "WhatsApp Business API integration for message send and receive." [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | / impl_channel_stub!( [INFO] [stdout] 730 | | MatrixChannel, ChannelType::Matrix, "matrix", [INFO] [stdout] | | ------------- field in this struct [INFO] [stdout] 731 | | burst = 60, per_sec = 2.0, [INFO] [stdout] 732 | | doc = "Matrix protocol via the client-server API (/sync long-poll)." [INFO] [stdout] 733 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 735 | / impl_channel_stub!( [INFO] [stdout] 736 | | IrcChannel, ChannelType::Irc, "irc", [INFO] [stdout] | | ---------- field in this struct [INFO] [stdout] 737 | | burst = 30, per_sec = 1.0, [INFO] [stdout] 738 | | doc = "IRC protocol channel using persistent TCP connection." [INFO] [stdout] 739 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 741 | / impl_channel_stub!( [INFO] [stdout] 742 | | TeamsChannel, ChannelType::Teams, "teams", [INFO] [stdout] | | ------------ field in this struct [INFO] [stdout] 743 | | burst = 40, per_sec = 1.5, [INFO] [stdout] 744 | | doc = "Microsoft Teams integration via Bot Framework." [INFO] [stdout] 745 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 747 | / impl_channel_stub!( [INFO] [stdout] 748 | | WebUiChannel, ChannelType::WebUi, "webui", [INFO] [stdout] | | ------------ field in this struct [INFO] [stdout] 749 | | burst = 100, per_sec = 5.0, [INFO] [stdout] 750 | | doc = "Built-in web UI served over HTTP with WebSocket upgrade for live chat." [INFO] [stdout] 751 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 753 | / impl_channel_stub!( [INFO] [stdout] 754 | | RestApiChannel, ChannelType::RestApi, "rest_api", [INFO] [stdout] | | -------------- field in this struct [INFO] [stdout] 755 | | burst = 200, per_sec = 20.0, [INFO] [stdout] 756 | | doc = "REST API endpoint accepting JSON payloads (e.g. POST /v1/messages)." [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | / impl_channel_stub!( [INFO] [stdout] 760 | | WebSocketChannel, ChannelType::WebSocket, "websocket", [INFO] [stdout] | | ---------------- field in this struct [INFO] [stdout] 761 | | burst = 100, per_sec = 10.0, [INFO] [stdout] 762 | | doc = "Generic WebSocket server for bidirectional streaming." [INFO] [stdout] 763 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 765 | / impl_channel_stub!( [INFO] [stdout] 766 | | GrpcChannel, ChannelType::Grpc, "grpc", [INFO] [stdout] | | ----------- field in this struct [INFO] [stdout] 767 | | burst = 200, per_sec = 20.0, [INFO] [stdout] 768 | | doc = "gRPC server exposing a Chat service with unary and streaming RPCs." [INFO] [stdout] 769 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 771 | / impl_channel_stub!( [INFO] [stdout] 772 | | EmailChannel, ChannelType::Email, "email", [INFO] [stdout] | | ------------ field in this struct [INFO] [stdout] 773 | | burst = 10, per_sec = 0.2, [INFO] [stdout] 774 | | doc = "Email channel: SMTP for outbound, IMAP polling for inbound." [INFO] [stdout] 775 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 777 | / impl_channel_stub!( [INFO] [stdout] 778 | | LineChannel, ChannelType::Line, "line", [INFO] [stdout] | | ----------- field in this struct [INFO] [stdout] 779 | | burst = 30, per_sec = 1.0, [INFO] [stdout] 780 | | doc = "LINE Messaging API webhook receiver and push-message sender." [INFO] [stdout] 781 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 783 | / impl_channel_stub!( [INFO] [stdout] 784 | | SignalChannel, ChannelType::Signal, "signal", [INFO] [stdout] | | ------------- field in this struct [INFO] [stdout] 785 | | burst = 20, per_sec = 0.5, [INFO] [stdout] 786 | | doc = "Signal Bot integration via the Signal CLI or REST bridge." [INFO] [stdout] 787 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 789 | / impl_channel_stub!( [INFO] [stdout] 790 | | GoogleChatChannel, ChannelType::GoogleChat, "google_chat", [INFO] [stdout] | | ----------------- field in this struct [INFO] [stdout] 791 | | burst = 40, per_sec = 1.5, [INFO] [stdout] 792 | | doc = "Google Chat integration via Workspace API (Bot Framework)." [INFO] [stdout] 793 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 795 | / impl_channel_stub!( [INFO] [stdout] 796 | | BlueBubblesChannel, ChannelType::BlueBubbles, "bluebubbles", [INFO] [stdout] | | ------------------ field in this struct [INFO] [stdout] 797 | | burst = 20, per_sec = 0.5, [INFO] [stdout] 798 | | doc = "BlueBubbles bridge for iMessage on non-Apple devices." [INFO] [stdout] 799 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 801 | / impl_channel_stub!( [INFO] [stdout] 802 | | IMessageChannel, ChannelType::IMessage, "imessage", [INFO] [stdout] | | --------------- field in this struct [INFO] [stdout] 803 | | burst = 20, per_sec = 0.5, [INFO] [stdout] 804 | | doc = "Native iMessage integration via AppleScript/Messages framework (macOS only)." [INFO] [stdout] 805 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | / impl_channel_stub!( [INFO] [stdout] 808 | | ZaloChannel, ChannelType::Zalo, "zalo", [INFO] [stdout] | | ----------- field in this struct [INFO] [stdout] 809 | | burst = 30, per_sec = 1.0, [INFO] [stdout] 810 | | doc = "Zalo Official Account API integration." [INFO] [stdout] 811 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/channels/mod.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | base: ChannelBase, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 813 | / impl_channel_stub!( [INFO] [stdout] 814 | | ZaloPersonalChannel, ChannelType::ZaloPersonal, "zalo_personal", [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 815 | | burst = 20, per_sec = 0.5, [INFO] [stdout] 816 | | doc = "Zalo Personal account integration via Zalo API." [INFO] [stdout] 817 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_channel_stub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_str_name` and `all` are never used [INFO] [stdout] --> src/channels/mod.rs:825:12 [INFO] [stdout] | [INFO] [stdout] 823 | impl ChannelType { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 824 | /// Parse a channel type from a string identifier. [INFO] [stdout] 825 | pub fn from_str_name(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 852 | pub fn all() -> &'static [ChannelType] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_core_message` and `from_core_response` are never used [INFO] [stdout] --> src/channels/mod.rs:869:12 [INFO] [stdout] | [INFO] [stdout] 867 | impl ChannelMessage { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 868 | /// Convert to a core Message (User role) for the LLM conversation. [INFO] [stdout] 869 | pub fn to_core_message(&self) -> crate::core::types::Message { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | pub fn from_core_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inbound_tx`, `inbound_rx`, `running`, and `poll_interval` are never read [INFO] [stdout] --> src/channels/mod.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 969 | pub struct ChannelManager { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 973 | inbound_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 974 | /// Receiver half (handed to the engine at startup). [INFO] [stdout] 975 | inbound_rx: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 976 | /// Controls the polling loop. [INFO] [stdout] 977 | running: AtomicBool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 978 | /// Interval between receive polls. [INFO] [stdout] 979 | poll_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/channels/mod.rs:1006:18 [INFO] [stdout] | [INFO] [stdout] 982 | impl ChannelManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1006 | pub async fn take_inbound_rx(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1012 | pub async fn start_all(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1034 | pub fn spawn_poll_loop(self: &Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1049 | async fn poll_once(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1088 | pub async fn route_response(&self, message: &ChannelMessage) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1104 | pub async fn broadcast(&self, message: &ChannelMessage) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1128 | pub async fn stop_all(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1143 | pub async fn metrics_snapshot(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChannelMetricsSnapshot` is never constructed [INFO] [stdout] --> src/channels/mod.rs:1168:12 [INFO] [stdout] | [INFO] [stdout] 1168 | pub struct ChannelMetricsSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_all_defaults` is never used [INFO] [stdout] --> src/channels/mod.rs:1182:14 [INFO] [stdout] | [INFO] [stdout] 1182 | pub async fn register_all_defaults(manager: &ChannelManager) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GatewayServerConfig` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct GatewayServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_bind` is never used [INFO] [stdout] --> src/gateway/mod.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn default_bind() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_body_limit` is never used [INFO] [stdout] --> src/gateway/mod.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn default_body_limit() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_rate_limit` is never used [INFO] [stdout] --> src/gateway/mod.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn default_rate_limit() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_true` is never used [INFO] [stdout] --> src/gateway/mod.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metrics` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | struct Metrics { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiError` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | struct ApiError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_detail` are never used [INFO] [stdout] --> src/gateway/mod.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl ApiError { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 182 | fn new(status: StatusCode, message: impl Into, request_id: &str) -> (StatusCode, Json) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn with_detail( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claims` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | struct Claims { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatRequest` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 232 | struct ChatRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatResponse` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | struct ChatResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UsageInfo` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | struct UsageInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelInfo` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | struct ModelInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolInfo` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | struct ToolInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolExecRequest` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | struct ToolExecRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolExecResponse` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | struct ToolExecResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionInfo` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | struct SessionInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthResponse` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | struct HealthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillScanRequest` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | struct SkillScanRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillScanResponse` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | struct SkillScanResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillScanFinding` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | struct SkillScanFinding { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GatewayServer` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct GatewayServer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `stop`, `is_running`, `build_state`, and `build_router` are never used [INFO] [stdout] --> src/gateway/mod.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 340 | impl GatewayServer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 341 | /// Create a new gateway server from configuration. [INFO] [stdout] 342 | pub fn new(config: GatewayServerConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub async fn start(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub async fn stop(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn is_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | fn build_state(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | fn build_router(&self, state: AppState) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_middleware` is never used [INFO] [stdout] --> src/gateway/mod.rs:540:10 [INFO] [stdout] | [INFO] [stdout] 540 | async fn auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `authenticate` is never used [INFO] [stdout] --> src/gateway/mod.rs:644:4 [INFO] [stdout] | [INFO] [stdout] 644 | fn authenticate(state: &AppState, headers: &HeaderMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant_time_api_key_check` is never used [INFO] [stdout] --> src/gateway/mod.rs:694:4 [INFO] [stdout] | [INFO] [stdout] 694 | fn constant_time_api_key_check(candidate: &str, hashes: &[[u8; 32]]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_chat` is never used [INFO] [stdout] --> src/gateway/mod.rs:719:10 [INFO] [stdout] | [INFO] [stdout] 719 | async fn handle_chat( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_chat_stream` is never used [INFO] [stdout] --> src/gateway/mod.rs:752:10 [INFO] [stdout] | [INFO] [stdout] 752 | async fn handle_chat_stream( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_chat_ws` is never used [INFO] [stdout] --> src/gateway/mod.rs:783:10 [INFO] [stdout] | [INFO] [stdout] 783 | async fn handle_chat_ws( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_list_models` is never used [INFO] [stdout] --> src/gateway/mod.rs:850:10 [INFO] [stdout] | [INFO] [stdout] 850 | async fn handle_list_models() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_list_tools` is never used [INFO] [stdout] --> src/gateway/mod.rs:872:10 [INFO] [stdout] | [INFO] [stdout] 872 | async fn handle_list_tools() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_tool_execute` is never used [INFO] [stdout] --> src/gateway/mod.rs:899:10 [INFO] [stdout] | [INFO] [stdout] 899 | async fn handle_tool_execute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_list_sessions` is never used [INFO] [stdout] --> src/gateway/mod.rs:927:10 [INFO] [stdout] | [INFO] [stdout] 927 | async fn handle_list_sessions() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_health` is never used [INFO] [stdout] --> src/gateway/mod.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | async fn handle_health(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_metrics` is never used [INFO] [stdout] --> src/gateway/mod.rs:944:10 [INFO] [stdout] | [INFO] [stdout] 944 | async fn handle_metrics(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_skill_scan` is never used [INFO] [stdout] --> src/gateway/mod.rs:998:10 [INFO] [stdout] | [INFO] [stdout] 998 | async fn handle_skill_scan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HmacSha256` is never used [INFO] [stdout] --> src/auth/mod.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type HmacSha256 = Hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionToken` is never constructed [INFO] [stdout] --> src/auth/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct SessionToken { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `secret` and `ttl` are never read [INFO] [stdout] --> src/auth/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct SessionAuthenticator { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 64 | /// HMAC-SHA256 signing secret. [INFO] [stdout] 65 | secret: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | /// How long a token remains valid after issuance. [INFO] [stdout] 67 | ttl: ChronoDuration, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `issue_token`, `verify_token`, `validate_session_active`, and `sign` are never used [INFO] [stdout] --> src/auth/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl SessionAuthenticator { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn issue_token( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn verify_token(&self, token: &SessionToken) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn validate_session_active( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn sign( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionAuthConfig` is never constructed [INFO] [stdout] --> src/auth/mod.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct SessionAuthConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SESSION_HEADER` is never used [INFO] [stdout] --> src/auth/mod.rs:253:7 [INFO] [stdout] | [INFO] [stdout] 253 | const SESSION_HEADER: &str = "x-ironclaw-session"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_session_token` is never used [INFO] [stdout] --> src/auth/mod.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn extract_session_token(headers: &HeaderMap) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Workflow` is never constructed [INFO] [stdout] --> src/workflow/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Workflow { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_timeout` is never used [INFO] [stdout] --> src/workflow/mod.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn default_timeout() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowStep` is never constructed [INFO] [stdout] --> src/workflow/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct WorkflowStep { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StepAction` is never used [INFO] [stdout] --> src/workflow/mod.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum StepAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventType` is never used [INFO] [stdout] --> src/workflow/mod.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum EventType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StepCondition` is never constructed [INFO] [stdout] --> src/workflow/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct StepCondition { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConditionOp` is never used [INFO] [stdout] --> src/workflow/mod.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | pub enum ConditionOp { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetryPolicy` is never constructed [INFO] [stdout] --> src/workflow/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct RetryPolicy { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_retry_delay` is never used [INFO] [stdout] --> src/workflow/mod.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn default_retry_delay() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Trigger` is never used [INFO] [stdout] --> src/workflow/mod.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowExecution` is never constructed [INFO] [stdout] --> src/workflow/mod.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct WorkflowExecution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecutionStatus` is never used [INFO] [stdout] --> src/workflow/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | pub enum ExecutionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StepResult` is never constructed [INFO] [stdout] --> src/workflow/mod.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct StepResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StepStatus` is never used [INFO] [stdout] --> src/workflow/mod.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 247 | pub enum StepStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowEngine` is never constructed [INFO] [stdout] --> src/workflow/mod.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct WorkflowEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/workflow/mod.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 266 | impl WorkflowEngine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 267 | pub fn new(max_concurrent: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn register(&mut self, workflow: Workflow) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn unregister(&mut self, workflow_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn start_execution(&mut self, workflow_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn execute_next_step(&mut self, execution_id: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn run_to_completion(&mut self, execution_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn cancel_execution(&mut self, execution_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | pub fn get_execution(&self, execution_id: &str) -> Option<&WorkflowExecution> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn list_workflows(&self) -> Vec<&Workflow> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn get_workflow(&self, id: &str) -> Option<&Workflow> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | pub fn active_executions(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | fn validate_workflow(&self, workflow: &Workflow) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 560 | fn has_cycle(&self, steps: &[WorkflowStep]) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | fn evaluate_condition(&self, cond: &StepCondition, vars: &HashMap) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | fn resolve_template(&self, template: &str, vars: &HashMap) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 641 | fn execute_step_action( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_output_var` is never used [INFO] [stdout] --> src/workflow/mod.rs:696:4 [INFO] [stdout] | [INFO] [stdout] 696 | fn get_output_var(action: &StepAction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/workflow/mod.rs:711:4 [INFO] [stdout] | [INFO] [stdout] 711 | fn truncate(s: &str, max: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowConfig` is never constructed [INFO] [stdout] --> src/workflow/mod.rs:725:12 [INFO] [stdout] | [INFO] [stdout] 725 | pub struct WorkflowConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_max_concurrent_workflows` is never used [INFO] [stdout] --> src/workflow/mod.rs:747:4 [INFO] [stdout] | [INFO] [stdout] 747 | fn default_max_concurrent_workflows() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_workflow_timeout` is never used [INFO] [stdout] --> src/workflow/mod.rs:751:4 [INFO] [stdout] | [INFO] [stdout] 751 | fn default_workflow_timeout() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentRole` is never constructed [INFO] [stdout] --> src/agents/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct AgentRole { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_max_tokens` is never used [INFO] [stdout] --> src/agents/mod.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn default_max_tokens() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Capability` is never used [INFO] [stdout] --> src/agents/mod.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum Capability { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `researcher`, `coder`, `reviewer`, `planner`, `tester`, and `security_auditor` are never used [INFO] [stdout] --> src/agents/mod.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl AgentRole { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 79 | pub fn researcher() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn coder() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn reviewer() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn planner() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn tester() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn security_auditor() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoordinationPattern` is never used [INFO] [stdout] --> src/agents/mod.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | pub enum CoordinationPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PipelineStage` is never constructed [INFO] [stdout] --> src/agents/mod.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct PipelineStage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentMessage` is never constructed [INFO] [stdout] --> src/agents/mod.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct AgentMessage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AgentMessageType` is never used [INFO] [stdout] --> src/agents/mod.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum AgentMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SharedContext` is never constructed [INFO] [stdout] --> src/agents/mod.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct SharedContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_message`, `add_artifact`, `get_artifact`, `message_count`, and `messages_from` are never used [INFO] [stdout] --> src/agents/mod.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 236 | impl SharedContext { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 237 | pub fn new(task: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn add_message(&mut self, msg: AgentMessage) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn add_artifact(&mut self, name: &str, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn get_artifact(&self, name: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn message_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn messages_from(&self, agent_id: &str) -> Vec<&AgentMessage> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollaborationSession` is never constructed [INFO] [stdout] --> src/agents/mod.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct CollaborationSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SessionStatus` is never used [INFO] [stdout] --> src/agents/mod.rs:287:10 [INFO] [stdout] | [INFO] [stdout] 287 | pub enum SessionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentResult` is never constructed [INFO] [stdout] --> src/agents/mod.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct AgentResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentOrchestrator` is never constructed [INFO] [stdout] --> src/agents/mod.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct AgentOrchestrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/agents/mod.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 326 | impl AgentOrchestrator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 327 | pub fn new(max_concurrent: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | fn register_builtin_roles(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn register_role(&mut self, role: AgentRole) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn get_role(&self, id: &str) -> Option<&AgentRole> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn list_roles(&self) -> Vec<&AgentRole> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub fn roles_with_capability(&self, cap: &Capability) -> Vec<&AgentRole> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn start_session( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn execute_round(&mut self, session_id: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn complete_session(&mut self, session_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn cancel_session(&mut self, session_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | pub fn get_session(&self, session_id: &str) -> Option<&CollaborationSession> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | pub fn active_sessions(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | pub fn aggregate_results(&self, session_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | fn extract_agent_ids(&self, pattern: &CoordinationPattern) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 589 | fn simulate_agent_response(&self, agent_id: &str, task: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 599 | fn record_agent_contribution( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_str` is never used [INFO] [stdout] --> src/agents/mod.rs:635:4 [INFO] [stdout] | [INFO] [stdout] 635 | fn truncate_str(s: &str, max: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentsConfig` is never constructed [INFO] [stdout] --> src/agents/mod.rs:649:12 [INFO] [stdout] | [INFO] [stdout] 649 | pub struct AgentsConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_max_sessions` is never used [INFO] [stdout] --> src/agents/mod.rs:668:4 [INFO] [stdout] | [INFO] [stdout] 668 | fn default_max_sessions() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_toml` is never used [INFO] [stdout] --> src/core/config.rs:1291:12 [INFO] [stdout] | [INFO] [stdout] 1256 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1291 | pub fn to_toml(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process_message`, `is_session_active`, `active_provider`, and `active_model` are never used [INFO] [stdout] --> src/core/engine.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 115 | impl Engine { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub async fn process_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn is_session_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn active_provider(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn active_model(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `required_permissions` and `is_cacheable` are never used [INFO] [stdout] --> src/core/tool.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 42 | fn required_permissions(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn is_cacheable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChannelMessage` is never constructed [INFO] [stdout] --> src/core/types.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 426 | pub struct ChannelMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionInfo` is never constructed [INFO] [stdout] --> src/core/types.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 463 | pub struct SessionInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_OUTPUT_BYTES` is never used [INFO] [stdout] --> src/sandbox/mod.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const MAX_OUTPUT_BYTES: usize = 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute` and `is_available` are never used [INFO] [stdout] --> src/sandbox/mod.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait SandboxBackend: Send + Sync { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 44 | /// Execute a command inside the sandbox. [INFO] [stdout] 45 | async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | async fn is_available(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AllowList` is never constructed [INFO] [stdout] --> src/sandbox/mod.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum NetworkPolicy { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 86 | AllowList(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkPolicy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory_limit_mb` is never read [INFO] [stdout] --> src/sandbox/mod.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct BubblewrapSandbox { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 321 | memory_limit_mb: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NATIVE_WHITELIST` is never used [INFO] [stdout] --> src/sandbox/mod.rs:477:7 [INFO] [stdout] | [INFO] [stdout] 477 | const NATIVE_WHITELIST: &[&str] = &["PATH", "HOME", "LANG", "TERM", "USER", "SHELL", "TMPDIR"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sandbox` is never used [INFO] [stdout] --> src/sandbox/mod.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | pub async fn create_sandbox(config: &SandboxConfig) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_custom` is never used [INFO] [stdout] --> src/sandbox/profiles.rs:477:12 [INFO] [stdout] | [INFO] [stdout] 398 | impl SandboxProfileResolver { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn register_custom(&mut self, name: &str, profile: SandboxProfile) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxProfilesConfig` is never constructed [INFO] [stdout] --> src/sandbox/profiles.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | pub struct SandboxProfilesConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tool_name`, `require_approval`, and `required_permissions` are never read [INFO] [stdout] --> src/rbac/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ToolAccess { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 39 | pub tool_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | pub enabled: bool, [INFO] [stdout] 41 | pub require_approval: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub rate_limit: Option, [INFO] [stdout] 43 | pub required_permissions: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolAccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `allow_private` and `max_requests_per_hour` are never read [INFO] [stdout] --> src/rbac/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct NetworkPolicy { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | allow_private: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 77 | max_requests_per_hour: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkPolicy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `require_approval_high_risk` and `max_concurrent` are never read [INFO] [stdout] --> src/rbac/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | struct SystemPolicy { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | allow_shell: bool, [INFO] [stdout] 83 | require_approval_high_risk: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | max_concurrent: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemPolicy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostgresStore` is never constructed [INFO] [stdout] --> src/memory/mod.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | pub struct PostgresStore { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/mod.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 536 | impl PostgresStore { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 537 | pub fn new(connection_string: &str, pool_size: usize, encryption_key: [u8; 32]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RedisStore` is never constructed [INFO] [stdout] --> src/memory/mod.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | pub struct RedisStore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/mod.rs:592:12 [INFO] [stdout] | [INFO] [stdout] 591 | impl RedisStore { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 592 | pub fn new(url: &str, prefix: &str, encryption_key: [u8; 32]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `model`, `stream_chat`, `models`, and `health_check` are never used [INFO] [stdout] --> src/providers/mod.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait Provider: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 84 | /// Human-readable provider identifier (e.g. `"anthropic"`). [INFO] [stdout] 85 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn model(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | async fn stream_chat(&self, messages: &[Message], tools: &[Value]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | async fn models(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | async fn health_check(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `region`, `model`, `max_tokens`, and `timeout_secs` are never read [INFO] [stdout] --> src/providers/mod.rs:933:5 [INFO] [stdout] | [INFO] [stdout] 932 | pub struct BedrockProvider { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 933 | region: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 934 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 935 | max_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 936 | timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_id`, `location`, `model`, `max_tokens`, and `timeout_secs` are never read [INFO] [stdout] --> src/providers/mod.rs:1042:5 [INFO] [stdout] | [INFO] [stdout] 1041 | pub struct VertexAiProvider { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 1042 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1043 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1044 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1045 | max_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1046 | timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cost_tracker` is never read [INFO] [stdout] --> src/providers/mod.rs:1097:5 [INFO] [stdout] | [INFO] [stdout] 1090 | pub struct HuggingFaceProvider { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1097 | cost_tracker: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_from_config` is never used [INFO] [stdout] --> src/observability/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn init_from_config(config: &ObservabilityConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `record_latency` is never used [INFO] [stdout] --> src/observability/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl MetricsCollector { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn record_latency(&self, latency_ms: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http_client` is never read [INFO] [stdout] --> src/observability/mod.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 321 | pub struct SiemExporter { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 324 | http_client: reqwest::Client, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/observability/mod.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl SiemExporter { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn flush(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_size_bytes` is never read [INFO] [stdout] --> src/observability/mod.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 523 | pub struct AuditLog { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 526 | max_size_bytes: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_if_needed` is never used [INFO] [stdout] --> src/observability/mod.rs:678:12 [INFO] [stdout] | [INFO] [stdout] 548 | impl AuditLog { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 678 | pub fn rotate_if_needed(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `buffer`, and `http_client` are never read [INFO] [stdout] --> src/observability/mod.rs:813:5 [INFO] [stdout] | [INFO] [stdout] 812 | pub struct ExternalLogExporter { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 813 | config: ExternalLogConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 814 | buffer: Mutex>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 815 | http_client: reqwest::Client, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log`, `flush`, `format_syslog`, and `send_batch` are never used [INFO] [stdout] --> src/observability/mod.rs:833:12 [INFO] [stdout] | [INFO] [stdout] 818 | impl ExternalLogExporter { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 833 | pub fn log(&self, level: &str, message: &str, fields: Option<&HashMap>) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 851 | pub fn flush(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 903 | fn format_syslog(&self, level: &str, message: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 925 | fn send_batch(&self, batch: &[Value]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `version`, `init`, `shutdown`, and `capabilities` are never used [INFO] [stdout] --> src/plugins/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 21 | /// Unique human-readable name of the plugin. [INFO] [stdout] 22 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn version(&self) -> &str; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | async fn init(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | async fn shutdown(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn capabilities(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginCapability` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct PluginCapability { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `instance` are never read [INFO] [stdout] --> src/plugins/mod.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 152 | struct ManagedPlugin { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 156 | instance: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `allowed_permissions` is never read [INFO] [stdout] --> src/plugins/mod.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct PluginManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 211 | allowed_permissions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate`, `load`, `activate`, `unload`, and `hot_reload` are never used [INFO] [stdout] --> src/plugins/mod.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl PluginManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn validate(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn load(&self, name: &str, factory: F) -> Result<()> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub async fn activate(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub async fn unload(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub async fn hot_reload(&self, name: &str, factory: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected` and `computed` are never read [INFO] [stdout] --> src/skills/mod.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | HashMismatch { expected: String, computed: String }, [INFO] [stdout] | ------------ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VerifyResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skills/mod.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | InvalidSignature(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VerifyResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 - InvalidSignature(String), [INFO] [stdout] 90 + InvalidSignature(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_skill` is never used [INFO] [stdout] --> src/skills/mod.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl SkillVerifier { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn load_skill(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `verifier` and `scanner` are never read [INFO] [stdout] --> src/skills/mod.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct SkillLoader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 289 | verifier: SkillVerifier, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 290 | scanner: SkillScanner, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load` and `load_manifest` are never used [INFO] [stdout] --> src/skills/mod.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 293 | impl SkillLoader { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn load(&self, path: &Path) -> Result<(SkillManifest, ScanReport)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn load_manifest(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `manifest`, `path`, `scan_report`, and `active` are never read [INFO] [stdout] --> src/skills/mod.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct RegisteredSkill { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 350 | pub manifest: SkillManifest, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 351 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 352 | pub scan_report: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 353 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisteredSkill` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `discover`, and `fetch` are never used [INFO] [stdout] --> src/skills/mod.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 357 | pub trait SkillSourceAdapter: Send + Sync { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 358 | /// Human-readable name of this source. [INFO] [stdout] 359 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | fn discover(&self) -> Result>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | fn fetch(&self, skill_name: &str, dest: &Path) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `registry_url` is never read [INFO] [stdout] --> src/skills/mod.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct OpenClawAdapter { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 370 | registry_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZeroClawAdapter` is never constructed [INFO] [stdout] --> src/skills/mod.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | pub struct ZeroClawAdapter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/skills/mod.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 411 | impl ZeroClawAdapter { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 412 | pub fn new(index_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `local_dir`, `loader`, and `adapters` are never read [INFO] [stdout] --> src/skills/mod.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 442 | pub struct SkillRegistry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 443 | local_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 444 | skills: HashMap, [INFO] [stdout] 445 | loader: SkillLoader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 446 | adapters: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_adapter`, `discover`, `install`, and `get` are never used [INFO] [stdout] --> src/skills/mod.rs:477:12 [INFO] [stdout] | [INFO] [stdout] 449 | impl SkillRegistry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn add_adapter(&mut self, adapter: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn discover(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 543 | pub fn install(&mut self, skill_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | pub fn get(&self, name: &str) -> Option<&RegisteredSkill> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `quarantine` is never read [INFO] [stdout] --> src/skills/community.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CommunityScanner { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | quarantine: Quarantine, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quarantine` is never used [INFO] [stdout] --> src/skills/community.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl CommunityScanner { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn quarantine(&self) -> &Quarantine { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_dir` is never read [INFO] [stdout] --> src/skills/community.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 576 | pub struct Quarantine { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 577 | base_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_pending` and `base_dir` are never used [INFO] [stdout] --> src/skills/community.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 598 | impl Quarantine { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 659 | pub fn list_pending(&self) -> Vec<&QuarantineEntry> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 667 | pub fn base_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Info` is never constructed [INFO] [stdout] --> src/skills/scanner.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum ScanSeverity { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanSeverity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `matched_text` is never read [INFO] [stdout] --> src/skills/scanner.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ScanFinding { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub matched_text: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_block` is never used [INFO] [stdout] --> src/skills/scanner.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl SkillScanner { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn should_block(&self, report: &ScanReport) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Low` is never constructed [INFO] [stdout] --> src/antitheft/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum Severity { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Severity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_accesses` and `network_requests` are never read [INFO] [stdout] --> src/antitheft/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct AccessTracker { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 72 | /// Recent file accesses (path → timestamp) [INFO] [stdout] 73 | file_accesses: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 74 | /// Recent network requests (domain → timestamp) [INFO] [stdout] 75 | network_requests: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccessTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/antitheft/mod.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct SensitiveAccess { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 86 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SensitiveAccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `blocked_count` and `cleanup_expired` are never used [INFO] [stdout] --> src/antitheft/mod.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl AntiStealer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn blocked_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn cleanup_expired(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_action` is never read [INFO] [stdout] --> src/dlp/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DlpEngine { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | default_action: DlpAction, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warn` is never constructed [INFO] [stdout] --> src/dlp/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum DlpAction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | Warn, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DlpAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PersonalInfo` is never constructed [INFO] [stdout] --> src/dlp/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum DataType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | PersonalInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `action_taken`, `description`, and `matched_length` are never read [INFO] [stdout] --> src/dlp/mod.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct DlpFinding { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub action_taken: DlpAction, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 85 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | pub matched_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DlpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/ui/mod.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 373 | impl WebUi { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 426 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `receive_messages` are never used [INFO] [stdout] --> src/channels/mod.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 353 | pub trait Channel: Send + Sync { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 354 | /// Human-readable name of the channel (e.g. "slack", "discord"). [INFO] [stdout] 355 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | async fn receive_messages(&self) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inbox` is never read [INFO] [stdout] --> src/channels/mod.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 384 | pub struct ChannelBase { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 389 | pub inbox: Mutex>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_shutdown_requested` and `drain_inbox` are never used [INFO] [stdout] --> src/channels/mod.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 392 | impl ChannelBase { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn is_shutdown_requested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | pub async fn drain_inbox(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PipeOk` is never used [INFO] [stdout] --> src/channels/mod.rs:678:7 [INFO] [stdout] | [INFO] [stdout] 678 | trait PipeOk { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_str_name` and `all` are never used [INFO] [stdout] --> src/channels/mod.rs:825:12 [INFO] [stdout] | [INFO] [stdout] 823 | impl ChannelType { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 824 | /// Parse a channel type from a string identifier. [INFO] [stdout] 825 | pub fn from_str_name(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 852 | pub fn all() -> &'static [ChannelType] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_core_message` and `from_core_response` are never used [INFO] [stdout] --> src/channels/mod.rs:869:12 [INFO] [stdout] | [INFO] [stdout] 867 | impl ChannelMessage { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 868 | /// Convert to a core Message (User role) for the LLM conversation. [INFO] [stdout] 869 | pub fn to_core_message(&self) -> crate::core::types::Message { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | pub fn from_core_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inbound_tx`, `inbound_rx`, `running`, and `poll_interval` are never read [INFO] [stdout] --> src/channels/mod.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 969 | pub struct ChannelManager { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 973 | inbound_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 974 | /// Receiver half (handed to the engine at startup). [INFO] [stdout] 975 | inbound_rx: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 976 | /// Controls the polling loop. [INFO] [stdout] 977 | running: AtomicBool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 978 | /// Interval between receive polls. [INFO] [stdout] 979 | poll_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_inbound_rx`, `start_all`, `spawn_poll_loop`, `poll_once`, `route_response`, and `stop_all` are never used [INFO] [stdout] --> src/channels/mod.rs:1006:18 [INFO] [stdout] | [INFO] [stdout] 982 | impl ChannelManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1006 | pub async fn take_inbound_rx(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1012 | pub async fn start_all(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1034 | pub fn spawn_poll_loop(self: &Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1049 | async fn poll_once(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1088 | pub async fn route_response(&self, message: &ChannelMessage) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1128 | pub async fn stop_all(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metrics` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | struct Metrics { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claims` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | struct Claims { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatRequest` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 232 | struct ChatRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatResponse` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | struct ChatResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UsageInfo` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | struct UsageInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelInfo` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | struct ModelInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolInfo` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | struct ToolInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolExecRequest` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | struct ToolExecRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolExecResponse` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | struct ToolExecResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionInfo` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | struct SessionInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthResponse` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | struct HealthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillScanRequest` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | struct SkillScanRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillScanResponse` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | struct SkillScanResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillScanFinding` is never constructed [INFO] [stdout] --> src/gateway/mod.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | struct SkillScanFinding { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `shutdown_tx`, and `server_handle` are never read [INFO] [stdout] --> src/gateway/mod.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct GatewayServer { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 334 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 335 | shutdown_tx: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 336 | is_running: Arc, [INFO] [stdout] 337 | server_handle: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start`, `stop`, `build_state`, and `build_router` are never used [INFO] [stdout] --> src/gateway/mod.rs:352:18 [INFO] [stdout] | [INFO] [stdout] 340 | impl GatewayServer { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 352 | pub async fn start(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub async fn stop(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | fn build_state(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | fn build_router(&self, state: AppState) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_middleware` is never used [INFO] [stdout] --> src/gateway/mod.rs:540:10 [INFO] [stdout] | [INFO] [stdout] 540 | async fn auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `authenticate` is never used [INFO] [stdout] --> src/gateway/mod.rs:644:4 [INFO] [stdout] | [INFO] [stdout] 644 | fn authenticate(state: &AppState, headers: &HeaderMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_chat` is never used [INFO] [stdout] --> src/gateway/mod.rs:719:10 [INFO] [stdout] | [INFO] [stdout] 719 | async fn handle_chat( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_chat_stream` is never used [INFO] [stdout] --> src/gateway/mod.rs:752:10 [INFO] [stdout] | [INFO] [stdout] 752 | async fn handle_chat_stream( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_chat_ws` is never used [INFO] [stdout] --> src/gateway/mod.rs:783:10 [INFO] [stdout] | [INFO] [stdout] 783 | async fn handle_chat_ws( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_list_models` is never used [INFO] [stdout] --> src/gateway/mod.rs:850:10 [INFO] [stdout] | [INFO] [stdout] 850 | async fn handle_list_models() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_list_tools` is never used [INFO] [stdout] --> src/gateway/mod.rs:872:10 [INFO] [stdout] | [INFO] [stdout] 872 | async fn handle_list_tools() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_tool_execute` is never used [INFO] [stdout] --> src/gateway/mod.rs:899:10 [INFO] [stdout] | [INFO] [stdout] 899 | async fn handle_tool_execute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_list_sessions` is never used [INFO] [stdout] --> src/gateway/mod.rs:927:10 [INFO] [stdout] | [INFO] [stdout] 927 | async fn handle_list_sessions() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_health` is never used [INFO] [stdout] --> src/gateway/mod.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | async fn handle_health(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_metrics` is never used [INFO] [stdout] --> src/gateway/mod.rs:944:10 [INFO] [stdout] | [INFO] [stdout] 944 | async fn handle_metrics(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_skill_scan` is never used [INFO] [stdout] --> src/gateway/mod.rs:998:10 [INFO] [stdout] | [INFO] [stdout] 998 | async fn handle_skill_scan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowConfig` is never constructed [INFO] [stdout] --> src/workflow/mod.rs:725:12 [INFO] [stdout] | [INFO] [stdout] 725 | pub struct WorkflowConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_max_concurrent_workflows` is never used [INFO] [stdout] --> src/workflow/mod.rs:747:4 [INFO] [stdout] | [INFO] [stdout] 747 | fn default_max_concurrent_workflows() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_workflow_timeout` is never used [INFO] [stdout] --> src/workflow/mod.rs:751:4 [INFO] [stdout] | [INFO] [stdout] 751 | fn default_workflow_timeout() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "705a05d781448374aa01417f77173a011dff07aefd48fefb289310d1b38f8c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "705a05d781448374aa01417f77173a011dff07aefd48fefb289310d1b38f8c12", kill_on_drop: false }` [INFO] [stdout] 705a05d781448374aa01417f77173a011dff07aefd48fefb289310d1b38f8c12