[INFO] cloning repository https://github.com/Geo-ff/AI-Gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Geo-ff/AI-Gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeo-ff%2FAI-Gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeo-ff%2FAI-Gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 235bd6aa34f61fe2bbdd7ee3144e1b15f927932d [INFO] testing Geo-ff/AI-Gateway against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeo-ff%2FAI-Gateway" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Geo-ff/AI-Gateway [INFO] finished tweaking git repo https://github.com/Geo-ff/AI-Gateway [INFO] tweaked toml for git repo https://github.com/Geo-ff/AI-Gateway written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Geo-ff/AI-Gateway on toolchain f9988fefd3add01f414f52b414308e7872622fee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Geo-ff/AI-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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-postgres v0.7.14 [INFO] [stderr] Downloaded tokio-rustls v0.26.3 [INFO] [stderr] Downloaded criterion-plot v0.6.0 [INFO] [stderr] Downloaded criterion v0.7.0 [INFO] [stderr] Downloaded serde_core v1.0.226 [INFO] [stderr] Downloaded serde_derive v1.0.226 [INFO] [stderr] Downloaded ecow v0.2.6 [INFO] [stderr] Downloaded axum-core v0.5.2 [INFO] [stderr] Downloaded async-openai-macros v0.1.0 [INFO] [stderr] Downloaded governor v0.10.4 [INFO] [stderr] Downloaded async-openai v0.29.3 [INFO] [stderr] Downloaded serde_spanned v1.0.2 [INFO] [stderr] Downloaded serde v1.0.226 [INFO] [stderr] Downloaded toml_writer v1.0.3 [INFO] [stderr] Downloaded rustls-webpki v0.103.6 [INFO] [stderr] Downloaded raw-cpuid v11.6.0 [INFO] [stderr] Downloaded axum v0.8.4 [INFO] [stderr] Downloaded maybe-async v0.2.10 [INFO] [stderr] Downloaded postgres-types v0.2.10 [INFO] [stderr] Downloaded resend-rs v0.19.0 [INFO] [stderr] Downloaded secrecy v0.10.3 [INFO] [stderr] Downloaded security-framework v3.5.0 [INFO] [stderr] Downloaded anthropic-ai-sdk v0.2.26 [INFO] [stderr] Downloaded cc v1.2.38 [INFO] [stderr] Downloaded postgres-protocol v0.6.9 [INFO] [stderr] Downloaded quanta v0.12.6 [INFO] [stderr] Downloaded toml v0.9.7 [INFO] [stderr] Downloaded find-msvc-tools v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f06056f4f2c377322508865a7758006246666c5d452d84baeabcc794dee90f8c [INFO] running `Command { std: "docker" "start" "-a" "f06056f4f2c377322508865a7758006246666c5d452d84baeabcc794dee90f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f06056f4f2c377322508865a7758006246666c5d452d84baeabcc794dee90f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06056f4f2c377322508865a7758006246666c5d452d84baeabcc794dee90f8c", kill_on_drop: false }` [INFO] [stdout] f06056f4f2c377322508865a7758006246666c5d452d84baeabcc794dee90f8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18282eb04e967c84c975cfead71b8248bc0517b2ebfbdc0fbf31c3d9f120c967 [INFO] running `Command { std: "docker" "start" "-a" "18282eb04e967c84c975cfead71b8248bc0517b2ebfbdc0fbf31c3d9f120c967", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling postgres-protocol v0.6.9 [INFO] [stderr] Compiling spinning_top v0.3.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling ecow v0.2.6 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling governor v0.10.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling postgres-types v0.2.10 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tokio-postgres v0.7.14 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling resend-rs v0.19.0 [INFO] [stderr] Compiling anthropic-ai-sdk v0.2.26 [INFO] [stderr] Compiling async-openai v0.29.3 [INFO] [stderr] Compiling gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 33s [INFO] running `Command { std: "docker" "inspect" "18282eb04e967c84c975cfead71b8248bc0517b2ebfbdc0fbf31c3d9f120c967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18282eb04e967c84c975cfead71b8248bc0517b2ebfbdc0fbf31c3d9f120c967", kill_on_drop: false }` [INFO] [stdout] 18282eb04e967c84c975cfead71b8248bc0517b2ebfbdc0fbf31c3d9f120c967 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d4b74fdc53b3fbbc4fb0a2ba6c950cf53762f60974a705874041af056bc807a [INFO] running `Command { std: "docker" "start" "-a" "7d4b74fdc53b3fbbc4fb0a2ba6c950cf53762f60974a705874041af056bc807a", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling postgres-types v0.2.10 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling governor v0.10.4 [INFO] [stderr] Compiling tokio-postgres v0.7.14 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling anthropic-ai-sdk v0.2.26 [INFO] [stderr] Compiling resend-rs v0.19.0 [INFO] [stderr] Compiling async-openai v0.29.3 [INFO] [stderr] Compiling gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated field `async_openai::types::CreateChatCompletionRequest::max_tokens` [INFO] [stdout] --> src/server/request_lab.rs:2581:20 [INFO] [stdout] | [INFO] [stdout] 2581 | assert_eq!(request.max_tokens, Some(256)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "7d4b74fdc53b3fbbc4fb0a2ba6c950cf53762f60974a705874041af056bc807a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d4b74fdc53b3fbbc4fb0a2ba6c950cf53762f60974a705874041af056bc807a", kill_on_drop: false }` [INFO] [stdout] 7d4b74fdc53b3fbbc4fb0a2ba6c950cf53762f60974a705874041af056bc807a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a6ee9c5f14742ddd76a4e5d1f90f28ae7b31bcf3fe28d168013928db619e005e [INFO] running `Command { std: "docker" "start" "-a" "a6ee9c5f14742ddd76a4e5d1f90f28ae7b31bcf3fe28d168013928db619e005e", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated field `async_openai::types::CreateChatCompletionRequest::max_tokens` [INFO] [stderr] --> src/server/request_lab.rs:2581:20 [INFO] [stderr] | [INFO] [stderr] 2581 | assert_eq!(request.max_tokens, Some(256)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gateway` (bin "gateway" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gateway-9d83802eca77ac58) [INFO] [stdout] [INFO] [stdout] running 192 tests [INFO] [stdout] test config::settings::pricing_mode_tests::pricing_sync_defaults_are_enabled_with_weekly_ttl ... ok [INFO] [stdout] test config::settings::pricing_mode_tests::pricing_mode_deserializes_allow_missing ... ok [INFO] [stdout] test config::settings::provider_config_tests::provider_config_deserializes_missing_as_default ... ok [INFO] [stdout] test config::settings::pricing_mode_tests::pricing_sync_settings_deserialize ... ok [INFO] [stdout] test config::settings::provider_config_tests::provider_config_deserializes_null_as_default ... ok [INFO] [stdout] test config::settings::pricing_mode_tests::pricing_mode_defaults_to_strict ... ok [INFO] [stdout] test config::settings::tests::provider_auth_modes_are_explicit_for_high_priority_types ... ok [INFO] [stdout] test config::settings::tests::staged_domestic_provider_capabilities_have_explicit_boundaries ... ok [INFO] [stdout] test config::settings::tests::unknown_storage_types_keep_raw_information ... ok [INFO] [stdout] test http_client::tests::bypass_proxy_for_volces_when_proxy_env_present ... ok [INFO] [stdout] test http_client::tests::do_not_bypass_without_proxy_env ... ok [INFO] [stdout] test config::settings::tests::newly_registered_domestic_provider_types_parse_correctly ... ok [INFO] [stdout] test logging::postgres_store::tests::postgres_model_price_roundtrip_preserves_metadata ... ok [INFO] [stdout] test logging::postgres_store::tests::postgres_log_cursor_queries_accept_i64_ids ... ok [INFO] [stdout] test logging::postgres_store::tests::postgres_snapshot_note_update_roundtrip ... ok [INFO] [stdout] test logging::time::tests::parse_datetime_string_accepts_pg_offset_colon ... ok [INFO] [stdout] test logging::time::tests::parse_datetime_string_accepts_pg_utc_suffix ... ok [INFO] [stdout] test logging::time::tests::parse_datetime_string_accepts_pg_offset_hhmm ... ok [INFO] [stdout] test logging::types::tests::model_price_enums_serialize_and_deserialize ... ok [INFO] [stdout] test logging::time::tests::parse_datetime_string_accepts_beijing_legacy ... ok [INFO] [stdout] test providers::adapters::tests::auth_headers_follow_protocol_family ... ok [INFO] [stdout] test logging::time::tests::parse_datetime_string_accepts_rfc3339 ... ok [INFO] [stdout] test logging::time::tests::parse_datetime_string_accepts_pg_offset_short ... ok [INFO] [stdout] test providers::adapters::tests::baidu_ernie_model_paths_accept_alias_and_raw_endpoint ... ok [INFO] [stdout] test providers::adapters::tests::aws_claude_payload_uses_converse_shape ... ok [INFO] [stdout] test providers::adapters::tests::aws_claude_response_is_adapted_to_openai_shape ... ok [INFO] [stdout] test providers::adapters::tests::baidu_ernie_response_is_adapted_to_openai_shape ... ok [INFO] [stdout] test providers::adapters::tests::aws_sigv4_headers_include_expected_fields ... ok [INFO] [stdout] test providers::adapters::tests::azure_url_uses_openai_deployment_path ... ok [INFO] [stdout] test providers::adapters::tests::cohere_payload_uses_native_message_shape ... ok [INFO] [stdout] test providers::adapters::tests::cohere_response_is_adapted_to_openai_shape ... ok [INFO] [stdout] test providers::adapters::tests::gemini_base_url_respects_explicit_version ... ok [INFO] [stdout] test providers::adapters::tests::invalid_key_error_is_mapped_to_visible_authentication_failure ... ok [INFO] [stdout] test providers::adapters::tests::gemini_response_is_adapted_to_openai_shape ... ok [INFO] [stdout] test providers::adapters::tests::vertex_generate_content_url_uses_project_and_location ... ok [INFO] [stdout] test providers::adapters::tests::gemini_model_name_accepts_prefixed_and_plain_values ... ok [INFO] [stdout] test providers::adapters::tests::runtime_streaming_boundary_is_explicit_for_new_native_providers ... ok [INFO] [stdout] test providers::openai::client::tests::openai_error_payload_is_treated_as_error ... ok [INFO] [stdout] test providers::adapters::tests::gemini_payload_uses_system_instruction_and_contents ... ok [INFO] [stdout] test providers::openai::client::tests::fallback_response_extracts_array_content ... ok [INFO] [stdout] test providers::adapters::tests::supported_provider_types_resolve_to_adapters ... ok [INFO] [stdout] test providers::openai::client::tests::streaming_chunks_upgrade_null_usage_to_final_usage_object ... ok [INFO] [stdout] test providers::openai::client::tests::responses_sse_is_aggregated_into_non_stream_response ... ok [INFO] [stdout] test providers::openai::client::tests::chat_chunk_content_array_is_aggregated ... ok [INFO] [stdout] test providers::openai::client::tests::sse_is_aggregated_into_non_stream_response ... ok [INFO] [stdout] test routing::load_balancer::tests::weighted_sequential_uses_smooth_weighted_round_robin ... ok [INFO] [stdout] test providers::openai::usage::tests::resolved_usage_prefers_raw_when_typed_usage_is_empty ... ok [INFO] [stdout] test routing::load_balancer::tests::round_robin_persists_across_instances_and_rotates_keys_per_provider ... ok [INFO] [stdout] test server::handlers::admin_metrics::tests::build_model_cost_series_buckets_and_limit_work ... ok [INFO] [stdout] test server::handlers::admin_metrics::tests::spent_tokens_falls_back_to_prompt_plus_completion ... ok [INFO] [stdout] test server::handlers::admin_metrics::tests::build_models_distribution_defaults_to_call_count_sort ... ok [INFO] [stdout] test server::handlers::admin_metrics::tests::build_models_distribution_supports_amount_spent_sort ... ok [INFO] [stdout] test providers::openai::usage::tests::usage_from_value_supports_input_output_tokens ... ok [INFO] [stdout] test routing::load_balancer::tests::weighted_random_is_reasonable_and_disabled_keys_not_selected ... ok [INFO] [stdout] test logging::database_providers::tests::provider_created_at_is_stable_and_updated_at_changes ... ok [INFO] [stdout] test logging::database_provider_ops::tests::provider_ops_logs_timestamp_parses_rfc3339 ... ok [INFO] [stdout] test server::handlers::admin_prices::tests::sync_payload_defaults_flags_to_false ... ok [INFO] [stdout] test server::handlers::admin_prices::tests::upsert_payload_deserializes_missing_metadata_as_none ... ok [INFO] [stdout] test logging::database_users::tests::sqlite_username_collision_is_avoided ... ok [INFO] [stdout] test logging::database_client_tokens::tests::sqlite_create_token_persists_custom_organization_registry ... ok [INFO] [stdout] test logging::database_client_tokens::tests::sqlite_set_enabled_for_user_disables_all_tokens ... ok [INFO] [stdout] test logging::database_pricing::tests::sqlite_model_price_roundtrip_preserves_metadata ... ok [INFO] [stdout] test logging::database_client_tokens::tests::sqlite_migration_clears_max_amount_for_user_bound_tokens ... ok [INFO] [stdout] test server::handlers::admin_prices::tests::admin_sync_model_prices_dry_run_does_not_write ... ok [INFO] [stdout] test server::handlers::admin_prices::tests::admin_list_model_prices_includes_missing_cached_models ... ok [INFO] [stdout] test logging::database_pricing::tests::sqlite_model_price_migration_backfills_metadata_defaults ... ok [INFO] [stdout] test logging::database_users::tests::sqlite_user_balance_defaults_and_updates ... ok [INFO] [stdout] test server::handlers::admin_prices::tests::admin_get_model_price_returns_missing_for_cached_model_without_price ... ok [INFO] [stdout] test server::handlers::admin_prices::tests::admin_sync_single_model_supports_moonshot_provider ... ok [INFO] [stdout] test server::handlers::admin_prices::tests::admin_sync_single_model_reports_manual_protected ... ok [INFO] [stdout] test logging::database_users::tests::sqlite_user_crud_works ... ok [INFO] [stdout] test server::handlers::admin_prices::tests::admin_sync_single_model_returns_latest_view ... ok [INFO] [stdout] test server::handlers::admin_users::tests::admin_users_create_and_list_works ... ok [INFO] [stdout] test server::handlers::admin_provider_key_stats::tests::provider_key_stats_aggregates_and_handles_zero_total ... ok [INFO] [stdout] test server::handlers::admin_users::tests::admin_users_requires_admin_auth ... ok [INFO] [stdout] test server::handlers::admin_provider_key_stats::tests::provider_key_stats_since_created_uses_key_created_at ... ok [INFO] [stdout] test server::handlers::admin_users::tests::admin_users_list_disables_tokens_when_balance_exhausted ... ok [INFO] [stdout] test server::handlers::chat::tests::missing_price_strict_mode_rejects_non_stream_chat ... ok [INFO] [stdout] test server::handlers::admin_prices::tests::admin_upsert_defaults_to_manual_active ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_azure_openai_stream ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_aws_claude_chat ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_360_zhinao_chat ... ok [INFO] [stdout] test server::handlers::chat::tests::missing_price_allow_missing_allows_non_stream_chat_without_amount ... ok [INFO] [stdout] test server::handlers::chat::tests::openai_error_payload_detection ... ok [INFO] [stdout] test server::handlers::chat::tests::openai_error_payload_is_rendered_as_assistant_message ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_aws_claude_stream ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_azure_openai_chat ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_baidu_ernie_v2_stream ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_baidu_ernie_v2_chat ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_baidu_ernie_stream ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_google_gemini_chat ... ok [INFO] [stdout] test server::handlers::model_redirects::tests::validate_redirects_allows_chain ... ok [INFO] [stdout] test server::handlers::model_redirects::tests::validate_redirects_rejects_cycle ... ok [INFO] [stdout] test server::handlers::model_redirects::tests::validate_redirects_rejects_empty ... ok [INFO] [stdout] test server::handlers::model_redirects::tests::validate_redirects_rejects_self_loop ... ok [INFO] [stdout] test server::handlers::provider_model_test::tests::discovery_error_maps_authentication_failures ... ok [INFO] [stdout] test server::handlers::provider_model_test::tests::discovery_error_maps_configuration_failures ... ok [INFO] [stdout] test server::handlers::provider_model_test::tests::discovery_error_maps_invalid_path_failures ... ok [INFO] [stdout] test server::handlers::provider_model_test::tests::draft_payload_provider_config_accepts_missing_and_null ... ok [INFO] [stdout] test server::handlers::provider_model_test::tests::manual_model_priority_provider_skips_auto_discovery ... ok [INFO] [stdout] test server::handlers::provider_models_list::tests::cache_key_differs_when_effective_provider_key_changes ... ok [INFO] [stdout] test server::handlers::provider_models_list::tests::invalidate_cache_for_provider_removes_stale_models ... ok [INFO] [stdout] test server::handlers::providers::tests::create_payload_provider_config_accepts_missing_and_null ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_cohere_chat ... ok [INFO] [stdout] test server::handlers::providers::tests::update_payload_provider_config_accepts_missing_and_null ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_cohere_stream ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_stepfun_chat ... ok [INFO] [stdout] test server::model_display::tests::falls_back_to_provider_id_when_display_name_missing ... ok [INFO] [stdout] test server::model_display::tests::formats_model_with_fallback_provider ... ok [INFO] [stdout] test server::model_display::tests::formats_prefixed_model_with_display_name ... ok [INFO] [stdout] test server::model_parser::tests::test_parse_with_prefix ... ok [INFO] [stdout] test server::model_parser::tests::test_parse_without_prefix ... ok [INFO] [stdout] test server::model_types::tests::model_types_to_storage_multi_is_json ... ok [INFO] [stdout] test server::model_types::tests::model_types_to_storage_single_is_plain ... ok [INFO] [stdout] test server::model_types::tests::normalize_accepts_list_and_validates ... ok [INFO] [stdout] test server::model_types::tests::parse_csv_types ... ok [INFO] [stdout] test server::model_types::tests::parse_json_array_types ... ok [INFO] [stdout] test server::model_types::tests::parse_single_type ... ok [INFO] [stdout] test server::pricing::tests::missing_model_price_view_has_stable_shape ... ok [INFO] [stdout] test server::pricing::tests::normalize_model_price_status_marks_expired_active_as_stale ... ok [INFO] [stdout] test server::pricing::tests::resolve_redirect_chain_stops_on_cycle ... ok [INFO] [stdout] test server::pricing_sync::tests::fetch_price_source_supports_new_major_providers ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_google_gemini_stream ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_vertex_ai_chat ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_vertex_ai_stream ... ok [INFO] [stdout] test server::handlers::client_tokens::tests::client_tokens_create_validates_user_id_exists_when_provided ... ok [INFO] [stdout] test server::handlers::chat::tests::user_balance_depleted_rejects_chat_and_disables_tokens ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_xf_spark_stream ... ok [INFO] [stdout] test server::handlers::model_prices::tests::public_model_prices_list_returns_metadata_fields ... ok [INFO] [stdout] test server::handlers::client_tokens::tests::client_tokens_reject_max_amount_when_user_bound ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_xf_spark_chat ... ok [INFO] [stdout] test server::handlers::client_tokens::tests::client_tokens_reject_client_supplied_id_and_empty_name ... ok [INFO] [stdout] test server::request_lab::tests::compare_detail_response_exposes_source_preview_and_snapshot_json ... ok [INFO] [stdout] test server::request_lab::tests::compare_item_error_info_localizes_balance_errors ... ok [INFO] [stdout] test server::request_lab::tests::detail_response_keeps_preview_when_snapshot_is_invalid ... ok [INFO] [stdout] test server::handlers::client_tokens::tests::client_tokens_create_get_update_delete_works ... ok [INFO] [stdout] test server::handlers::providers::tests::providers_created_at_and_updated_at_are_stable ... ok [INFO] [stdout] test server::handlers::subscription::tests::subscription_routes_exist_for_root_and_api_prefix ... ok [INFO] [stdout] test server::handlers::subscription::tests::purchase_increases_balance_and_creates_transaction ... ok [INFO] [stdout] test server::request_lab::tests::request_snapshot_applies_model_and_sampling_overrides ... ok [INFO] [stdout] test server::request_lab::tests::request_snapshot_rejects_unknown_kind ... ok [INFO] [stdout] test server::request_lab::tests::snapshot_detail_response_exposes_typed_payload_and_keeps_legacy_json ... ok [INFO] [stdout] test server::request_lab::tests::snapshot_keyword_matches_note_and_models ... ok [INFO] [stdout] test server::pricing_sync::tests::sync_failure_does_not_change_existing_records ... ok [INFO] [stdout] test server::pricing_sync::tests::sync_inserts_doubao_price_for_cached_model ... ok [INFO] [stdout] test server::pricing_sync::tests::sync_inserts_missing_model_prices ... ok [INFO] [stdout] test server::pricing_sync::tests::sync_inserts_moonshot_price_for_cached_model ... ok [INFO] [stdout] test server::pricing_sync::tests::sync_keeps_manual_prices_unchanged ... ok [INFO] [stdout] test server::pricing_sync::tests::sync_single_model_can_override_manual_price ... ok [INFO] [stdout] test server::pricing_sync::tests::sync_marks_disappeared_auto_prices_stale ... ok [INFO] [stdout] test server::response_text::tests::extracts_markdown_from_responses_output_without_trimming_structure ... ok [INFO] [stdout] test server::response_text::tests::extracts_stream_chunk_preview_fragment_from_reasoning_content ... ok [INFO] [stdout] test server::response_text::tests::extracts_stream_chunk_preview_fragment_from_responses_delta_event ... ok [INFO] [stdout] test server::response_text::tests::extracts_stream_chunk_preview_fragment_without_losing_spacing ... ok [INFO] [stdout] test server::response_text::tests::extracts_text_from_content_parts_array ... ok [INFO] [stdout] test server::response_text::tests::extracts_text_from_output_shape ... ok [INFO] [stdout] test server::response_text::tests::extracts_text_from_standard_chat_choice ... ok [INFO] [stdout] test server::response_text::tests::response_summary_falls_back_to_json_when_text_missing ... ok [INFO] [stdout] test server::ssrf::tests::join_models_url_custom_endpoint ... ok [INFO] [stdout] test server::ssrf::tests::join_models_url_default_openai ... ok [INFO] [stdout] test server::ssrf::tests::ssrf_allows_public_ip ... ok [INFO] [stdout] test server::ssrf::tests::ssrf_rejects_link_local_v4 ... ok [INFO] [stdout] test server::ssrf::tests::ssrf_rejects_loopback ... ok [INFO] [stdout] test server::ssrf::tests::ssrf_rejects_private_v4 ... ok [INFO] [stdout] test server::ssrf::tests::ssrf_rejects_userinfo ... ok [INFO] [stdout] test server::ssrf::tests::ssrf_requires_http_scheme ... ok [INFO] [stdout] test server::pricing_sync::tests::sync_single_model_only_updates_requested_model ... ok [INFO] [stdout] test server::pricing_sync::tests::sync_refreshes_stale_auto_prices ... ok [INFO] [stdout] test server::streaming::tests::explicit_non_stream_only_providers_have_clear_streaming_message ... ok [INFO] [stdout] test server::pricing_sync::tests::sync_single_model_marks_missing_auto_price_stale ... ok [INFO] [stdout] test server::request_lab::tests::snapshot_note_update_rejects_unauthorized_user ... ok [INFO] [stdout] test server::request_lab::tests::snapshot_note_update_roundtrip_trims_and_clears ... ok [INFO] [stdout] test server::token_model_limits::tests::enforce_blacklist_works ... ok [INFO] [stdout] test server::token_model_limits::tests::enforce_whitelist_works ... ok [INFO] [stdout] test server::token_model_limits::tests::normalize_model_list_trims_dedups_and_rejects_empty ... ok [INFO] [stdout] test users::tests::user_role_roundtrip ... ok [INFO] [stdout] test users::tests::user_status_roundtrip ... ok [INFO] [stdout] test server::request_lab::tests::snapshot_storage_roundtrip_preserves_compare_run ... ok [INFO] [stdout] test server::request_lab::tests::snapshot_storage_is_idempotent_per_compare_run ... ok [INFO] [stdout] test server::request_logging::tests::log_chat_request_updates_token_store_but_logs_token_id ... ok [INFO] [stdout] test server::request_logging::tests::log_chat_request_deducts_user_balance_and_disables_tokens ... ok [INFO] [stdout] test server::request_logging::tests::log_chat_request_uses_raw_input_output_usage_when_typed_is_empty ... ok [INFO] [stdout] test server::streaming::common::tests::stream_success_persists_request_snapshot_detail ... ok [INFO] [stdout] test server::streaming::common::tests::stream_success_deducts_user_balance_by_tokens ... ok [INFO] [stdout] test server::streaming::tests::missing_price_strict_mode_rejects_stream_chat ... ok [INFO] [stdout] test server::request_lab::tests::request_detail_response_returns_structured_system_and_messages ... ok [INFO] [stdout] test server::streaming::tests::missing_price_allow_missing_allows_stream_chat_without_amount ... ok [INFO] [stdout] test server::streaming::tests::user_balance_depleted_rejects_stream_and_disables_tokens ... ok [INFO] [stdout] test server::request_lab::tests::request_lab_template_list_supports_keyword_and_tag_filters ... ok [INFO] [stdout] test server::handlers::chat::tests::mock_runtime_openai_compatible_providers_stream ... ok [INFO] [stdout] test server::request_lab::tests::request_lab_template_crud_roundtrip_works ... ok [INFO] [stdout] test server::request_lab::tests::request_lab_template_rejects_cross_user_access_and_never_stores_real_prompt_body ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 192 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a6ee9c5f14742ddd76a4e5d1f90f28ae7b31bcf3fe28d168013928db619e005e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6ee9c5f14742ddd76a4e5d1f90f28ae7b31bcf3fe28d168013928db619e005e", kill_on_drop: false }` [INFO] [stdout] a6ee9c5f14742ddd76a4e5d1f90f28ae7b31bcf3fe28d168013928db619e005e