[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] checking AlqattanDev/rust-ai-toolkit against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlqattanDev%2Frust-ai-toolkit" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AlqattanDev/rust-ai-toolkit on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3-tc2/source/Cargo.toml
[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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 08361890d0c84c82e79acbce9ef26dfe10fc65c622e22783a4659313fbfc3823
[INFO] running `Command { std: "docker" "start" "-a" "08361890d0c84c82e79acbce9ef26dfe10fc65c622e22783a4659313fbfc3823", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "08361890d0c84c82e79acbce9ef26dfe10fc65c622e22783a4659313fbfc3823", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08361890d0c84c82e79acbce9ef26dfe10fc65c622e22783a4659313fbfc3823", kill_on_drop: false }`
[INFO] [stdout] 08361890d0c84c82e79acbce9ef26dfe10fc65c622e22783a4659313fbfc3823
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad15d23cab492b38a68357aa8dbcd4979186aa3365b1dec9dad6c377095449b5
[INFO] running `Command { std: "docker" "start" "-a" "ad15d23cab492b38a68357aa8dbcd4979186aa3365b1dec9dad6c377095449b5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking once_cell v1.21.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling rustix v1.0.2
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking linux-raw-sys v0.9.2
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking winnow v0.7.3
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking clap_builder v4.5.32
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking shell-words v1.1.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking glob v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking env_logger v0.11.7
[INFO] [stderr]     Checking predicates v3.1.3
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking fragile v2.0.0
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking tempfile v3.18.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking nanoid v0.4.0
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling futures-macro v0.3.31
[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 async-stream-impl v0.3.6
[INFO] [stderr]    Compiling test-log-macros v0.2.17
[INFO] [stderr]    Compiling mockall_derive v0.12.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking tokio v1.44.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking dialoguer v0.11.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking clap v4.5.32
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking pest v2.7.15
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking test-log v0.2.17
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]    Compiling pest_meta v2.7.15
[INFO] [stderr]     Checking mockall v0.12.1
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling pest_generator v2.7.15
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]    Compiling pest_derive v2.7.15
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking serde_test v1.0.177
[INFO] [stderr]     Checking toml_edit v0.22.24
[INFO] [stderr]     Checking handlebars v4.5.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking toml v0.8.20
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking 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)]` 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)]` 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] 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] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::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] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::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] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::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] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::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] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::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] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::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] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::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] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 391 +     use std::sync::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)]` 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)]` 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] 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 `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 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 type for type parameter `T` is 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 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)]` 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: `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)]` 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: `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: `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)]` 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]     = note: `#[warn(dead_code)]` 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] 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 23 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "ad15d23cab492b38a68357aa8dbcd4979186aa3365b1dec9dad6c377095449b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad15d23cab492b38a68357aa8dbcd4979186aa3365b1dec9dad6c377095449b5", kill_on_drop: false }`
[INFO] [stdout] ad15d23cab492b38a68357aa8dbcd4979186aa3365b1dec9dad6c377095449b5
