[INFO] cloning repository https://github.com/m9p909/agentdispatch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/m9p909/agentdispatch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm9p909%2Fagentdispatch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm9p909%2Fagentdispatch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9ea68ea11586f159ede312b2a6f8a829eb449477
[INFO] checking m9p909/agentdispatch against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm9p909%2Fagentdispatch" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/m9p909/agentdispatch
[INFO] finished tweaking git repo https://github.com/m9p909/agentdispatch
[INFO] tweaked toml for git repo https://github.com/m9p909/agentdispatch written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/m9p909/agentdispatch on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/m9p909/agentdispatch 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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fbd389c3fc0e5f3baed936a2901578a06c5fff2374123c38de36b58ebdee8d04
[INFO] running `Command { std: "docker" "start" "-a" "fbd389c3fc0e5f3baed936a2901578a06c5fff2374123c38de36b58ebdee8d04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fbd389c3fc0e5f3baed936a2901578a06c5fff2374123c38de36b58ebdee8d04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbd389c3fc0e5f3baed936a2901578a06c5fff2374123c38de36b58ebdee8d04", kill_on_drop: false }`
[INFO] [stdout] fbd389c3fc0e5f3baed936a2901578a06c5fff2374123c38de36b58ebdee8d04
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ced6e8039e188832bc9ee3b536bd20f009e11b67888bac5e64ee4c1176363d04
[INFO] running `Command { std: "docker" "start" "-a" "ced6e8039e188832bc9ee3b536bd20f009e11b67888bac5e64ee4c1176363d04", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling syn v2.0.116
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling uuid v1.21.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling tempfile v3.25.0
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking webpki-roots v1.0.6
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking env_filter v1.0.0
[INFO] [stderr]     Checking chacha20 v0.9.1
[INFO] [stderr]     Checking poly1305 v0.8.0
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking jiff v0.2.20
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking chacha20poly1305 v0.10.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking rustls-webpki v0.103.10
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking env_logger v0.11.9
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-test v0.4.5
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking agent-builder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `finish_reason` is never read
[INFO] [stdout]    --> src/llm/llm_adapter.rs:263:5
[INFO] [stdout]     |
[INFO] [stdout] 261 | struct Choice {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 262 |     message: ChatMessage,
[INFO] [stdout] 263 |     finish_reason: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finish_reason` is never read
[INFO] [stdout]    --> src/llm/llm_adapter.rs:263:5
[INFO] [stdout]     |
[INFO] [stdout] 261 | struct Choice {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 262 |     message: ChatMessage,
[INFO] [stdout] 263 |     finish_reason: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `agents_db::Agent`
[INFO] [stdout]  --> src/agents.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use agents_db::Agent;
[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: `models_db::LlmModel`
[INFO] [stdout]  --> src/llm_models.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use models_db::LlmModel;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `providers_db::LlmProvider`
[INFO] [stdout]  --> src/llm_providers.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use providers_db::LlmProvider;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `messages_db::Message`
[INFO] [stdout]  --> src/messages.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use messages_db::Message;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sessions_db::Session`
[INFO] [stdout]  --> src/sessions.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use sessions_db::Session;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `users_db::User`
[INFO] [stdout]  --> src/users.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use users_db::User;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `agents_db::Agent`
[INFO] [stdout]  --> src/agents.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use agents_db::Agent;
[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: `models_db::LlmModel`
[INFO] [stdout]  --> src/llm_models.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use models_db::LlmModel;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `providers_db::LlmProvider`
[INFO] [stdout]  --> src/llm_providers.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use providers_db::LlmProvider;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `messages_db::Message`
[INFO] [stdout]  --> src/messages.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use messages_db::Message;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sessions_db::Session`
[INFO] [stdout]  --> src/sessions.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use sessions_db::Session;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `users_db::User`
[INFO] [stdout]  --> src/users.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use users_db::User;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_agents` is never used
[INFO] [stdout]   --> src/agents/agents_db.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn count_agents(pool: &PgPool, user_id: Uuid) -> Result<i64, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dbtype` is never read
[INFO] [stdout]   --> src/config.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct DbConfig {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 12 |     pub dbtype: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DbConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `maximum_pool_size`, `minimum_idle`, `idle_timeout`, and `max_lifetime` are never read
[INFO] [stdout]   --> src/config.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct HikariConfig {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 22 |     pub maximum_pool_size: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     pub minimum_idle: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 24 |     pub idle_timeout: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 25 |     pub max_lifetime: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HikariConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hikari` is never read
[INFO] [stdout]   --> src/config.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct AppConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub hikari: HikariConfig,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Unauthorized` and `Request` are never constructed
[INFO] [stdout]   --> src/error.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum AppError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     Unauthorized(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     Request(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_response` is never used
[INFO] [stdout]   --> src/handler.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn error_response(status: StatusCode, message: &str) -> Response {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finish_reason` is never read
[INFO] [stdout]    --> src/llm/llm_adapter.rs:263:5
[INFO] [stdout]     |
[INFO] [stdout] 261 | struct Choice {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 262 |     message: ChatMessage,
[INFO] [stdout] 263 |     finish_reason: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_models_by_provider` is never used
[INFO] [stdout]   --> src/llm_models/models_db.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn list_models_by_provider(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_message_by_id` and `delete_message` are never used
[INFO] [stdout]    --> src/messages/message_service.rs:123:18
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl MessageService {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub async fn get_message_by_id(&self, id: Uuid) -> Result<MessageResponse> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub async fn delete_message(&self, id: Uuid) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_message_by_id` is never used
[INFO] [stdout]   --> src/messages/messages_db.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub async fn get_message_by_id(pool: &PgPool, id: Uuid) -> Result<Option<Message>, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_message` is never used
[INFO] [stdout]    --> src/messages/messages_db.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub async fn delete_message(pool: &PgPool, id: Uuid) -> Result<u64, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `end_session` is never used
[INFO] [stdout]   --> src/sessions/sessions_db.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn end_session(pool: &PgPool, id: Uuid) -> Result<Session, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TelegramWhitelistEntry` is never constructed
[INFO] [stdout]   --> src/telegram/db.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct TelegramWhitelistEntry {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `username` are never read
[INFO] [stdout]   --> src/telegram/telegram_adapter.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct BotInfo {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 12 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 13 |     pub username: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BotInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `first_name` is never read
[INFO] [stdout]   --> src/telegram/telegram_adapter.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct TelegramUser {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub first_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TelegramUser` 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 `get_user_by_id` is never used
[INFO] [stdout]   --> src/users/users_db.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn get_user_by_id(pool: &PgPool, id: Uuid) -> Result<Option<User>, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_users` is never used
[INFO] [stdout]   --> src/users/users_db.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub async fn list_users(pool: &PgPool) -> Result<Vec<User>, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_user_by_id` is never used
[INFO] [stdout]   --> src/users/user_service.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl UserService {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub async fn get_user_by_id(&self, id: uuid::Uuid) -> Result<db::User> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_agents` is never used
[INFO] [stdout]   --> src/agents/agents_db.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn count_agents(pool: &PgPool, user_id: Uuid) -> Result<i64, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dbtype` is never read
[INFO] [stdout]   --> src/config.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct DbConfig {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 12 |     pub dbtype: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DbConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `maximum_pool_size`, `minimum_idle`, `idle_timeout`, and `max_lifetime` are never read
[INFO] [stdout]   --> src/config.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct HikariConfig {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 22 |     pub maximum_pool_size: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     pub minimum_idle: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 24 |     pub idle_timeout: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 25 |     pub max_lifetime: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HikariConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hikari` is never read
[INFO] [stdout]   --> src/config.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct AppConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub hikari: HikariConfig,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Unauthorized` and `Request` are never constructed
[INFO] [stdout]   --> src/error.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum AppError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     Unauthorized(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     Request(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` 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 `JsonResponse` is never constructed
[INFO] [stdout]  --> src/handler.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct JsonResponse<T: serde::Serialize>(pub T);
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HtmlResponse` is never constructed
[INFO] [stdout]   --> src/handler.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct HtmlResponse(pub String);
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_response` is never used
[INFO] [stdout]   --> src/handler.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn error_response(status: StatusCode, message: &str) -> Response {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `call_api` is never used
[INFO] [stdout]   --> src/llm/llm_adapter.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl LlmAdapter {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub async fn call_api(
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LlmRequest` is never constructed
[INFO] [stdout]    --> src/llm/llm_adapter.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub struct LlmRequest {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LlmResponse` is never constructed
[INFO] [stdout]    --> src/llm/llm_adapter.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub struct LlmResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatCompletionRequest` is never constructed
[INFO] [stdout]    --> src/llm/llm_adapter.rs:242:8
[INFO] [stdout]     |
[INFO] [stdout] 242 | struct ChatCompletionRequest {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatMessage` is never constructed
[INFO] [stdout]    --> src/llm/llm_adapter.rs:249:8
[INFO] [stdout]     |
[INFO] [stdout] 249 | struct ChatMessage {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatCompletionResponse` is never constructed
[INFO] [stdout]    --> src/llm/llm_adapter.rs:255:8
[INFO] [stdout]     |
[INFO] [stdout] 255 | struct ChatCompletionResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Choice` is never constructed
[INFO] [stdout]    --> src/llm/llm_adapter.rs:261:8
[INFO] [stdout]     |
[INFO] [stdout] 261 | struct Choice {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Usage` is never constructed
[INFO] [stdout]    --> src/llm/llm_adapter.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 267 | struct Usage {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `call_llm_api_with_client` is never used
[INFO] [stdout]    --> src/llm/llm_adapter.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | async fn call_llm_api_with_client(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_models_by_provider` is never used
[INFO] [stdout]   --> src/llm_models/models_db.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn list_models_by_provider(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_message_by_id` and `delete_message` are never used
[INFO] [stdout]    --> src/messages/message_service.rs:123:18
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl MessageService {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub async fn get_message_by_id(&self, id: Uuid) -> Result<MessageResponse> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub async fn delete_message(&self, id: Uuid) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_message_by_id` is never used
[INFO] [stdout]   --> src/messages/messages_db.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub async fn get_message_by_id(pool: &PgPool, id: Uuid) -> Result<Option<Message>, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_message` is never used
[INFO] [stdout]    --> src/messages/messages_db.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub async fn delete_message(pool: &PgPool, id: Uuid) -> Result<u64, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `end_session` is never used
[INFO] [stdout]   --> src/sessions/sessions_db.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn end_session(pool: &PgPool, id: Uuid) -> Result<Session, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TelegramWhitelistEntry` is never constructed
[INFO] [stdout]   --> src/telegram/db.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct TelegramWhitelistEntry {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `username` are never read
[INFO] [stdout]   --> src/telegram/telegram_adapter.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct BotInfo {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 12 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 13 |     pub username: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BotInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `first_name` is never read
[INFO] [stdout]   --> src/telegram/telegram_adapter.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct TelegramUser {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub first_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TelegramUser` 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 `get_user_by_id` is never used
[INFO] [stdout]   --> src/users/users_db.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn get_user_by_id(pool: &PgPool, id: Uuid) -> Result<Option<User>, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_users` is never used
[INFO] [stdout]   --> src/users/users_db.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub async fn list_users(pool: &PgPool) -> Result<Vec<User>, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_user_by_id` is never used
[INFO] [stdout]   --> src/users/user_service.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl UserService {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub async fn get_user_by_id(&self, id: uuid::Uuid) -> Result<db::User> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "ced6e8039e188832bc9ee3b536bd20f009e11b67888bac5e64ee4c1176363d04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ced6e8039e188832bc9ee3b536bd20f009e11b67888bac5e64ee4c1176363d04", kill_on_drop: false }`
[INFO] [stdout] ced6e8039e188832bc9ee3b536bd20f009e11b67888bac5e64ee4c1176363d04
