[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 master#a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb for pr-151109
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8thlight%2Fvibe-llm-gateway" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/8thlight/vibe-llm-gateway on toolchain a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "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" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libredox v0.1.4
[INFO] [stderr]   Downloaded sqlformat v0.2.6
[INFO] [stderr]   Downloaded hyper-util v0.1.15
[INFO] [stderr]   Downloaded whoami v1.6.0
[INFO] [stderr]   Downloaded zerovec v0.11.2
[INFO] [stderr]   Downloaded tokio-util v0.7.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6df7bedb82749df39c4dc9cbe534937edf3b43436c6dbc836266d8884e1f7166
[INFO] running `Command { std: "docker" "start" "-a" "6df7bedb82749df39c4dc9cbe534937edf3b43436c6dbc836266d8884e1f7166", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6df7bedb82749df39c4dc9cbe534937edf3b43436c6dbc836266d8884e1f7166", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6df7bedb82749df39c4dc9cbe534937edf3b43436c6dbc836266d8884e1f7166", kill_on_drop: false }`
[INFO] [stdout] 6df7bedb82749df39c4dc9cbe534937edf3b43436c6dbc836266d8884e1f7166
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 684c273dfdaf2439e1277b5cc99b746ec4bc3b2de55bfdd868479726a07f9439
[INFO] running `Command { std: "docker" "start" "-a" "684c273dfdaf2439e1277b5cc99b746ec4bc3b2de55bfdd868479726a07f9439", 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 cc v1.2.29
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling tokio v1.46.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 futures-intrusive v0.4.2
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking crc v3.3.0
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling llm-gateway v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking webpki v0.22.4
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking webpki-roots v0.22.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[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]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling sqlx-rt v0.6.3
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[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 sqlx-core v0.6.3
[INFO] [stderr]     Checking hyper-util v0.1.15
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]    Compiling sqlx-macros v0.6.3
[INFO] [stderr]     Checking reqwest v0.11.27
[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] 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] 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] 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") due to 10 previous errors; 7 warnings emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `llm-gateway` (bin "llm-gateway" test) due to 10 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "684c273dfdaf2439e1277b5cc99b746ec4bc3b2de55bfdd868479726a07f9439", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "684c273dfdaf2439e1277b5cc99b746ec4bc3b2de55bfdd868479726a07f9439", kill_on_drop: false }`
[INFO] [stdout] 684c273dfdaf2439e1277b5cc99b746ec4bc3b2de55bfdd868479726a07f9439
