[INFO] cloning repository https://github.com/Dolores18/api-manager
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dolores18/api-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDolores18%2Fapi-manager", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDolores18%2Fapi-manager'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4786957974b83722d67915488956b6151fee5701
[INFO] checking Dolores18/api-manager against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDolores18%2Fapi-manager" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Dolores18/api-manager
[INFO] finished tweaking git repo https://github.com/Dolores18/api-manager
[INFO] tweaked toml for git repo https://github.com/Dolores18/api-manager written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Dolores18/api-manager on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Dolores18/api-manager 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wiremock v0.5.22
[INFO] [stderr]   Downloaded pest_derive v2.8.0
[INFO] [stderr]   Downloaded pest_generator v2.8.0
[INFO] [stderr]   Downloaded pest_meta v2.8.0
[INFO] [stderr]   Downloaded tokio-socks v0.5.2
[INFO] [stderr]   Downloaded pest v2.8.0
[INFO] [stderr]   Downloaded async-compression v0.4.22
[INFO] [stderr]   Downloaded utoipa-swagger-ui v6.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 08165b0d9e38078ec64e3d1c163ca5e2e36b1b4fdf2fd4b2dc92aed7c8aec353
[INFO] running `Command { std: "docker" "start" "-a" "08165b0d9e38078ec64e3d1c163ca5e2e36b1b4fdf2fd4b2dc92aed7c8aec353", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "08165b0d9e38078ec64e3d1c163ca5e2e36b1b4fdf2fd4b2dc92aed7c8aec353", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08165b0d9e38078ec64e3d1c163ca5e2e36b1b4fdf2fd4b2dc92aed7c8aec353", kill_on_drop: false }`
[INFO] [stdout] 08165b0d9e38078ec64e3d1c163ca5e2e36b1b4fdf2fd4b2dc92aed7c8aec353
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 254d3e442d5d874443fa2606b39fea682a4b98184bfbf76636e5762babdc6055
[INFO] running `Command { std: "docker" "start" "-a" "254d3e442d5d874443fa2606b39fea682a4b98184bfbf76636e5762babdc6055", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tokio v1.44.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling iana-time-zone v0.1.62
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling flate2 v1.1.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling pest v2.8.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]    Compiling pest_meta v2.8.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling pest_generator v2.8.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking deranged v0.4.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking uuid v1.16.0
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling rust-embed-utils v8.6.0
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking dlv-list v0.3.0
[INFO] [stderr]    Compiling http-types v2.12.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling utoipa-swagger-ui v6.0.0
[INFO] [stderr]     Checking ordered-multimap v0.4.3
[INFO] [stderr]    Compiling sqlx-sqlite v0.7.4
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]    Compiling rust-embed-impl v8.6.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling pest_derive v2.8.0
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking serde_qs v0.8.5
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]    Compiling utoipa-gen v4.3.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking retain_mut v0.1.9
[INFO] [stderr]     Checking deadpool-runtime v0.1.4
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking infer v0.2.3
[INFO] [stderr]     Checking ron v0.7.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking deadpool v0.9.5
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking rust-embed v8.6.0
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking async-compression v0.4.22
[INFO] [stderr]     Checking rust-ini v0.18.0
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tokio-socks v0.5.2
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]    Compiling mockall_derive v0.12.1
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking wiremock v0.5.22
[INFO] [stderr]     Checking rusqlite v0.30.0
[INFO] [stderr]     Checking config v0.13.4
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking validator v0.16.1
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking yansi v1.0.1
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stderr]     Checking pretty_assertions v1.4.1
[INFO] [stderr]     Checking mockall v0.12.1
[INFO] [stderr]     Checking utoipa v4.2.3
[INFO] [stderr]     Checking api-manager v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `tests`
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub mod tests;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `tests`, create file "src/tests.rs" or "src/tests/mod.rs"
[INFO] [stdout]    = note: if there is a `mod tests` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]   --> src/handlers/api/pricing.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |       let provider_exists = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 77 | |         "SELECT COUNT(*) as count FROM api_providers WHERE name = ?",
[INFO] [stdout] 78 | |         request.name
[INFO] [stdout] 79 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]    --> src/handlers/api/pricing.rs:245:27
[INFO] [stdout]     |
[INFO] [stdout] 245 |       let provider_exists = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 246 | |         "SELECT COUNT(*) as count FROM api_providers WHERE name = ?",
[INFO] [stdout] 247 | |         name
[INFO] [stdout] 248 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]   --> src/handlers/api/pricing.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |       let provider_exists = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 77 | |         "SELECT COUNT(*) as count FROM api_providers WHERE name = ?",
[INFO] [stdout] 78 | |         request.name
[INFO] [stdout] 79 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::HeaderValue`
[INFO] [stdout]  --> src/routes/api.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Router, http::HeaderValue,
[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: `IntoParams`
[INFO] [stdout]   --> src/routes/api.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 | use utoipa::{OpenApi, IntoParams};
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]  --> src/handlers/api/chat_completion.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::SqlitePool`
[INFO] [stdout]   --> src/handlers/api/chat_completion.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sqlx::SqlitePool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::provider_pool::ProviderPoolState`
[INFO] [stdout]   --> src/handlers/api/chat_completion.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::services::provider_pool::ProviderPoolState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiCallStatus` and `ApiUsage`
[INFO] [stdout]   --> src/handlers/api/chat_completion.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::models::api_usage::{ApiUsage, ApiCallStatus};
[INFO] [stdout]    |                                ^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::SqlitePool`
[INFO] [stdout]  --> src/handlers/api/provider.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::SqlitePool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]    --> src/handlers/api/pricing.rs:245:27
[INFO] [stdout]     |
[INFO] [stdout] 245 |       let provider_exists = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 246 | |         "SELECT COUNT(*) as count FROM api_providers WHERE name = ?",
[INFO] [stdout] 247 | |         name
[INFO] [stdout] 248 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::HeaderValue`
[INFO] [stdout]  --> src/routes/api.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Router, http::HeaderValue,
[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: `IntoParams`
[INFO] [stdout]   --> src/routes/api.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 | use utoipa::{OpenApi, IntoParams};
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]  --> src/handlers/api/chat_completion.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::SqlitePool`
[INFO] [stdout]   --> src/handlers/api/chat_completion.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sqlx::SqlitePool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::provider_pool::ProviderPoolState`
[INFO] [stdout]   --> src/handlers/api/chat_completion.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::services::provider_pool::ProviderPoolState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiCallStatus` and `ApiUsage`
[INFO] [stdout]   --> src/handlers/api/chat_completion.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::models::api_usage::{ApiUsage, ApiCallStatus};
[INFO] [stdout]    |                                ^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::SqlitePool`
[INFO] [stdout]  --> src/handlers/api/provider.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::SqlitePool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/api/pricing.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |       let provider_exists = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 77 | |         "SELECT COUNT(*) as count FROM api_providers WHERE name = ?",
[INFO] [stdout] 78 | |         request.name
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/api/pricing.rs:245:27
[INFO] [stdout]     |
[INFO] [stdout] 245 |       let provider_exists = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 246 | |         "SELECT COUNT(*) as count FROM api_providers WHERE name = ?",
[INFO] [stdout] 247 | |         name
[INFO] [stdout] ...   |
[INFO] [stdout] 250 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/api/pricing.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |       let provider_exists = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 77 | |         "SELECT COUNT(*) as count FROM api_providers WHERE name = ?",
[INFO] [stdout] 78 | |         request.name
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/api/pricing.rs:245:27
[INFO] [stdout]     |
[INFO] [stdout] 245 |       let provider_exists = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 246 | |         "SELECT COUNT(*) as count FROM api_providers WHERE name = ?",
[INFO] [stdout] 247 | |         name
[INFO] [stdout] ...   |
[INFO] [stdout] 250 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `api-manager` (lib test) due to 5 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `api-manager` (lib) due to 4 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "254d3e442d5d874443fa2606b39fea682a4b98184bfbf76636e5762babdc6055", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "254d3e442d5d874443fa2606b39fea682a4b98184bfbf76636e5762babdc6055", kill_on_drop: false }`
[INFO] [stdout] 254d3e442d5d874443fa2606b39fea682a4b98184bfbf76636e5762babdc6055
