[INFO] cloning repository https://github.com/Xhhemoing/cursor-proxy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xhhemoing/cursor-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXhhemoing%2Fcursor-proxy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXhhemoing%2Fcursor-proxy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 207018b19995562a97d8c71115836170666d5c88
[INFO] testing Xhhemoing/cursor-proxy against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXhhemoing%2Fcursor-proxy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Xhhemoing/cursor-proxy
[INFO] finished tweaking git repo https://github.com/Xhhemoing/cursor-proxy
[INFO] tweaked toml for git repo https://github.com/Xhhemoing/cursor-proxy written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Xhhemoing/cursor-proxy on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Xhhemoing/cursor-proxy 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded js-sys v0.3.104
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.127
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.127
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.127
[INFO] [stderr]   Downloaded tracing-serde v0.2.0
[INFO] [stderr]   Downloaded uuid v1.26.0
[INFO] [stderr]   Downloaded tokio-socks v0.5.3
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.127
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.11
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.16
[INFO] [stderr]   Downloaded cc v1.4.4
[INFO] [stderr]   Downloaded aws-lc-rs v1.18.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.56
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.77
[INFO] [stderr]   Downloaded zerocopy v0.8.56
[INFO] [stderr]   Downloaded web-sys v0.3.104
[INFO] [stderr]   Downloaded quinn-proto v0.11.17
[INFO] [stderr]   Downloaded ipnet v2.12.1
[INFO] [stderr]   Downloaded h2 v0.4.19
[INFO] [stderr]   Downloaded notify v6.1.1
[INFO] [stderr]   Downloaded indexmap v2.14.1
[INFO] [stderr]   Downloaded kqueue-sys v1.1.2
[INFO] [stderr]   Downloaded kqueue v1.2.1
[INFO] [stderr]   Downloaded inotify-sys v0.1.8
[INFO] [stderr]   Downloaded inotify v0.9.6
[INFO] [stderr]   Downloaded aws-lc-sys v0.44.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c
[INFO] running `Command { std: "docker" "start" "2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c", 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" "2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling find-msvc-tools v0.1.11
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling bytes v1.12.1
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling pkg-config v0.3.34
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling http v1.5.0
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling syn v3.0.4
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling zerocopy v0.8.56
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling rustls-pki-types v1.15.1
[INFO] [stderr]    Compiling jobserver v0.1.35
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling cc v1.4.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling mio v1.2.2
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling http-body v1.1.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling writeable v0.6.4
[INFO] [stderr]    Compiling litemap v0.8.3
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling aws-lc-rs v1.18.0
[INFO] [stderr]    Compiling icu_properties_data v2.3.0
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling icu_normalizer_data v2.3.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling aws-lc-sys v0.44.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling indexmap v2.14.1
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling rustls v0.23.43
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling http-body-util v0.1.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling inotify-sys v0.1.8
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling ipnet v2.12.1
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling futures-macro v0.3.34
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling icu_locale_core v2.3.0
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling bitflags v2.13.1
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling icu_normalizer v2.3.0
[INFO] [stderr]    Compiling icu_properties v2.3.0
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling webpki-roots v1.0.9
[INFO] [stderr]    Compiling crc32fast v1.5.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling rustls-native-certs v0.8.4
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.19
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling h2 v0.4.19
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.92
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.10
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling simd-adler32 v0.3.10
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]    Compiling time-core v0.1.9
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling base64ct v1.8.3
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.9.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling time v0.3.55
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling hyper v1.11.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.16
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling filetime v0.2.29
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling either v1.18.0
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling symlink v0.1.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling http-range-header v0.4.2
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling uuid v1.26.0
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling tracing-appender v0.2.5
[INFO] [stderr]    Compiling tokio-socks v0.5.3
[INFO] [stderr]    Compiling notify v6.1.1
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling flate2 v1.1.10
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling rand v0.8.8
[INFO] [stderr]    Compiling sha1 v0.10.7
[INFO] [stderr]    Compiling tokio-stream v0.1.19
[INFO] [stderr]    Compiling arc-swap v1.9.2
[INFO] [stderr]    Compiling dashmap v6.2.1
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.15
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling rusqlite v0.32.1
[INFO] [stderr]    Compiling cursor-fast-proxy-rs v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Stream`
[INFO] [stdout]  --> src/admin/events.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures_util::stream::{Stream, StreamExt};
[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: `std::collections::BTreeMap`
[INFO] [stdout]   --> src/admin/model_center.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::collections::BTreeMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Body as HttpBody`
[INFO] [stdout]  --> src/cursor.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hyper::body::{Body as HttpBody, Incoming};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/models.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `merge_tool_arg_text`
[INFO] [stdout]   --> src/translate.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     merge_tool_arg_text, openai_message_with_tools, responses_message_with_request, sse_event,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:2825:18
[INFO] [stdout]      |
[INFO] [stdout] 2825 |         let (tx, mut rx) = mpsc::channel::<Result<Bytes, std::convert::Infallible>>(64);
[INFO] [stdout]      |                  ----^^
[INFO] [stdout]      |                  |
[INFO] [stdout]      |                  help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<u64>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stdout]     --> src/cards.rs:3179:18
[INFO] [stdout]      |
[INFO] [stdout] 3179 |                 .fetch_update(Ordering::AcqRel, Ordering::Relaxed, |cur| {
[INFO] [stdout]      |                  ^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]      |
[INFO] [stdout] 3179 -                 .fetch_update(Ordering::AcqRel, Ordering::Relaxed, |cur| {
[INFO] [stdout] 3179 +                 .try_update(Ordering::AcqRel, Ordering::Relaxed, |cur| {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/cards.rs:1037:13
[INFO] [stdout]      |
[INFO] [stdout] 1037 |         let mut pace = global.unwrap_or(plan_pace);
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `status_4xx` is assigned to, but never used
[INFO] [stdout]    --> src/health.rs:411:13
[INFO] [stdout]     |
[INFO] [stdout] 411 |         let mut status_4xx = 0usize;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_status_4xx` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `status_4xx` is never read
[INFO] [stdout]    --> src/health.rs:422:21
[INFO] [stdout]     |
[INFO] [stdout] 422 |                     status_4xx += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `has_user` is never read
[INFO] [stdout]    --> src/protocol.rs:710:21
[INFO] [stdout]     |
[INFO] [stdout] 710 |                     has_user = true;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `log`, `config_update`, and `key_update` are never used
[INFO] [stdout]   --> src/admin/events.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl EventBus {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn log(&self, entry: &serde_json::Value) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn config_update(&self, config: &crate::config::AppConfig) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn key_update(&self, keys: &[crate::config::ApiKeyRecord]) {
[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 `stack_mode` is never read
[INFO] [stdout]    --> src/admin/portal.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 237 | pub struct PurchaseBody {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 238 |     pub plan_id: String,
[INFO] [stdout] 239 |     pub stack_mode: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `written` and `ignored` are never read
[INFO] [stdout]    --> src/billing.rs:368:5
[INFO] [stdout]     |
[INFO] [stdout] 360 | pub struct Ledger {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 368 |     written: Arc<AtomicU64>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 369 |     /// 因 UNIQUE 冲突被忽略 (重复 req_id)
[INFO] [stdout] 370 |     ignored: Arc<AtomicU64>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `stats` and `db_path` are never used
[INFO] [stdout]    --> src/billing.rs:490:12
[INFO] [stdout]     |
[INFO] [stdout] 416 | impl Ledger {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 490 |     pub fn stats(&self) -> Value {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 504 |     pub fn db_path(&self) -> &Path {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `upstream_fetched_at`, `issue_card`, `issue_card_priced`, `eval_throttle`, and `settle` are never used
[INFO] [stdout]     --> src/cards.rs:1475:12
[INFO] [stdout]      |
[INFO] [stdout] 1414 | impl CardStore {
[INFO] [stdout]      | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1475 |     pub fn upstream_fetched_at(&self) -> Option<u64> {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1958 |     pub fn issue_card(&self, plan_id: &str, owner: &str) -> Result<Card, String> {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1963 |     pub fn issue_card_priced(
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2382 |     fn eval_throttle(
[INFO] [stdout]      |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2743 |     pub fn settle(
[INFO] [stdout]      |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `throttle` is never read
[INFO] [stdout]     --> src/cards.rs:3094:5
[INFO] [stdout]      |
[INFO] [stdout] 3092 | pub struct CardPermit {
[INFO] [stdout]      |            ---------- field in this struct
[INFO] [stdout] 3093 |     rt: Arc<CardRuntime>,
[INFO] [stdout] 3094 |     throttle: Throttle,
[INFO] [stdout]      |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `throttle`, `degraded`, `model`, and `sent_tokens` are never used
[INFO] [stdout]     --> src/cards.rs:3114:12
[INFO] [stdout]      |
[INFO] [stdout] 3113 | impl CardPermit {
[INFO] [stdout]      | --------------- methods in this implementation
[INFO] [stdout] 3114 |     pub fn throttle(&self) -> Throttle {
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 3117 |     pub fn degraded(&self) -> bool {
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 3120 |     pub fn model(&self) -> &str {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 3169 |     pub fn sent_tokens(&self) -> f64 {
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STREAM_PATH` is never used
[INFO] [stdout]   --> src/cursor.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const STREAM_PATH: &str = "/aiserver.v1.InferenceService/Stream";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GROK_BOT_CLIENT_VERSION` is never used
[INFO] [stdout]   --> src/cursor.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const GROK_BOT_CLIENT_VERSION: &str = crate::grok_version::FALLBACK;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_kimi_family` is never used
[INFO] [stdout]   --> src/cursor.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn is_kimi_family(model: &str) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `thinking_level_from_model` is never used
[INFO] [stdout]   --> src/cursor.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn thinking_level_from_model(model: &str) -> ThinkingLevel {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_cursor_body` is never used
[INFO] [stdout]    --> src/cursor.rs:380:8
[INFO] [stdout]     |
[INFO] [stdout] 380 | pub fn build_cursor_body(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `refresh_access_token` is never used
[INFO] [stdout]     --> src/cursor.rs:1076:14
[INFO] [stdout]      |
[INFO] [stdout] 1076 | pub async fn refresh_access_token(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OAUTH_ISSUER` is never used
[INFO] [stdout]   --> src/grok_auth.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const OAUTH_ISSUER: &str = "https://auth.x.ai";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_CODE_URL` is never used
[INFO] [stdout]   --> src/grok_auth.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const DEVICE_CODE_URL: &str = "https://auth.x.ai/oauth2/device/code";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_VERIFY_URL` is never used
[INFO] [stdout]   --> src/grok_auth.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const DEVICE_VERIFY_URL: &str = "https://auth.x.ai/oauth2/device/verify";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_APPROVE_URL` is never used
[INFO] [stdout]   --> src/grok_auth.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const DEVICE_APPROVE_URL: &str = "https://auth.x.ai/oauth2/device/approve";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOKEN_URL` is never used
[INFO] [stdout]   --> src/grok_auth.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const TOKEN_URL: &str = "https://auth.x.ai/oauth2/token";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACCOUNTS_URL` is never used
[INFO] [stdout]   --> src/grok_auth.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const ACCOUNTS_URL: &str = "https://accounts.x.ai/";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLIENT_ID` is never used
[INFO] [stdout]   --> src/grok_auth.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const CLIENT_ID: &str = "b1a00492-073a-47ea-816f-4c329264a828";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUILD_SCOPE` is never used
[INFO] [stdout]   --> src/grok_auth.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const BUILD_SCOPE: &str =
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLI_BASE_URL` is never used
[INFO] [stdout]   --> src/grok_auth.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const CLI_BASE_URL: &str = "https://cli-chat-proxy.grok.com/v1";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLI_HOST` is never used
[INFO] [stdout]   --> src/grok_auth.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const CLI_HOST: &str = "cli-chat-proxy.grok.com";
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLI_TOKEN_AUTH` is never used
[INFO] [stdout]   --> src/grok_auth.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const CLI_TOKEN_AUTH: &str = "xai-grok-cli";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLI_CLIENT_IDENTIFIER` is never used
[INFO] [stdout]   --> src/grok_auth.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const CLI_CLIENT_IDENTIFIER: &str = "grok-shell";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLI_CLIENT_VERSION` is never used
[INFO] [stdout]   --> src/grok_auth.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub const CLI_CLIENT_VERSION: &str = "0.2.93";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_UA` is never used
[INFO] [stdout]   --> src/grok_auth.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const DEFAULT_UA: &str = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Sa...
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_TOKEN_TTL_SECS` is never used
[INFO] [stdout]   --> src/grok_auth.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const DEFAULT_TOKEN_TTL_SECS: u64 = 6 * 3600;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_AUTH_BODY` is never used
[INFO] [stdout]   --> src/grok_auth.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const MAX_AUTH_BODY: usize = 2 << 20; // 2 MiB
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_TOKEN_LEN` is never used
[INFO] [stdout]   --> src/grok_auth.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 | const MAX_TOKEN_LEN: usize = 16 << 10;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BuildToken` is never constructed
[INFO] [stdout]   --> src/grok_auth.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct BuildToken {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_expired` is never used
[INFO] [stdout]   --> src/grok_auth.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl BuildToken {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 56 |     pub fn is_expired(&self, skew_secs: u64) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `now_unix` is never used
[INFO] [stdout]   --> src/grok_auth.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn now_unix() -> u64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_sso_token` is never used
[INFO] [stdout]   --> src/grok_auth.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn normalize_sso_token(value: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sanitize_token` is never used
[INFO] [stdout]   --> src/grok_auth.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn sanitize_token(value: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_jwt_claims` is never used
[INFO] [stdout]    --> src/grok_auth.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn decode_jwt_claims(token: &str) -> Option<serde_json::Value> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `token_email` is never used
[INFO] [stdout]    --> src/grok_auth.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn token_email(tok: &BuildToken) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GrokAuth` is never constructed
[INFO] [stdout]    --> src/grok_auth.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub struct GrokAuth {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `convert_sso_to_build`, `poll_token`, `refresh_build_token`, and `do_request` are never used
[INFO] [stdout]    --> src/grok_auth.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | impl GrokAuth {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 154 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub async fn convert_sso_to_build(&self, sso_token: &str) -> Result<BuildToken, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |     async fn poll_token(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 351 |     pub async fn refresh_build_token(&self, refresh_token: &str) -> Result<BuildToken, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 409 |     async fn do_request(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `safe_xai_url` is never used
[INFO] [stdout]    --> src/grok_auth.rs:471:4
[INFO] [stdout]     |
[INFO] [stdout] 471 | fn safe_xai_url(raw: &str) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cli_headers` is never used
[INFO] [stdout]    --> src/grok_auth.rs:484:8
[INFO] [stdout]     |
[INFO] [stdout] 484 | pub fn cli_headers() -> Vec<(&'static str, String)> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/metrics.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl RpmTracker {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `resolve_smart_model` is never used
[INFO] [stdout]    --> src/models.rs:654:12
[INFO] [stdout]     |
[INFO] [stdout] 241 | impl ModelRegistry {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 654 |     pub fn resolve_smart_model(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `mask` are never read
[INFO] [stdout]   --> src/pool.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct AvailableSlot {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 40 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub mask: u8,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AvailableSlot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `ALL_OK` and `is_available` are never used
[INFO] [stdout]   --> src/pool.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl AvailableSlot {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     const ALL_OK: u8 = 0b111;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn is_available(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]     --> src/pool.rs:245:12
[INFO] [stdout]      |
[INFO] [stdout]  193 | impl AccountPool {
[INFO] [stdout]      | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  245 |     pub fn max_concurrency(&self) -> usize {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  362 |     pub async fn acquire_by_session(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  371 |     pub async fn acquire(
[INFO] [stdout]      |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  387 |     pub async fn acquire_by_session_ex(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  535 |     fn is_slot_available(&self, slot: &Arc<Slot>) -> bool {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  581 |     fn slot_live_available(&self, avail: &AvailableSlot) -> bool {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  593 |     fn is_slot_available_fast(&self, slot: &Arc<Slot>) -> bool {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1054 |     pub fn get_quota(&self, account_id: &str) -> Option<QuotaSnapshot> {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BalanceLogEntry` is never constructed
[INFO] [stdout]    --> src/portal.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct BalanceLogEntry {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `snapshot` and `create_key` are never used
[INFO] [stdout]    --> src/portal.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl PortalStore {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn snapshot(&self) -> Arc<PortalData> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 452 |     pub fn create_key(
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_reasoning` is never used
[INFO] [stdout]   --> src/protocol.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn decode_reasoning(encrypted: &str) -> Option<(String, Option<String>)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `responses_message` is never used
[INFO] [stdout]     --> src/protocol.rs:1270:8
[INFO] [stdout]      |
[INFO] [stdout] 1270 | pub fn responses_message(
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `https` is never read
[INFO] [stdout]    --> src/proxypool.rs:726:9
[INFO] [stdout]     |
[INFO] [stdout] 721 | pub struct ParsedProxy {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 726 |     pub https: bool,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ParsedProxy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `open_conn` and `gc` are never used
[INFO] [stdout]    --> src/quota.rs:734:8
[INFO] [stdout]     |
[INFO] [stdout] 699 | impl QuotaStore {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 734 |     fn open_conn(&self) -> anyhow::Result<rusqlite::Connection> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 853 |     pub async fn gc(&self, keep_days: u32) -> anyhow::Result<usize> {
[INFO] [stdout]     |                  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_openai_delta` is never used
[INFO] [stdout]    --> src/translate.rs:174:4
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn extract_openai_delta(obj: &Value) -> Option<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_openai_finish` is never used
[INFO] [stdout]    --> src/translate.rs:195:4
[INFO] [stdout]     |
[INFO] [stdout] 195 | fn is_openai_finish(obj: &Value) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_output_token_limit_error` is never used
[INFO] [stdout]    --> src/translate.rs:225:8
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub fn is_output_token_limit_error(obj: &Value) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `upstream_model` is never read
[INFO] [stdout]    --> src/translate.rs:518:9
[INFO] [stdout]     |
[INFO] [stdout] 512 | pub struct StreamTranslator {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 518 |     pub upstream_model: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `upstream_to_openai_stream` is never used
[INFO] [stdout]     --> src/translate.rs:1656:8
[INFO] [stdout]      |
[INFO] [stdout] 1656 | pub fn upstream_to_openai_stream<E>(
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `upstream_to_openai_full` is never used
[INFO] [stdout]     --> src/translate.rs:1754:14
[INFO] [stdout]      |
[INFO] [stdout] 1754 | pub async fn upstream_to_openai_full<E>(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UpstreamKind` is never used
[INFO] [stdout]   --> src/upstream.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum UpstreamKind {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpstreamConfig` is never constructed
[INFO] [stdout]   --> src/upstream.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct UpstreamConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timeout_s` is never read
[INFO] [stdout]    --> src/upstream.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct OpenAiClient {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 118 |     timeout_s: u64,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OpenAiClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 9m 12s
[INFO] running `Command { std: "docker" "inspect" "2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling bytes v1.12.1
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling rustls-pki-types v1.15.1
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling writeable v0.6.4
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling litemap v0.8.3
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling http v1.5.0
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling zerocopy v0.8.56
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling icu_locale_core v2.3.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.2.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling http-body v1.1.0
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling icu_properties_data v2.3.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.3.0
[INFO] [stderr]    Compiling aws-lc-sys v0.44.0
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling indexmap v2.14.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling icu_normalizer v2.3.0
[INFO] [stderr]    Compiling aws-lc-rs v1.18.0
[INFO] [stderr]    Compiling icu_properties v2.3.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body-util v0.1.5
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling ipnet v2.12.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.15
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling bitflags v2.13.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rustls v0.23.43
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling webpki-roots v1.0.9
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling rustls-native-certs v0.8.4
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.19
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling inotify-sys v0.1.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.10
[INFO] [stderr]    Compiling h2 v0.4.19
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling simd-adler32 v0.3.10
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.9
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling base64ct v1.8.3
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.9.1
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling time v0.3.55
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr] error: could not compile `tokio` (lib)
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.99.0-beta.8-x86_64-unknown-linux-gnu/bin/rustc --crate-name tokio --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.53.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C codegen-units=1 --cfg 'feature="bytes"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="full"' --cfg 'feature="io-std"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="macros"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="parking_lot"' --cfg 'feature="process"' --cfg 'feature="rt"' --cfg 'feature="rt-multi-thread"' --cfg 'feature="signal"' --cfg 'feature="signal-hook-registry"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="time"' --cfg 'feature="tokio-macros"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bytes", "default", "fs", "full", "io-std", "io-uring", "io-util", "libc", "macros", "mio", "net", "parking_lot", "process", "rt", "rt-multi-thread", "schedule-latency", "signal", "signal-hook-registry", "socket2", "sync", "taskdump", "test-util", "time", "tokio-macros", "tracing", "windows-sys"))' -C metadata=76076dc2d6bcf8c3 -C extra-filename=-8cd65214ec969ea6 --out-dir /opt/rustwide/target/release/deps -C strip=symbols -L dependency=/opt/rustwide/target/release/deps --extern bytes=/opt/rustwide/target/release/deps/libbytes-82d31883880587dd.rmeta --extern libc=/opt/rustwide/target/release/deps/liblibc-52ea4cd84da32f94.rmeta --extern mio=/opt/rustwide/target/release/deps/libmio-d8fa37a4e2a95e3d.rmeta --extern parking_lot=/opt/rustwide/target/release/deps/libparking_lot-06041dbe1fdfdeef.rmeta --extern pin_project_lite=/opt/rustwide/target/release/deps/libpin_project_lite-53b53e8d3ad61337.rmeta --extern signal_hook_registry=/opt/rustwide/target/release/deps/libsignal_hook_registry-d39116031917a744.rmeta --extern socket2=/opt/rustwide/target/release/deps/libsocket2-1992d17c616602c5.rmeta --extern tokio_macros=/opt/rustwide/target/release/deps/libtokio_macros-b6ae923e2b73355c.so --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c", kill_on_drop: false }`
[INFO] [stdout] 2afe303a1325b4cd2696d6e18b1091271c70c08899c9a8b66862d1e967a1ae6c
