[INFO] cloning repository https://github.com/AlqattanDev/rust-ai-toolkit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlqattanDev/rust-ai-toolkit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlqattanDev%2Frust-ai-toolkit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlqattanDev%2Frust-ai-toolkit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 57f08fc9cb12ffd7bec76b8650733cd937baf873
[INFO] testing AlqattanDev/rust-ai-toolkit against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlqattanDev%2Frust-ai-toolkit" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AlqattanDev/rust-ai-toolkit
[INFO] finished tweaking git repo https://github.com/AlqattanDev/rust-ai-toolkit
[INFO] tweaked toml for git repo https://github.com/AlqattanDev/rust-ai-toolkit written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlqattanDev/rust-ai-toolkit on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AlqattanDev/rust-ai-toolkit 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded test-log v0.2.17
[INFO] [stderr]   Downloaded env_logger v0.11.7
[INFO] [stderr]   Downloaded tempfile v3.18.0
[INFO] [stderr]   Downloaded mockall v0.12.1
[INFO] [stderr]   Downloaded test-log-macros v0.2.17
[INFO] [stderr]   Downloaded mockall_derive v0.12.1
[INFO] [stderr]   Downloaded serde_test v1.0.177
[INFO] [stderr]   Downloaded clap v4.5.32
[INFO] [stderr]   Downloaded async-trait v0.1.87
[INFO] [stderr]   Downloaded windows-link v0.1.0
[INFO] [stderr]   Downloaded rustix v1.0.2
[INFO] [stderr]   Downloaded clap_builder v4.5.32
[INFO] [stderr]   Downloaded linux-raw-sys v0.9.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c942281314ee507bb71ed70c2f400da36a8b6efe2e21f12b9f6d540ece57cb9f
[INFO] running `Command { std: "docker" "start" "-a" "c942281314ee507bb71ed70c2f400da36a8b6efe2e21f12b9f6d540ece57cb9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c942281314ee507bb71ed70c2f400da36a8b6efe2e21f12b9f6d540ece57cb9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c942281314ee507bb71ed70c2f400da36a8b6efe2e21f12b9f6d540ece57cb9f", kill_on_drop: false }`
[INFO] [stdout] c942281314ee507bb71ed70c2f400da36a8b6efe2e21f12b9f6d540ece57cb9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8321e7e28c5ea2ed6a0baf38a2478adb47016487ba890a8098f9a5d4d5f45cf1
[INFO] running `Command { std: "docker" "start" "-a" "8321e7e28c5ea2ed6a0baf38a2478adb47016487ba890a8098f9a5d4d5f45cf1", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]    Compiling once_cell v1.21.0
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling rustix v1.0.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling linux-raw-sys v0.9.2
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling winnow v0.7.3
[INFO] [stderr]    Compiling clap_builder v4.5.32
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tempfile v3.18.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling nanoid v0.4.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling async-trait v0.1.87
[INFO] [stderr]    Compiling tokio v1.44.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling dialoguer v0.11.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling pest v2.7.15
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling clap v4.5.32
[INFO] [stderr]    Compiling pest_meta v2.7.15
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling pest_generator v2.7.15
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling pest_derive v2.7.15
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling toml_edit v0.22.24
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling handlebars v4.5.0
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling toml v0.8.20
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling rust-ai-toolkit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/ai/mod.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | /// Add a shared HTTP client that can be reused across all AI client instances
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/ai/cache.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: unused import: `crate::config`
[INFO] [stdout]   --> src/ai/mod.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use crate::config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]   --> src/stages/mod.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]   --> src/stages/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use anyhow::anyhow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]   --> src/utils/project.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use futures::stream::{StreamExt};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_size`
[INFO] [stdout]   --> src/ai/cache.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let max_size = MAX_CACHE_SIZE;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_memory_bytes`
[INFO] [stdout]   --> src/ai/cache.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let max_memory_bytes = max_memory_mb * 1024 * 1024; // Convert MB to bytes
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_memory_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/ai/mod.rs:256:57
[INFO] [stdout]     |
[INFO] [stdout] 256 |     async fn generate_with_options(&self, prompt: &str, options: RequestOptions) -> Result<String> {
[INFO] [stdout]     |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_path`
[INFO] [stdout]    --> src/config/mod.rs:243:34
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn migrate_config(content: &str, config_path: &PathBuf) -> Result<Config> {
[INFO] [stdout]     |                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProxyAiClient` is never constructed
[INFO] [stdout]    --> src/ai/mod.rs:549:8
[INFO] [stdout]     |
[INFO] [stdout] 549 | struct ProxyAiClient<'a> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/ai/mod.rs:554:8
[INFO] [stdout]     |
[INFO] [stdout] 553 | impl<'a> ProxyAiClient<'a> {
[INFO] [stdout]     | -------------------------- associated function in this implementation
[INFO] [stdout] 554 |     fn new(inner: &'a Box<dyn AiClient>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content_type` is never read
[INFO] [stdout]   --> src/ai/anthropic.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct ResponseContent {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 68 |     #[serde(rename = "type")]
[INFO] [stdout] 69 |     content_type: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `size`, `memory_usage`, and `max_memory_usage` are never used
[INFO] [stdout]    --> src/ai/cache.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout]  85 | impl ResponseCache {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn memory_usage(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn max_memory_usage(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_log_level` is never used
[INFO] [stdout]     --> src/config/mod.rs:1062:4
[INFO] [stdout]      |
[INFO] [stdout] 1062 | fn is_valid_log_level(level: &str) -> bool {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_for_project_in_directory_async` is never used
[INFO] [stdout]    --> src/utils/project.rs:275:10
[INFO] [stdout]     |
[INFO] [stdout] 275 | async fn search_for_project_in_directory_async(dir: &Path, project_id: &str) -> Result<Option<std::path::PathBuf>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CachedProject` is never constructed
[INFO] [stdout]    --> src/utils/project.rs:727:8
[INFO] [stdout]     |
[INFO] [stdout] 727 | struct CachedProject {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_valid` are never used
[INFO] [stdout]    --> src/utils/project.rs:738:8
[INFO] [stdout]     |
[INFO] [stdout] 736 | impl CachedProject {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 737 |     /// Create a new cached project
[INFO] [stdout] 738 |     fn new(project: Project, last_modified: SystemTime) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 747 |     fn is_valid(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProjectCache` is never constructed
[INFO] [stdout]    --> src/utils/project.rs:766:8
[INFO] [stdout]     |
[INFO] [stdout] 766 | struct ProjectCache {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_project`, `insert_project`, `record_dir_scan`, `get_projects_in_dir`, and `clean` are never used
[INFO] [stdout]    --> src/utils/project.rs:777:8
[INFO] [stdout]     |
[INFO] [stdout] 775 | impl ProjectCache {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 776 |     /// Create a new empty project cache
[INFO] [stdout] 777 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |     fn get_project(&self, project_id: &str) -> Option<&CachedProject> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 796 |     fn insert_project(&mut self, project: Project) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 808 |     fn record_dir_scan(&mut self, dir: PathBuf, project_ids: Vec<String>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 814 |     fn get_projects_in_dir(&self, dir: &Path) -> Option<&Vec<String>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 825 |     fn clean(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `record_request` is never used
[INFO] [stdout]    --> src/utils/rate_limiter.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 152 | impl ProviderRateLimit {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn record_request<C: Clock>(&mut self, clock: &C) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ttl` is never read
[INFO] [stdout]    --> src/utils/cache.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct ProjectCache {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 170 |     ttl: Duration,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/ai/mod.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | /// Add a shared HTTP client that can be reused across all AI client instances
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/ai/cache.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: unused import: `crate::config`
[INFO] [stdout]   --> src/ai/mod.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use crate::config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]   --> src/stages/mod.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]   --> src/stages/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use anyhow::anyhow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]   --> src/utils/project.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use futures::stream::{StreamExt};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_size`
[INFO] [stdout]   --> src/ai/cache.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let max_size = MAX_CACHE_SIZE;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_memory_bytes`
[INFO] [stdout]   --> src/ai/cache.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let max_memory_bytes = max_memory_mb * 1024 * 1024; // Convert MB to bytes
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_memory_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/ai/mod.rs:256:57
[INFO] [stdout]     |
[INFO] [stdout] 256 |     async fn generate_with_options(&self, prompt: &str, options: RequestOptions) -> Result<String> {
[INFO] [stdout]     |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_path`
[INFO] [stdout]    --> src/config/mod.rs:243:34
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn migrate_config(content: &str, config_path: &PathBuf) -> Result<Config> {
[INFO] [stdout]     |                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ai_client`
[INFO] [stdout]   --> src/main.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let ai_client = match &cli.command {
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ai_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prompt_manager`
[INFO] [stdout]   --> src/main.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let prompt_manager = match prompts::PromptManager::new(&templates_dir) {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/ai/mod.rs:210:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | pub trait AiClient: Send + Sync {
[INFO] [stdout]     |           -------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 210 |     fn model_version(&self) -> &str;
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn base_url(&self) -> &str;
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 283 |     async fn generate_streaming(&self, prompt: &str) -> Result<Pin<Box<dyn Stream<Item = Result<String>> + Send>>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 307 |     async fn generate_streaming_with_options(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |     async fn generate_json(&self, prompt: &str) -> Result<Value> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 358 |     async fn generate_json_with_options(&self, prompt: &str, options: RequestOptions) -> Result<Value> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 412 |     async fn call_function(
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProxyAiClient` is never constructed
[INFO] [stdout]    --> src/ai/mod.rs:549:8
[INFO] [stdout]     |
[INFO] [stdout] 549 | struct ProxyAiClient<'a> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/ai/mod.rs:554:8
[INFO] [stdout]     |
[INFO] [stdout] 553 | impl<'a> ProxyAiClient<'a> {
[INFO] [stdout]     | -------------------------- associated function in this implementation
[INFO] [stdout] 554 |     fn new(inner: &'a Box<dyn AiClient>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content_type` is never read
[INFO] [stdout]   --> src/ai/anthropic.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct ResponseContent {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 68 |     #[serde(rename = "type")]
[INFO] [stdout] 69 |     content_type: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StreamingResponse` is never constructed
[INFO] [stdout]   --> src/ai/anthropic.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | struct StreamingResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StreamingDelta` is never constructed
[INFO] [stdout]   --> src/ai/anthropic.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | struct StreamingDelta {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `api_version` is never read
[INFO] [stdout]   --> src/ai/openai.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct OpenAiClient {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     api_version: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StreamingResponse` is never constructed
[INFO] [stdout]   --> src/ai/openai.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | struct StreamingResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StreamingChoice` is never constructed
[INFO] [stdout]   --> src/ai/openai.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct StreamingChoice {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StreamingDelta` is never constructed
[INFO] [stdout]   --> src/ai/openai.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct StreamingDelta {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `size`, `memory_usage`, and `max_memory_usage` are never used
[INFO] [stdout]    --> src/ai/cache.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout]  85 | impl ResponseCache {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn memory_usage(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn max_memory_usage(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dimmed` and `bold` are never used
[INFO] [stdout]   --> src/config/mod.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait ColorizeExt {
[INFO] [stdout]    |           ----------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn dimmed(&self) -> String;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 27 |     fn bold(&self) -> String;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_log_level` is never used
[INFO] [stdout]     --> src/config/mod.rs:1062:4
[INFO] [stdout]      |
[INFO] [stdout] 1062 | fn is_valid_log_level(level: &str) -> bool {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_artifact` is never used
[INFO] [stdout]    --> src/models/mod.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl Project {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn add_artifact(&mut self, stage_number: u8, artifact: Artifact) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `template_dir` is never read
[INFO] [stdout]   --> src/prompts/mod.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct PromptManager {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 94 |     template_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_template`, `has_template`, and `get_template_names` are never used
[INFO] [stdout]    --> src/prompts/mod.rs:287:12
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl PromptManager {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 287 |     pub fn add_template(&mut self, name: &str, content: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 327 |     pub fn has_template(&self, name: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 349 |     pub fn get_template_names(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotStarted`, `InProgress`, and `Failed` are never constructed
[INFO] [stdout]   --> src/stages/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum StageExecutionStatus {
[INFO] [stdout]    |          -------------------- variants in this enum
[INFO] [stdout] 23 |     NotStarted,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 24 |     Skipped,
[INFO] [stdout] 25 |     InProgress,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 26 |     Completed,
[INFO] [stdout] 27 |     Failed,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StageExecutionStatus` 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 `to_json` is never used
[INFO] [stdout]   --> src/stages/mod.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl StageContext {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn to_json(&self) -> Value {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `context` is never read
[INFO] [stdout]   --> src/stages/mod.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct StageResult {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub context: StageContext,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StageResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `failure`, `in_progress`, and `is_failure` are never used
[INFO] [stdout]    --> src/stages/mod.rs:97:12
[INFO] [stdout]     |
[INFO] [stdout]  86 | impl StageResult {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn failure(message: impl Into<String>, context: StageContext) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn in_progress(context: StageContext) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn is_failure(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name` and `description` are never used
[INFO] [stdout]    --> src/stages/mod.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub trait Stage: Send + Sync {
[INFO] [stdout]     |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn name(&self) -> &str;
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     fn description(&self) -> &str;
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `number`, `name`, and `dependencies` are never used
[INFO] [stdout]    --> src/stages/mod.rs:261:12
[INFO] [stdout]     |
[INFO] [stdout] 259 | impl StageEnum {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 260 |     /// Get the number of this stage
[INFO] [stdout] 261 |     pub fn number(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     pub fn name(&self) -> &str {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 |     pub fn dependencies(&self) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_stages` is never used
[INFO] [stdout]    --> src/stages/mod.rs:323:14
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub async fn run_stages(project_id: &str, stages: &[u8]) -> Result<StageContext> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_all_stages` is never used
[INFO] [stdout]    --> src/stages/mod.rs:367:14
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub async fn run_all_stages(project_id: &str) -> Result<StageContext> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_available_stages` is never used
[INFO] [stdout]    --> src/stages/mod.rs:372:14
[INFO] [stdout]     |
[INFO] [stdout] 372 | pub async fn run_available_stages(project_id: &str) -> Result<StageContext> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `description` is never read
[INFO] [stdout]   --> src/stages/stage1.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Stage1 {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 11 |     name: String,
[INFO] [stdout] 12 |     description: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `description` is never read
[INFO] [stdout]   --> src/stages/stage2.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Stage2 {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 11 |     name: String,
[INFO] [stdout] 12 |     description: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `description` is never read
[INFO] [stdout]   --> src/stages/stage3.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Stage3 {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 11 |     name: String,
[INFO] [stdout] 12 |     description: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `description` is never read
[INFO] [stdout]   --> src/stages/stage4.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Stage4 {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 11 |     name: String,
[INFO] [stdout] 12 |     description: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `description` is never read
[INFO] [stdout]   --> src/stages/stage5.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Stage5 {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 11 |     name: String,
[INFO] [stdout] 12 |     description: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `description` is never read
[INFO] [stdout]   --> src/stages/stage6.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Stage6 {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 11 |     name: String,
[INFO] [stdout] 12 |     description: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_project_async` is never used
[INFO] [stdout]   --> src/utils/project.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub async fn save_project_async(project: &Project) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_for_project_in_directory_async` is never used
[INFO] [stdout]    --> src/utils/project.rs:275:10
[INFO] [stdout]     |
[INFO] [stdout] 275 | async fn search_for_project_in_directory_async(dir: &Path, project_id: &str) -> Result<Option<std::path::PathBuf>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_projects` is never used
[INFO] [stdout]    --> src/utils/project.rs:362:8
[INFO] [stdout]     |
[INFO] [stdout] 362 | pub fn list_projects() -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_projects` is never used
[INFO] [stdout]    --> src/utils/project.rs:404:8
[INFO] [stdout]     |
[INFO] [stdout] 404 | pub fn get_all_projects() -> Result<Vec<Project>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `collect_projects_from_directory` is never used
[INFO] [stdout]    --> src/utils/project.rs:456:4
[INFO] [stdout]     |
[INFO] [stdout] 456 | fn collect_projects_from_directory(dir: &Path) -> Result<Vec<Project>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CachedProject` is never constructed
[INFO] [stdout]    --> src/utils/project.rs:727:8
[INFO] [stdout]     |
[INFO] [stdout] 727 | struct CachedProject {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_valid` are never used
[INFO] [stdout]    --> src/utils/project.rs:738:8
[INFO] [stdout]     |
[INFO] [stdout] 736 | impl CachedProject {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 737 |     /// Create a new cached project
[INFO] [stdout] 738 |     fn new(project: Project, last_modified: SystemTime) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 747 |     fn is_valid(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProjectCache` is never constructed
[INFO] [stdout]    --> src/utils/project.rs:766:8
[INFO] [stdout]     |
[INFO] [stdout] 766 | struct ProjectCache {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_project`, `insert_project`, `record_dir_scan`, `get_projects_in_dir`, and `clean` are never used
[INFO] [stdout]    --> src/utils/project.rs:777:8
[INFO] [stdout]     |
[INFO] [stdout] 775 | impl ProjectCache {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 776 |     /// Create a new empty project cache
[INFO] [stdout] 777 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |     fn get_project(&self, project_id: &str) -> Option<&CachedProject> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 796 |     fn insert_project(&mut self, project: Project) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 808 |     fn record_dir_scan(&mut self, dir: PathBuf, project_ids: Vec<String>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 814 |     fn get_projects_in_dir(&self, dir: &Path) -> Option<&Vec<String>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 825 |     fn clean(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `record_request` is never used
[INFO] [stdout]    --> src/utils/rate_limiter.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 152 | impl ProviderRateLimit {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn record_request<C: Clock>(&mut self, clock: &C) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ttl` is never read
[INFO] [stdout]    --> src/utils/cache.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct ProjectCache {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 170 |     ttl: Duration,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `invalidate_project`, and `invalidate_dir_scans` are never used
[INFO] [stdout]    --> src/utils/cache.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl ProjectCache {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |     pub fn invalidate_project(&mut self, project_id: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 358 |     pub fn invalidate_dir_scans(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_cached_project` is never used
[INFO] [stdout]    --> src/utils/cache.rs:458:8
[INFO] [stdout]     |
[INFO] [stdout] 458 | pub fn save_cached_project(project: &Project) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_dir_exists` is never used
[INFO] [stdout]  --> src/utils/file.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn ensure_dir_exists(path: impl AsRef<Path>) -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_to_string` is never used
[INFO] [stdout]   --> src/utils/file.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn read_to_string(path: impl AsRef<Path>) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_string_to_file` is never used
[INFO] [stdout]   --> src/utils/file.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn write_string_to_file(path: impl AsRef<Path>, content: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_string_to_file` is never used
[INFO] [stdout]   --> src/utils/file.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn append_string_to_file(path: impl AsRef<Path>, content: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_exists` is never used
[INFO] [stdout]   --> src/utils/file.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn file_exists(path: impl AsRef<Path>) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dir_exists` is never used
[INFO] [stdout]   --> src/utils/file.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub fn dir_exists(path: impl AsRef<Path>) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_files` is never used
[INFO] [stdout]   --> src/utils/file.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub fn list_files(dir: impl AsRef<Path>) -> Result<Vec<PathBuf>> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_dirs` is never used
[INFO] [stdout]    --> src/utils/file.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn list_dirs(dir: impl AsRef<Path>) -> Result<Vec<PathBuf>> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_files` is never used
[INFO] [stdout]    --> src/utils/file.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 154 | pub fn find_files(dir: impl AsRef<Path>, pattern: &str) -> Result<Vec<PathBuf>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_file` is never used
[INFO] [stdout]    --> src/utils/file.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub fn delete_file(path: impl AsRef<Path>) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_dir` is never used
[INFO] [stdout]    --> src/utils/file.rs:216:8
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub fn delete_dir(path: impl AsRef<Path>) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_file` is never used
[INFO] [stdout]    --> src/utils/file.rs:231:8
[INFO] [stdout]     |
[INFO] [stdout] 231 | pub fn copy_file(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<u64> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rename` is never used
[INFO] [stdout]    --> src/utils/file.rs:249:8
[INFO] [stdout]     |
[INFO] [stdout] 249 | pub fn rename(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file_async` is never used
[INFO] [stdout]    --> src/utils/file.rs:278:14
[INFO] [stdout]     |
[INFO] [stdout] 278 | pub async fn read_file_async(path: impl AsRef<Path>) -> Result<String> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_file_async` is never used
[INFO] [stdout]    --> src/utils/file.rs:300:14
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub async fn write_file_async(path: impl AsRef<Path>, content: &str) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_dir_async` is never used
[INFO] [stdout]    --> src/utils/file.rs:329:14
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub async fn ensure_dir_async(path: impl AsRef<Path>) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file` is never used
[INFO] [stdout]    --> src/utils/file.rs:342:8
[INFO] [stdout]     |
[INFO] [stdout] 342 | pub fn read_file(path: impl AsRef<Path>) -> Result<String> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_file` is never used
[INFO] [stdout]    --> src/utils/file.rs:351:8
[INFO] [stdout]     |
[INFO] [stdout] 351 | pub fn write_file(path: impl AsRef<Path>, content: &str) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_dir` is never used
[INFO] [stdout]    --> src/utils/file.rs:368:8
[INFO] [stdout]     |
[INFO] [stdout] 368 | pub fn ensure_dir(path: impl AsRef<Path>) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prompt_select` is never used
[INFO] [stdout]   --> src/utils/ui.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn prompt_select<T: AsRef<str>>(message: &str, options: &[T]) -> io::Result<usize> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `with_spinner` is never used
[INFO] [stdout]   --> src/utils/ui.rs:76:14
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub async fn with_spinner<F, T, E>(message: &str, task: F) -> Result<T, E>
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `progress_bar` is never used
[INFO] [stdout]   --> src/utils/ui.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn progress_bar(len: u64, message: &str) -> indicatif::ProgressBar {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `info_user` is never used
[INFO] [stdout]   --> src/utils/mod.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn info_user(message: &str) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `success` is never used
[INFO] [stdout]   --> src/utils/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn success(message: &str) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_user` is never used
[INFO] [stdout]   --> src/utils/mod.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn error_user(message: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug_user` is never used
[INFO] [stdout]   --> src/utils/mod.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn debug_user(message: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "8321e7e28c5ea2ed6a0baf38a2478adb47016487ba890a8098f9a5d4d5f45cf1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8321e7e28c5ea2ed6a0baf38a2478adb47016487ba890a8098f9a5d4d5f45cf1", kill_on_drop: false }`
[INFO] [stdout] 8321e7e28c5ea2ed6a0baf38a2478adb47016487ba890a8098f9a5d4d5f45cf1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 10e3561dca2826cb58eba2c0d3d1382f340694b9f8310805dff5a763b723e7c6
[INFO] running `Command { std: "docker" "start" "-a" "10e3561dca2826cb58eba2c0d3d1382f340694b9f8310805dff5a763b723e7c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling tokio v1.44.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling test-log-macros v0.2.17
[INFO] [stderr]    Compiling mockall_derive v0.12.1
[INFO] [stderr]    Compiling downcast v0.11.0
[INFO] [stderr]    Compiling fragile v2.0.0
[INFO] [stderr]    Compiling serde_test v1.0.177
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling env_logger v0.11.7
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling mockall v0.12.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling test-log v0.2.17
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling rust-ai-toolkit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/ai/mod.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | /// Add a shared HTTP client that can be reused across all AI client instances
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/ai/cache.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: unused import: `crate::config`
[INFO] [stdout]   --> src/ai/mod.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use crate::config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]   --> src/stages/mod.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]   --> src/stages/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use anyhow::anyhow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]   --> src/utils/project.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use futures::stream::{StreamExt};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_size`
[INFO] [stdout]   --> src/ai/cache.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let max_size = MAX_CACHE_SIZE;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_memory_bytes`
[INFO] [stdout]   --> src/ai/cache.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let max_memory_bytes = max_memory_mb * 1024 * 1024; // Convert MB to bytes
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_memory_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope
[INFO] [stdout]    --> src/ai/cache.rs:400:28
[INFO] [stdout]     |
[INFO] [stdout] 400 |         generate_response: Mutex<Option<String>>,
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `crate::utils::cache::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::nonpoison::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use futures::lock::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use tokio::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope
[INFO] [stdout]    --> src/ai/cache.rs:401:25
[INFO] [stdout]     |
[INFO] [stdout] 401 |         generate_error: Mutex<Option<ToolkitError>>,
[INFO] [stdout]     |                         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `crate::utils::cache::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::nonpoison::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use futures::lock::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use tokio::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ToolkitError` in this scope
[INFO] [stdout]    --> src/ai/cache.rs:401:38
[INFO] [stdout]     |
[INFO] [stdout] 401 |         generate_error: Mutex<Option<ToolkitError>>,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use crate::ToolkitError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope
[INFO] [stdout]    --> src/ai/cache.rs:402:41
[INFO] [stdout]     |
[INFO] [stdout] 402 |         generate_with_options_response: Mutex<Option<String>>,
[INFO] [stdout]     |                                         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `crate::utils::cache::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::nonpoison::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use futures::lock::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use tokio::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope
[INFO] [stdout]    --> src/ai/cache.rs:403:38
[INFO] [stdout]     |
[INFO] [stdout] 403 |         generate_with_options_error: Mutex<Option<ToolkitError>>,
[INFO] [stdout]     |                                      ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `crate::utils::cache::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::nonpoison::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use futures::lock::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use tokio::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ToolkitError` in this scope
[INFO] [stdout]    --> src/ai/cache.rs:403:51
[INFO] [stdout]     |
[INFO] [stdout] 403 |         generate_with_options_error: Mutex<Option<ToolkitError>>,
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use crate::ToolkitError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex`
[INFO] [stdout]    --> src/ai/cache.rs:409:36
[INFO] [stdout]     |
[INFO] [stdout] 409 |                 generate_response: Mutex::new(None),
[INFO] [stdout]     |                                    ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `crate::utils::cache::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::nonpoison::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use futures::lock::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use tokio::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex`
[INFO] [stdout]    --> src/ai/cache.rs:410:33
[INFO] [stdout]     |
[INFO] [stdout] 410 |                 generate_error: Mutex::new(None),
[INFO] [stdout]     |                                 ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `crate::utils::cache::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::nonpoison::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use futures::lock::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use tokio::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex`
[INFO] [stdout]    --> src/ai/cache.rs:411:49
[INFO] [stdout]     |
[INFO] [stdout] 411 |                 generate_with_options_response: Mutex::new(None),
[INFO] [stdout]     |                                                 ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `crate::utils::cache::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::nonpoison::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use futures::lock::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use tokio::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex`
[INFO] [stdout]    --> src/ai/cache.rs:412:46
[INFO] [stdout]     |
[INFO] [stdout] 412 |                 generate_with_options_error: Mutex::new(None),
[INFO] [stdout]     |                                              ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `crate::utils::cache::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::nonpoison::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use futures::lock::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use tokio::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ToolkitError`
[INFO] [stdout]    --> src/ai/cache.rs:464:21
[INFO] [stdout]     |
[INFO] [stdout] 464 |                 Err(ToolkitError::Api("No mock response configured".to_string()))
[INFO] [stdout]     |                     ^^^^^^^^^^^^ use of undeclared type `ToolkitError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use crate::ToolkitError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ToolkitError`
[INFO] [stdout]    --> src/ai/cache.rs:479:21
[INFO] [stdout]     |
[INFO] [stdout] 479 |                 Err(ToolkitError::Api("No mock response configured".to_string()))
[INFO] [stdout]     |                     ^^^^^^^^^^^^ use of undeclared type `ToolkitError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use crate::ToolkitError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ToolkitError`
[INFO] [stdout]    --> src/ai/cache.rs:611:34
[INFO] [stdout]     |
[INFO] [stdout] 611 |         mock.expect_generate(Err(ToolkitError::Api("API error".to_string())));
[INFO] [stdout]     |                                  ^^^^^^^^^^^^ use of undeclared type `ToolkitError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use crate::ToolkitError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ToolkitError`
[INFO] [stdout]    --> src/ai/cache.rs:619:20
[INFO] [stdout]     |
[INFO] [stdout] 619 |         if let Err(ToolkitError::Api(msg)) = result {
[INFO] [stdout]     |                    ^^^^^^^^^^^^ use of undeclared type `ToolkitError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use crate::ToolkitError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AtomicU64` in this scope
[INFO] [stdout]    --> src/utils/rate_limiter.rs:551:18
[INFO] [stdout]     |
[INFO] [stdout] 551 |         now: Arc<AtomicU64>,
[INFO] [stdout]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::sync::atomic::AtomicU64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtomicU64`
[INFO] [stdout]    --> src/utils/rate_limiter.rs:557:31
[INFO] [stdout]     |
[INFO] [stdout] 557 |                 now: Arc::new(AtomicU64::new(0)),
[INFO] [stdout]     |                               ^^^^^^^^^ use of undeclared type `AtomicU64`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::sync::atomic::AtomicU64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering`
[INFO] [stdout]    --> src/utils/rate_limiter.rs:562:60
[INFO] [stdout]     |
[INFO] [stdout] 562 |             self.now.fetch_add(duration.as_nanos() as u64, Ordering::SeqCst);
[INFO] [stdout]     |                                                            ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering`
[INFO] [stdout]    --> src/utils/rate_limiter.rs:568:39
[INFO] [stdout]     |
[INFO] [stdout] 568 |             let nanos = self.now.load(Ordering::SeqCst);
[INFO] [stdout]     |                                       ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtomicU64`
[INFO] [stdout]    --> src/utils/rate_limiter.rs:670:38
[INFO] [stdout]     |
[INFO] [stdout] 670 |         let request_count = Arc::new(AtomicU64::new(0));
[INFO] [stdout]     |                                      ^^^^^^^^^ use of undeclared type `AtomicU64`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::sync::atomic::AtomicU64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering`
[INFO] [stdout]    --> src/utils/rate_limiter.rs:683:52
[INFO] [stdout]     |
[INFO] [stdout] 683 |                         request_count.fetch_add(1, Ordering::SeqCst);
[INFO] [stdout]     |                                                    ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering`
[INFO] [stdout]    --> src/utils/rate_limiter.rs:695:49
[INFO] [stdout]     |
[INFO] [stdout] 695 |         let total_requests = request_count.load(Ordering::SeqCst);
[INFO] [stdout]     |                                                 ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 546 +     use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/ai/mod.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | /// Add a shared HTTP client that can be reused across all AI client instances
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/ai/cache.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: unused import: `tokio::sync::RwLock`
[INFO] [stdout]    --> src/ai/cache.rs:393:9
[INFO] [stdout]     |
[INFO] [stdout] 393 |     use tokio::sync::RwLock;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]    --> src/ai/cache.rs:394:9
[INFO] [stdout]     |
[INFO] [stdout] 394 |     use std::sync::Arc;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config`
[INFO] [stdout]   --> src/ai/mod.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use crate::config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]   --> src/stages/mod.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]   --> src/stages/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use anyhow::anyhow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/ai/mod.rs:256:57
[INFO] [stdout]     |
[INFO] [stdout] 256 |     async fn generate_with_options(&self, prompt: &str, options: RequestOptions) -> Result<String> {
[INFO] [stdout]     |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_path`
[INFO] [stdout]    --> src/config/mod.rs:243:34
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn migrate_config(content: &str, config_path: &PathBuf) -> Result<Config> {
[INFO] [stdout]     |                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProxyAiClient` is never constructed
[INFO] [stdout]    --> src/ai/mod.rs:549:8
[INFO] [stdout]     |
[INFO] [stdout] 549 | struct ProxyAiClient<'a> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/ai/mod.rs:554:8
[INFO] [stdout]     |
[INFO] [stdout] 553 | impl<'a> ProxyAiClient<'a> {
[INFO] [stdout]     | -------------------------- associated function in this implementation
[INFO] [stdout] 554 |     fn new(inner: &'a Box<dyn AiClient>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content_type` is never read
[INFO] [stdout]   --> src/ai/anthropic.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct ResponseContent {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 68 |     #[serde(rename = "type")]
[INFO] [stdout] 69 |     content_type: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `size`, `memory_usage`, and `max_memory_usage` are never used
[INFO] [stdout]    --> src/ai/cache.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout]  85 | impl ResponseCache {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn memory_usage(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn max_memory_usage(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_log_level` is never used
[INFO] [stdout]     --> src/config/mod.rs:1062:4
[INFO] [stdout]      |
[INFO] [stdout] 1062 | fn is_valid_log_level(level: &str) -> bool {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_for_project_in_directory_async` is never used
[INFO] [stdout]    --> src/utils/project.rs:275:10
[INFO] [stdout]     |
[INFO] [stdout] 275 | async fn search_for_project_in_directory_async(dir: &Path, project_id: &str) -> Result<Option<std::path::PathBuf>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CachedProject` is never constructed
[INFO] [stdout]    --> src/utils/project.rs:727:8
[INFO] [stdout]     |
[INFO] [stdout] 727 | struct CachedProject {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_valid` are never used
[INFO] [stdout]    --> src/utils/project.rs:738:8
[INFO] [stdout]     |
[INFO] [stdout] 736 | impl CachedProject {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 737 |     /// Create a new cached project
[INFO] [stdout] 738 |     fn new(project: Project, last_modified: SystemTime) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 747 |     fn is_valid(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProjectCache` is never constructed
[INFO] [stdout]    --> src/utils/project.rs:766:8
[INFO] [stdout]     |
[INFO] [stdout] 766 | struct ProjectCache {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_project`, `insert_project`, `record_dir_scan`, `get_projects_in_dir`, and `clean` are never used
[INFO] [stdout]    --> src/utils/project.rs:777:8
[INFO] [stdout]     |
[INFO] [stdout] 775 | impl ProjectCache {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 776 |     /// Create a new empty project cache
[INFO] [stdout] 777 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |     fn get_project(&self, project_id: &str) -> Option<&CachedProject> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 796 |     fn insert_project(&mut self, project: Project) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 808 |     fn record_dir_scan(&mut self, dir: PathBuf, project_ids: Vec<String>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 814 |     fn get_projects_in_dir(&self, dir: &Path) -> Option<&Vec<String>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 825 |     fn clean(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `record_request` is never used
[INFO] [stdout]    --> src/utils/rate_limiter.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 152 | impl ProviderRateLimit {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn record_request<C: Clock>(&mut self, clock: &C) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ttl` is never read
[INFO] [stdout]    --> src/utils/cache.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct ProjectCache {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 170 |     ttl: Duration,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/ai/cache.rs:456:28
[INFO] [stdout]     |
[INFO] [stdout] 456 |                 return Err(error.clone());
[INFO] [stdout]     |                            ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/ai/cache.rs:462:20
[INFO] [stdout]     |
[INFO] [stdout] 462 |                 Ok(response.clone())
[INFO] [stdout]     |                    ^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/ai/cache.rs:471:28
[INFO] [stdout]     |
[INFO] [stdout] 471 |                 return Err(error.clone());
[INFO] [stdout]     |                            ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/ai/cache.rs:477:20
[INFO] [stdout]     |
[INFO] [stdout] 477 |                 Ok(response.clone())
[INFO] [stdout]     |                    ^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `ai::cache::RESPONSE_CACHE` in the current scope
[INFO] [stdout]    --> src/ai/cache.rs:628:36
[INFO] [stdout]     |
[INFO] [stdout]  25 | / lazy_static! {
[INFO] [stdout]  26 | |     /// Global response cache for AI completions
[INFO] [stdout]  27 | |     pub static ref RESPONSE_CACHE: RwLock<ResponseCache> = {
[INFO] [stdout]  28 | |         let config = config::get_config().unwrap_or_default();
[INFO] [stdout] ...   |
[INFO] [stdout]  33 | |     };
[INFO] [stdout]  34 | | }
[INFO] [stdout]     | |_- method `clone` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 628 |           let cache = RESPONSE_CACHE.clone();
[INFO] [stdout]     |                                      ^^^^^ method not found in `ai::cache::RESPONSE_CACHE`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `clone`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/ai/cache.rs:640:21
[INFO] [stdout]     |
[INFO] [stdout] 640 |                 let mut cache = cache.write().await;
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout] 641 |                 cache.insert(&prompt, None, response);
[INFO] [stdout]     |                 ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `cache` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 640 |                 let mut cache: /* Type */ = cache.write().await;
[INFO] [stdout]     |                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/ai/cache.rs:651:13
[INFO] [stdout]     |
[INFO] [stdout] 651 |         let cache_read = cache.read().await;
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 655 |             assert_eq!(cache_read.get(&prompt, None).unwrap(), response);
[INFO] [stdout]     |                        ---------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `cache_read` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 651 |         let cache_read: /* Type */ = cache.read().await;
[INFO] [stdout]     |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `std::sync::Arc<_, _>`
[INFO] [stdout]    --> src/utils/rate_limiter.rs:676:17
[INFO] [stdout]     |
[INFO] [stdout] 676 |             let request_count = Arc::clone(&request_count);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 683 |                         request_count.fetch_add(1, Ordering::SeqCst);
[INFO] [stdout]     |                         ------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `request_count` an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 676 |             let request_count: std::sync::Arc<T, A> = Arc::clone(&request_count);
[INFO] [stdout]     |                              ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]   --> src/utils/project.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use futures::stream::{StreamExt};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_size`
[INFO] [stdout]   --> src/ai/cache.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let max_size = MAX_CACHE_SIZE;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_memory_bytes`
[INFO] [stdout]   --> src/ai/cache.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let max_memory_bytes = max_memory_mb * 1024 * 1024; // Convert MB to bytes
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_memory_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/ai/mod.rs:256:57
[INFO] [stdout]     |
[INFO] [stdout] 256 |     async fn generate_with_options(&self, prompt: &str, options: RequestOptions) -> Result<String> {
[INFO] [stdout]     |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_path`
[INFO] [stdout]    --> src/config/mod.rs:243:34
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn migrate_config(content: &str, config_path: &PathBuf) -> Result<Config> {
[INFO] [stdout]     |                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/utils/rate_limiter.rs:648:13
[INFO] [stdout]     |
[INFO] [stdout] 648 |         let mut limiter = RateLimiter::new(clock.clone());
[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] Some errors have detailed explanations: E0282, E0412, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-ai-toolkit` (lib test) due to 29 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "10e3561dca2826cb58eba2c0d3d1382f340694b9f8310805dff5a763b723e7c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10e3561dca2826cb58eba2c0d3d1382f340694b9f8310805dff5a763b723e7c6", kill_on_drop: false }`
[INFO] [stdout] 10e3561dca2826cb58eba2c0d3d1382f340694b9f8310805dff5a763b723e7c6
