[INFO] cloning repository https://github.com/emsurezhang/LLM-Gateway
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emsurezhang/LLM-Gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femsurezhang%2FLLM-Gateway", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femsurezhang%2FLLM-Gateway'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59f7030b83d01dcb08b634a597ccddad16a669cc
[INFO] checking emsurezhang/LLM-Gateway against try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femsurezhang%2FLLM-Gateway" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/emsurezhang/LLM-Gateway
[INFO] finished tweaking git repo https://github.com/emsurezhang/LLM-Gateway
[INFO] tweaked toml for git repo https://github.com/emsurezhang/LLM-Gateway written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/emsurezhang/LLM-Gateway on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/emsurezhang/LLM-Gateway 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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6bd485b7db4561d80f087d6b2d4b25a351db635a6266c858711e00f09eab9b17
[INFO] running `Command { std: "docker" "start" "-a" "6bd485b7db4561d80f087d6b2d4b25a351db635a6266c858711e00f09eab9b17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6bd485b7db4561d80f087d6b2d4b25a351db635a6266c858711e00f09eab9b17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bd485b7db4561d80f087d6b2d4b25a351db635a6266c858711e00f09eab9b17", kill_on_drop: false }`
[INFO] [stdout] 6bd485b7db4561d80f087d6b2d4b25a351db635a6266c858711e00f09eab9b17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b60f0b690ee1939e2db81053a5e074f086228a4ed7521c75b4944d3c0dd4696
[INFO] running `Command { std: "docker" "start" "-a" "2b60f0b690ee1939e2db81053a5e074f086228a4ed7521c75b4944d3c0dd4696", kill_on_drop: false }`
[INFO] [stderr]     Checking value-bag v1.11.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling find-msvc-tools v0.1.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking indexmap v2.11.0
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling cc v1.2.35
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling futures-lite v2.6.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking async-lock v3.4.1
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking regex-syntax v0.8.6
[INFO] [stderr]    Compiling async-executor v1.13.3
[INFO] [stderr]    Compiling rustix v0.37.28
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking deranged v0.5.3
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling moka v0.12.10
[INFO] [stderr]     Checking regex-automata v0.4.10
[INFO] [stderr]     Checking time-core v0.1.6
[INFO] [stderr]     Checking nu-ansi-term v0.50.1
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking tagptr v0.2.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking bytes v0.6.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking time v0.3.43
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking polling v3.10.0
[INFO] [stderr]     Checking async-io v2.5.0
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking async-std v1.13.2
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.11.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking tracing-appender v0.2.3
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking sqlx-sqlite v0.7.4
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-util v0.1.16
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking mockito v1.7.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking project_rust_learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/dao/model/preload.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, error, debug, warn};
[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: `verify_key_integrity`
[INFO] [stdout]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete` and `post`
[INFO] [stdout]  --> src/web/server.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     routing::{get, post, put, delete},
[INFO] [stdout]   |                    ^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::SqlitePool`
[INFO] [stdout]  --> src/web/handlers/api_key_handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::SqlitePool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decrypt_api_key` and `process_api_key`
[INFO] [stdout]   --> src/web/handlers/api_key_handler.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::dao::provider_key_pool::crypto::{process_api_key, decrypt_api_key};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/dao/model/preload.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, error, debug, warn};
[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: `verify_key_integrity`
[INFO] [stdout]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete` and `post`
[INFO] [stdout]  --> src/web/server.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     routing::{get, post, put, delete},
[INFO] [stdout]   |                    ^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::SqlitePool`
[INFO] [stdout]  --> src/web/handlers/api_key_handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::SqlitePool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decrypt_api_key` and `process_api_key`
[INFO] [stdout]   --> src/web/handlers/api_key_handler.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::dao::provider_key_pool::crypto::{process_api_key, decrypt_api_key};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `base_client` and `base_url` are never read
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DynamicAliClient {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 63 |     base_client: BaseClient,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 64 |     base_url: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `base_client` and `base_url` are never read
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DynamicAliClient {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 63 |     base_client: BaseClient,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 64 |     base_url: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_decrypted_api_key_from_cache`, `get_provider_key_pool_from_cache`, and `preload_provider_key_pools_to_cache`
[INFO] [stdout]  --> tests/provider_key_pool_tests.rs:6:38
[INFO] [stdout]   |
[INFO] [stdout] 6 |     toggle_provider_key_pool_active, preload_provider_key_pools_to_cache,
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     get_provider_key_pool_from_cache, get_decrypted_api_key_from_cache
[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: `process_api_key`
[INFO] [stdout]  --> tests/provider_key_pool_tests.rs:9:58
[INFO] [stdout]   |
[INFO] [stdout] 9 | use project_rust_learn::dao::provider_key_pool::crypto::{process_api_key};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_model`, `delete_model`, `get_model_by_id`, and `update_model`
[INFO] [stdout]  --> src/dao/model/mod.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use model::{Model, create_model, list_models, update_model, delete_model, get_model_by_id, get_model_by_provider_and_name};
[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: `warn`
[INFO] [stdout]  --> src/dao/model/preload.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, error, debug, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `provider::*`
[INFO] [stdout]  --> src/dao/provider/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use provider::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `verify_key_integrity`
[INFO] [stdout]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_provider_key_pool_from_raw_key`, `create_provider_key_pool`, `delete_provider_key_pool`, `list_active_provider_key_pools`, `list_provider_key_pools_by_provider`, `toggle_provider_key_pool_active`, `update_key_pool_usage`, and `update_provider_key_pool`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     create_provider_key_pool, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     list_provider_key_pools_by_provider,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     list_active_provider_key_pools,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     update_provider_key_pool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     update_key_pool_usage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     delete_provider_key_pool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     toggle_provider_key_pool_active,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     create_provider_key_pool_from_raw_key
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CachedProviderKeyPool` and `insert_cached_provider_key_pool_to_cache`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CachedProviderKeyPool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     insert_cached_provider_key_pool_to_cache,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decrypt_api_key`, `encrypt_api_key`, `generate_key_hash`, `process_api_key`, and `verify_key_integrity`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     generate_key_hash,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     encrypt_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     decrypt_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     process_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     verify_key_integrity
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemConfig`, `create_system_config`, `delete_system_config`, `delete_system_configs_by_category`, `get_system_config_by_id`, `get_system_config_by_key`, `get_system_config_value`, `list_encrypted_system_configs`, `list_system_configs_by_category`, `list_system_configs`, `system_config_exists`, `update_system_config_encryption`, `update_system_config_value`, and `update_system_config`
[INFO] [stdout]   --> src/dao/system_config/mod.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |     SystemConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  5 |     create_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  6 |     get_system_config_by_id,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  7 |     get_system_config_by_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     list_system_configs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     list_system_configs_by_category,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     list_encrypted_system_configs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     update_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     update_system_config_value,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     update_system_config_encryption,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     delete_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     delete_system_configs_by_category,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     system_config_exists,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     get_system_config_value
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CallLogStats`, `count_call_logs_by_model`, `count_call_logs`, `delete_call_log`, `delete_call_logs_by_model`, `delete_old_call_logs`, `get_call_log_by_id`, `get_call_logs_stats_by_model`, `get_call_logs_stats`, `list_call_logs_by_date_range`, `list_call_logs_by_model`, `list_call_logs_by_status`, `list_call_logs_paginated`, `list_call_logs`, `list_error_call_logs`, and `update_call_log`
[INFO] [stdout]   --> src/dao/call_log/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     CallLogStats,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  6 |     create_call_log,
[INFO] [stdout]  7 |     get_call_log_by_id,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     list_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     list_call_logs_paginated,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     list_call_logs_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     list_call_logs_by_status,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     list_error_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     list_call_logs_by_date_range,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     get_call_logs_stats,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     get_call_logs_stats_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     update_call_log,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     delete_call_log,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     delete_call_logs_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     delete_old_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     count_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     count_call_logs_by_model
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_active_key_count`, `get_api_key_round_robin`, `get_round_robin_counter`, `reload_provider_api_keys`, and `reset_round_robin_counter`
[INFO] [stdout]   --> src/llm_api/utils/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     get_api_key_round_robin,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     reload_provider_api_keys,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     reset_round_robin_counter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     get_round_robin_counter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     get_active_key_count
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/main.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, error, warn, debug};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::llm_api::ollama::client`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::llm_api::ollama::client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_model`, `delete_model`, `get_model_by_id`, and `update_model`
[INFO] [stdout]  --> src/dao/model/mod.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use model::{Model, create_model, list_models, update_model, delete_model, get_model_by_id, get_model_by_provider_and_name};
[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: `warn`
[INFO] [stdout]  --> src/dao/model/preload.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, error, debug, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `provider::*`
[INFO] [stdout]  --> src/dao/provider/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use provider::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `verify_key_integrity`
[INFO] [stdout]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_provider_key_pool_from_raw_key`, `create_provider_key_pool`, `delete_provider_key_pool`, `list_active_provider_key_pools`, `list_provider_key_pools_by_provider`, `toggle_provider_key_pool_active`, `update_key_pool_usage`, and `update_provider_key_pool`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     create_provider_key_pool, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     list_provider_key_pools_by_provider,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     list_active_provider_key_pools,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     update_provider_key_pool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     update_key_pool_usage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     delete_provider_key_pool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     toggle_provider_key_pool_active,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     create_provider_key_pool_from_raw_key
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CachedProviderKeyPool` and `insert_cached_provider_key_pool_to_cache`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CachedProviderKeyPool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     insert_cached_provider_key_pool_to_cache,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decrypt_api_key`, `encrypt_api_key`, `generate_key_hash`, `process_api_key`, and `verify_key_integrity`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     generate_key_hash,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     encrypt_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     decrypt_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     process_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     verify_key_integrity
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemConfig`, `create_system_config`, `delete_system_config`, `delete_system_configs_by_category`, `get_system_config_by_id`, `get_system_config_by_key`, `get_system_config_value`, `list_encrypted_system_configs`, `list_system_configs_by_category`, `list_system_configs`, `system_config_exists`, `update_system_config_encryption`, `update_system_config_value`, and `update_system_config`
[INFO] [stdout]   --> src/dao/system_config/mod.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |     SystemConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  5 |     create_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  6 |     get_system_config_by_id,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  7 |     get_system_config_by_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     list_system_configs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     list_system_configs_by_category,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     list_encrypted_system_configs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     update_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     update_system_config_value,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     update_system_config_encryption,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     delete_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     delete_system_configs_by_category,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     system_config_exists,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     get_system_config_value
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CallLogStats`, `count_call_logs_by_model`, `count_call_logs`, `delete_call_log`, `delete_call_logs_by_model`, `delete_old_call_logs`, `get_call_log_by_id`, `get_call_logs_stats_by_model`, `get_call_logs_stats`, `list_call_logs_by_date_range`, `list_call_logs_by_model`, `list_call_logs_by_status`, `list_call_logs_paginated`, `list_call_logs`, `list_error_call_logs`, and `update_call_log`
[INFO] [stdout]   --> src/dao/call_log/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     CallLogStats,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  6 |     create_call_log,
[INFO] [stdout]  7 |     get_call_log_by_id,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     list_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     list_call_logs_paginated,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     list_call_logs_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     list_call_logs_by_status,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     list_error_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     list_call_logs_by_date_range,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     get_call_logs_stats,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     get_call_logs_stats_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     update_call_log,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     delete_call_log,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     delete_call_logs_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     delete_old_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     count_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     count_call_logs_by_model
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_active_key_count`, `get_api_key_round_robin`, `get_round_robin_counter`, `reload_provider_api_keys`, and `reset_round_robin_counter`
[INFO] [stdout]   --> src/llm_api/utils/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     get_api_key_round_robin,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     reload_provider_api_keys,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     reset_round_robin_counter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     get_round_robin_counter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     get_active_key_count
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/main.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, error, warn, debug};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::llm_api::ollama::client`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::llm_api::ollama::client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_or_load` and `invalidate` are never used
[INFO] [stdout]   --> src/dao/cache/cache.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | / impl<K, V> CacheService<K, V>
[INFO] [stdout] 11 | | where
[INFO] [stdout] 12 | |     K: std::hash::Hash + Eq + Clone + Send + Sync + 'static,
[INFO] [stdout] 13 | |     V: Clone + Send + Sync + 'static,
[INFO] [stdout]    | |_____________________________________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |       pub async fn get_or_load<F, Fut>(&self, key: K, loader: F) -> V
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |       pub async fn invalidate(&self, key: &K) {
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_model` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub async fn create_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_by_id` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub async fn get_model_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_by_provider_and_name` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn get_model_by_provider_and_name(pool: &SqlitePool, provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_model` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn update_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_model` is never used
[INFO] [stdout]    --> src/dao/model/model.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub async fn delete_model(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_from_cache` is never used
[INFO] [stdout]   --> src/dao/model/preload.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn get_model_from_cache(provider: &str, name: &str) -> Option<Model> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_model_to_cache` is never used
[INFO] [stdout]   --> src/dao/model/preload.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub async fn insert_model_to_cache(model: &Model) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Provider` is never constructed
[INFO] [stdout]  --> src/dao/provider/provider.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Provider {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_provider(pool: &SqlitePool, provider: &Provider) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_by_id` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_provider_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_by_name` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn get_provider_by_name(pool: &SqlitePool, name: &str) -> Result<Option<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_providers` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub async fn get_all_providers(pool: &SqlitePool) -> Result<Vec<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub async fn update_provider(pool: &SqlitePool, id: &str, provider: &Provider) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub async fn delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hard_delete_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub async fn hard_delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_models_for_provider` is never used
[INFO] [stdout]    --> src/dao/provider/provider.rs:103:14
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub async fn count_models_for_provider(pool: &SqlitePool, provider_id: &str) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider_key_pool` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn create_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_key_pool_by_id` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn get_provider_key_pool_by_id(pool: &SqlitePool, id: &str) -> Result<Option<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_provider_key_pools_by_provider` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn list_provider_key_pools_by_provider(pool: &SqlitePool, provider: &str) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_active_provider_key_pools` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn list_active_provider_key_pools(pool: &SqlitePool) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_provider_key_pool` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn update_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_key_pool_usage` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub async fn update_key_pool_usage(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_provider_key_pool` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub async fn delete_provider_key_pool(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `toggle_provider_key_pool_active` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub async fn toggle_provider_key_pool_active(pool: &SqlitePool, id: &str, is_active: bool) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider_key_pool_from_raw_key` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:152:14
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub async fn create_provider_key_pool_from_raw_key(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_provider_key_pool_to_cache` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub async fn insert_provider_key_pool_to_cache(key_pool: &ProviderKeyPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_cached_provider_key_pool_to_cache` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:185:14
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub async fn insert_cached_provider_key_pool_to_cache(cached_key_pool: &CachedProviderKeyPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_round_robin` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:209:14
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub async fn get_api_key_round_robin(provider: &str) -> Option<(String, String)> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reload_provider_api_keys` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:267:14
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub async fn reload_provider_api_keys(pool: &SqlitePool, provider: &str) -> anyhow::Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reset_round_robin_counter` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:303:14
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub async fn reset_round_robin_counter(provider: &str) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_round_robin_counter` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:318:14
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub async fn get_round_robin_counter(provider: &str) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_active_key_count` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:332:14
[INFO] [stdout]     |
[INFO] [stdout] 332 | pub async fn get_active_key_count(provider: &str) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_key_hash` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/crypto.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn generate_key_hash(api_key: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt_api_key` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/crypto.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn encrypt_api_key(api_key: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_api_key` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/crypto.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn process_api_key(api_key: &str) -> Result<(String, String)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_key_integrity` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/crypto.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn verify_key_integrity(decrypted_key: &str, stored_hash: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_system_config` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_by_id` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_system_config_by_id(pool: &SqlitePool, id: &str) -> Result<Option<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_by_key` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn get_system_config_by_key(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_system_configs` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub async fn list_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_system_configs_by_category` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub async fn list_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_encrypted_system_configs` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn list_encrypted_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub async fn update_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config_value` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub async fn update_system_config_value(pool: &SqlitePool, category: &str, key_name: &str, value: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config_encryption` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub async fn update_system_config_encryption(pool: &SqlitePool, id: &str, is_encrypted: bool, encrypted_value: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_system_config` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:136:14
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub async fn delete_system_config(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_system_configs_by_category` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:145:14
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub async fn delete_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `system_config_exists` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 | pub async fn system_config_exists(pool: &SqlitePool, category: &str, key_name: &str) -> Result<bool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_value` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub async fn get_system_config_value(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<String>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_call_log` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_log_by_id` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_call_log_by_id(pool: &SqlitePool, id: &str) -> Result<Option<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn list_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_paginated` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub async fn list_call_logs_paginated(pool: &SqlitePool, limit: i64, offset: i64) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_model` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub async fn list_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_status` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn list_call_logs_by_status(pool: &SqlitePool, status_code: i64) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_error_call_logs` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub async fn list_error_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_date_range` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn list_call_logs_by_date_range(pool: &SqlitePool, start_date: &str, end_date: &str) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_logs_stats` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub async fn get_call_logs_stats(pool: &SqlitePool) -> Result<CallLogStats> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_logs_stats_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub async fn get_call_logs_stats_by_model(pool: &SqlitePool, model_id: &str) -> Result<CallLogStats> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_call_log` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub async fn update_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_call_log` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub async fn delete_call_log(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_call_logs_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub async fn delete_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_old_call_logs` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub async fn delete_old_call_logs(pool: &SqlitePool, before_date: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_call_logs` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:184:14
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub async fn count_call_logs(pool: &SqlitePool) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_call_logs_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub async fn count_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallLogStats` is never constructed
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | pub struct CallLogStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_with_cache` is never used
[INFO] [stdout]   --> src/llm_api/utils/api_key_check.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn get_api_key_with_cache(provider: &str, id: &str) -> Result<Option<String>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_with_cache` is never used
[INFO] [stdout]   --> src/llm_api/utils/model_check.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn get_model_with_cache(provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToolCall` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/msg_structure.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ToolCall {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/msg_structure.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Message {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Function` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/msg_structure.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Function {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/msg_structure.rs:57:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl Message {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  56 |     /// 创建系统消息
[INFO] [stdout]  57 |     pub fn system(content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn user(content: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn assistant(content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn tool(content: String, tool_name: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn with_images(mut self, images: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn with_thinking(mut self, thinking: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn with_tool_calls(mut self, tool_calls: Vec<ToolCall>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tool` is never constructed
[INFO] [stdout]  --> src/llm_api/utils/tool_structure.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Tool {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToolFunction` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/tool_structure.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ToolFunction {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatRequestTrait` is never used
[INFO] [stdout]   --> src/llm_api/utils/chat_traits.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait ChatRequestTrait {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatResponseTrait` is never used
[INFO] [stdout]   --> src/llm_api/utils/chat_traits.rs:71:11
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub trait ChatResponseTrait {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerformanceSummary` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct PerformanceSummary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `empty`, `has_data`, and `format` are never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl PerformanceSummary {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 142 |     /// 创建空的性能摘要
[INFO] [stdout] 143 |     pub fn empty() -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn has_data(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatClientTrait` is never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:192:11
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub trait ChatClientTrait {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatRequestBuilder` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:213:12
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub struct ChatRequestBuilder {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | impl ChatRequestBuilder {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 222 |     /// 创建新的构建器
[INFO] [stdout] 223 |     pub fn new(model: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub fn messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn add_message(mut self, message: Message) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn system(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn user(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn assistant(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn stream(mut self, stream: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub fn options(mut self, options: HashMap<String, Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn format(mut self, format: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn build_fields(self) -> (String, Vec<Message>, Option<bool>, Option<HashMap<String, Value>>, Option<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimeoutConfig` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct TimeoutConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_request_timeout`, and `with_connect_timeout` are never used
[INFO] [stdout]   --> src/llm_api/utils/client.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl TimeoutConfig {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 43 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn with_request_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn with_connect_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RetryConfig` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct RetryConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_max_attempts`, and `with_base_delay` are never used
[INFO] [stdout]   --> src/llm_api/utils/client.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl RetryConfig {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 85 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn with_max_attempts(mut self, attempts: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn with_base_delay(mut self, delay: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientConfig` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct ClientConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_timeout`, `with_retry`, `add_header`, and `with_user_agent` are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | impl ClientConfig {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 127 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn with_timeout(mut self, timeout: TimeoutConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn with_retry(mut self, retry: RetryConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn add_header(mut self, key: String, value: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn with_user_agent(mut self, user_agent: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ClientError` is never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:156:10
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub enum ClientError {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestContext` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | pub struct RequestContext {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | impl RequestContext {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 231 |     /// 创建新的请求上下文
[INFO] [stdout] 232 |     pub fn new(url: &str, max_attempts: u32, is_stream: bool) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     pub fn set_model_id(&mut self, model_id: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     pub fn add_tokens(&mut self, tokens: i64) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn start_retry(&mut self, reason: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub fn total_elapsed(&self) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub fn attempt_elapsed(&self) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn is_final_attempt(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientMetrics` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:283:12
[INFO] [stdout]     |
[INFO] [stdout] 283 | pub struct ClientMetrics {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BaseClient` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:304:12
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct BaseClient {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:315:12
[INFO] [stdout]     |
[INFO] [stdout] 313 | impl BaseClient {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 314 |     /// 创建新的基础客户端
[INFO] [stdout] 315 |     pub fn new(config: ClientConfig) -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     pub fn new_with_client(config: ClientConfig, custom_client: Option<HttpClient>) -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 |     pub fn new_default() -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn http_client(&self) -> &HttpClient {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 367 |     pub fn config(&self) -> &ClientConfig {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     pub fn metrics(&self) -> ClientMetrics {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 377 |     pub async fn post<T>(&self, url: &str, body: T) -> Result<Response, ClientError>
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 515 |     pub async fn post_stream<T, F>(&self, url: &str, body: T, mut callback: F) -> Result<(), ClientError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 724 |     fn calculate_backoff_delay(&self, attempt: u32) -> Duration {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 739 |     fn should_retry(&self, error: &ClientError, _attempt: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 754 |     fn update_success_metrics(&self, response_time: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 780 |     fn update_failure_metrics(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 788 |     fn log_request_start(&self, ctx: &RequestContext) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 799 |     fn log_retry_attempt(&self, ctx: &RequestContext, delay: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 813 |     fn log_request_success(&self, ctx: &RequestContext) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 825 |     fn log_request_failure(&self, ctx: &RequestContext, error: &ClientError) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 838 |     fn log_network_error(&self, ctx: &RequestContext, error: &reqwest::Error) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 859 |     fn log_timeout_error(&self, ctx: &RequestContext, timeout_duration: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 872 |     fn log_api_error(&self, ctx: &RequestContext, message: &str, status_code: Option<u16>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 885 |     fn log_retry_exhausted(&self, ctx: &RequestContext, final_error: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 898 |     async fn create_call_record(&self, ctx: &RequestContext, status_code: i64, error_message: Option<String>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMClientTrait` is never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:942:11
[INFO] [stdout]     |
[INFO] [stdout] 942 | pub trait LLMClientTrait {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientPool` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ClientPool<T> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `acquire`, and `size` are never used
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> ClientPool<T> {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(clients: Vec<T>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub async fn acquire(&self) -> ClientGuard<T> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn size(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientGuard` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct ClientGuard<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lock` is never used
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl<T> ClientGuard<T> {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DynamicAliClient` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DynamicAliClient {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `chat_with_auto_key`, and `chat_stream_with_auto_key` are never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:68:12
[INFO] [stdout]     |
[INFO] [stdout]  67 | impl DynamicAliClient {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout]  68 |     pub fn new() -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub async fn chat_with_auto_key(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn chat_stream_with_auto_key<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GlobalAliClientPool` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct GlobalAliClientPool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init`, `chat`, `chat_stream`, and `size` are never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:169:18
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl GlobalAliClientPool {
[INFO] [stdout]     | ------------------------ associated items in this implementation
[INFO] [stdout] 168 |     /// 初始化全局客户端池
[INFO] [stdout] 169 |     pub async fn init(pool_size: usize) -> Result<Self> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub async fn chat(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub async fn chat_stream<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_ALI_POOL` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | static GLOBAL_ALI_POOL: OnceCell<GlobalAliClientPool> = OnceCell::const_new();
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_ali_client_pool` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:220:14
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub async fn init_ali_client_pool(pool_size: usize) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ali_client_pool` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub async fn get_ali_client_pool() -> Result<&'static GlobalAliClientPool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChatRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/ali/client.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AliChatRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_max_tokens`, `with_temperature`, `with_top_p`, `with_stop`, and `with_incremental_output` are never used
[INFO] [stdout]   --> src/llm_api/ali/client.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl AliChatRequest {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 54 |     /// 创建新的聊天请求
[INFO] [stdout] 55 |     pub fn new(model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn with_temperature(mut self, temperature: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn with_top_p(mut self, top_p: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn with_incremental_output(mut self, incremental: bool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliUsage` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct AliUsage {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliPromptTokensDetails` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:259:12
[INFO] [stdout]     |
[INFO] [stdout] 259 | pub struct AliPromptTokensDetails {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChoice` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:267:12
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub struct AliChoice {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChatResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:281:12
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub struct AliChatResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliStreamResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:331:12
[INFO] [stdout]     |
[INFO] [stdout] 331 | pub struct AliStreamResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliStreamChoice` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:349:12
[INFO] [stdout]     |
[INFO] [stdout] 349 | pub struct AliStreamChoice {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliDelta` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:361:12
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub struct AliDelta {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AliError` is never used
[INFO] [stdout]    --> src/llm_api/ali/client.rs:372:10
[INFO] [stdout]     |
[INFO] [stdout] 372 | pub enum AliError {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliClient` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:415:12
[INFO] [stdout]     |
[INFO] [stdout] 415 | pub struct AliClient {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/ali/client.rs:426:15
[INFO] [stdout]     |
[INFO] [stdout] 424 | impl AliClient {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 425 |     /// DashScope API 的默认基础 URL
[INFO] [stdout] 426 |     pub const DEFAULT_BASE_URL: &'static str = "https://dashscope.aliyuncs.com";
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub fn new(api_key: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 434 |     pub fn new_with_base_url(api_key: String, base_url: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 443 |     pub fn new_with_config(api_key: String, base_url: String, mut config: ClientConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 459 |     pub fn new_with_client(api_key: String, base_url: String, mut config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 475 |     pub async fn chat(&self, mut request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 508 |     pub async fn chat_stream<F>(&self, mut request: AliChatRequest, mut callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 554 |     pub fn api_key(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 559 |     pub fn base_url(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaChatRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/ollama/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct OllamaChatRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_tools`, and `add_tool` are never used
[INFO] [stdout]   --> src/llm_api/ollama/client.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl OllamaChatRequest {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 43 |     /// 创建新的聊天请求
[INFO] [stdout] 44 |     pub fn new(model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn with_tools(mut self, tools: Vec<Tool>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn add_tool(mut self, tool: Tool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaChatResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct OllamaChatResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OllamaError` is never used
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:182:10
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub enum OllamaError {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaClient` is never constructed
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub struct OllamaClient {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | impl OllamaClient {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 231 |     /// 创建新的 Ollama 客户端
[INFO] [stdout] 232 |     pub fn new(base_url: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn new_with_config(base_url: String, config: ClientConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn new_with_client(base_url: String, config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub async fn chat(&self, mut request: OllamaChatRequest) -> Result<OllamaChatResponse, OllamaError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub async fn chat_stream<F>(&self, mut request: OllamaChatRequest, mut callback: F) -> Result<(), OllamaError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     pub async fn list_models(&self) -> Result<Vec<String>, OllamaError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub async fn is_model_available(&self, model_name: &str) -> Result<bool, OllamaError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Provider` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum Provider {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct DispatchRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchResponse` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct DispatchResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenUsage` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct TokenUsage {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMClientAdapter` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub trait LLMClientAdapter: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LLMError` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum LLMError {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct OllamaAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl OllamaAdapter {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 134 |     pub fn new(client: OllamaClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct AliAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl AliAdapter {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 221 |     pub fn new(client: AliClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliPoolAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct AliPoolAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl AliPoolAdapter {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 232 |     pub fn new(pool: Arc<ClientPool<DynamicAliClient>>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LLMDispatcher` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:401:12
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub struct LLMDispatcher {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchConfig` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:407:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | pub struct DispatchConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:428:12
[INFO] [stdout]     |
[INFO] [stdout] 427 | impl LLMDispatcher {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 428 |     pub fn new(config: Option<DispatchConfig>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     pub async fn new_with_database(config: Option<DispatchConfig>, db_url: &str, init_sql_path: &str) -> Result<Self, Box<dyn std::...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     pub async fn register_ali_pool(&self, pool_size: usize) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub async fn register_client(&self, client: Box<dyn LLMClientAdapter>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 510 |     pub async fn register_clients(&self, clients: Vec<Box<dyn LLMClientAdapter>>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     pub async fn dispatch(&self, mut request: DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 537 |     pub async fn dispatch_stream(&self, mut request: DispatchRequest) -> Result<tokio::sync::mpsc::Receiver<Result<String, LLMError...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 549 |     pub async fn list_models(&self, provider: Option<Provider>) -> HashMap<Provider, Vec<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 567 |     pub async fn is_provider_available(&self, provider: &Provider) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 573 |     async fn dispatch_internal(&self, request: &DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 604 |     async fn try_fallback(&self, mut request: DispatchRequest, original_error: LLMError) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 621 |     fn apply_defaults(&self, request: &mut DispatchRequest) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 634 |     fn validate_request(&self, request: &DispatchRequest) -> Result<(), LLMError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_stream`, `with_temperature`, `with_max_tokens`, `with_top_p`, and `with_stop` are never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:655:12
[INFO] [stdout]     |
[INFO] [stdout] 654 | impl DispatchRequest {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 655 |     pub fn new(provider: Provider, model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 673 |     pub fn with_stream(mut self, stream: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 678 |     pub fn with_temperature(mut self, temperature: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 683 |     pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 688 |     pub fn with_top_p(mut self, top_p: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 693 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `json_format` is never read
[INFO] [stdout]   --> src/logger.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct LogConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub json_format: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogConfig` 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: function `init_prod_logger` is never used
[INFO] [stdout]    --> src/logger.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn init_prod_logger() -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_or_load` and `invalidate` are never used
[INFO] [stdout]   --> src/dao/cache/cache.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | / impl<K, V> CacheService<K, V>
[INFO] [stdout] 11 | | where
[INFO] [stdout] 12 | |     K: std::hash::Hash + Eq + Clone + Send + Sync + 'static,
[INFO] [stdout] 13 | |     V: Clone + Send + Sync + 'static,
[INFO] [stdout]    | |_____________________________________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |       pub async fn get_or_load<F, Fut>(&self, key: K, loader: F) -> V
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |       pub async fn invalidate(&self, key: &K) {
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_model` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub async fn create_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_by_id` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub async fn get_model_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_by_provider_and_name` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn get_model_by_provider_and_name(pool: &SqlitePool, provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_model` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn update_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_model` is never used
[INFO] [stdout]    --> src/dao/model/model.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub async fn delete_model(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_from_cache` is never used
[INFO] [stdout]   --> src/dao/model/preload.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn get_model_from_cache(provider: &str, name: &str) -> Option<Model> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_model_to_cache` is never used
[INFO] [stdout]   --> src/dao/model/preload.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub async fn insert_model_to_cache(model: &Model) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Provider` is never constructed
[INFO] [stdout]  --> src/dao/provider/provider.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Provider {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_provider(pool: &SqlitePool, provider: &Provider) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_by_id` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_provider_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_by_name` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn get_provider_by_name(pool: &SqlitePool, name: &str) -> Result<Option<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_providers` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub async fn get_all_providers(pool: &SqlitePool) -> Result<Vec<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub async fn update_provider(pool: &SqlitePool, id: &str, provider: &Provider) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub async fn delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hard_delete_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub async fn hard_delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_models_for_provider` is never used
[INFO] [stdout]    --> src/dao/provider/provider.rs:103:14
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub async fn count_models_for_provider(pool: &SqlitePool, provider_id: &str) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider_key_pool` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn create_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_key_pool_by_id` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn get_provider_key_pool_by_id(pool: &SqlitePool, id: &str) -> Result<Option<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_provider_key_pools_by_provider` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn list_provider_key_pools_by_provider(pool: &SqlitePool, provider: &str) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_active_provider_key_pools` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn list_active_provider_key_pools(pool: &SqlitePool) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_provider_key_pool` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn update_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_key_pool_usage` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub async fn update_key_pool_usage(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_provider_key_pool` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub async fn delete_provider_key_pool(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `toggle_provider_key_pool_active` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub async fn toggle_provider_key_pool_active(pool: &SqlitePool, id: &str, is_active: bool) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider_key_pool_from_raw_key` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:152:14
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub async fn create_provider_key_pool_from_raw_key(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_provider_key_pool_to_cache` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub async fn insert_provider_key_pool_to_cache(key_pool: &ProviderKeyPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_cached_provider_key_pool_to_cache` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:185:14
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub async fn insert_cached_provider_key_pool_to_cache(cached_key_pool: &CachedProviderKeyPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_round_robin` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:209:14
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub async fn get_api_key_round_robin(provider: &str) -> Option<(String, String)> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reload_provider_api_keys` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:267:14
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub async fn reload_provider_api_keys(pool: &SqlitePool, provider: &str) -> anyhow::Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reset_round_robin_counter` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:303:14
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub async fn reset_round_robin_counter(provider: &str) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_round_robin_counter` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:318:14
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub async fn get_round_robin_counter(provider: &str) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_active_key_count` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:332:14
[INFO] [stdout]     |
[INFO] [stdout] 332 | pub async fn get_active_key_count(provider: &str) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_system_config` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_by_id` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_system_config_by_id(pool: &SqlitePool, id: &str) -> Result<Option<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_by_key` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn get_system_config_by_key(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_system_configs` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub async fn list_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_system_configs_by_category` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub async fn list_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_encrypted_system_configs` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn list_encrypted_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub async fn update_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config_value` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub async fn update_system_config_value(pool: &SqlitePool, category: &str, key_name: &str, value: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config_encryption` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub async fn update_system_config_encryption(pool: &SqlitePool, id: &str, is_encrypted: bool, encrypted_value: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_system_config` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:136:14
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub async fn delete_system_config(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_system_configs_by_category` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:145:14
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub async fn delete_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `system_config_exists` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 | pub async fn system_config_exists(pool: &SqlitePool, category: &str, key_name: &str) -> Result<bool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_value` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub async fn get_system_config_value(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<String>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_call_log` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_log_by_id` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_call_log_by_id(pool: &SqlitePool, id: &str) -> Result<Option<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn list_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_paginated` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub async fn list_call_logs_paginated(pool: &SqlitePool, limit: i64, offset: i64) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_model` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub async fn list_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_status` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn list_call_logs_by_status(pool: &SqlitePool, status_code: i64) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_error_call_logs` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub async fn list_error_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_date_range` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn list_call_logs_by_date_range(pool: &SqlitePool, start_date: &str, end_date: &str) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_logs_stats` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub async fn get_call_logs_stats(pool: &SqlitePool) -> Result<CallLogStats> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_logs_stats_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub async fn get_call_logs_stats_by_model(pool: &SqlitePool, model_id: &str) -> Result<CallLogStats> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_call_log` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub async fn update_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_call_log` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub async fn delete_call_log(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_call_logs_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub async fn delete_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_old_call_logs` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub async fn delete_old_call_logs(pool: &SqlitePool, before_date: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_call_logs` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:184:14
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub async fn count_call_logs(pool: &SqlitePool) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_call_logs_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub async fn count_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallLogStats` is never constructed
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | pub struct CallLogStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_with_cache` is never used
[INFO] [stdout]   --> src/llm_api/utils/api_key_check.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn get_api_key_with_cache(provider: &str, id: &str) -> Result<Option<String>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_with_cache` is never used
[INFO] [stdout]   --> src/llm_api/utils/model_check.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn get_model_with_cache(provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `assistant`, `tool`, `with_images`, `with_thinking`, and `with_tool_calls` are never used
[INFO] [stdout]    --> src/llm_api/utils/msg_structure.rs:81:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl Message {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn assistant(content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn tool(content: String, tool_name: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn with_images(mut self, images: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn with_thinking(mut self, thinking: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn with_tool_calls(mut self, tool_calls: Vec<ToolCall>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tool` is never constructed
[INFO] [stdout]  --> src/llm_api/utils/tool_structure.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Tool {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToolFunction` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/tool_structure.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ToolFunction {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/llm_api/utils/chat_traits.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait ChatRequestTrait {
[INFO] [stdout]    |           ---------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn get_messages(&self) -> Vec<Message>;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn set_messages(&mut self, messages: Vec<Message>);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn add_message(&mut self, message: Message);
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn is_stream(&self) -> Option<bool> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn set_stream(&mut self, stream: bool);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn set_options(&mut self, options: HashMap<String, Value>);
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn get_format(&self) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn set_format(&mut self, format: String);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatResponseTrait` is never used
[INFO] [stdout]   --> src/llm_api/utils/chat_traits.rs:71:11
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub trait ChatResponseTrait {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerformanceSummary` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct PerformanceSummary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `empty`, `has_data`, and `format` are never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl PerformanceSummary {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 142 |     /// 创建空的性能摘要
[INFO] [stdout] 143 |     pub fn empty() -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn has_data(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatClientTrait` is never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:192:11
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub trait ChatClientTrait {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatRequestBuilder` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:213:12
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub struct ChatRequestBuilder {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | impl ChatRequestBuilder {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 222 |     /// 创建新的构建器
[INFO] [stdout] 223 |     pub fn new(model: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub fn messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn add_message(mut self, message: Message) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn system(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn user(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn assistant(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn stream(mut self, stream: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub fn options(mut self, options: HashMap<String, Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn format(mut self, format: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn build_fields(self) -> (String, Vec<Message>, Option<bool>, Option<HashMap<String, Value>>, Option<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `read_timeout` is never read
[INFO] [stdout]   --> src/llm_api/utils/client.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct TimeoutConfig {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub read_timeout: Option<Duration>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TimeoutConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_request_timeout`, and `with_connect_timeout` are never used
[INFO] [stdout]   --> src/llm_api/utils/client.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl TimeoutConfig {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 43 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn with_request_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn with_connect_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_attempts`, `base_delay`, `max_delay`, and `exponential_backoff` are never read
[INFO] [stdout]   --> src/llm_api/utils/client.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct RetryConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 63 |     /// 最大重试次数
[INFO] [stdout] 64 |     pub max_attempts: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 65 |     /// 基础延迟时间
[INFO] [stdout] 66 |     pub base_delay: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 67 |     /// 最大延迟时间
[INFO] [stdout] 68 |     pub max_delay: Duration,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 69 |     /// 是否启用指数退避
[INFO] [stdout] 70 |     pub exponential_backoff: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RetryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_max_attempts`, and `with_base_delay` are never used
[INFO] [stdout]   --> src/llm_api/utils/client.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl RetryConfig {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 85 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn with_max_attempts(mut self, attempts: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn with_base_delay(mut self, delay: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `retry` is never read
[INFO] [stdout]    --> src/llm_api/utils/client.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct ClientConfig {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub retry: RetryConfig,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClientConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_timeout`, `with_retry`, and `with_user_agent` are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | impl ClientConfig {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn with_timeout(mut self, timeout: TimeoutConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn with_retry(mut self, retry: RetryConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn with_user_agent(mut self, user_agent: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Timeout`, `RetryExhausted`, `LLMApi`, and `Internal` are never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:158:5
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub enum ClientError {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] 157 |     /// 请求超时
[INFO] [stdout] 158 |     Timeout { duration: Duration },
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     RetryExhausted { attempts: u32, last_error: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     LLMApi { message: String, status_code: Option<u16> },
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     Internal { message: String },
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestContext` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | pub struct RequestContext {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | impl RequestContext {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 231 |     /// 创建新的请求上下文
[INFO] [stdout] 232 |     pub fn new(url: &str, max_attempts: u32, is_stream: bool) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     pub fn set_model_id(&mut self, model_id: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     pub fn add_tokens(&mut self, tokens: i64) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn start_retry(&mut self, reason: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub fn total_elapsed(&self) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub fn attempt_elapsed(&self) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn is_final_attempt(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/llm_api/utils/client.rs:285:9
[INFO] [stdout]     |
[INFO] [stdout] 283 | pub struct ClientMetrics {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 284 |     /// 总请求数
[INFO] [stdout] 285 |     pub total_requests: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 286 |     /// 成功请求数
[INFO] [stdout] 287 |     pub successful_requests: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 288 |     /// 失败请求数
[INFO] [stdout] 289 |     pub failed_requests: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 290 |     /// 重试次数
[INFO] [stdout] 291 |     pub retry_count: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 292 |     /// 平均响应时间
[INFO] [stdout] 293 |     pub avg_response_time: Duration,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 294 |     /// 最长响应时间
[INFO] [stdout] 295 |     pub max_response_time: Duration,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 296 |     /// 最短响应时间
[INFO] [stdout] 297 |     pub min_response_time: Duration,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClientMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client`, `config`, and `metrics` are never read
[INFO] [stdout]    --> src/llm_api/utils/client.rs:306:5
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct BaseClient {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 305 |     /// HTTP 客户端
[INFO] [stdout] 306 |     client: HttpClient,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 307 |     /// 客户端配置
[INFO] [stdout] 308 |     config: ClientConfig,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 309 |     /// 监控指标
[INFO] [stdout] 310 |     metrics: Arc<Mutex<ClientMetrics>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BaseClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:355:12
[INFO] [stdout]     |
[INFO] [stdout] 313 | impl BaseClient {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 355 |     pub fn new_default() -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn http_client(&self) -> &HttpClient {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 367 |     pub fn config(&self) -> &ClientConfig {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     pub fn metrics(&self) -> ClientMetrics {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 377 |     pub async fn post<T>(&self, url: &str, body: T) -> Result<Response, ClientError>
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 515 |     pub async fn post_stream<T, F>(&self, url: &str, body: T, mut callback: F) -> Result<(), ClientError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 724 |     fn calculate_backoff_delay(&self, attempt: u32) -> Duration {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 739 |     fn should_retry(&self, error: &ClientError, _attempt: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 754 |     fn update_success_metrics(&self, response_time: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 780 |     fn update_failure_metrics(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 788 |     fn log_request_start(&self, ctx: &RequestContext) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 799 |     fn log_retry_attempt(&self, ctx: &RequestContext, delay: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 813 |     fn log_request_success(&self, ctx: &RequestContext) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 825 |     fn log_request_failure(&self, ctx: &RequestContext, error: &ClientError) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 838 |     fn log_network_error(&self, ctx: &RequestContext, error: &reqwest::Error) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 859 |     fn log_timeout_error(&self, ctx: &RequestContext, timeout_duration: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 872 |     fn log_api_error(&self, ctx: &RequestContext, message: &str, status_code: Option<u16>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 885 |     fn log_retry_exhausted(&self, ctx: &RequestContext, final_error: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 898 |     async fn create_call_record(&self, ctx: &RequestContext, status_code: i64, error_message: Option<String>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMClientTrait` is never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:942:11
[INFO] [stdout]     |
[INFO] [stdout] 942 | pub trait LLMClientTrait {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `semaphore` and `current_index` are never read
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ClientPool<T> {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 16 |     clients: Vec<Arc<Mutex<T>>>,
[INFO] [stdout] 17 |     semaphore: Arc<Semaphore>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 18 |     current_index: std::sync::atomic::AtomicUsize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `acquire` is never used
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> ClientPool<T> {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub async fn acquire(&self) -> ClientGuard<T> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientGuard` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct ClientGuard<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lock` is never used
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl<T> ClientGuard<T> {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `base_client` and `base_url` are never read
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DynamicAliClient {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 63 |     base_client: BaseClient,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 64 |     base_url: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `chat_with_auto_key` and `chat_stream_with_auto_key` are never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:81:18
[INFO] [stdout]     |
[INFO] [stdout]  67 | impl DynamicAliClient {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub async fn chat_with_auto_key(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn chat_stream_with_auto_key<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GlobalAliClientPool` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct GlobalAliClientPool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init`, `chat`, `chat_stream`, and `size` are never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:169:18
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl GlobalAliClientPool {
[INFO] [stdout]     | ------------------------ associated items in this implementation
[INFO] [stdout] 168 |     /// 初始化全局客户端池
[INFO] [stdout] 169 |     pub async fn init(pool_size: usize) -> Result<Self> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub async fn chat(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub async fn chat_stream<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_ALI_POOL` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | static GLOBAL_ALI_POOL: OnceCell<GlobalAliClientPool> = OnceCell::const_new();
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_ali_client_pool` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:220:14
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub async fn init_ali_client_pool(pool_size: usize) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ali_client_pool` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub async fn get_ali_client_pool() -> Result<&'static GlobalAliClientPool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_stop` and `with_incremental_output` are never used
[INFO] [stdout]   --> src/llm_api/ali/client.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl AliChatRequest {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn with_incremental_output(mut self, incremental: bool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliUsage` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct AliUsage {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliPromptTokensDetails` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:259:12
[INFO] [stdout]     |
[INFO] [stdout] 259 | pub struct AliPromptTokensDetails {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChoice` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:267:12
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub struct AliChoice {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChatResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:281:12
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub struct AliChatResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliStreamResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:331:12
[INFO] [stdout]     |
[INFO] [stdout] 331 | pub struct AliStreamResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliStreamChoice` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:349:12
[INFO] [stdout]     |
[INFO] [stdout] 349 | pub struct AliStreamChoice {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliDelta` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:361:12
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub struct AliDelta {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AliError` is never used
[INFO] [stdout]    --> src/llm_api/ali/client.rs:372:10
[INFO] [stdout]     |
[INFO] [stdout] 372 | pub enum AliError {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `base_client`, `api_key`, and `base_url` are never read
[INFO] [stdout]    --> src/llm_api/ali/client.rs:417:5
[INFO] [stdout]     |
[INFO] [stdout] 415 | pub struct AliClient {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 416 |     /// 基础 HTTP 客户端
[INFO] [stdout] 417 |     base_client: BaseClient,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 418 |     /// API Key
[INFO] [stdout] 419 |     api_key: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 420 |     /// API 基础 URL
[INFO] [stdout] 421 |     base_url: String,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/ali/client.rs:429:12
[INFO] [stdout]     |
[INFO] [stdout] 424 | impl AliClient {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub fn new(api_key: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 434 |     pub fn new_with_base_url(api_key: String, base_url: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 443 |     pub fn new_with_config(api_key: String, base_url: String, mut config: ClientConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 459 |     pub fn new_with_client(api_key: String, base_url: String, mut config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 475 |     pub async fn chat(&self, mut request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 508 |     pub async fn chat_stream<F>(&self, mut request: AliChatRequest, mut callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 554 |     pub fn api_key(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 559 |     pub fn base_url(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaChatRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/ollama/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct OllamaChatRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_tools`, and `add_tool` are never used
[INFO] [stdout]   --> src/llm_api/ollama/client.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl OllamaChatRequest {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 43 |     /// 创建新的聊天请求
[INFO] [stdout] 44 |     pub fn new(model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn with_tools(mut self, tools: Vec<Tool>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn add_tool(mut self, tool: Tool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaChatResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct OllamaChatResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OllamaError` is never used
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:182:10
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub enum OllamaError {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaClient` is never constructed
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub struct OllamaClient {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | impl OllamaClient {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 231 |     /// 创建新的 Ollama 客户端
[INFO] [stdout] 232 |     pub fn new(base_url: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn new_with_config(base_url: String, config: ClientConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn new_with_client(base_url: String, config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub async fn chat(&self, mut request: OllamaChatRequest) -> Result<OllamaChatResponse, OllamaError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub async fn chat_stream<F>(&self, mut request: OllamaChatRequest, mut callback: F) -> Result<(), OllamaError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     pub async fn list_models(&self) -> Result<Vec<String>, OllamaError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub async fn is_model_available(&self, model_name: &str) -> Result<bool, OllamaError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Provider` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum Provider {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct DispatchRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchResponse` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct DispatchResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenUsage` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct TokenUsage {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMClientAdapter` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub trait LLMClientAdapter: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LLMError` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum LLMError {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct OllamaAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl OllamaAdapter {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 134 |     pub fn new(client: OllamaClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct AliAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl AliAdapter {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 221 |     pub fn new(client: AliClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliPoolAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct AliPoolAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl AliPoolAdapter {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 232 |     pub fn new(pool: Arc<ClientPool<DynamicAliClient>>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LLMDispatcher` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:401:12
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub struct LLMDispatcher {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchConfig` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:407:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | pub struct DispatchConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:428:12
[INFO] [stdout]     |
[INFO] [stdout] 427 | impl LLMDispatcher {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 428 |     pub fn new(config: Option<DispatchConfig>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     pub async fn new_with_database(config: Option<DispatchConfig>, db_url: &str, init_sql_path: &str) -> Result<Self, Box<dyn std::...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     pub async fn register_ali_pool(&self, pool_size: usize) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub async fn register_client(&self, client: Box<dyn LLMClientAdapter>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 510 |     pub async fn register_clients(&self, clients: Vec<Box<dyn LLMClientAdapter>>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     pub async fn dispatch(&self, mut request: DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 537 |     pub async fn dispatch_stream(&self, mut request: DispatchRequest) -> Result<tokio::sync::mpsc::Receiver<Result<String, LLMError...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 549 |     pub async fn list_models(&self, provider: Option<Provider>) -> HashMap<Provider, Vec<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 567 |     pub async fn is_provider_available(&self, provider: &Provider) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 573 |     async fn dispatch_internal(&self, request: &DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 604 |     async fn try_fallback(&self, mut request: DispatchRequest, original_error: LLMError) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 621 |     fn apply_defaults(&self, request: &mut DispatchRequest) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 634 |     fn validate_request(&self, request: &DispatchRequest) -> Result<(), LLMError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_stream`, `with_temperature`, `with_max_tokens`, `with_top_p`, and `with_stop` are never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:655:12
[INFO] [stdout]     |
[INFO] [stdout] 654 | impl DispatchRequest {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 655 |     pub fn new(provider: Provider, model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 673 |     pub fn with_stream(mut self, stream: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 678 |     pub fn with_temperature(mut self, temperature: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 683 |     pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 688 |     pub fn with_top_p(mut self, top_p: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 693 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `json_format` is never read
[INFO] [stdout]   --> src/logger.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct LogConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub json_format: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogConfig` 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: function `init_prod_logger` is never used
[INFO] [stdout]    --> src/logger.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn init_prod_logger() -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s
[INFO] running `Command { std: "docker" "inspect" "2b60f0b690ee1939e2db81053a5e074f086228a4ed7521c75b4944d3c0dd4696", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b60f0b690ee1939e2db81053a5e074f086228a4ed7521c75b4944d3c0dd4696", kill_on_drop: false }`
[INFO] [stdout] 2b60f0b690ee1939e2db81053a5e074f086228a4ed7521c75b4944d3c0dd4696
