[INFO] cloning repository https://github.com/larsontrey720/auxloclaw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/larsontrey720/auxloclaw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flarsontrey720%2Fauxloclaw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flarsontrey720%2Fauxloclaw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28ecda303553338b9d9e423107a7d2dd00ccf3f1 [INFO] checking larsontrey720/auxloclaw against da86f4d0726be475afbbffe40cb2f65741c51ad3 for pr-159877 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flarsontrey720%2Fauxloclaw" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/larsontrey720/auxloclaw [INFO] finished tweaking git repo https://github.com/larsontrey720/auxloclaw [INFO] tweaked toml for git repo https://github.com/larsontrey720/auxloclaw written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/larsontrey720/auxloclaw on toolchain da86f4d0726be475afbbffe40cb2f65741c51ad3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/larsontrey720/auxloclaw 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" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-cron-scheduler v0.10.2 [INFO] [stderr] Downloaded shellexpand v1.1.1 [INFO] [stderr] Downloaded rusqlite v0.28.0 [INFO] [stderr] Downloaded axum-extra v0.9.6 [INFO] [stderr] Downloaded libsqlite3-sys v0.25.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 97a592d23e03e8c6962ec40e99b733e9cfbb361b26d3cb495f71822f9ef44da6 [INFO] running `Command { std: "docker" "start" "97a592d23e03e8c6962ec40e99b733e9cfbb361b26d3cb495f71822f9ef44da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97a592d23e03e8c6962ec40e99b733e9cfbb361b26d3cb495f71822f9ef44da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97a592d23e03e8c6962ec40e99b733e9cfbb361b26d3cb495f71822f9ef44da6" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97a592d23e03e8c6962ec40e99b733e9cfbb361b26d3cb495f71822f9ef44da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97a592d23e03e8c6962ec40e99b733e9cfbb361b26d3cb495f71822f9ef44da6" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.30 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Checking http v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking rustls-pki-types v1.14.1 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking data-encoding v2.11.0 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking webpki-roots v1.0.7 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking pin-project v1.1.13 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling serenity v0.12.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Compiling tokio-cron-scheduler v0.10.2 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking cron v0.12.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking serde_cow v0.1.2 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking futures-timer v3.0.4 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking shellexpand v1.1.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hostname v0.4.2 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling command_attr v0.5.4 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking h2 v0.4.14 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking rusqlite v0.28.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking reqwest-eventsource v0.6.0 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking axum-extra v0.9.6 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking auxloclaw v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/channels/discord.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/checkpoints.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/checkpoints.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SessionStore` [INFO] [stdout] --> src/checkpoints.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::memory::{SessionHistory, SessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/cli/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `History`, `Input`, and `theme::ColorfulTheme` [INFO] [stdout] --> src/commands/chat.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use dialoguer::{theme::ColorfulTheme, History, Input}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/commands/run.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commands/token.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chat::handle_chat` [INFO] [stdout] --> src/commands/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use chat::handle_chat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::handle_config` [INFO] [stdout] --> src/commands/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use config::handle_config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::handle_model` [INFO] [stdout] --> src/commands/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use model::handle_model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `persona::handle_persona` [INFO] [stdout] --> src/commands/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use persona::handle_persona; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_plan` and `handle_run_plan` [INFO] [stdout] --> src/commands/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub use plan::{handle_plan, handle_run_plan}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `provider::handle_provider` [INFO] [stdout] --> src/commands/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use provider::handle_provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `run::handle_run` [INFO] [stdout] --> src/commands/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use run::handle_run; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `runs::handle_runs` [INFO] [stdout] --> src/commands/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use runs::handle_runs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setup::handle_setup` [INFO] [stdout] --> src/commands/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub use setup::handle_setup; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `skill::handle_skill` [INFO] [stdout] --> src/commands/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use skill::handle_skill; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `status::handle_status` [INFO] [stdout] --> src/commands/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use status::handle_status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stop::handle_stop` [INFO] [stdout] --> src/commands/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use stop::handle_stop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mcp::handle_mcp` [INFO] [stdout] --> src/commands/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use mcp::handle_mcp; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/coordination/sub_agent.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/coordination/sub_agent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/coordination/sub_agent.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToolCall` [INFO] [stdout] --> src/coordination/sub_agent.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::providers::{CompletionRequest, Message, ProviderPool, ToolCall}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecoveryAction` [INFO] [stdout] --> src/coordination/sub_agent.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::error_recovery::{AgentError, RecoveryAction}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DelegatedTask` and `TaskPriority` [INFO] [stdout] --> src/coordination/mod.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | pub use task_delegation::{TaskDelegator, DelegatedTask, TaskPriority}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecoveryAction` [INFO] [stdout] --> src/coordination/mod.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::error_recovery::{AgentError, RecoveryAction}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComplexityAnalyzer`, `DelegationDecision`, and `TaskComplexity` [INFO] [stdout] --> src/coordination/mod.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | pub use cost_aware_delegation::{TokenBudget, CostAwareDelegator, ComplexityAnalyzer, TaskComplexity, DelegationDecision, DelegationS... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/memory/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OsRng` [INFO] [stdout] --> src/memory/model_store.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | aead::{Aead, KeyInit, OsRng}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/memory/model_store.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::MemoryConfig` [INFO] [stdout] --> src/memory/reflector.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::config::MemoryConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompactionSummary` [INFO] [stdout] --> src/memory/mod.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub use compactor::{Compactor, CompactionResult, CompactionSummary}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReflectionType` [INFO] [stdout] --> src/memory/mod.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | pub use reflector::{Reflector, Reflection, ReflectionType, ReflectorConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/orchestrator/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/persona/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/providers/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/skills/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/skills/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExtractionTrigger` [INFO] [stdout] --> src/skills/mod.rs:27:70 [INFO] [stdout] | [INFO] [stdout] 27 | pub use extractor::{ExtractorConfig, SkillExtractor, ToolTraceEntry, ExtractionTrigger}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tools/executor/docker_env.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/tools/executor/sandbox.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DockerEnvConfig`, `ExecutionEngine`, `ProcessOutput`, and `SshEnvConfig` [INFO] [stdout] --> src/tools/executor/mod.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | ExecutionConfig, ExecutionEngine, ProcessOutput, Environment, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 32 | EnvironmentType, DockerEnvConfig, SshEnvConfig, TerminalConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Limits`, `SandboxConfig`, and `Sandbox` [INFO] [stdout] --> src/tools/executor/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub use sandbox::{Sandbox, SandboxConfig, Limits}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/tools/web.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/tools/web.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/tools/web.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builtin::*` [INFO] [stdout] --> src/tools/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use builtin::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecuteParallelTool` [INFO] [stdout] --> src/tools/mod.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub use executor::{ExecuteCodeTool, ExecuteParallelTool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageTarget` and `PlatformAdapter` [INFO] [stdout] --> src/tools/mod.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | pub use send_message::{MessageRouter, SendMessageTool, PlatformAdapter, MessageTarget, TelegramAdapter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HistoryMessage` [INFO] [stdout] --> src/streaming_agent.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::memory::{HistoryMessage, SessionHistory, SessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamChunk` [INFO] [stdout] --> src/streaming_agent.rs:18:66 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::providers::{CompletionRequest, Message, ProviderPool, StreamChunk, ToolCall}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Intervention` [INFO] [stdout] --> src/streaming_agent.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::agent::{Intervention, InterventionRegistry}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/channels/discord.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/checkpoints.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/checkpoints.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SessionStore` [INFO] [stdout] --> src/checkpoints.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::memory::{SessionHistory, SessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/cli/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `History`, `Input`, and `theme::ColorfulTheme` [INFO] [stdout] --> src/commands/chat.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use dialoguer::{theme::ColorfulTheme, History, Input}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/commands/run.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commands/token.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chat::handle_chat` [INFO] [stdout] --> src/commands/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use chat::handle_chat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::handle_config` [INFO] [stdout] --> src/commands/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use config::handle_config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::handle_model` [INFO] [stdout] --> src/commands/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use model::handle_model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `persona::handle_persona` [INFO] [stdout] --> src/commands/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use persona::handle_persona; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_plan` and `handle_run_plan` [INFO] [stdout] --> src/commands/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub use plan::{handle_plan, handle_run_plan}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `provider::handle_provider` [INFO] [stdout] --> src/commands/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use provider::handle_provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `run::handle_run` [INFO] [stdout] --> src/commands/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use run::handle_run; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `runs::handle_runs` [INFO] [stdout] --> src/commands/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use runs::handle_runs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setup::handle_setup` [INFO] [stdout] --> src/commands/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub use setup::handle_setup; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `skill::handle_skill` [INFO] [stdout] --> src/commands/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use skill::handle_skill; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `status::handle_status` [INFO] [stdout] --> src/commands/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use status::handle_status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stop::handle_stop` [INFO] [stdout] --> src/commands/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use stop::handle_stop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mcp::handle_mcp` [INFO] [stdout] --> src/commands/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use mcp::handle_mcp; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/coordination/sub_agent.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/coordination/sub_agent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/coordination/sub_agent.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToolCall` [INFO] [stdout] --> src/coordination/sub_agent.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::providers::{CompletionRequest, Message, ProviderPool, ToolCall}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecoveryAction` [INFO] [stdout] --> src/coordination/sub_agent.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::error_recovery::{AgentError, RecoveryAction}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DelegatedTask` and `TaskPriority` [INFO] [stdout] --> src/coordination/mod.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | pub use task_delegation::{TaskDelegator, DelegatedTask, TaskPriority}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecoveryAction` [INFO] [stdout] --> src/coordination/mod.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::error_recovery::{AgentError, RecoveryAction}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComplexityAnalyzer`, `DelegationDecision`, and `TaskComplexity` [INFO] [stdout] --> src/coordination/mod.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | pub use cost_aware_delegation::{TokenBudget, CostAwareDelegator, ComplexityAnalyzer, TaskComplexity, DelegationDecision, DelegationS... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/memory/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OsRng` [INFO] [stdout] --> src/memory/model_store.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | aead::{Aead, KeyInit, OsRng}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/memory/model_store.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::MemoryConfig` [INFO] [stdout] --> src/memory/reflector.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::config::MemoryConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompactionSummary` [INFO] [stdout] --> src/memory/mod.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub use compactor::{Compactor, CompactionResult, CompactionSummary}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReflectionType` [INFO] [stdout] --> src/memory/mod.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | pub use reflector::{Reflector, Reflection, ReflectionType, ReflectorConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/orchestrator/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/persona/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/providers/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/skills/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/skills/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExtractionTrigger` [INFO] [stdout] --> src/skills/mod.rs:27:70 [INFO] [stdout] | [INFO] [stdout] 27 | pub use extractor::{ExtractorConfig, SkillExtractor, ToolTraceEntry, ExtractionTrigger}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tools/executor/docker_env.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/tools/executor/sandbox.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DockerEnvConfig`, `ExecutionEngine`, `ProcessOutput`, and `SshEnvConfig` [INFO] [stdout] --> src/tools/executor/mod.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | ExecutionConfig, ExecutionEngine, ProcessOutput, Environment, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 32 | EnvironmentType, DockerEnvConfig, SshEnvConfig, TerminalConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Limits`, `SandboxConfig`, and `Sandbox` [INFO] [stdout] --> src/tools/executor/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub use sandbox::{Sandbox, SandboxConfig, Limits}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/tools/web.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/tools/web.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/tools/web.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builtin::*` [INFO] [stdout] --> src/tools/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use builtin::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecuteParallelTool` [INFO] [stdout] --> src/tools/mod.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub use executor::{ExecuteCodeTool, ExecuteParallelTool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageTarget` and `PlatformAdapter` [INFO] [stdout] --> src/tools/mod.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | pub use send_message::{MessageRouter, SendMessageTool, PlatformAdapter, MessageTarget, TelegramAdapter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HistoryMessage` [INFO] [stdout] --> src/streaming_agent.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::memory::{HistoryMessage, SessionHistory, SessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamChunk` [INFO] [stdout] --> src/streaming_agent.rs:18:66 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::providers::{CompletionRequest, Message, ProviderPool, StreamChunk, ToolCall}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Intervention` [INFO] [stdout] --> src/streaming_agent.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::agent::{Intervention, InterventionRegistry}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/tools/executor/local_env.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_response` is never read [INFO] [stdout] --> src/agent/mod.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let mut final_response = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 381 | final_response = response.content; [INFO] [stdout] | -------------- `final_response` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_key` [INFO] [stdout] --> src/agent/mod.rs:635:41 [INFO] [stdout] | [INFO] [stdout] 635 | async fn build_system_prompt(&self, session_key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/tools/executor/local_env.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_response` is never read [INFO] [stdout] --> src/agent/mod.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let mut final_response = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 381 | final_response = response.content; [INFO] [stdout] | -------------- `final_response` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_key` [INFO] [stdout] --> src/agent/mod.rs:635:41 [INFO] [stdout] | [INFO] [stdout] 635 | async fn build_system_prompt(&self, session_key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/channels/markdown.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut depth = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/channels/markdown.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut depth = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/channels/markdown.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let start = j; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> src/commands/code.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let indent = " ".repeat(depth); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/channels/markdown.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut depth = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/channels/markdown.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut depth = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/channels/markdown.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let start = j; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `response` is never read [INFO] [stdout] --> src/coordination/sub_agent.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | let mut response = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 223 | response = completion.content; [INFO] [stdout] | -------- `response` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `estimated_main_cost` [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | estimated_main_cost: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_estimated_main_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adjusted_sub_cost` [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let adjusted_sub_cost = (estimated_sub_cost as f32 * self.sub_agent_cost_factor) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adjusted_sub_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/error_recovery.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | Self::ProviderError { provider, message, .. } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `message: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> src/commands/code.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let indent = " ".repeat(depth); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/reflector.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut parsed: serde_json::Value = serde_json::from_str(&json_str) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `response` is never read [INFO] [stdout] --> src/coordination/sub_agent.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | let mut response = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 223 | response = completion.content; [INFO] [stdout] | -------- `response` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `estimated_main_cost` [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | estimated_main_cost: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_estimated_main_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adjusted_sub_cost` [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let adjusted_sub_cost = (estimated_sub_cost as f32 * self.sub_agent_cost_factor) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adjusted_sub_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/error_recovery.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | Self::ProviderError { provider, message, .. } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `message: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/reflector.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut parsed: serde_json::Value = serde_json::from_str(&json_str) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skill_name` [INFO] [stdout] --> src/skills/mod.rs:190:41 [INFO] [stdout] | [INFO] [stdout] 190 | async fn suggest_improvement(&self, skill_name: &str, failures: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skill_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/tools/code.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let content = tokio::fs::read_to_string(path).await [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/tools/executor/local_env.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/tools/executor/docker_env.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin_data` [INFO] [stdout] --> src/tools/executor/ssh_env.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | stdin_data: Option<&str>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/tools/executor/ssh_env.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/executor/runtime.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/executor/languages.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/executor/languages.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/executor/languages.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skill_name` [INFO] [stdout] --> src/skills/mod.rs:190:41 [INFO] [stdout] | [INFO] [stdout] 190 | async fn suggest_improvement(&self, skill_name: &str, failures: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skill_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> src/tools/web.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | let (ok, _) = run_agent_browser(&["wait", "--load", "networkidle"])?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/tools/code.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let content = tokio::fs::read_to_string(path).await [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inject` and `is_active` are never used [INFO] [stdout] --> src/agent/mod.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 49 | impl InterventionRegistry { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn inject(&self, session_key: &str, message: String) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn is_active(&self, session_key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `memory` and `checkpoint_manager` are never read [INFO] [stdout] --> src/agent/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct AgentCore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 108 | config: AppConfig, [INFO] [stdout] 109 | memory: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | checkpoint_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_persisted_code_override`, `new_session`, `create_checkpoint`, and `rollback_session` are never used [INFO] [stdout] --> src/agent/mod.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl AgentCore { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn get_persisted_code_override(&self, session_key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 716 | pub async fn new_session(&self, session_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 858 | pub async fn create_checkpoint(&self, session_id: &str, label: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 868 | pub async fn rollback_session(&self, session_id: &str, checkpoint_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Record` is never used [INFO] [stdout] --> src/agent/history.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Record { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `actual` and `budget` are never read [INFO] [stdout] --> src/agent/history.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct TierOverflow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 61 | tier: Tier, [INFO] [stdout] 62 | actual: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | budget: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TierOverflow` 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 `is_auth_required` is never used [INFO] [stdout] --> src/auth.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl AuthState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_auth_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_bearer_token` is never used [INFO] [stdout] --> src/auth.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn extract_bearer_token(auth_header: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `voice_id` is never read [INFO] [stdout] --> src/channels/telegram.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct SessionState { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | voice_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionState` 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 `config` is never read [INFO] [stdout] --> src/channels/telegram.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct TelegramState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | config: TelegramConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Checkpoint` is never constructed [INFO] [stdout] --> src/checkpoints.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Checkpoint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_dir` is never read [INFO] [stdout] --> src/checkpoints.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CheckpointManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 22 | data_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_checkpoint`, `rollback`, and `list_checkpoints` are never used [INFO] [stdout] --> src/checkpoints.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CheckpointManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn create_checkpoint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn rollback(&self, session_id: &str, checkpoint_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn list_checkpoints(&self, session_id: &str) -> Result)>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeSessionMeta` is never constructed [INFO] [stdout] --> src/commands/code.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct CodeSessionMeta { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentCoordinator` is never constructed [INFO] [stdout] --> src/coordination/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AgentCoordinator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoordinatorEvent` is never used [INFO] [stdout] --> src/coordination/mod.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum CoordinatorEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/coordination/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl AgentCoordinator { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 62 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn spawn_sub_agent(&self, config: SubAgentConfig) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn delegate_task(&self, task: &str, agent_type: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub async fn execute_parallel_sub_agents( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub async fn get_sub_agent(&self, id: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn list_sub_agents(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn terminate_sub_agent(&self, id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn clone_self(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub async fn process_with_cost_aware_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn set_sub_agents_enabled(&self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub async fn set_min_delegation_complexity(&self, min: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn delegation_stats(&self) -> DelegationStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn process_with_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubAgentConfig` is never constructed [INFO] [stdout] --> src/coordination/sub_agent.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SubAgentConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubAgentResult` is never constructed [INFO] [stdout] --> src/coordination/sub_agent.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SubAgentResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `summary` is never used [INFO] [stdout] --> src/coordination/sub_agent.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl SubAgentResult { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 48 | pub fn summary(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_agent_persona` is never used [INFO] [stdout] --> src/coordination/sub_agent.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_agent_persona(agent_type: &str) -> PersonaConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubAgent` is never constructed [INFO] [stdout] --> src/coordination/sub_agent.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct SubAgent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `id`, `execute`, `execute_inner`, `terminate`, and `get_history` are never used [INFO] [stdout] --> src/coordination/sub_agent.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl SubAgent { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 102 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn id(&self) -> &str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn execute(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | async fn execute_inner(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub async fn terminate(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub async fn get_history(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_tokens_per_request` and `sub_agent_cost_factor` are never read [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TokenBudget { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | /// Maximum tokens per request [INFO] [stdout] 8 | pub max_tokens_per_request: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub sub_agent_cost_factor: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenBudget` 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 `new`, `record_usage`, and `is_delegation_worthwhile` are never used [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl TokenBudget { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 35 | pub fn new(max_tokens: u32, session_budget: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn record_usage(&mut self, tokens: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn is_delegation_worthwhile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `word_count`, `sentence_count`, `verb_count`, and `should_delegate` are never read [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct TaskComplexity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 278 | pub word_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 279 | /// Sentence count [INFO] [stdout] 280 | pub sentence_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 281 | /// Verb count [INFO] [stdout] 282 | pub verb_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 283 | /// Whether delegation is recommended [INFO] [stdout] 284 | pub should_delegate: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskComplexity` 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 `complexity`, `budget_remaining`, and `cost_difference` are never read [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct DelegationDecision { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 299 | pub complexity: TaskComplexity, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 300 | /// Budget status [INFO] [stdout] 301 | pub budget_remaining: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 302 | /// Estimated cost savings (negative = sub-agent costs more) [INFO] [stdout] 303 | pub cost_difference: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DelegationDecision` 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 `record_usage`, `budget_status`, `set_sub_agents_enabled`, `set_min_complexity`, `set_max_budget`, and `stats` are never used [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 343 | impl CostAwareDelegator { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn record_usage(&mut self, tokens: u32, was_sub_agent: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn budget_status(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn set_sub_agents_enabled(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn set_min_complexity(&mut self, min: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn set_max_budget(&mut self, budget: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn stats(&self) -> DelegationStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DelegationStats` is never constructed [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:496:12 [INFO] [stdout] | [INFO] [stdout] 496 | pub struct DelegationStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TaskPriority` is never used [INFO] [stdout] --> src/coordination/task_delegation.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum TaskPriority { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DelegatedTask` is never constructed [INFO] [stdout] --> src/coordination/task_delegation.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct DelegatedTask { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `main_agent_patterns` is never read [INFO] [stdout] --> src/coordination/task_delegation.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TaskDelegator { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | main_agent_patterns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `should_keep_on_main`, `get_priority`, `estimate_tool_count`, `create_delegated_task`, and `split_task` are never used [INFO] [stdout] --> src/coordination/task_delegation.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl TaskDelegator { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn should_keep_on_main(&self, task: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn get_priority(&self, task: &str) -> TaskPriority { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn estimate_tool_count(&self, task: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn create_delegated_task(&self, task: &str) -> DelegatedTask { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn split_task(&self, task: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `retryable` is never read [INFO] [stdout] --> src/error_recovery.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | ProviderError { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 15 | retryable: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentError` 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: variants `ToolError`, `SessionError`, `RateLimitError`, `ContextOverflow`, `SubAgentError`, and `TimeoutError` are never constructed [INFO] [stdout] --> src/error_recovery.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AgentError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | ToolError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | SessionError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | RateLimitError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | ContextOverflow { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | SubAgentError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | TimeoutError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentError` 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 `max_attempts` and `base_delay_ms` are never read [INFO] [stdout] --> src/error_recovery.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | RetryWithBackoff { max_attempts: u32, base_delay_ms: u64 }, [INFO] [stdout] | ---------------- ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RecoveryAction` 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 `keep_last_n` is never read [INFO] [stdout] --> src/error_recovery.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | TruncateContext { keep_last_n: usize }, [INFO] [stdout] | --------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RecoveryAction` 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: variants `SwitchToFallback`, `DegradedResponse`, `RequestUserInput`, `NoRecovery`, `RestartSession`, and `DelegateToSubAgent` are never constructed [INFO] [stdout] --> src/error_recovery.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum RecoveryAction { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 61 | SwitchToFallback { fallback_name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | DegradedResponse { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | /// Notify user and wait for input [INFO] [stdout] 67 | RequestUserInput { prompt: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | /// No automatic recovery possible [INFO] [stdout] 69 | NoRecovery { reason: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 70 | /// Restart the session [INFO] [stdout] 71 | RestartSession, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 72 | /// Spawn sub-agent to handle [INFO] [stdout] 73 | DelegateToSubAgent { agent_type: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecoveryAction` 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 `ErrorRecovery` is never constructed [INFO] [stdout] --> src/error_recovery.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct ErrorRecovery { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `execute_recovery`, and `handle_error` are never used [INFO] [stdout] --> src/error_recovery.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl ErrorRecovery { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 158 | pub fn new(max_retries: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn execute_recovery(&self, action: &RecoveryAction) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub async fn handle_error(&self, error: AgentError) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentResult` is never constructed [INFO] [stdout] --> src/error_recovery.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct AgentResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success`, `failure`, and `partial` are never used [INFO] [stdout] --> src/error_recovery.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 224 | impl AgentResult { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 225 | pub fn success(value: T, context: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn failure(error: AgentError, context: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn partial(value: T, error: AgentError, context: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command`, `args`, and `env` are never read [INFO] [stdout] --> src/mcp.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct McpClientInner { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 41 | name: String, [INFO] [stdout] 42 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/mcp.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl McpClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hot` is never read [INFO] [stdout] --> src/memory/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MemoryEngine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 35 | hot: RwLock>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `store`, `retrieve`, `hot_keys`, and `clear_hot` are never used [INFO] [stdout] --> src/memory/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl MemoryEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn store(&self, key: &str, content: &str, metadata: Option>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn retrieve(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn hot_keys(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn clear_hot(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load` and `count` are never used [INFO] [stdout] --> src/memory/mod.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl SessionStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn load(&self, session_id: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `active_sessions` is never used [INFO] [stdout] --> src/memory/mod.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 265 | impl CodeModeStore { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn active_sessions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_summaries` is never used [INFO] [stdout] --> src/memory/compactor.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Compactor { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn load_summaries(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_enabled` is never used [INFO] [stdout] --> src/plugins.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl PluginManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `provider_type`, `stream`, and `embed` are never used [INFO] [stdout] --> src/providers/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait LLMProvider: Send + Sync { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 41 | fn name(&self) -> &str; [INFO] [stdout] 42 | fn provider_type(&self) -> &str; // e.g., "nvidia", "google", "openai", "anthropic" [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | async fn stream(&self, request: CompletionRequest) -> Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | async fn embed(&self, text: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/providers/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ProviderPool { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_provider`, `set_active`, `list_providers`, `default_name`, and `stream` are never used [INFO] [stdout] --> src/providers/mod.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl ProviderPool { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn add_provider(&self, entry: ProviderEntry) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn set_active(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub async fn list_providers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn default_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn stream(&self, request: CompletionRequest) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProviderInfo` is never constructed [INFO] [stdout] --> src/providers/mod.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct ProviderInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_headers` is never used [INFO] [stdout] --> src/providers/mod.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 243 | impl OpenAICompatibleProvider { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | fn build_headers(&self) -> reqwest::header::HeaderMap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamChunk` is never constructed [INFO] [stdout] --> src/providers/mod.rs:598:12 [INFO] [stdout] | [INFO] [stdout] 598 | pub struct StreamChunk { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamChoice` is never constructed [INFO] [stdout] --> src/providers/mod.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct StreamChoice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamDelta` is never constructed [INFO] [stdout] --> src/providers/mod.rs:614:12 [INFO] [stdout] | [INFO] [stdout] 614 | pub struct StreamDelta { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAICompletion` is never constructed [INFO] [stdout] --> src/providers/mod.rs:624:8 [INFO] [stdout] | [INFO] [stdout] 624 | struct OpenAICompletion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAIChoice` is never constructed [INFO] [stdout] --> src/providers/mod.rs:633:8 [INFO] [stdout] | [INFO] [stdout] 633 | struct OpenAIChoice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAIMessage` is never constructed [INFO] [stdout] --> src/providers/mod.rs:638:8 [INFO] [stdout] | [INFO] [stdout] 638 | struct OpenAIMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAIUsage` is never constructed [INFO] [stdout] --> src/providers/mod.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | struct OpenAIUsage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `provider_type` and `stream_response` are never used [INFO] [stdout] --> src/providers/adapters/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait ProviderAdapter: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 28 | fn provider_type(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | async fn stream_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scheduler` is never read [INFO] [stdout] --> src/scheduler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CronScheduler { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 12 | scheduler: JobScheduler, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shutdown` is never used [INFO] [stdout] --> src/scheduler.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl CronScheduler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn shutdown(mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `is_external` are never read [INFO] [stdout] --> src/skills/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Skill { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | pub is_external: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Skill` 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 function `from_file` is never used [INFO] [stdout] --> src/skills/mod.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Skill { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn from_file(path: &std::path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillIndexEntry` is never constructed [INFO] [stdout] --> src/skills/mod.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SkillIndexEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LearningLoop` is never constructed [INFO] [stdout] --> src/skills/mod.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct LearningLoop { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Experience` is never constructed [INFO] [stdout] --> src/skills/mod.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | struct Experience { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `record`, `improve`, and `suggest_improvement` are never used [INFO] [stdout] --> src/skills/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl LearningLoop { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 133 | pub fn new(registry: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn record(&self, skill_name: &str, task: &str, success: bool, feedback: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn improve(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | async fn suggest_improvement(&self, skill_name: &str, failures: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AGENTSKILLS_REGISTRY` is never used [INFO] [stdout] --> src/skills/registry.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const AGENTSKILLS_REGISTRY: &str = "https://agentskills.io/api/v1/skills"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `view_skill`, `update_skill`, `create_skill`, `scan`, and `list_by_category` are never used [INFO] [stdout] --> src/skills/registry.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl SkillRegistry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn view_skill(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub async fn update_skill(&self, name: &str, body: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn create_skill(&self, name: &str, description: &str, body: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn scan(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub async fn list_by_category(&mut self, category: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `auto_install` is never used [INFO] [stdout] --> src/skills/installer.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl SkillInstaller { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub async fn auto_install(&mut self, prompt: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_skill_keywords` is never used [INFO] [stdout] --> src/skills/installer.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn extract_skill_keywords(prompt: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMON_WORDS` is never used [INFO] [stdout] --> src/skills/installer.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 306 | const COMMON_WORDS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `trigger` are never read [INFO] [stdout] --> src/skills/extractor.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ExtractedSkill { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 61 | pub name: String, [INFO] [stdout] 62 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | pub trigger: ExtractionTrigger, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtractedSkill` 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: enum `StreamEvent` is never used [INFO] [stdout] --> src/streaming/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StreamEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamRequest` is never constructed [INFO] [stdout] --> src/streaming/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct StreamRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamSession` is never constructed [INFO] [stdout] --> src/streaming/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct StreamSession { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send_token`, and `send_done` are never used [INFO] [stdout] --> src/streaming/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl StreamSession { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 34 | pub fn new(session_id: String, buffer_size: usize) -> (Self, mpsc::Receiver) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn send_token(&self, content: &str) -> Result<(), mpsc::error::SendError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn send_done(&self, message: &str) -> Result<(), mpsc::error::SendError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mode` is never used [INFO] [stdout] --> src/tools/approval.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl ApprovalPolicy { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn mode(&self) -> ApprovalMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpFetchTool` is never constructed [INFO] [stdout] --> src/tools/builtin.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct HttpFetchTool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tools/builtin.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl HttpFetchTool { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptTool` is never constructed [INFO] [stdout] --> src/tools/builtin.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct ScriptTool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParallelTool` is never constructed [INFO] [stdout] --> src/tools/builtin.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct ParallelTool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_environment` is never used [INFO] [stdout] --> src/tools/executor/mod.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn create_environment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteParallelTool` is never constructed [INFO] [stdout] --> src/tools/executor/mod.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct ExecuteParallelTool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tools/executor/mod.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 293 | impl ExecuteParallelTool { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 294 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CmdSpec` is never constructed [INFO] [stdout] --> src/tools/executor/mod.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | struct CmdSpec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `supports_stdin` and `backend_name` are never used [INFO] [stdout] --> src/tools/executor/environment.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait Environment: Send + Sync { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 62 | fn supports_stdin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn backend_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/tools/executor/environment.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct ExecutionConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | pub env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionConfig` 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 `set_cwd` is never used [INFO] [stdout] --> src/tools/executor/environment.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl ExecutionEngine { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn set_cwd(&mut self, cwd: PathBuf) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_SECURITY_ARGS` is never used [INFO] [stdout] --> src/tools/executor/docker_env.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const BASE_SECURITY_ARGS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRIVDROP_CAP_ARGS` is never used [INFO] [stdout] --> src/tools/executor/docker_env.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const PRIVDROP_CAP_ARGS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DockerEnvironment` is never constructed [INFO] [stdout] --> src/tools/executor/docker_env.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct DockerEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `find_docker` are never used [INFO] [stdout] --> src/tools/executor/docker_env.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 59 | impl DockerEnvironment { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 60 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn start(&mut self, host_workspace: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | fn find_docker() -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshEnvironment` is never constructed [INFO] [stdout] --> src/tools/executor/ssh_env.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SshEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `ssh_cmd` are never used [INFO] [stdout] --> src/tools/executor/ssh_env.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl SshEnvironment { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new(config: SshEnvConfig, cwd: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn ssh_cmd(&self) -> Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shell_quote` is never used [INFO] [stdout] --> src/tools/executor/ssh_env.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn shell_quote(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_with_timeout` is never used [INFO] [stdout] --> src/tools/executor/runtime.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn run_with_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptResult` is never constructed [INFO] [stdout] --> src/tools/executor/languages.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ScriptResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LanguageExecutor` is never used [INFO] [stdout] --> src/tools/executor/languages.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait LanguageExecutor: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PythonExec` is never constructed [INFO] [stdout] --> src/tools/executor/languages.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PythonExec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `validate_imports` are never used [INFO] [stdout] --> src/tools/executor/languages.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl PythonExec { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn validate_imports(&self, code: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BunExec` is never constructed [INFO] [stdout] --> src/tools/executor/languages.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct BunExec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `validate_modules` are never used [INFO] [stdout] --> src/tools/executor/languages.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl BunExec { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 110 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn validate_modules(&self, code: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShellExec` is never constructed [INFO] [stdout] --> src/tools/executor/languages.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct ShellExec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tools/executor/languages.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl ShellExec { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 175 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKED_PATTERNS` is never used [INFO] [stdout] --> src/tools/executor/sandbox.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BLOCKED_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sandbox` is never constructed [INFO] [stdout] --> src/tools/executor/sandbox.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Sandbox { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_workspace`, `allow`, and `validate` are never used [INFO] [stdout] --> src/tools/executor/sandbox.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Sandbox { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 27 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn with_workspace(mut self, ws: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn allow(&mut self, cmd: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn validate(&self, cmd: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Limits` is never constructed [INFO] [stdout] --> src/tools/executor/sandbox.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Limits { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default_limits` is never used [INFO] [stdout] --> src/tools/executor/sandbox.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Limits { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 79 | pub fn default_limits() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxConfig` is never constructed [INFO] [stdout] --> src/tools/executor/sandbox.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SandboxConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate_command`, `validate_python`, `validate_js`, `truncate_output`, and `is_within_workspace` are never used [INFO] [stdout] --> src/tools/executor/sandbox.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl SandboxConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 132 | pub fn validate_command(&self, code: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn validate_python(&self, code: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn validate_js(&self, code: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn truncate_output(&self, output: &str) -> (String, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn is_within_workspace(&self, path: &PathBuf) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AgentEvent` is never used [INFO] [stdout] --> src/streaming_agent.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AgentEvent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_readonly_tool` is never used [INFO] [stdout] --> src/streaming_agent.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn is_readonly_tool(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamingAgent` is never constructed [INFO] [stdout] --> src/streaming_agent.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct StreamingAgent { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_sessions`, and `process_streaming` are never used [INFO] [stdout] --> src/streaming_agent.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl StreamingAgent { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 83 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn load_sessions(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn process_streaming( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | commands::handle_capabilities(json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/tools/executor/local_env.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/tools/executor/docker_env.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin_data` [INFO] [stdout] --> src/tools/executor/ssh_env.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | stdin_data: Option<&str>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/tools/executor/ssh_env.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/executor/runtime.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/executor/languages.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/executor/languages.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/executor/languages.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> src/tools/web.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | let (ok, _) = run_agent_browser(&["wait", "--load", "networkidle"])?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inject` and `is_active` are never used [INFO] [stdout] --> src/agent/mod.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 49 | impl InterventionRegistry { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn inject(&self, session_key: &str, message: String) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn is_active(&self, session_key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `memory` and `checkpoint_manager` are never read [INFO] [stdout] --> src/agent/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct AgentCore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 108 | config: AppConfig, [INFO] [stdout] 109 | memory: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | checkpoint_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_persisted_code_override`, `new_session`, `create_checkpoint`, and `rollback_session` are never used [INFO] [stdout] --> src/agent/mod.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl AgentCore { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn get_persisted_code_override(&self, session_key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 716 | pub async fn new_session(&self, session_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 858 | pub async fn create_checkpoint(&self, session_id: &str, label: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 868 | pub async fn rollback_session(&self, session_id: &str, checkpoint_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Record` is never used [INFO] [stdout] --> src/agent/history.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Record { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `actual` and `budget` are never read [INFO] [stdout] --> src/agent/history.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct TierOverflow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 61 | tier: Tier, [INFO] [stdout] 62 | actual: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | budget: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TierOverflow` 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 `is_auth_required` is never used [INFO] [stdout] --> src/auth.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl AuthState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_auth_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_bearer_token` is never used [INFO] [stdout] --> src/auth.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn extract_bearer_token(auth_header: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `voice_id` is never read [INFO] [stdout] --> src/channels/telegram.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct SessionState { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | voice_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionState` 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 `config` is never read [INFO] [stdout] --> src/channels/telegram.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct TelegramState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | config: TelegramConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Checkpoint` is never constructed [INFO] [stdout] --> src/checkpoints.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Checkpoint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_dir` is never read [INFO] [stdout] --> src/checkpoints.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CheckpointManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 22 | data_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_checkpoint`, `rollback`, and `list_checkpoints` are never used [INFO] [stdout] --> src/checkpoints.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CheckpointManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn create_checkpoint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn rollback(&self, session_id: &str, checkpoint_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn list_checkpoints(&self, session_id: &str) -> Result)>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeSessionMeta` is never constructed [INFO] [stdout] --> src/commands/code.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct CodeSessionMeta { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentCoordinator` is never constructed [INFO] [stdout] --> src/coordination/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AgentCoordinator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoordinatorEvent` is never used [INFO] [stdout] --> src/coordination/mod.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum CoordinatorEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/coordination/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl AgentCoordinator { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 62 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn spawn_sub_agent(&self, config: SubAgentConfig) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn delegate_task(&self, task: &str, agent_type: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub async fn execute_parallel_sub_agents( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub async fn get_sub_agent(&self, id: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn list_sub_agents(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn terminate_sub_agent(&self, id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn clone_self(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub async fn process_with_cost_aware_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn set_sub_agents_enabled(&self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub async fn set_min_delegation_complexity(&self, min: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn delegation_stats(&self) -> DelegationStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn process_with_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubAgentConfig` is never constructed [INFO] [stdout] --> src/coordination/sub_agent.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SubAgentConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubAgentResult` is never constructed [INFO] [stdout] --> src/coordination/sub_agent.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SubAgentResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `summary` is never used [INFO] [stdout] --> src/coordination/sub_agent.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl SubAgentResult { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 48 | pub fn summary(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_agent_persona` is never used [INFO] [stdout] --> src/coordination/sub_agent.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_agent_persona(agent_type: &str) -> PersonaConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubAgent` is never constructed [INFO] [stdout] --> src/coordination/sub_agent.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct SubAgent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `id`, `execute`, `execute_inner`, `terminate`, and `get_history` are never used [INFO] [stdout] --> src/coordination/sub_agent.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl SubAgent { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 102 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn id(&self) -> &str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn execute(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | async fn execute_inner(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub async fn terminate(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub async fn get_history(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenBudget` is never constructed [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TokenBudget { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `has_budget`, `remaining_budget`, `record_usage`, and `is_delegation_worthwhile` are never used [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl TokenBudget { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 35 | pub fn new(max_tokens: u32, session_budget: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn has_budget(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn remaining_budget(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn record_usage(&mut self, tokens: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn is_delegation_worthwhile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComplexityAnalyzer` is never constructed [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ComplexityAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `analyze`, `estimate_token_cost`, and `is_simple_task` are never used [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl ComplexityAnalyzer { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 137 | /// Calculate complexity score (0-100) [INFO] [stdout] 138 | pub fn analyze(&self, task: &str) -> TaskComplexity { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | fn estimate_token_cost(&self, task: &str, complexity: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn is_simple_task(&self, task: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskComplexity` is never constructed [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct TaskComplexity { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DelegationDecision` is never constructed [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct DelegationDecision { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `keep_on_main` and `delegate` are never used [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 306 | impl DelegationDecision { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 307 | /// Create a decision to keep on main agent [INFO] [stdout] 308 | pub fn keep_on_main(reason: String, complexity: TaskComplexity) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn delegate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CostAwareDelegator` is never constructed [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct CostAwareDelegator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 343 | impl CostAwareDelegator { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 344 | pub fn new(budget: TokenBudget) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn should_delegate(&mut self, task: &str) -> DelegationDecision { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn record_usage(&mut self, tokens: u32, was_sub_agent: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn budget_status(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn set_sub_agents_enabled(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn set_min_complexity(&mut self, min: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn set_max_budget(&mut self, budget: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn stats(&self) -> DelegationStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DelegationStats` is never constructed [INFO] [stdout] --> src/coordination/cost_aware_delegation.rs:496:12 [INFO] [stdout] | [INFO] [stdout] 496 | pub struct DelegationStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TaskPriority` is never used [INFO] [stdout] --> src/coordination/task_delegation.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum TaskPriority { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DelegatedTask` is never constructed [INFO] [stdout] --> src/coordination/task_delegation.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct DelegatedTask { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskDelegator` is never constructed [INFO] [stdout] --> src/coordination/task_delegation.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TaskDelegator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/coordination/task_delegation.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl TaskDelegator { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 37 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn classify_task(&self, task: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn should_delegate(&self, task: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn should_keep_on_main(&self, task: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn is_complex_task(&self, task: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn get_priority(&self, task: &str) -> TaskPriority { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn estimate_tool_count(&self, task: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn create_delegated_task(&self, task: &str) -> DelegatedTask { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn split_task(&self, task: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AgentError` is never used [INFO] [stdout] --> src/error_recovery.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AgentError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RecoveryAction` is never used [INFO] [stdout] --> src/error_recovery.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum RecoveryAction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user_message`, `is_recoverable`, and `suggested_action` are never used [INFO] [stdout] --> src/error_recovery.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl AgentError { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 86 | /// Convert to user-friendly message [INFO] [stdout] 87 | pub fn user_message(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn is_recoverable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn suggested_action(&self) -> RecoveryAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorRecovery` is never constructed [INFO] [stdout] --> src/error_recovery.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct ErrorRecovery { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `execute_recovery`, and `handle_error` are never used [INFO] [stdout] --> src/error_recovery.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl ErrorRecovery { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 158 | pub fn new(max_retries: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn execute_recovery(&self, action: &RecoveryAction) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub async fn handle_error(&self, error: AgentError) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentResult` is never constructed [INFO] [stdout] --> src/error_recovery.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct AgentResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success`, `failure`, and `partial` are never used [INFO] [stdout] --> src/error_recovery.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 224 | impl AgentResult { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 225 | pub fn success(value: T, context: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn failure(error: AgentError, context: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn partial(value: T, error: AgentError, context: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command`, `args`, and `env` are never read [INFO] [stdout] --> src/mcp.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct McpClientInner { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 41 | name: String, [INFO] [stdout] 42 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/mcp.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl McpClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hot` is never read [INFO] [stdout] --> src/memory/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MemoryEngine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 35 | hot: RwLock>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `store`, `retrieve`, `hot_keys`, and `clear_hot` are never used [INFO] [stdout] --> src/memory/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl MemoryEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn store(&self, key: &str, content: &str, metadata: Option>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn retrieve(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn hot_keys(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn clear_hot(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load` and `count` are never used [INFO] [stdout] --> src/memory/mod.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl SessionStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn load(&self, session_id: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `active_sessions` is never used [INFO] [stdout] --> src/memory/mod.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 265 | impl CodeModeStore { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn active_sessions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_summaries` is never used [INFO] [stdout] --> src/memory/compactor.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Compactor { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn load_summaries(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_enabled` is never used [INFO] [stdout] --> src/plugins.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl PluginManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `provider_type`, `stream`, and `embed` are never used [INFO] [stdout] --> src/providers/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait LLMProvider: Send + Sync { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 41 | fn name(&self) -> &str; [INFO] [stdout] 42 | fn provider_type(&self) -> &str; // e.g., "nvidia", "google", "openai", "anthropic" [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | async fn stream(&self, request: CompletionRequest) -> Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | async fn embed(&self, text: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/providers/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ProviderPool { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_provider`, `set_active`, `list_providers`, `default_name`, and `stream` are never used [INFO] [stdout] --> src/providers/mod.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl ProviderPool { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn add_provider(&self, entry: ProviderEntry) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn set_active(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub async fn list_providers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn default_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn stream(&self, request: CompletionRequest) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProviderInfo` is never constructed [INFO] [stdout] --> src/providers/mod.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct ProviderInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_headers` is never used [INFO] [stdout] --> src/providers/mod.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 243 | impl OpenAICompatibleProvider { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | fn build_headers(&self) -> reqwest::header::HeaderMap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamChunk` is never constructed [INFO] [stdout] --> src/providers/mod.rs:598:12 [INFO] [stdout] | [INFO] [stdout] 598 | pub struct StreamChunk { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamChoice` is never constructed [INFO] [stdout] --> src/providers/mod.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct StreamChoice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamDelta` is never constructed [INFO] [stdout] --> src/providers/mod.rs:614:12 [INFO] [stdout] | [INFO] [stdout] 614 | pub struct StreamDelta { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAICompletion` is never constructed [INFO] [stdout] --> src/providers/mod.rs:624:8 [INFO] [stdout] | [INFO] [stdout] 624 | struct OpenAICompletion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAIChoice` is never constructed [INFO] [stdout] --> src/providers/mod.rs:633:8 [INFO] [stdout] | [INFO] [stdout] 633 | struct OpenAIChoice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAIMessage` is never constructed [INFO] [stdout] --> src/providers/mod.rs:638:8 [INFO] [stdout] | [INFO] [stdout] 638 | struct OpenAIMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAIUsage` is never constructed [INFO] [stdout] --> src/providers/mod.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | struct OpenAIUsage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `provider_type` and `stream_response` are never used [INFO] [stdout] --> src/providers/adapters/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait ProviderAdapter: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 28 | fn provider_type(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | async fn stream_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scheduler` is never read [INFO] [stdout] --> src/scheduler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CronScheduler { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 12 | scheduler: JobScheduler, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shutdown` is never used [INFO] [stdout] --> src/scheduler.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl CronScheduler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn shutdown(mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `is_external` are never read [INFO] [stdout] --> src/skills/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Skill { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | pub is_external: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Skill` 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 function `from_file` is never used [INFO] [stdout] --> src/skills/mod.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Skill { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn from_file(path: &std::path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkillIndexEntry` is never constructed [INFO] [stdout] --> src/skills/mod.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SkillIndexEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LearningLoop` is never constructed [INFO] [stdout] --> src/skills/mod.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct LearningLoop { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Experience` is never constructed [INFO] [stdout] --> src/skills/mod.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | struct Experience { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `record`, `improve`, and `suggest_improvement` are never used [INFO] [stdout] --> src/skills/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl LearningLoop { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 133 | pub fn new(registry: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn record(&self, skill_name: &str, task: &str, success: bool, feedback: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn improve(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | async fn suggest_improvement(&self, skill_name: &str, failures: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AGENTSKILLS_REGISTRY` is never used [INFO] [stdout] --> src/skills/registry.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const AGENTSKILLS_REGISTRY: &str = "https://agentskills.io/api/v1/skills"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `view_skill`, `update_skill`, `create_skill`, `scan`, and `list_by_category` are never used [INFO] [stdout] --> src/skills/registry.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl SkillRegistry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn view_skill(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub async fn update_skill(&self, name: &str, body: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn create_skill(&self, name: &str, description: &str, body: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn scan(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub async fn list_by_category(&mut self, category: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `auto_install` is never used [INFO] [stdout] --> src/skills/installer.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl SkillInstaller { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub async fn auto_install(&mut self, prompt: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_skill_keywords` is never used [INFO] [stdout] --> src/skills/installer.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn extract_skill_keywords(prompt: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMON_WORDS` is never used [INFO] [stdout] --> src/skills/installer.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 306 | const COMMON_WORDS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `trigger` are never read [INFO] [stdout] --> src/skills/extractor.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ExtractedSkill { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 61 | pub name: String, [INFO] [stdout] 62 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | pub trigger: ExtractionTrigger, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtractedSkill` 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: enum `StreamEvent` is never used [INFO] [stdout] --> src/streaming/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StreamEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamRequest` is never constructed [INFO] [stdout] --> src/streaming/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct StreamRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamSession` is never constructed [INFO] [stdout] --> src/streaming/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct StreamSession { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send_token`, and `send_done` are never used [INFO] [stdout] --> src/streaming/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl StreamSession { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 34 | pub fn new(session_id: String, buffer_size: usize) -> (Self, mpsc::Receiver) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn send_token(&self, content: &str) -> Result<(), mpsc::error::SendError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn send_done(&self, message: &str) -> Result<(), mpsc::error::SendError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mode` is never used [INFO] [stdout] --> src/tools/approval.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl ApprovalPolicy { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn mode(&self) -> ApprovalMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpFetchTool` is never constructed [INFO] [stdout] --> src/tools/builtin.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct HttpFetchTool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tools/builtin.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl HttpFetchTool { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptTool` is never constructed [INFO] [stdout] --> src/tools/builtin.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct ScriptTool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParallelTool` is never constructed [INFO] [stdout] --> src/tools/builtin.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct ParallelTool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_environment` is never used [INFO] [stdout] --> src/tools/executor/mod.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn create_environment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteParallelTool` is never constructed [INFO] [stdout] --> src/tools/executor/mod.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct ExecuteParallelTool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tools/executor/mod.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 293 | impl ExecuteParallelTool { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 294 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CmdSpec` is never constructed [INFO] [stdout] --> src/tools/executor/mod.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | struct CmdSpec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessOutput` is never constructed [INFO] [stdout] --> src/tools/executor/environment.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProcessOutput { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Environment` is never used [INFO] [stdout] --> src/tools/executor/environment.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait Environment: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `workspace_root` and `env` are never read [INFO] [stdout] --> src/tools/executor/environment.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct ExecutionConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | pub workspace_root: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | pub env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionConfig` 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 `ExecutionEngine` is never constructed [INFO] [stdout] --> src/tools/executor/environment.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ExecutionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tools/executor/environment.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl ExecutionEngine { [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] 105 | pub fn new(env: E, config: ExecutionConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn init_session(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn execute(&mut self, command: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn cwd(&self) -> &PathBuf { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn set_cwd(&mut self, cwd: PathBuf) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn update_cwd(&mut self, output: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn cleanup(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn cwd_marker(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn wrap_command(&self, command: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | fn extract_cwd<'a>(&self, output: &'a str) -> (&'a str, Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EnvironmentType` is never used [INFO] [stdout] --> src/tools/executor/environment.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | pub enum EnvironmentType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DockerEnvConfig` is never constructed [INFO] [stdout] --> src/tools/executor/environment.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct DockerEnvConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_true` is never used [INFO] [stdout] --> src/tools/executor/environment.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshEnvConfig` is never constructed [INFO] [stdout] --> src/tools/executor/environment.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct SshEnvConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_ssh_port` is never used [INFO] [stdout] --> src/tools/executor/environment.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn default_ssh_port() -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TerminalConfig` is never constructed [INFO] [stdout] --> src/tools/executor/environment.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | pub struct TerminalConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_timeout` is never used [INFO] [stdout] --> src/tools/executor/environment.rs:369:4 [INFO] [stdout] | [INFO] [stdout] 369 | fn default_timeout() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_max_output` is never used [INFO] [stdout] --> src/tools/executor/environment.rs:373:4 [INFO] [stdout] | [INFO] [stdout] 373 | fn default_max_output() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALLOWED_ENV_VARS` is never used [INFO] [stdout] --> src/tools/executor/local_env.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const ALLOWED_ENV_VARS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalEnvironment` is never constructed [INFO] [stdout] --> src/tools/executor/local_env.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct LocalEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `resolve_safe_cwd` are never used [INFO] [stdout] --> src/tools/executor/local_env.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl LocalEnvironment { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 68 | pub fn new(cwd: PathBuf, env: std::collections::HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn resolve_safe_cwd(cwd: &PathBuf) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_SECURITY_ARGS` is never used [INFO] [stdout] --> src/tools/executor/docker_env.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const BASE_SECURITY_ARGS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRIVDROP_CAP_ARGS` is never used [INFO] [stdout] --> src/tools/executor/docker_env.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const PRIVDROP_CAP_ARGS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DockerEnvironment` is never constructed [INFO] [stdout] --> src/tools/executor/docker_env.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct DockerEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `find_docker` are never used [INFO] [stdout] --> src/tools/executor/docker_env.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 59 | impl DockerEnvironment { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 60 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn start(&mut self, host_workspace: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | fn find_docker() -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshEnvironment` is never constructed [INFO] [stdout] --> src/tools/executor/ssh_env.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SshEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `ssh_cmd` are never used [INFO] [stdout] --> src/tools/executor/ssh_env.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl SshEnvironment { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new(config: SshEnvConfig, cwd: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn ssh_cmd(&self) -> Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shell_quote` is never used [INFO] [stdout] --> src/tools/executor/ssh_env.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn shell_quote(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_with_timeout` is never used [INFO] [stdout] --> src/tools/executor/runtime.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn run_with_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptResult` is never constructed [INFO] [stdout] --> src/tools/executor/languages.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ScriptResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LanguageExecutor` is never used [INFO] [stdout] --> src/tools/executor/languages.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait LanguageExecutor: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PythonExec` is never constructed [INFO] [stdout] --> src/tools/executor/languages.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PythonExec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `validate_imports` are never used [INFO] [stdout] --> src/tools/executor/languages.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl PythonExec { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn validate_imports(&self, code: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BunExec` is never constructed [INFO] [stdout] --> src/tools/executor/languages.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct BunExec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `validate_modules` are never used [INFO] [stdout] --> src/tools/executor/languages.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl BunExec { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 110 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn validate_modules(&self, code: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShellExec` is never constructed [INFO] [stdout] --> src/tools/executor/languages.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct ShellExec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tools/executor/languages.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl ShellExec { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 175 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKED_PATTERNS` is never used [INFO] [stdout] --> src/tools/executor/sandbox.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BLOCKED_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sandbox` is never constructed [INFO] [stdout] --> src/tools/executor/sandbox.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Sandbox { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_workspace`, `allow`, and `validate` are never used [INFO] [stdout] --> src/tools/executor/sandbox.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Sandbox { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 27 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn with_workspace(mut self, ws: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn allow(&mut self, cmd: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn validate(&self, cmd: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Limits` is never constructed [INFO] [stdout] --> src/tools/executor/sandbox.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Limits { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default_limits` is never used [INFO] [stdout] --> src/tools/executor/sandbox.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Limits { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 79 | pub fn default_limits() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxConfig` is never constructed [INFO] [stdout] --> src/tools/executor/sandbox.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SandboxConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate_command`, `validate_python`, `validate_js`, `truncate_output`, and `is_within_workspace` are never used [INFO] [stdout] --> src/tools/executor/sandbox.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl SandboxConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 132 | pub fn validate_command(&self, code: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn validate_python(&self, code: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn validate_js(&self, code: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn truncate_output(&self, output: &str) -> (String, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn is_within_workspace(&self, path: &PathBuf) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AgentEvent` is never used [INFO] [stdout] --> src/streaming_agent.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AgentEvent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_readonly_tool` is never used [INFO] [stdout] --> src/streaming_agent.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn is_readonly_tool(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamingAgent` is never constructed [INFO] [stdout] --> src/streaming_agent.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct StreamingAgent { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_sessions`, and `process_streaming` are never used [INFO] [stdout] --> src/streaming_agent.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl StreamingAgent { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 83 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn load_sessions(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn process_streaming( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | commands::handle_capabilities(json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "97a592d23e03e8c6962ec40e99b733e9cfbb361b26d3cb495f71822f9ef44da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a592d23e03e8c6962ec40e99b733e9cfbb361b26d3cb495f71822f9ef44da6", kill_on_drop: false }` [INFO] [stdout] 97a592d23e03e8c6962ec40e99b733e9cfbb361b26d3cb495f71822f9ef44da6