[INFO] cloning repository https://github.com/ReOpsIL/forge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ReOpsIL/forge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReOpsIL%2Fforge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReOpsIL%2Fforge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbf28dca59affe973e5f827ca5ddf4603955d8ce [INFO] checking ReOpsIL/forge/bbf28dca59affe973e5f827ca5ddf4603955d8ce against master#6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReOpsIL%2Fforge" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ReOpsIL/forge [INFO] finished tweaking git repo https://github.com/ReOpsIL/forge [INFO] tweaked toml for git repo https://github.com/ReOpsIL/forge written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ReOpsIL/forge on toolchain 6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ReOpsIL/forge 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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded iso8601 v0.6.3 [INFO] [stderr] Downloaded filedescriptor v0.8.3 [INFO] [stderr] Downloaded actix-web-actors v4.3.1+deprecated [INFO] [stderr] Downloaded serial2 v0.2.29 [INFO] [stderr] Downloaded actix-tls v3.4.0 [INFO] [stderr] Downloaded fraction v0.13.1 [INFO] [stderr] Downloaded awc v3.7.0 [INFO] [stderr] Downloaded jsonschema v0.17.1 [INFO] [stderr] Downloaded portable-pty v0.9.0 [INFO] [stderr] Downloaded syn v2.0.103 [INFO] [stderr] Downloaded libc v0.2.173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 457435bc76c7f4b549a3f784a0aa9ef5debe6cb73ad9a6e92a244e33948bd893 [INFO] running `Command { std: "docker" "start" "-a" "457435bc76c7f4b549a3f784a0aa9ef5debe6cb73ad9a6e92a244e33948bd893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "457435bc76c7f4b549a3f784a0aa9ef5debe6cb73ad9a6e92a244e33948bd893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "457435bc76c7f4b549a3f784a0aa9ef5debe6cb73ad9a6e92a244e33948bd893", kill_on_drop: false }` [INFO] [stdout] 457435bc76c7f4b549a3f784a0aa9ef5debe6cb73ad9a6e92a244e33948bd893 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eb59b1dae98cd7df36b877b37a1eb0650d88e172978b1229ef9c36b347ed93c [INFO] running `Command { std: "docker" "start" "-a" "6eb59b1dae98cd7df36b877b37a1eb0650d88e172978b1229ef9c36b347ed93c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking anyhow v1.0.98 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking serial2 v0.2.29 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking fraction v0.13.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking iso8601 v0.6.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking filedescriptor v0.8.3 [INFO] [stderr] Checking portable-pty v0.9.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking actix v0.13.5 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking awc v3.7.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking jsonschema v0.17.1 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Checking actix-web-actors v4.3.1+deprecated [INFO] [stderr] Checking forge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/block_handlers.rs:497:107 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result<(ProcessSpecResponse), String> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 497 - pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result<(ProcessSpecResponse), String> { [INFO] [stdout] 497 + pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/llm_handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/block_handlers.rs:497:107 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result<(ProcessSpecResponse), String> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 497 - pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result<(ProcessSpecResponse), String> { [INFO] [stdout] 497 + pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/llm_handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llm_handler.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let mut child = command.spawn() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llm_handler.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | let mut child = command.spawn() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llm_handler.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let mut child = command.spawn() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llm_handler.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | let mut child = command.spawn() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/task_executor.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let task_id = task_id.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/task_executor.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let task_id = task_id.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_OPENROUTER_MODEL` is never used [INFO] [stdout] --> src/llm_handler.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const DEFAULT_OPENROUTER_MODEL: &str = "google/gemini-2.5-flash-preview-05-20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_GEMINI_MODEL` is never used [INFO] [stdout] --> src/llm_handler.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const DEFAULT_GEMINI_MODEL: &str = "gemini-2.5-flash-preview-05-20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openrouter_model` is never used [INFO] [stdout] --> src/llm_handler.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_openrouter_model(openrouter_model: Option<&str>) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_model` is never used [INFO] [stdout] --> src/llm_handler.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_gemini_model(gemini_model: Option<&str>) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/llm_handler.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct OpenRouterResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 85 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_OPENROUTER_MODEL` is never used [INFO] [stdout] --> src/llm_handler.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const DEFAULT_OPENROUTER_MODEL: &str = "google/gemini-2.5-flash-preview-05-20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_GEMINI_MODEL` is never used [INFO] [stdout] --> src/llm_handler.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const DEFAULT_GEMINI_MODEL: &str = "gemini-2.5-flash-preview-05-20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openrouter_model` is never used [INFO] [stdout] --> src/llm_handler.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_openrouter_model(openrouter_model: Option<&str>) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_model` is never used [INFO] [stdout] --> src/llm_handler.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_gemini_model(gemini_model: Option<&str>) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/llm_handler.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct OpenRouterResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 85 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [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: `debug` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/block_handlers.rs:497:107 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result<(ProcessSpecResponse), String> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 497 - pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result<(ProcessSpecResponse), String> { [INFO] [stdout] 497 + pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/llm_handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_GENERATE_TASKS_SYSTEM_PROMPT_MCP` and `DEFAULT_GENERATE_TASKS_USER_PROMPT_MCP` [INFO] [stdout] --> src/profession_prompts.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::project_config::{DEFAULT_GENERATE_TASKS_SYSTEM_PROMPT_MCP, DEFAULT_GENERATE_TASKS_USER_PROMPT_MCP}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/git_handlers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/git_handlers.rs:587:11 [INFO] [stdout] | [INFO] [stdout] 587 | match (files_output) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - match (files_output) { [INFO] [stdout] 587 + match files_output { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/git_handlers.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | (Ok(files)) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 588 - (Ok(files)) => { [INFO] [stdout] 588 + Ok(files) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/git_handlers.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | (Err(e)) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 658 - (Err(e)) => { [INFO] [stdout] 658 + Err(e) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/mcp/transport.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/mcp/tools/registry.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Content` [INFO] [stdout] --> src/mcp/tools/registry.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Content, ExecutionContext, MCPTool, PerformanceTracker, Permission, ToolCategory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `warn` [INFO] [stdout] --> src/mcp/tools/blocks.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connections` and `Task` [INFO] [stdout] --> src/mcp/tools/blocks.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::models::{Block, Connections, Task}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs` [INFO] [stdout] --> src/mcp/tools/filesystem/list_directory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::fs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/block_handlers.rs:497:107 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result<(ProcessSpecResponse), String> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 497 - pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result<(ProcessSpecResponse), String> { [INFO] [stdout] 497 + pub fn create_blocks_from_llm(generated_blocks: Vec, data: web::Data) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/mcp/tools/filesystem/create_directory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/llm_handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_GENERATE_TASKS_SYSTEM_PROMPT_MCP` and `DEFAULT_GENERATE_TASKS_USER_PROMPT_MCP` [INFO] [stdout] --> src/profession_prompts.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::project_config::{DEFAULT_GENERATE_TASKS_SYSTEM_PROMPT_MCP, DEFAULT_GENERATE_TASKS_USER_PROMPT_MCP}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/git_handlers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/mcp/context.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/git_handlers.rs:587:11 [INFO] [stdout] | [INFO] [stdout] 587 | match (files_output) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - match (files_output) { [INFO] [stdout] 587 + match files_output { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/git_handlers.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | (Ok(files)) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 588 - (Ok(files)) => { [INFO] [stdout] 588 + Ok(files) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/git_handlers.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | (Err(e)) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 658 - (Err(e)) => { [INFO] [stdout] 658 + Err(e) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/mcp/transport.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/mcp/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientCapabilities`, `ExecutionContext`, `MCPResponse`, `MCPTool`, `ToolError`, and `ToolResult` [INFO] [stdout] --> src/mcp/server.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ClientCapabilities, InitializeParams, InitializeResult, MCPMessage, MCPRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | MCPResponse, ServerCapabilities, ServerInfo, ToolsCapability, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | ExecutionContext, MCPTool, ToolError, ToolRegistry, ToolResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/mcp/tools/registry.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/mcp/tools/registry.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Content` [INFO] [stdout] --> src/mcp/tools/registry.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Content, ExecutionContext, MCPTool, PerformanceTracker, Permission, ToolCategory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `warn` [INFO] [stdout] --> src/mcp/tools/blocks.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connections` and `Task` [INFO] [stdout] --> src/mcp/tools/blocks.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::models::{Block, Connections, Task}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MCPError` and `StateError` [INFO] [stdout] --> src/mcp/state.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::mcp::errors::{MCPError, MCPResult, StateError}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block` and `Task` [INFO] [stdout] --> src/mcp/state.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::models::{Block, Task}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs` [INFO] [stdout] --> src/mcp/tools/filesystem/list_directory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::fs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/mcp/tools/filesystem/create_directory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transport::MCPTransport` [INFO] [stdout] --> src/mcp/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | transport::MCPTransport [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_BLOCK_CONFIG_FILE` and `generate_sample_config` [INFO] [stdout] --> src/main.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | use block_config::{generate_sample_config, BlockConfigManager, DEFAULT_BLOCK_CONFIG_FILE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/mcp/context.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/mcp/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientCapabilities`, `ExecutionContext`, `MCPResponse`, `MCPTool`, `ToolError`, and `ToolResult` [INFO] [stdout] --> src/mcp/server.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ClientCapabilities, InitializeParams, InitializeResult, MCPMessage, MCPRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | MCPResponse, ServerCapabilities, ServerInfo, ToolsCapability, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | ExecutionContext, MCPTool, ToolError, ToolRegistry, ToolResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MCPError` and `StateError` [INFO] [stdout] --> src/mcp/state.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::mcp::errors::{MCPError, MCPResult, StateError}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block` and `Task` [INFO] [stdout] --> src/mcp/state.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::models::{Block, Task}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transport::MCPTransport` [INFO] [stdout] --> src/mcp/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | transport::MCPTransport [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_BLOCK_CONFIG_FILE` and `generate_sample_config` [INFO] [stdout] --> src/main.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | use block_config::{generate_sample_config, BlockConfigManager, DEFAULT_BLOCK_CONFIG_FILE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/mcp/tools/filesystem/read_file.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | let encoded = base64::encode(contents); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/mcp/tools/filesystem/read_file.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 104 | let encoded = base64::encode(contents); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/mcp/tools/filesystem/read_file.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | let encoded = base64::encode(contents); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/mcp/tools/filesystem/write_file.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | let decoded = base64::decode(content) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/mcp/tools/filesystem/read_file.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 104 | let encoded = base64::encode(contents); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/mcp/tools/filesystem/write_file.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | let decoded = base64::decode(content) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llm_handler.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let mut child = command.spawn() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llm_handler.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | let mut child = command.spawn() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llm_handler.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let mut child = command.spawn() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llm_handler.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | let mut child = command.spawn() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/git_handlers.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [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/git_handlers.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | let mut block = block.unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/git_handlers.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [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/git_handlers.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | let mut block = block.unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/mcp/transport.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(WsMessage::Ping(data)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/mcp/transport.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(WsMessage::Ping(data)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/mcp/tools/registry.rs:197:34 [INFO] [stdout] | [INFO] [stdout] 197 | pub async fn get_tool(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/mcp/tools/registry.rs:197:34 [INFO] [stdout] | [INFO] [stdout] 197 | pub async fn get_tool(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mcp/tools/registry.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | let mut discovered_count = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mcp/tools/registry.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | let mut discovered_count = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/task_executor.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let task_id = task_id.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/task_executor.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let task_id = task_id.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/mcp/tools/filesystem/read_file.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let params = json!({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/mcp/tools/filesystem/write_file.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let params = json!({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/mcp/tools/filesystem/create_directory.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let params = json!({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/mcp/tools/filesystem/delete.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let params = json!({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/mcp/tools/tasks.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let task_id = task.task_id.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/mcp/tools/mod.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | fn validate_params(&self, params: &Value) -> Result<(), ToolError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/mcp/tools/tasks.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let task_id = task.task_id.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/mcp/tools/mod.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | fn validate_params(&self, params: &Value) -> Result<(), ToolError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/mcp/state.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | let now = SystemTime::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_blocks` is never used [INFO] [stdout] --> src/models.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_blocks() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_blocks_from_file` is never used [INFO] [stdout] --> src/block_config.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn load_blocks_from_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteTaskResponse` is never constructed [INFO] [stdout] --> src/block_handlers.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ExecuteTaskResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_OPENROUTER_MODEL` is never used [INFO] [stdout] --> src/llm_handler.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const DEFAULT_OPENROUTER_MODEL: &str = "google/gemini-2.5-flash-preview-05-20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_GEMINI_MODEL` is never used [INFO] [stdout] --> src/llm_handler.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const DEFAULT_GEMINI_MODEL: &str = "gemini-2.5-flash-preview-05-20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openrouter_model` is never used [INFO] [stdout] --> src/llm_handler.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_openrouter_model(openrouter_model: Option<&str>) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_model` is never used [INFO] [stdout] --> src/llm_handler.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_gemini_model(gemini_model: Option<&str>) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/llm_handler.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct OpenRouterResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 85 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_prompts` is never used [INFO] [stdout] --> src/profession_prompts.rs:1998:8 [INFO] [stdout] | [INFO] [stdout] 1998 | pub fn get_default_prompts(profession_id: Option<&str>) -> ProfessionPrompts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CODE_REVIEW_SYSTEM_PROMPT` is never used [INFO] [stdout] --> src/project_config.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 300 | pub const DEFAULT_CODE_REVIEW_SYSTEM_PROMPT: &str = "You are a senior code reviewer with expertise in software quality, security, and mai... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CODE_REVIEW_USER_PROMPT` is never used [INFO] [stdout] --> src/project_config.rs:302:11 [INFO] [stdout] | [INFO] [stdout] 302 | pub const DEFAULT_CODE_REVIEW_USER_PROMPT: &str = "Review the following code for: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_REFACTOR_SYSTEM_PROMPT` is never used [INFO] [stdout] --> src/project_config.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 316 | pub const DEFAULT_REFACTOR_SYSTEM_PROMPT: &str = "You are a refactoring specialist focused on improving code quality while preserving fun... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_REFACTOR_USER_PROMPT` is never used [INFO] [stdout] --> src/project_config.rs:318:11 [INFO] [stdout] | [INFO] [stdout] 318 | pub const DEFAULT_REFACTOR_USER_PROMPT: &str = "Analyze the following code and suggest refactoring improvements: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteGitTaskResponse` is never constructed [INFO] [stdout] --> src/git_handlers.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ExecuteGitTaskResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `task_description` and `status` are never read [INFO] [stdout] --> src/task_queue.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueuedTask { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub task_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueuedTask` 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 `TaskQueue` is never constructed [INFO] [stdout] --> src/task_queue.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TaskQueue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `instance`, `enqueue_task`, `is_task_in_queue`, and `get_task_status` are never used [INFO] [stdout] --> src/task_queue.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl TaskQueue { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 42 | // Get the singleton instance [INFO] [stdout] 43 | pub fn instance() -> Arc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn enqueue_task(&self, block_id: &str, task_id: &str, task_description: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_task_in_queue(&self, block_id: &str, task_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_task_status(&self, block_id: &str, task_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enqueue_task` is never used [INFO] [stdout] --> src/task_queue.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn enqueue_task(block_id: &str, task_id: &str, task_description: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_task_in_queue` is never used [INFO] [stdout] --> src/task_queue.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn is_task_in_queue(block_id: &str, task_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_task_status` is never used [INFO] [stdout] --> src/task_queue.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_task_status(block_id: &str, task_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/log_stream.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LogEntry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | pub timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEntry` 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 `close` is never used [INFO] [stdout] --> src/mcp/transport.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait MCPTransport: Send + Sync { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 32 | async fn close(&mut self) -> MCPResult<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebSocketTransport` is never constructed [INFO] [stdout] --> src/mcp/transport.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct WebSocketTransport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mcp/transport.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 48 | impl WebSocketTransport { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 49 | /// Create a new WebSocket transport from a TCP stream [INFO] [stdout] 50 | pub async fn new(stream: tokio::net::TcpStream) -> MCPResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_websocket` and `create_http` are never used [INFO] [stdout] --> src/mcp/transport.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 397 | impl TransportFactory { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 398 | /// Create a WebSocket transport from a TCP stream [INFO] [stdout] 399 | pub async fn create_websocket(stream: tokio::net::TcpStream) -> MCPResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub async fn create_http() -> MCPResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_response` is never used [INFO] [stdout] --> src/mcp/protocol.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MCPMessage { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn as_response(&self) -> MCPResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_messages` is never used [INFO] [stdout] --> src/mcp/protocol.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 347 | impl MessageParser { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn parse_messages(buffer: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_config`, `context_store`, and `user_preferences` are never read [INFO] [stdout] --> src/mcp/tools/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ExecutionContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | pub project_config: std::sync::Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub context_store: std::sync::Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub user_preferences: UserPreferences, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionContext` 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 `Dependency`, `Git`, `Network`, and `Validation` are never constructed [INFO] [stdout] --> src/mcp/tools/mod.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum ToolError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 313 | Dependency(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | Git(String), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | Network(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | Validation(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_memory`, `total_network_requests`, and `total_file_operations` are never read [INFO] [stdout] --> src/mcp/tools/mod.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct PerformanceTracker { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 442 | pub total_memory: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 443 | pub total_network_requests: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 444 | pub total_file_operations: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_average_execution_time` and `get_tool_statistics` are never used [INFO] [stdout] --> src/mcp/tools/mod.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 459 | impl PerformanceTracker { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn get_average_execution_time(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn get_tool_statistics(&self, tool_name: &str) -> ToolStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `failure` is never used [INFO] [stdout] --> src/mcp/tools/mod.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 524 | pub trait ToolResultBuilder { [INFO] [stdout] | ----------------- associated function in this trait [INFO] [stdout] 525 | fn success() -> ToolResult; [INFO] [stdout] 526 | fn failure(error: impl Into) -> ToolResult; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `performance_tracker` is never read [INFO] [stdout] --> src/mcp/tools/registry.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ToolRegistry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | performance_tracker: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_concurrent_executions`, `enable_result_caching`, `max_cache_size`, and `cache_ttl` are never read [INFO] [stdout] --> src/mcp/tools/registry.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ToolRegistryConfig { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 76 | /// Maximum number of concurrent tool executions [INFO] [stdout] 77 | pub max_concurrent_executions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub enable_result_caching: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub max_cache_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub cache_ttl: Duration, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolRegistryConfig` 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 `CacheEntry` is never constructed [INFO] [stdout] --> src/mcp/tools/registry.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct CacheEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/mcp/tools/registry.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 121 | impl ToolRegistry { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub async fn unregister_tool(&self, name: &str) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub async fn get_tool(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub async fn get_tool_metadata(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn get_tools_by_category(&self, category: ToolCategory) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub async fn execute_tools_parallel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub async fn get_tool_statistics(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | fn clone_for_parallel(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolDiscovery` is never constructed [INFO] [stdout] --> src/mcp/tools/registry.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 507 | pub struct ToolDiscovery { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `discover_tools` are never used [INFO] [stdout] --> src/mcp/tools/registry.rs:513:12 [INFO] [stdout] | [INFO] [stdout] 512 | impl ToolDiscovery { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 513 | pub fn new(registry: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | pub async fn discover_tools(&self) -> MCPResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable_persistence` and `max_tool_history` are never read [INFO] [stdout] --> src/mcp/session.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct SessionConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 137 | pub enable_persistence: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub max_tool_history: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionConfig` 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 `update_session`, `update_activity`, `list_active_sessions`, `cleanup_temp_sessions`, `enable_collaboration`, and `sync_collaborative_context` are never used [INFO] [stdout] --> src/mcp/session.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 158 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 269 | pub async fn update_session(&self, session: Session) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub async fn update_activity(&self, session_id: &str) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub async fn list_active_sessions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | pub async fn cleanup_temp_sessions(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | pub async fn enable_collaboration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub async fn sync_collaborative_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionCleanupService` is never constructed [INFO] [stdout] --> src/mcp/session.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct SessionCleanupService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/mcp/session.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 485 | impl SessionCleanupService { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 486 | pub fn new(manager: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | pub async fn start(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `access_count` is never read [INFO] [stdout] --> src/mcp/context.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct CachedEntry { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 147 | access_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CachedEntry` 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: multiple methods are never used [INFO] [stdout] --> src/mcp/context.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl ContextStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn delete_session(&mut self, session_id: &str, key: &str, tool_name: impl Into) -> MCPResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn list_shared_keys(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub fn list_session_keys(&self, session_id: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn get_metadata(&self, key: &str, session_id: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub fn add_tags(&mut self, key: &str, session_id: Option<&str>, tags: Vec) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn search_by_tags(&self, tags: &[String], session_id: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | pub fn cleanup_expired(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn get_recent_events(&self, limit: usize) -> Vec<&ContextEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cleanup_interval` is never read [INFO] [stdout] --> src/mcp/context.rs:666:5 [INFO] [stdout] | [INFO] [stdout] 664 | pub struct ContextManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 665 | store: Arc>, [INFO] [stdout] 666 | cleanup_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_cleanup_service` is never used [INFO] [stdout] --> src/mcp/context.rs:682:18 [INFO] [stdout] | [INFO] [stdout] 669 | impl ContextManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 682 | pub async fn start_cleanup_service(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PermissionDenied`, `NotFound`, `Timeout`, `Internal`, and `RecoverableError` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum MCPError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | PermissionDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | Timeout(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | RecoverableError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCPError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConnectionFailed` and `Closed` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum TransportError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 61 | #[error("Connection failed: {0}")] [INFO] [stdout] 62 | ConnectionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransportError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MethodNotFound`, `InvalidParams`, and `ServerError` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum ProtocolError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 90 | MethodNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | InvalidParams(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | ServerError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/mcp/errors.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum ToolError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 108 | #[error("Tool not found: {0}")] [INFO] [stdout] 109 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | InvalidParams(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | ExecutionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | Timeout { timeout_ms: u64 }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | PermissionDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | ResourceLimit(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | Dependency(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | FileSystem(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | Git(String), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | Network(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expired`, `AuthenticationFailed`, `ConcurrentAccess`, and `Corrupted` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum SessionError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 146 | Expired(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | AuthenticationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | ConcurrentAccess(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | Corrupted(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TransactionFailed`, `ConsistencyViolation`, `LockFailed`, `RollbackFailed`, `Persistence`, and `Conflict` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum StateError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 164 | #[error("Transaction failed: {0}")] [INFO] [stdout] 165 | TransactionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | ConsistencyViolation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | LockFailed(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | RollbackFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | Persistence(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | Conflict(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expired`, `Serialization`, `SizeLimit`, `Locked`, and `ConcurrentAccess` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub enum ContextError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 190 | Expired(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | Serialization(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | SizeLimit { current: usize, limit: usize }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | Locked(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | ConcurrentAccess(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StartupFailed` and `ShutdownFailed` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub enum ServerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 230 | StartupFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | ShutdownFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidRequest` and `ServerError` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub enum JsonRpcErrorCode { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 239 | ParseError = -32700, [INFO] [stdout] 240 | InvalidRequest = -32600, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | ServerError = -32000, // -32000 to -32099 are reserved for implementation-defined server-errors [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonRpcErrorCode` 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 `with_data` is never used [INFO] [stdout] --> src/mcp/errors.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 256 | impl JsonRpcError { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn with_data(mut self, data: Value) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorRecoverySystem` is never constructed [INFO] [stdout] --> src/mcp/errors.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct ErrorRecoverySystem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `attempt_recovery` are never used [INFO] [stdout] --> src/mcp/errors.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 311 | impl ErrorRecoverySystem { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 312 | pub fn new(max_retry_attempts: usize, retry_delay: std::time::Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub async fn attempt_recovery(&self, operation: F) -> MCPResult [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ErrorContext` is never used [INFO] [stdout] --> src/mcp/errors.rs:351:11 [INFO] [stdout] | [INFO] [stdout] 351 | pub trait ErrorContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_concurrent_tools`, `tool_timeout`, `enable_monitoring`, `monitoring_interval`, `enable_cleanup`, and `cleanup_interval` are never read [INFO] [stdout] --> src/mcp/server.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct MCPServerConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub max_concurrent_tools: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub tool_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub enable_monitoring: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub monitoring_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub enable_cleanup: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub cleanup_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCPServerConfig` 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 `shutdown_tx` is never read [INFO] [stdout] --> src/mcp/server.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MCPServer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | shutdown_tx: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `session_id`, `transport_type`, and `connected_at` are never read [INFO] [stdout] --> src/mcp/server.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | struct ConnectionInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 126 | pub session_id: SessionId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | pub transport_type: TransportType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 128 | pub connected_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionInfo` 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 `start`, `start_cleanup_services`, `start_monitoring_service`, `shutdown`, and `get_statistics` are never used [INFO] [stdout] --> src/mcp/server.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 161 | impl MCPServer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 208 | pub async fn start(&mut self) -> MCPResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | async fn start_cleanup_services(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 556 | async fn start_monitoring_service(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub async fn shutdown(&self) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 609 | pub async fn get_statistics(&self) -> ServerStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_updated` and `source` are never read [INFO] [stdout] --> src/mcp/state.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct StateEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 228 | pub value: Value, [INFO] [stdout] 229 | pub last_updated: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 230 | pub update_count: u64, [INFO] [stdout] 231 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateEntry` 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 `persistence_interval`, `enable_cleanup`, and `cleanup_interval` are never read [INFO] [stdout] --> src/mcp/state.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct StateConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 289 | pub persistence_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub enable_cleanup: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub cleanup_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateConfig` 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: multiple methods are never used [INFO] [stdout] --> src/mcp/state.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 343 | impl UnifiedStateManager { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn subscribe_to_changes(&self) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn get_core_state(&self) -> CoreState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn update_project(&self, project_id: &str, updates: HashMap, source: impl Into) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn update_block(&self, block_id: &str, status: BlockStatus, outputs: Option>, source: impl Into) -... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 670 | pub fn get_block(&self, block_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | pub fn get_session(&self, session_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 680 | pub fn list_projects(&self, status_filter: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 690 | pub fn list_tasks(&self, project_id: Option<&str>, status_filter: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 738 | pub fn get_recent_changes(&self, limit: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 744 | pub fn cleanup_expired_state(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/mcp/state.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | let now = SystemTime::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_blocks` is never used [INFO] [stdout] --> src/models.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_blocks() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_blocks_from_file` is never used [INFO] [stdout] --> src/block_config.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn load_blocks_from_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteTaskResponse` is never constructed [INFO] [stdout] --> src/block_handlers.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ExecuteTaskResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_OPENROUTER_MODEL` is never used [INFO] [stdout] --> src/llm_handler.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const DEFAULT_OPENROUTER_MODEL: &str = "google/gemini-2.5-flash-preview-05-20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_GEMINI_MODEL` is never used [INFO] [stdout] --> src/llm_handler.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const DEFAULT_GEMINI_MODEL: &str = "gemini-2.5-flash-preview-05-20"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openrouter_model` is never used [INFO] [stdout] --> src/llm_handler.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_openrouter_model(openrouter_model: Option<&str>) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_model` is never used [INFO] [stdout] --> src/llm_handler.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_gemini_model(gemini_model: Option<&str>) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/llm_handler.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct OpenRouterResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 85 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_prompts` is never used [INFO] [stdout] --> src/profession_prompts.rs:1998:8 [INFO] [stdout] | [INFO] [stdout] 1998 | pub fn get_default_prompts(profession_id: Option<&str>) -> ProfessionPrompts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CODE_REVIEW_SYSTEM_PROMPT` is never used [INFO] [stdout] --> src/project_config.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 300 | pub const DEFAULT_CODE_REVIEW_SYSTEM_PROMPT: &str = "You are a senior code reviewer with expertise in software quality, security, and mai... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CODE_REVIEW_USER_PROMPT` is never used [INFO] [stdout] --> src/project_config.rs:302:11 [INFO] [stdout] | [INFO] [stdout] 302 | pub const DEFAULT_CODE_REVIEW_USER_PROMPT: &str = "Review the following code for: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_REFACTOR_SYSTEM_PROMPT` is never used [INFO] [stdout] --> src/project_config.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 316 | pub const DEFAULT_REFACTOR_SYSTEM_PROMPT: &str = "You are a refactoring specialist focused on improving code quality while preserving fun... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_REFACTOR_USER_PROMPT` is never used [INFO] [stdout] --> src/project_config.rs:318:11 [INFO] [stdout] | [INFO] [stdout] 318 | pub const DEFAULT_REFACTOR_USER_PROMPT: &str = "Analyze the following code and suggest refactoring improvements: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteGitTaskResponse` is never constructed [INFO] [stdout] --> src/git_handlers.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ExecuteGitTaskResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `task_description` and `status` are never read [INFO] [stdout] --> src/task_queue.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueuedTask { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub task_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueuedTask` 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 `TaskQueue` is never constructed [INFO] [stdout] --> src/task_queue.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TaskQueue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `instance`, `enqueue_task`, `is_task_in_queue`, and `get_task_status` are never used [INFO] [stdout] --> src/task_queue.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl TaskQueue { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 42 | // Get the singleton instance [INFO] [stdout] 43 | pub fn instance() -> Arc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn enqueue_task(&self, block_id: &str, task_id: &str, task_description: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_task_in_queue(&self, block_id: &str, task_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_task_status(&self, block_id: &str, task_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enqueue_task` is never used [INFO] [stdout] --> src/task_queue.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn enqueue_task(block_id: &str, task_id: &str, task_description: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_task_in_queue` is never used [INFO] [stdout] --> src/task_queue.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn is_task_in_queue(block_id: &str, task_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_task_status` is never used [INFO] [stdout] --> src/task_queue.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_task_status(block_id: &str, task_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/log_stream.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LogEntry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | pub timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEntry` 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 `WebSocket` and `Http` are never constructed [INFO] [stdout] --> src/mcp/transport.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum TransportType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 17 | WebSocket, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | Http, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransportType` 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 `close` is never used [INFO] [stdout] --> src/mcp/transport.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait MCPTransport: Send + Sync { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 32 | async fn close(&mut self) -> MCPResult<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebSocketTransport` is never constructed [INFO] [stdout] --> src/mcp/transport.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct WebSocketTransport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mcp/transport.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 48 | impl WebSocketTransport { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 49 | /// Create a new WebSocket transport from a TCP stream [INFO] [stdout] 50 | pub async fn new(stream: tokio::net::TcpStream) -> MCPResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpTransport` is never constructed [INFO] [stdout] --> src/mcp/transport.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct HttpTransport { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `handle_request` are never used [INFO] [stdout] --> src/mcp/transport.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl HttpTransport { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 195 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn handle_request(&mut self, request_body: Vec) -> MCPResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_websocket` and `create_http` are never used [INFO] [stdout] --> src/mcp/transport.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 397 | impl TransportFactory { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 398 | /// Create a WebSocket transport from a TCP stream [INFO] [stdout] 399 | pub async fn create_websocket(stream: tokio::net::TcpStream) -> MCPResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub async fn create_http() -> MCPResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `request`, `notification`, and `as_response` are never used [INFO] [stdout] --> src/mcp/protocol.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MCPMessage { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn request(method: impl Into, params: Option) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn notification(method: impl Into, params: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn as_response(&self) -> MCPResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_messages` is never used [INFO] [stdout] --> src/mcp/protocol.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 347 | impl MessageParser { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn parse_messages(buffer: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_config`, `context_store`, and `user_preferences` are never read [INFO] [stdout] --> src/mcp/tools/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ExecutionContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | pub project_config: std::sync::Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub context_store: std::sync::Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub user_preferences: UserPreferences, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionContext` 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 `Dependency`, `Git`, `Network`, and `Validation` are never constructed [INFO] [stdout] --> src/mcp/tools/mod.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum ToolError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 313 | Dependency(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | Git(String), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | Network(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | Validation(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_memory`, `total_network_requests`, and `total_file_operations` are never read [INFO] [stdout] --> src/mcp/tools/mod.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct PerformanceTracker { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 442 | pub total_memory: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 443 | pub total_network_requests: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 444 | pub total_file_operations: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_average_execution_time` and `get_tool_statistics` are never used [INFO] [stdout] --> src/mcp/tools/mod.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 459 | impl PerformanceTracker { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn get_average_execution_time(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn get_tool_statistics(&self, tool_name: &str) -> ToolStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `failure` is never used [INFO] [stdout] --> src/mcp/tools/mod.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 524 | pub trait ToolResultBuilder { [INFO] [stdout] | ----------------- associated function in this trait [INFO] [stdout] 525 | fn success() -> ToolResult; [INFO] [stdout] 526 | fn failure(error: impl Into) -> ToolResult; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `performance_tracker` is never read [INFO] [stdout] --> src/mcp/tools/registry.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ToolRegistry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | performance_tracker: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_concurrent_executions`, `enable_result_caching`, `max_cache_size`, and `cache_ttl` are never read [INFO] [stdout] --> src/mcp/tools/registry.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ToolRegistryConfig { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 76 | /// Maximum number of concurrent tool executions [INFO] [stdout] 77 | pub max_concurrent_executions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub enable_result_caching: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub max_cache_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub cache_ttl: Duration, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolRegistryConfig` 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 `CacheEntry` is never constructed [INFO] [stdout] --> src/mcp/tools/registry.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct CacheEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/mcp/tools/registry.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 121 | impl ToolRegistry { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub async fn unregister_tool(&self, name: &str) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub async fn get_tool(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub async fn get_tool_metadata(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn get_tools_by_category(&self, category: ToolCategory) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub async fn search_tools(&self, query: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub async fn execute_tools_parallel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub async fn get_tool_statistics(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | fn clone_for_parallel(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolDiscovery` is never constructed [INFO] [stdout] --> src/mcp/tools/registry.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 507 | pub struct ToolDiscovery { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `discover_tools` are never used [INFO] [stdout] --> src/mcp/tools/registry.rs:513:12 [INFO] [stdout] | [INFO] [stdout] 512 | impl ToolDiscovery { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 513 | pub fn new(registry: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | pub async fn discover_tools(&self) -> MCPResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `session_timeout`, `enable_persistence`, and `max_tool_history` are never read [INFO] [stdout] --> src/mcp/session.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct SessionConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | pub session_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub enable_persistence: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub max_tool_history: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionConfig` 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: multiple associated items are never used [INFO] [stdout] --> src/mcp/session.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl SessionManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 159 | /// Create a new session manager [INFO] [stdout] 160 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub async fn update_session(&self, session: Session) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub async fn update_activity(&self, session_id: &str) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub async fn list_active_sessions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub async fn cleanup_expired_sessions(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | pub async fn cleanup_temp_sessions(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | pub async fn enable_collaboration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub async fn sync_collaborative_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionCleanupService` is never constructed [INFO] [stdout] --> src/mcp/session.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct SessionCleanupService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/mcp/session.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 485 | impl SessionCleanupService { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 486 | pub fn new(manager: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | pub async fn start(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/mcp/context.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ContextStore { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | config: ContextConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextStore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mcp/context.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct ContextConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 106 | /// Maximum number of entries in shared data [INFO] [stdout] 107 | pub max_shared_entries: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub max_session_entries: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub max_event_history: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub default_expiration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub max_cache_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub cache_ttl: Duration, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub enable_event_history: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextConfig` 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 `value`, `created_at`, and `access_count` are never read [INFO] [stdout] --> src/mcp/context.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct CachedEntry { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 145 | value: Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 146 | created_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 147 | access_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CachedEntry` 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: multiple methods are never used [INFO] [stdout] --> src/mcp/context.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl ContextStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn set_shared(&mut self, key: impl Into, value: Value, tool_name: impl Into) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn get_shared(&mut self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn set_session(&mut self, session_id: impl Into, key: impl Into, value: Value, tool_name: impl Into) -> M... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | pub fn get_session(&mut self, session_id: &str, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn delete_shared(&mut self, key: &str, tool_name: impl Into) -> MCPResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn delete_session(&mut self, session_id: &str, key: &str, tool_name: impl Into) -> MCPResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn list_shared_keys(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub fn list_session_keys(&self, session_id: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn get_metadata(&self, key: &str, session_id: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn set_read_only(&mut self, key: &str, session_id: Option<&str>, read_only: bool) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub fn add_tags(&mut self, key: &str, session_id: Option<&str>, tags: Vec) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn search_by_tags(&self, tags: &[String], session_id: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | pub fn cleanup_expired(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | fn record_event(&mut self, event: ContextEvent) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn get_recent_events(&self, limit: usize) -> Vec<&ContextEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 624 | pub fn clear_session(&mut self, session_id: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cleanup_interval` is never read [INFO] [stdout] --> src/mcp/context.rs:666:5 [INFO] [stdout] | [INFO] [stdout] 664 | pub struct ContextManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 665 | store: Arc>, [INFO] [stdout] 666 | cleanup_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_cleanup_service` is never used [INFO] [stdout] --> src/mcp/context.rs:682:18 [INFO] [stdout] | [INFO] [stdout] 669 | impl ContextManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 682 | pub async fn start_cleanup_service(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PermissionDenied`, `NotFound`, `Timeout`, `Internal`, and `RecoverableError` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum MCPError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | PermissionDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | Timeout(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | RecoverableError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCPError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConnectionFailed`, `InvalidMessage`, and `Closed` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum TransportError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 61 | #[error("Connection failed: {0}")] [INFO] [stdout] 62 | ConnectionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | InvalidMessage(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransportError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MethodNotFound`, `InvalidParams`, and `ServerError` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum ProtocolError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 90 | MethodNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | InvalidParams(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | ServerError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/mcp/errors.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum ToolError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 108 | #[error("Tool not found: {0}")] [INFO] [stdout] 109 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | InvalidParams(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | ExecutionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | Timeout { timeout_ms: u64 }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | PermissionDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | ResourceLimit(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | Dependency(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | FileSystem(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | Git(String), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | Network(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expired`, `AuthenticationFailed`, `ConcurrentAccess`, and `Corrupted` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum SessionError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 146 | Expired(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | AuthenticationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | ConcurrentAccess(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | Corrupted(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TransactionFailed`, `ConsistencyViolation`, `LockFailed`, `RollbackFailed`, `Persistence`, and `Conflict` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum StateError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 164 | #[error("Transaction failed: {0}")] [INFO] [stdout] 165 | TransactionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | ConsistencyViolation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | LockFailed(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | RollbackFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | Persistence(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | Conflict(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/mcp/errors.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub enum ContextError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 186 | #[error("Context not found: {0}")] [INFO] [stdout] 187 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | Expired(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | Serialization(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | SizeLimit { current: usize, limit: usize }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | Locked(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | StorageLimit(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | ReadOnly(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | ConcurrentAccess(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StartupFailed` and `ShutdownFailed` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub enum ServerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 230 | StartupFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | ShutdownFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidRequest` and `ServerError` are never constructed [INFO] [stdout] --> src/mcp/errors.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub enum JsonRpcErrorCode { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 239 | ParseError = -32700, [INFO] [stdout] 240 | InvalidRequest = -32600, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | ServerError = -32000, // -32000 to -32099 are reserved for implementation-defined server-errors [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonRpcErrorCode` 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 `with_data` is never used [INFO] [stdout] --> src/mcp/errors.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 256 | impl JsonRpcError { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn with_data(mut self, data: Value) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorRecoverySystem` is never constructed [INFO] [stdout] --> src/mcp/errors.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct ErrorRecoverySystem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `attempt_recovery` are never used [INFO] [stdout] --> src/mcp/errors.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 311 | impl ErrorRecoverySystem { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 312 | pub fn new(max_retry_attempts: usize, retry_delay: std::time::Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub async fn attempt_recovery(&self, operation: F) -> MCPResult [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ErrorContext` is never used [INFO] [stdout] --> src/mcp/errors.rs:351:11 [INFO] [stdout] | [INFO] [stdout] 351 | pub trait ErrorContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_concurrent_tools`, `tool_timeout`, `enable_monitoring`, `monitoring_interval`, `enable_cleanup`, and `cleanup_interval` are never read [INFO] [stdout] --> src/mcp/server.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct MCPServerConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub max_concurrent_tools: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub tool_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub enable_monitoring: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub monitoring_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub enable_cleanup: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub cleanup_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCPServerConfig` 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 `shutdown_tx` is never read [INFO] [stdout] --> src/mcp/server.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MCPServer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | shutdown_tx: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `session_id`, `transport_type`, and `connected_at` are never read [INFO] [stdout] --> src/mcp/server.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | struct ConnectionInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 126 | pub session_id: SessionId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | pub transport_type: TransportType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 128 | pub connected_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionInfo` 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 `start`, `start_cleanup_services`, `start_monitoring_service`, `shutdown`, and `get_statistics` are never used [INFO] [stdout] --> src/mcp/server.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 161 | impl MCPServer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 208 | pub async fn start(&mut self) -> MCPResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | async fn start_cleanup_services(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 556 | async fn start_monitoring_service(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub async fn shutdown(&self) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 609 | pub async fn get_statistics(&self) -> ServerStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state_broadcaster` and `config` are never read [INFO] [stdout] --> src/mcp/state.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct UnifiedStateManager { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | state_broadcaster: broadcast::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | config: StateConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `last_updated`, `update_count`, and `source` are never read [INFO] [stdout] --> src/mcp/state.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct StateEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 228 | pub value: Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 229 | pub last_updated: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 230 | pub update_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 231 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateEntry` 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_history_size`, `enable_broadcasting`, `persistence_interval`, `enable_cleanup`, and `cleanup_interval` are never read [INFO] [stdout] --> src/mcp/state.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct StateConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 279 | /// Maximum number of state history entries to keep [INFO] [stdout] 280 | pub max_history_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub enable_broadcasting: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub persistence_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub enable_cleanup: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub cleanup_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateConfig` 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: multiple associated items are never used [INFO] [stdout] --> src/mcp/state.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 343 | impl UnifiedStateManager { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 344 | /// Create a new unified state manager [INFO] [stdout] 345 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn subscribe_to_changes(&self) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn get_core_state(&self) -> CoreState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn update_core_state(&self, updater: F) -> MCPResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn create_project(&self, project: ProjectState, source: impl Into) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn update_project(&self, project_id: &str, updates: HashMap, source: impl Into) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn create_task(&self, task: TaskState, source: impl Into) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | pub fn update_task_status(&self, task_id: &str, status: TaskStatus, progress: Option, source: impl Into) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn update_block(&self, block_id: &str, status: BlockStatus, outputs: Option>, source: impl Into) -... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 632 | pub fn set_live_state(&self, key: impl Into, value: Value, source: impl Into) -> MCPResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | pub fn get_live_state(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | pub fn remove_live_state(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 660 | pub fn get_project(&self, project_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 665 | pub fn get_task(&self, task_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 670 | pub fn get_block(&self, block_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | pub fn get_session(&self, session_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 680 | pub fn list_projects(&self, status_filter: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 690 | pub fn list_tasks(&self, project_id: Option<&str>, status_filter: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 722 | fn broadcast_change(&self, event: StateChangeEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 738 | pub fn get_recent_changes(&self, limit: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 744 | pub fn cleanup_expired_state(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "6eb59b1dae98cd7df36b877b37a1eb0650d88e172978b1229ef9c36b347ed93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eb59b1dae98cd7df36b877b37a1eb0650d88e172978b1229ef9c36b347ed93c", kill_on_drop: false }` [INFO] [stdout] 6eb59b1dae98cd7df36b877b37a1eb0650d88e172978b1229ef9c36b347ed93c