[INFO] cloning repository https://github.com/8thlight/vibe-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/8thlight/vibe-llm-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8thlight%2Fvibe-llm-gateway", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8thlight%2Fvibe-llm-gateway'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ac21f69110558b89aacdcb8498e1679de1939276
[INFO] checking 8thlight/vibe-llm-gateway against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8thlight%2Fvibe-llm-gateway" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/8thlight/vibe-llm-gateway
[INFO] finished tweaking git repo https://github.com/8thlight/vibe-llm-gateway
[INFO] tweaked toml for git repo https://github.com/8thlight/vibe-llm-gateway written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/8thlight/vibe-llm-gateway on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/8thlight/vibe-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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6700b75872789cee3e3c105a713db5848a8f9f8c94221b49ea7c161b6e1cac6f
[INFO] running `Command { std: "docker" "start" "-a" "6700b75872789cee3e3c105a713db5848a8f9f8c94221b49ea7c161b6e1cac6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6700b75872789cee3e3c105a713db5848a8f9f8c94221b49ea7c161b6e1cac6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6700b75872789cee3e3c105a713db5848a8f9f8c94221b49ea7c161b6e1cac6f", kill_on_drop: false }`
[INFO] [stdout] 6700b75872789cee3e3c105a713db5848a8f9f8c94221b49ea7c161b6e1cac6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3cab635c6b500e27faa5e93903a5ac2fc5d7edd63f89be10bea8386d2f28cf56
[INFO] running `Command { std: "docker" "start" "-a" "3cab635c6b500e27faa5e93903a5ac2fc5d7edd63f89be10bea8386d2f28cf56", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling futures-intrusive v0.4.2
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]    Compiling llm-gateway v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking webpki v0.22.4
[INFO] [stderr]     Checking sct v0.7.1
[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 tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking webpki-roots v0.22.6
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling sqlx-rt v0.6.3
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking hyper-util v0.1.15
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking sqlx-core v0.6.3
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros v0.6.3
[INFO] [stderr]     Checking sqlx v0.6.3
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/api_key_service.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |           let api_key = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 19 | |             ApiKey,
[INFO] [stdout] 20 | |             r#"
[INFO] [stdout] 21 | |             INSERT INTO api_keys (key, name)
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |             name
[INFO] [stdout] 27 | |         )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/api_key_service.rs:35:23
[INFO] [stdout]    |
[INFO] [stdout] 35 |           let api_key = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 36 | |             ApiKey,
[INFO] [stdout] 37 | |             r#"
[INFO] [stdout] 38 | |             SELECT id, key, name, is_active, created_at, last_used_at
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             key
[INFO] [stdout] 43 | |         )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/api_key_service.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 |           let api_keys = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 52 | |             ApiKey,
[INFO] [stdout] 53 | |             r#"
[INFO] [stdout] 54 | |             SELECT id, key, name, is_active, created_at, last_used_at
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |             "#
[INFO] [stdout] 58 | |         )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/api_key_service.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 67 | |             r#"
[INFO] [stdout] 68 | |             UPDATE api_keys
[INFO] [stdout] 69 | |             SET is_active = false
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |             id
[INFO] [stdout] 73 | |         )
[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 communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/api_key_service.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | /         sqlx::query!(
[INFO] [stdout] 82 | |             r#"
[INFO] [stdout] 83 | |             UPDATE api_keys
[INFO] [stdout] 84 | |             SET last_used_at = $1
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |             id
[INFO] [stdout] 89 | |         )
[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 communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/metrics_service.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | /         sqlx::query!(
[INFO] [stdout] 24 | |             r#"
[INFO] [stdout] 25 | |             INSERT INTO request_logs (api_key_id, endpoint, request_body, response_body, status_code)
[INFO] [stdout] 26 | |             VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             status_code
[INFO] [stdout] 33 | |         )
[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 communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/metrics_service.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let count = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 42 | |             r#"
[INFO] [stdout] 43 | |             SELECT COUNT(*) as count
[INFO] [stdout] 44 | |             FROM request_logs
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |             api_key_id
[INFO] [stdout] 48 | |         )
[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 communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/metrics_service.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |           let requests = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 57 | |             RequestLog,
[INFO] [stdout] 58 | |             r#"
[INFO] [stdout] 59 | |             SELECT id, api_key_id, endpoint, request_body, response_body, status_code, created_at
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             limit
[INFO] [stdout] 65 | |         )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/metrics_service.rs:73:24
[INFO] [stdout]    |
[INFO] [stdout] 73 |           let requests = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 74 | |             RequestLog,
[INFO] [stdout] 75 | |             r#"
[INFO] [stdout] 76 | |             SELECT id, api_key_id, endpoint, request_body, response_body, status_code, created_at
[INFO] [stdout] ...  |
[INFO] [stdout] 83 | |             limit
[INFO] [stdout] 84 | |         )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `settings::AppConfig`
[INFO] [stdout]  --> src/config/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use settings::AppConfig;
[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: `chrono::Utc`
[INFO] [stdout]  --> src/services/api_key_service.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openai_service::OpenAIService`
[INFO] [stdout]  --> src/services/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use openai_service::OpenAIService;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ollama::OllamaProvider`
[INFO] [stdout]  --> src/providers/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use ollama::OllamaProvider;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Uri`
[INFO] [stdout]  --> src/api/middleware/logging.rs:3:32
[INFO] [stdout]   |
[INFO] [stdout] 3 |     http::{Method, StatusCode, Uri},
[INFO] [stdout]   |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ChatCompletionRequest` and `ChatCompletionResponse`
[INFO] [stdout]   --> src/api/mod.rs:19:42
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub use chat::completions::{chat_routes, ChatCompletionRequest, ChatCompletionResponse};
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rate_limit_middleware`
[INFO] [stdout]   --> src/api/mod.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub use middleware::{auth_middleware, rate_limit_middleware, request_logging_middleware, RateLimiter, RateLimitConfig};
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/api_key_service.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |           let api_key = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 19 | |             ApiKey,
[INFO] [stdout] 20 | |             r#"
[INFO] [stdout] 21 | |             INSERT INTO api_keys (key, name)
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |             name
[INFO] [stdout] 27 | |         )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/api_key_service.rs:35:23
[INFO] [stdout]    |
[INFO] [stdout] 35 |           let api_key = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 36 | |             ApiKey,
[INFO] [stdout] 37 | |             r#"
[INFO] [stdout] 38 | |             SELECT id, key, name, is_active, created_at, last_used_at
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             key
[INFO] [stdout] 43 | |         )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/api_key_service.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 |           let api_keys = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 52 | |             ApiKey,
[INFO] [stdout] 53 | |             r#"
[INFO] [stdout] 54 | |             SELECT id, key, name, is_active, created_at, last_used_at
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |             "#
[INFO] [stdout] 58 | |         )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/api_key_service.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 67 | |             r#"
[INFO] [stdout] 68 | |             UPDATE api_keys
[INFO] [stdout] 69 | |             SET is_active = false
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |             id
[INFO] [stdout] 73 | |         )
[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 communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/api_key_service.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | /         sqlx::query!(
[INFO] [stdout] 82 | |             r#"
[INFO] [stdout] 83 | |             UPDATE api_keys
[INFO] [stdout] 84 | |             SET last_used_at = $1
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |             id
[INFO] [stdout] 89 | |         )
[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 communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/metrics_service.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | /         sqlx::query!(
[INFO] [stdout] 24 | |             r#"
[INFO] [stdout] 25 | |             INSERT INTO request_logs (api_key_id, endpoint, request_body, response_body, status_code)
[INFO] [stdout] 26 | |             VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             status_code
[INFO] [stdout] 33 | |         )
[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 communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/metrics_service.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let count = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 42 | |             r#"
[INFO] [stdout] 43 | |             SELECT COUNT(*) as count
[INFO] [stdout] 44 | |             FROM request_logs
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |             api_key_id
[INFO] [stdout] 48 | |         )
[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 communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/metrics_service.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |           let requests = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 57 | |             RequestLog,
[INFO] [stdout] 58 | |             r#"
[INFO] [stdout] 59 | |             SELECT id, api_key_id, endpoint, request_body, response_body, status_code, created_at
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             limit
[INFO] [stdout] 65 | |         )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/metrics_service.rs:73:24
[INFO] [stdout]    |
[INFO] [stdout] 73 |           let requests = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 74 | |             RequestLog,
[INFO] [stdout] 75 | |             r#"
[INFO] [stdout] 76 | |             SELECT id, api_key_id, endpoint, request_body, response_body, status_code, created_at
[INFO] [stdout] ...  |
[INFO] [stdout] 83 | |             limit
[INFO] [stdout] 84 | |         )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/services/api_key_service.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let result = sqlx::query!(
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |         Ok(result.rows_affected() > 0)
[INFO] [stdout]    |            ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `result` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let result: /* Type */ = sqlx::query!(
[INFO] [stdout]    |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `settings::AppConfig`
[INFO] [stdout]  --> src/config/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use settings::AppConfig;
[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: `chrono::Utc`
[INFO] [stdout]  --> src/services/api_key_service.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openai_service::OpenAIService`
[INFO] [stdout]  --> src/services/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use openai_service::OpenAIService;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ollama::OllamaProvider`
[INFO] [stdout]  --> src/providers/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use ollama::OllamaProvider;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Uri`
[INFO] [stdout]  --> src/api/middleware/logging.rs:3:32
[INFO] [stdout]   |
[INFO] [stdout] 3 |     http::{Method, StatusCode, Uri},
[INFO] [stdout]   |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ChatCompletionRequest` and `ChatCompletionResponse`
[INFO] [stdout]   --> src/api/mod.rs:19:42
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub use chat::completions::{chat_routes, ChatCompletionRequest, ChatCompletionResponse};
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rate_limit_middleware`
[INFO] [stdout]   --> src/api/mod.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub use middleware::{auth_middleware, rate_limit_middleware, request_logging_middleware, RateLimiter, RateLimitConfig};
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/services/api_key_service.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let result = sqlx::query!(
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |         Ok(result.rows_affected() > 0)
[INFO] [stdout]    |            ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `result` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let result: /* Type */ = sqlx::query!(
[INFO] [stdout]    |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `llm-gateway` (bin "llm-gateway" test) due to 10 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `llm-gateway` (bin "llm-gateway") due to 10 previous errors; 7 warnings emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "3cab635c6b500e27faa5e93903a5ac2fc5d7edd63f89be10bea8386d2f28cf56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cab635c6b500e27faa5e93903a5ac2fc5d7edd63f89be10bea8386d2f28cf56", kill_on_drop: false }`
[INFO] [stdout] 3cab635c6b500e27faa5e93903a5ac2fc5d7edd63f89be10bea8386d2f28cf56
