[INFO] cloning repository https://github.com/executiveusa/synthia-gateway
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/executiveusa/synthia-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexecutiveusa%2Fsynthia-gateway", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexecutiveusa%2Fsynthia-gateway'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5a64e2d5740d172ba2c76eead3c2139c606d821b
[INFO] checking executiveusa/synthia-gateway against c9ff496891c278ad660bc0ab85c1f0b72059464a for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexecutiveusa%2Fsynthia-gateway" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/executiveusa/synthia-gateway
[INFO] finished tweaking git repo https://github.com/executiveusa/synthia-gateway
[INFO] tweaked toml for git repo https://github.com/executiveusa/synthia-gateway written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/executiveusa/synthia-gateway on toolchain c9ff496891c278ad660bc0ab85c1f0b72059464a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/executiveusa/synthia-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" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fastrand v2.4.0
[INFO] [stderr]   Downloaded sqlx-macros v0.8.1
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.1
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.1
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.1
[INFO] [stderr]   Downloaded sqlx-core v0.8.1
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.1
[INFO] [stderr]   Downloaded sqlx v0.8.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1cc6480dd7b642ddae30db9097916b90e5fb4a1160edd439768f59f353934d34
[INFO] running `Command { std: "docker" "start" "1cc6480dd7b642ddae30db9097916b90e5fb4a1160edd439768f59f353934d34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cc6480dd7b642ddae30db9097916b90e5fb4a1160edd439768f59f353934d34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1cc6480dd7b642ddae30db9097916b90e5fb4a1160edd439768f59f353934d34" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cc6480dd7b642ddae30db9097916b90e5fb4a1160edd439768f59f353934d34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1cc6480dd7b642ddae30db9097916b90e5fb4a1160edd439768f59f353934d34" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]    Compiling cc v1.2.59
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling openssl v0.10.78
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]     Checking indexmap v2.13.1
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling fastrand v2.4.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking sqlformat v0.2.6
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking flume v0.11.1
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling openssl-sys v0.9.114
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]     Checking uuid v1.23.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]    Compiling tokio v1.51.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[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 tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling sqlx-core v0.8.1
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.1
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]    Compiling sqlx-macros v0.8.1
[INFO] [stderr]     Checking sqlx v0.8.1
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking synthia-gateway v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variants `Unauthorized`, `CircuitOpen`, and `BadRequest` are never constructed
[INFO] [stdout]   --> src/error.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum GatewayError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 11 |     #[error("Unauthorized: invalid or missing gateway API key")]
[INFO] [stdout] 12 |     Unauthorized,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     CircuitOpen(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GatewayError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_agent_id` is never used
[INFO] [stdout]   --> src/middleware/auth.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn extract_agent_id(req: &Request<Body>) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_budget` is never used
[INFO] [stdout]   --> src/middleware/spend.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn check_budget(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name`, `chat_stream`, and `models` are never used
[INFO] [stdout]   --> src/providers/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait Provider: Send + Sync {
[INFO] [stdout]    |           -------- methods in this trait
[INFO] [stdout] 15 |     fn name(&self) -> &str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 16 |     async fn chat(&self, request: serde_json::Value) -> Result<serde_json::Value>;
[INFO] [stdout] 17 |     async fn chat_stream(&self, request: serde_json::Value) -> Result<Vec<u8>>;
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 18 |     async fn models(&self) -> Result<Vec<ProviderModel>>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProviderModel` is never constructed
[INFO] [stdout]   --> src/providers/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ProviderModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NvidiaProvider` is never constructed
[INFO] [stdout]  --> src/providers/nvidia.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct NvidiaProvider {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/providers/nvidia.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl NvidiaProvider {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(config: NvidiaConfig) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ZaiProvider` is never constructed
[INFO] [stdout]  --> src/providers/zai.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ZaiProvider {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/providers/zai.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ZaiProvider {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(config: ZaiConfig) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Unauthorized`, `CircuitOpen`, and `BadRequest` are never constructed
[INFO] [stdout]   --> src/error.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum GatewayError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 11 |     #[error("Unauthorized: invalid or missing gateway API key")]
[INFO] [stdout] 12 |     Unauthorized,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     CircuitOpen(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GatewayError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_agent_id` is never used
[INFO] [stdout]   --> src/middleware/auth.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn extract_agent_id(req: &Request<Body>) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_budget` is never used
[INFO] [stdout]   --> src/middleware/spend.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn check_budget(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name`, `chat_stream`, and `models` are never used
[INFO] [stdout]   --> src/providers/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait Provider: Send + Sync {
[INFO] [stdout]    |           -------- methods in this trait
[INFO] [stdout] 15 |     fn name(&self) -> &str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 16 |     async fn chat(&self, request: serde_json::Value) -> Result<serde_json::Value>;
[INFO] [stdout] 17 |     async fn chat_stream(&self, request: serde_json::Value) -> Result<Vec<u8>>;
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 18 |     async fn models(&self) -> Result<Vec<ProviderModel>>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProviderModel` is never constructed
[INFO] [stdout]   --> src/providers/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ProviderModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NvidiaProvider` is never constructed
[INFO] [stdout]  --> src/providers/nvidia.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct NvidiaProvider {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/providers/nvidia.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl NvidiaProvider {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(config: NvidiaConfig) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ZaiProvider` is never constructed
[INFO] [stdout]  --> src/providers/zai.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ZaiProvider {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/providers/zai.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ZaiProvider {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(config: ZaiConfig) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s
[INFO] running `Command { std: "docker" "inspect" "1cc6480dd7b642ddae30db9097916b90e5fb4a1160edd439768f59f353934d34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cc6480dd7b642ddae30db9097916b90e5fb4a1160edd439768f59f353934d34", kill_on_drop: false }`
[INFO] [stdout] 1cc6480dd7b642ddae30db9097916b90e5fb4a1160edd439768f59f353934d34
