[INFO] cloning repository https://github.com/amankishore8585/dnc-ai-gateaway
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amankishore8585/dnc-ai-gateaway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famankishore8585%2Fdnc-ai-gateaway", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famankishore8585%2Fdnc-ai-gateaway'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f299578f42d0ac54c7a5506a91f2aceae6490860
[INFO] checking amankishore8585/dnc-ai-gateaway against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famankishore8585%2Fdnc-ai-gateaway" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/amankishore8585/dnc-ai-gateaway
[INFO] finished tweaking git repo https://github.com/amankishore8585/dnc-ai-gateaway
[INFO] tweaked toml for git repo https://github.com/amankishore8585/dnc-ai-gateaway written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/amankishore8585/dnc-ai-gateaway on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/amankishore8585/dnc-ai-gateaway 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 413e5c3337f3fea7bab5dc7b98e3a8a2da289a4f764a110e41913a0e0dec86e9
[INFO] running `Command { std: "docker" "start" "413e5c3337f3fea7bab5dc7b98e3a8a2da289a4f764a110e41913a0e0dec86e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "413e5c3337f3fea7bab5dc7b98e3a8a2da289a4f764a110e41913a0e0dec86e9", 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" "413e5c3337f3fea7bab5dc7b98e3a8a2da289a4f764a110e41913a0e0dec86e9" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "413e5c3337f3fea7bab5dc7b98e3a8a2da289a4f764a110e41913a0e0dec86e9", 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" "413e5c3337f3fea7bab5dc7b98e3a8a2da289a4f764a110e41913a0e0dec86e9" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking writeable v0.6.4
[INFO] [stderr]     Checking litemap v0.8.3
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling icu_normalizer_data v2.3.0
[INFO] [stderr]     Checking cmov v0.5.3
[INFO] [stderr]    Compiling icu_properties_data v2.3.0
[INFO] [stderr]    Compiling syn v3.0.4
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking http v1.5.0
[INFO] [stderr]     Checking chacha20 v0.10.0
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking ctutils v0.4.2
[INFO] [stderr]     Checking siphasher v1.0.2
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking ipnet v2.12.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking phf_shared v0.13.1
[INFO] [stderr]     Checking zeroize v1.9.0
[INFO] [stderr]     Checking whoami v2.1.1
[INFO] [stderr]     Checking rand v0.10.0
[INFO] [stderr]     Checking phf v0.13.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking rustls-pki-types v1.15.1
[INFO] [stderr]     Checking uuid v1.22.0
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking http-body v1.1.0
[INFO] [stderr]     Checking http-body-util v0.1.5
[INFO] [stderr]     Checking hybrid-array v0.4.10
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking block-buffer v0.12.0
[INFO] [stderr]     Checking crypto-common v0.2.1
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking digest v0.11.2
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking hmac v0.13.0
[INFO] [stderr]     Checking md-5 v0.11.0
[INFO] [stderr]     Checking sha2 v0.11.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]     Checking postgres-protocol v0.6.11
[INFO] [stderr]     Checking postgres-types v0.2.13
[INFO] [stderr]     Checking zerotrie v0.2.5
[INFO] [stderr]     Checking zerovec v0.11.8
[INFO] [stderr]     Checking tinystr v0.8.4
[INFO] [stderr]     Checking potential_utf v0.1.6
[INFO] [stderr]     Checking icu_collections v2.3.0
[INFO] [stderr]     Checking icu_locale_core v2.3.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking h2 v0.4.19
[INFO] [stderr]     Checking tokio-postgres v0.7.17
[INFO] [stderr]     Checking icu_provider v2.3.1
[INFO] [stderr]     Checking icu_normalizer v2.3.0
[INFO] [stderr]     Checking icu_properties v2.3.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking hyper v1.11.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking ai_gateaway v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `model` is never read
[INFO] [stdout]     --> src/main.rs:491:9
[INFO] [stdout]      |
[INFO] [stdout]  491 |         "unknown".to_string()
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2051 |                             model = normalize_model(m);
[INFO] [stdout]      |                             ----- `model` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `model` is never read
[INFO] [stdout]     --> src/main.rs:489:9
[INFO] [stdout]      |
[INFO] [stdout]  489 |         extract_model_from_body(&buffer)
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2051 |                             model = normalize_model(m);
[INFO] [stdout]      |                             ----- `model` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cache_key` is never read
[INFO] [stdout]     --> src/main.rs:495:25
[INFO] [stdout]      |
[INFO] [stdout]  495 |     let mut cache_key = String::new(); 
[INFO] [stdout]      |                         ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1668 |     cache_key = generate_cache_key(&model, &normalized_prompt);
[INFO] [stdout]      |     --------- `cache_key` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `model` is never read
[INFO] [stdout]     --> src/main.rs:491:9
[INFO] [stdout]      |
[INFO] [stdout]  491 |         "unknown".to_string()
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2051 |                             model = normalize_model(m);
[INFO] [stdout]      |                             ----- `model` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `model` is never read
[INFO] [stdout]     --> src/main.rs:489:9
[INFO] [stdout]      |
[INFO] [stdout]  489 |         extract_model_from_body(&buffer)
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2051 |                             model = normalize_model(m);
[INFO] [stdout]      |                             ----- `model` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cache_key` is never read
[INFO] [stdout]     --> src/main.rs:495:25
[INFO] [stdout]      |
[INFO] [stdout]  495 |     let mut cache_key = String::new(); 
[INFO] [stdout]      |                         ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1668 |     cache_key = generate_cache_key(&model, &normalized_prompt);
[INFO] [stdout]      |     --------- `cache_key` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `version` is never read
[INFO] [stdout]    --> src/main.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct Request {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 132 |     version: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `version` is never read
[INFO] [stdout]    --> src/main.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct Request {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 132 |     version: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.91s
[INFO] running `Command { std: "docker" "inspect" "413e5c3337f3fea7bab5dc7b98e3a8a2da289a4f764a110e41913a0e0dec86e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "413e5c3337f3fea7bab5dc7b98e3a8a2da289a4f764a110e41913a0e0dec86e9", kill_on_drop: false }`
[INFO] [stdout] 413e5c3337f3fea7bab5dc7b98e3a8a2da289a4f764a110e41913a0e0dec86e9
