[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#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8thlight%2Fvibe-llm-gateway" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/8thlight/vibe-llm-gateway on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlx-rt v0.6.3
[INFO] [stderr]   Downloaded thiserror v1.0.69
[INFO] [stderr]   Downloaded thiserror-impl v1.0.69
[INFO] [stderr]   Downloaded tracing-log v0.2.0
[INFO] [stderr]   Downloaded valuable v0.1.1
[INFO] [stderr]   Downloaded dotenv v0.15.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.50
[INFO] [stderr]   Downloaded sqlx-macros v0.6.3
[INFO] [stderr]   Downloaded system-configuration-sys v0.5.0
[INFO] [stderr]   Downloaded libredox v0.1.4
[INFO] [stderr]   Downloaded event-listener v2.5.3
[INFO] [stderr]   Downloaded tempfile v3.20.0
[INFO] [stderr]   Downloaded hashlink v0.8.4
[INFO] [stderr]   Downloaded axum-core v0.4.5
[INFO] [stderr]   Downloaded async-trait v0.1.88
[INFO] [stderr]   Downloaded ahash v0.7.8
[INFO] [stderr]   Downloaded openssl-sys v0.9.109
[INFO] [stderr]   Downloaded sqlx v0.6.3
[INFO] [stderr]   Downloaded futures-intrusive v0.4.2
[INFO] [stderr]   Downloaded reqwest v0.11.27
[INFO] [stderr]   Downloaded unicode-segmentation v1.12.0
[INFO] [stderr]   Downloaded axum v0.7.9
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.19
[INFO] [stderr]   Downloaded webpki v0.22.4
[INFO] [stderr]   Downloaded zerocopy v0.8.26
[INFO] [stderr]   Downloaded tower-http v0.5.2
[INFO] [stderr]   Downloaded openssl v0.10.73
[INFO] [stderr]   Downloaded webpki-roots v0.22.6
[INFO] [stderr]   Downloaded rustls v0.20.9
[INFO] [stderr]   Downloaded sqlx-core v0.6.3
[INFO] [stderr]   Downloaded ahash v0.8.12
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.26
[INFO] [stderr]   Downloaded unicode_categories v0.1.1
[INFO] [stderr]   Downloaded rustix v1.0.7
[INFO] [stderr]   Downloaded tokio-stream v0.1.17
[INFO] [stderr]   Downloaded whoami v1.6.0
[INFO] [stderr]   Downloaded tinyvec v1.9.0
[INFO] [stderr]   Downloaded matchit v0.7.3
[INFO] [stderr]   Downloaded system-configuration v0.5.1
[INFO] [stderr]   Downloaded atoi v1.0.0
[INFO] [stderr]   Downloaded sqlformat v0.2.6
[INFO] [stderr]   Downloaded tokio-rustls v0.23.4
[INFO] [stderr]   Downloaded serde_path_to_error v0.1.17
[INFO] [stderr]   Downloaded redox_users v0.4.6
[INFO] [stderr]   Downloaded dirs-sys v0.3.7
[INFO] [stderr]   Downloaded web-sys v0.3.77
[INFO] [stderr]   Downloaded dirs v4.0.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.9.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] edd8ea329baba5ddd100e0e7782e3f27a011d8052fe45d481a49d49e8b610c53
[INFO] running `Command { std: "docker" "start" "-a" "edd8ea329baba5ddd100e0e7782e3f27a011d8052fe45d481a49d49e8b610c53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "edd8ea329baba5ddd100e0e7782e3f27a011d8052fe45d481a49d49e8b610c53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edd8ea329baba5ddd100e0e7782e3f27a011d8052fe45d481a49d49e8b610c53", kill_on_drop: false }`
[INFO] [stdout] edd8ea329baba5ddd100e0e7782e3f27a011d8052fe45d481a49d49e8b610c53
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 920e926f65ace0b0a8bc55f48a433b3d303e88e80cea69f6b672ab1865faac73
[INFO] running `Command { std: "docker" "start" "-a" "920e926f65ace0b0a8bc55f48a433b3d303e88e80cea69f6b672ab1865faac73", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling generic-array v0.14.7
[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]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling getrandom v0.3.3
[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 native-tls v0.2.14
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling futures-intrusive v0.4.2
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]     Checking http-body v0.4.6
[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 hex v0.4.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]    Compiling llm-gateway v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking webpki v0.22.4
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking webpki-roots v0.22.6
[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]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]    Compiling sqlx-rt v0.6.3
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[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 tokio-util v0.7.15
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[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 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: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: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: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: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/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: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: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: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/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] [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 `llm-gateway` (bin "llm-gateway" test) due to 10 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "920e926f65ace0b0a8bc55f48a433b3d303e88e80cea69f6b672ab1865faac73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "920e926f65ace0b0a8bc55f48a433b3d303e88e80cea69f6b672ab1865faac73", kill_on_drop: false }`
[INFO] [stdout] 920e926f65ace0b0a8bc55f48a433b3d303e88e80cea69f6b672ab1865faac73
