[INFO] cloning repository https://github.com/brittonr/clanker-router
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brittonr/clanker-router" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrittonr%2Fclanker-router", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrittonr%2Fclanker-router'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 88aad21e9dd671ff9990cf65812321539766c9c8
[INFO] testing brittonr/clanker-router against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrittonr%2Fclanker-router" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/brittonr/clanker-router
[INFO] finished tweaking git repo https://github.com/brittonr/clanker-router
[INFO] tweaked toml for git repo https://github.com/brittonr/clanker-router written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/brittonr/clanker-router on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/brittonr/clanker-router 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb7704c7f3eeee44c70890c5492ce0961b1385e987213eb5d251b25deef07897
[INFO] running `Command { std: "docker" "start" "-a" "eb7704c7f3eeee44c70890c5492ce0961b1385e987213eb5d251b25deef07897", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb7704c7f3eeee44c70890c5492ce0961b1385e987213eb5d251b25deef07897", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb7704c7f3eeee44c70890c5492ce0961b1385e987213eb5d251b25deef07897", kill_on_drop: false }`
[INFO] [stdout] eb7704c7f3eeee44c70890c5492ce0961b1385e987213eb5d251b25deef07897
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a5cc90a1925e37b000750d0462d48d09e1e473da1cbac3fa7ff1d19ed97fd427
[INFO] running `Command { std: "docker" "start" "-a" "a5cc90a1925e37b000750d0462d48d09e1e473da1cbac3fa7ff1d19ed97fd427", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling redb v2.6.3
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling cordyceps v0.3.4
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling spin v0.10.0
[INFO] [stderr]    Compiling diatomic-waker v0.2.3
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling futures-lite v2.6.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling futures-buffered v0.2.13
[INFO] [stderr]    Compiling uuid v1.22.0
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling fs4 v0.13.1
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling clanker-router v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s
[INFO] running `Command { std: "docker" "inspect" "a5cc90a1925e37b000750d0462d48d09e1e473da1cbac3fa7ff1d19ed97fd427", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5cc90a1925e37b000750d0462d48d09e1e473da1cbac3fa7ff1d19ed97fd427", kill_on_drop: false }`
[INFO] [stdout] a5cc90a1925e37b000750d0462d48d09e1e473da1cbac3fa7ff1d19ed97fd427
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b0f5534c62b6e44d5a43e0c5e7f6f5f17dd8e54bdf46012d5d235bb5a261868
[INFO] running `Command { std: "docker" "start" "-a" "3b0f5534c62b6e44d5a43e0c5e7f6f5f17dd8e54bdf46012d5d235bb5a261868", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling futures-lite v2.6.1
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling fs4 v0.13.1
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling tokio-test v0.4.5
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling clanker-router v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 33.86s
[INFO] running `Command { std: "docker" "inspect" "3b0f5534c62b6e44d5a43e0c5e7f6f5f17dd8e54bdf46012d5d235bb5a261868", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b0f5534c62b6e44d5a43e0c5e7f6f5f17dd8e54bdf46012d5d235bb5a261868", kill_on_drop: false }`
[INFO] [stdout] 3b0f5534c62b6e44d5a43e0c5e7f6f5f17dd8e54bdf46012d5d235bb5a261868
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ebc450c363d679e9e368fa410b6a48504b0af4151c3fd1351b278ffb5afa8a26
[INFO] running `Command { std: "docker" "start" "-a" "ebc450c363d679e9e368fa410b6a48504b0af4151c3fd1351b278ffb5afa8a26", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clanker_router-709dcecdc2b491e0)
[INFO] [stdout] 
[INFO] [stdout] running 214 tests
[INFO] [stdout] test auth::tests::test_all_credentials_empty ... ok
[INFO] [stdout] test auth::tests::test_all_credentials_filters_expired ... ok
[INFO] [stdout] test auth::tests::test_all_credentials_multi_account_active_first ... ok
[INFO] [stdout] test auth::tests::test_all_credentials_single ... ok
[INFO] [stdout] test auth::tests::test_env_var_mapping ... ok
[INFO] [stdout] test auth::tests::test_remove_account ... ok
[INFO] [stdout] test auth::tests::test_resolve_credential_priority ... ok
[INFO] [stdout] test auth::tests::test_empty_store ... ok
[INFO] [stdout] test auth::tests::test_set_and_get_api_key ... ok
[INFO] [stdout] test auth::tests::test_set_and_get_oauth ... ok
[INFO] [stdout] test auth::tests::test_summary ... ok
[INFO] [stdout] test auth::tests::test_legacy_migration ... ok
[INFO] [stdout] test backends::common::tests::test_auth_scheme_bearer ... ok
[INFO] [stdout] test backends::common::tests::test_auth_scheme_custom ... ok
[INFO] [stdout] test auth::tests::test_switch_account ... ok
[INFO] [stdout] test backends::common::tests::test_format_bytes ... ok
[INFO] [stdout] test backends::common::tests::test_sse_event_is_done ... ok
[INFO] [stdout] test backends::common::tests::test_sse_event_type ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_basic_event ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_chunked_delivery ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_anthropic_style_stream ... ok
[INFO] [stdout] test backends::common::tests::test_build_http_client ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_data_only_event ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_event_at_eof_without_trailing_newline ... ok
[INFO] [stdout] test auth::tests::test_save_load_roundtrip ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_empty_lines_between_events ... ok
[INFO] [stdout] test auth::tests::test_save_tightens_existing_loose_permissions ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_done_marker ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_empty_stream ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_malformed_json ... ok
[INFO] [stdout] test backends::common::tests::test_truncate ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_comments_ignored ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_openai_style_done ... ok
[INFO] [stdout] test backends::huggingface::tests::test_default_models ... ok
[INFO] [stdout] test backends::huggingface::tests::test_format_bytes ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_json_data ... ok
[INFO] [stdout] test auth::tests::test_save_sets_restrictive_permissions ... ok
[INFO] [stdout] test backends::openai_codex::tests::build_probe_request_body_matches_contract ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_multiple_events ... ok
[INFO] [stdout] test backends::common::tests::test_sse_reader_multiline_data ... ok
[INFO] [stdout] test backends::huggingface::tests::test_generate_ollama_name ... ok
[INFO] [stdout] test backends::huggingface::tests::test_pulled_model_to_local ... ok
[INFO] [stdout] test backends::huggingface::tests::test_hf_config ... ok
[INFO] [stdout] test backends::huggingface::tests::test_downloads_display ... ok
[INFO] [stdout] test backends::huggingface::tests::test_hub_model_info_gated ... ok
[INFO] [stdout] test backends::openai_codex::tests::build_codex_request_body_preserves_session_cache_and_tools ... ok
[INFO] [stdout] test backends::huggingface::tests::test_parse_quantization ... ok
[INFO] [stdout] test backends::openai_codex::tests::build_codex_request_preserves_contract_on_initial_transient_and_refresh_retry_paths ... ok
[INFO] [stdout] test backends::huggingface::tests::test_hub_models_to_catalog ... ok
[INFO] [stdout] test backends::openai_codex::tests::classify_probe_response_treats_http_403_as_not_entitled ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_build_request_no_tools ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_deepseek_config ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_fireworks_config ... ok
[INFO] [stdout] test auth::tests::test_multi_provider ... ok
[INFO] [stdout] test backends::openai_codex::tests::build_probe_request_preserves_contract_on_initial_transient_and_refresh_retry_paths ... ok
[INFO] [stdout] test backends::openai_codex::tests::classify_probe_response_treats_usage_not_included_as_not_entitled ... ok
[INFO] [stdout] test backends::openai_codex::tests::build_codex_request_omits_session_header_without_session_id ... ok
[INFO] [stdout] test backends::openai_codex::tests::codex_catalog_is_exact_fixed_set ... ok
[INFO] [stdout] test backends::openai_codex::tests::codex_catalog_requires_entitlement ... ok
[INFO] [stdout] test backends::openai_codex::tests::codex_status_suffix_reports_not_entitled ... ok
[INFO] [stdout] test backends::openai_codex::tests::codex_status_suffix_reports_probe_failure ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_build_openai_request ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_google_config ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_local_config ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_groq_config ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_mistral_config ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_openai_config ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_openrouter_config ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_together_config ... ok
[INFO] [stdout] test catalog::tests::test_catalog_missing_file ... ok
[INFO] [stdout] test catalog::tests::test_catalog_roundtrip ... ok
[INFO] [stdout] test credential_pool::tests::test_all_exhausted_returns_none ... ok
[INFO] [stdout] test credential_pool::tests::test_consecutive_errors_increase_cooldown ... ok
[INFO] [stdout] test credential_pool::tests::test_failover_uses_primary_first ... ok
[INFO] [stdout] test credential_pool::tests::test_oauth_credential ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_xai_config ... ok
[INFO] [stdout] test catalog::tests::test_catalog_apply_override ... ok
[INFO] [stdout] test credential_pool::tests::test_reset_health ... ok
[INFO] [stdout] test backends::openai_codex::tests::provider_reload_uses_layered_runtime_store ... ok
[INFO] [stdout] test catalog::tests::test_catalog_file_roundtrip ... ok
[INFO] [stdout] test credential_pool::tests::test_round_robin_rotates ... ok
[INFO] [stdout] test credential_pool::tests::test_non_retryable_error_no_cooldown ... ok
[INFO] [stdout] test credential_pool::tests::test_failover_switches_on_rate_limit ... ok
[INFO] [stdout] test credential_pool::tests::test_success_resets_health ... ok
[INFO] [stdout] test credential_pool::tests::test_slot_summary_display ... ok
[INFO] [stdout] test credential_pool::tests::test_total_requests_counter ... ok
[INFO] [stdout] test credential_pool::tests::test_single_credential_pool ... ok
[INFO] [stdout] test credential_pool::tests::test_select_all_available ... ok
[INFO] [stdout] test credential_pool::tests::test_round_robin_skips_unhealthy ... ok
[INFO] [stdout] test db::cache::tests::test_cache_key_varies_with_model ... ok
[INFO] [stdout] test db::cache::tests::test_cache_key_deterministic ... ok
[INFO] [stdout] test db::rate_limits::tests::test_new_state_is_healthy ... ok
[INFO] [stdout] test db::cache::tests::test_cache_key_varies_with_temperature ... ok
[INFO] [stdout] test db::rate_limits::tests::test_record_error_triggers_cooldown ... ok
[INFO] [stdout] test db::rate_limits::tests::test_record_error_with_retry_after ... ok
[INFO] [stdout] test db::rate_limits::tests::test_consecutive_errors_increase_backoff ... ok
[INFO] [stdout] test backends::openai_compat::tests::test_perplexity_config ... ok
[INFO] [stdout] test db::rate_limits::tests::test_rpm_window ... ok
[INFO] [stdout] test db::rate_limits::tests::test_success_resets_errors ... ok
[INFO] [stdout] test db::cache::tests::test_record_hit ... ok
[INFO] [stdout] test db::request_log::tests::test_builder_methods ... ok
[INFO] [stdout] test db::request_log::tests::test_append_and_recent ... ok
[INFO] [stdout] test db::cache::tests::test_len_and_is_empty ... ok
[INFO] [stdout] test db::cache::tests::test_evict_expired ... ok
[INFO] [stdout] test db::rate_limits::tests::test_store_health_map ... ok
[INFO] [stdout] test db::rate_limits::tests::test_store_clear ... ok
[INFO] [stdout] test db::request_log::tests::test_auto_prune ... ok
[INFO] [stdout] test db::cache::tests::test_get_expired ... ok
[INFO] [stdout] test db::tests::test_ids_are_monotonic ... ok
[INFO] [stdout] test db::cache::tests::test_get_missing ... ok
[INFO] [stdout] test db::rate_limits::tests::test_store_get_and_save ... ok
[INFO] [stdout] test db::rate_limits::tests::test_store_is_healthy_default ... ok
[INFO] [stdout] test db::cache::tests::test_clear ... ok
[INFO] [stdout] test db::cache::tests::test_put_and_get ... ok
[INFO] [stdout] test db::rate_limits::tests::test_store_unhealthy_list ... ok
[INFO] [stdout] test db::rate_limits::tests::test_store_list_all ... ok
[INFO] [stdout] test db::tests::test_clone_is_cheap ... ok
[INFO] [stdout] test db::request_log::tests::test_clear ... ok
[INFO] [stdout] test db::rate_limits::tests::test_store_record_success ... ok
[INFO] [stdout] test db::usage::tests::test_record_multi_provider ... ok
[INFO] [stdout] test model::tests::test_aliases ... ok
[INFO] [stdout] test model::tests::test_model_estimate_cost ... ok
[INFO] [stdout] test model::tests::test_model_estimate_cost_none ... ok
[INFO] [stdout] test model_switch::tests::test_initial_state ... ok
[INFO] [stdout] test model_switch::tests::test_max_history_trim ... ok
[INFO] [stdout] test model_switch::tests::test_models_by_usage ... ok
[INFO] [stdout] test model_switch::tests::test_reason_display ... ok
[INFO] [stdout] test model_switch::tests::test_recent_history ... ok
[INFO] [stdout] test model_switch::tests::test_record_request ... ok
[INFO] [stdout] test model_switch::tests::test_stats_across_switches ... ok
[INFO] [stdout] test model_switch::tests::test_switch_back ... ok
[INFO] [stdout] test model_switch::tests::test_switch_back_no_history ... ok
[INFO] [stdout] test model_switch::tests::test_switch_model ... ok
[INFO] [stdout] test model_switch::tests::test_switch_same_model_is_noop ... ok
[INFO] [stdout] test multi::tests::test_multi_response_text_extraction ... ok
[INFO] [stdout] test multi::tests::test_multi_response_with_error ... ok
[INFO] [stdout] test multi::tests::test_multi_result_accessors ... ok
[INFO] [stdout] test multi::tests::test_multi_strategy_display ... ok
[INFO] [stdout] test oauth::tests::test_build_auth_url ... ok
[INFO] [stdout] test oauth::tests::test_credentials_expiry ... ok
[INFO] [stdout] test oauth::tests::test_from_stored_api_key_returns_none ... ok
[INFO] [stdout] test oauth::tests::test_pkce_generation ... ok
[INFO] [stdout] test oauth::tests::test_to_stored_roundtrip ... ok
[INFO] [stdout] test quorum::tests::test_build_judge_prompt ... ok
[INFO] [stdout] test quorum::tests::test_cluster_all_different ... ok
[INFO] [stdout] test quorum::tests::test_cluster_identical ... ok
[INFO] [stdout] test quorum::tests::test_cluster_representative ... ok
[INFO] [stdout] test quorum::tests::test_cluster_two_groups ... ok
[INFO] [stdout] test quorum::tests::test_majority_picks_largest_cluster ... ok
[INFO] [stdout] test quorum::tests::test_majority_skips_errors ... ok
[INFO] [stdout] test quorum::tests::test_parse_judge_response_invalid ... ok
[INFO] [stdout] test quorum::tests::test_parse_judge_response_valid ... ok
[INFO] [stdout] test quorum::tests::test_parse_judge_response_with_markdown_fences ... ok
[INFO] [stdout] test quorum::tests::test_similarity_case_insensitive ... ok
[INFO] [stdout] test quorum::tests::test_similarity_completely_different ... ok
[INFO] [stdout] test quorum::tests::test_similarity_empty ... ok
[INFO] [stdout] test quorum::tests::test_similarity_identical ... ok
[INFO] [stdout] test quorum::tests::test_similarity_partial_overlap ... ok
[INFO] [stdout] test quorum::tests::test_similarity_whitespace_normalised ... ok
[INFO] [stdout] test quorum::tests::test_strategy_display ... ok
[INFO] [stdout] test quorum::tests::test_target_models ... ok
[INFO] [stdout] test quorum::tests::test_target_replicas ... ok
[INFO] [stdout] test quorum::tests::test_target_temperature_spread ... ok
[INFO] [stdout] test quorum::tests::test_target_temperature_uniform ... ok
[INFO] [stdout] test quorum::tests::test_unanimous_all_agree ... ok
[INFO] [stdout] test quorum::tests::test_unanimous_disagree ... ok
[INFO] [stdout] test registry::tests::test_list_for_provider ... ok
[INFO] [stdout] test registry::tests::test_provider_for ... ok
[INFO] [stdout] test registry::tests::test_register_and_get ... ok
[INFO] [stdout] test registry::tests::test_resolve_alias ... ok
[INFO] [stdout] test registry::tests::test_resolve_substring ... ok
[INFO] [stdout] test retry::tests::test_backoff_calculation_deterministic ... ok
[INFO] [stdout] test retry::tests::test_backoff_capped ... ok
[INFO] [stdout] test retry::tests::test_backoff_jitter_varies ... ok
[INFO] [stdout] test retry::tests::test_backoff_with_jitter_bounded ... ok
[INFO] [stdout] test retry::tests::test_parse_retry_after ... ok
[INFO] [stdout] test retry::tests::test_retryable_status ... ok
[INFO] [stdout] test router::tests::test_all_fallbacks_exhausted ... ok
[INFO] [stdout] test db::tests::test_open_idempotent ... ok
[INFO] [stdout] test db::request_log::tests::test_count ... ok
[INFO] [stdout] test db::request_log::tests::test_errors_filter ... ok
[INFO] [stdout] test router::tests::test_complete_routes_correctly ... ok
[INFO] [stdout] test router::tests::test_explicit_openai_codex_prefix_fails_closed_when_provider_missing ... ok
[INFO] [stdout] test router::tests::test_fallback_config_defaults ... ok
[INFO] [stdout] test db::request_log::tests::test_for_provider ... ok
[INFO] [stdout] test router::tests::test_fallback_config_empty ... ok
[INFO] [stdout] test router::tests::test_fallback_config_remove_chain ... ok
[INFO] [stdout] test router::tests::test_fallback_on_retryable_error ... ok
[INFO] [stdout] test router::tests::test_fallback_config_set_chain ... ok
[INFO] [stdout] test db::request_log::tests::test_recent_with_limit ... ok
[INFO] [stdout] test router::tests::test_multi_provider ... ok
[INFO] [stdout] test router::tests::test_no_fallback_configured_returns_error ... ok
[INFO] [stdout] test router::tests::test_no_fallback_on_auth_error ... ok
[INFO] [stdout] test router::tests::test_no_provider_error ... ok
[INFO] [stdout] test db::usage::tests::test_clear ... ok
[INFO] [stdout] test router::tests::test_register_provider ... ok
[INFO] [stdout] test router::tests::test_resolve_provider_alias ... ok
[INFO] [stdout] test router::tests::test_resolve_provider_exact ... ok
[INFO] [stdout] test router::tests::test_resolve_provider_fallback ... ok
[INFO] [stdout] test db::usage::tests::test_cost_tracking ... ok
[INFO] [stdout] test db::tests::test_open_creates_file ... ok
[INFO] [stdout] test db::request_log::tests::test_empty_recent ... ok
[INFO] [stdout] test router::tests::test_cache_write_back_and_hit ... ok
[INFO] [stdout] test db::usage::tests::test_cache_tokens ... ok
[INFO] [stdout] test db::usage::tests::test_today_empty ... ok
[INFO] [stdout] test db::usage::tests::test_record_and_today ... ok
[INFO] [stdout] test db::tests::test_in_memory ... ok
[INFO] [stdout] test router::tests::test_complete_records_usage ... ok
[INFO] [stdout] test db::usage::tests::test_total ... ok
[INFO] [stdout] test router::tests::test_fallback_records_rate_limit_error ... ok
[INFO] [stdout] test db::usage::tests::test_total_empty ... ok
[INFO] [stdout] test router::tests::test_fallback_skips_unhealthy_providers ... ok
[INFO] [stdout] test router::tests::test_primary_in_cooldown_skips_to_fallback ... ok
[INFO] [stdout] test router::tests::test_complete_records_request_log ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 214 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.48s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-c18707bc5d633ae2)
[INFO] [stdout] running 91 tests
[INFO] [stdout] test test_auth_store_anthropic_api_key_no_legacy_sync ... ok
[INFO] [stdout] test test_auth_store_credential_for_specific_account ... ok
[INFO] [stdout] test test_auth_store_multiple_accounts ... ok
[INFO] [stdout] test test_auth_store_remove_last_account ... ok
[INFO] [stdout] test test_auth_store_remove_nonexistent ... ok
[INFO] [stdout] test test_auth_store_save_creates_parent_dirs ... ok
[INFO] [stdout] test test_auth_store_summary_empty ... ok
[INFO] [stdout] test test_auth_store_parse_empty_json ... ok
[INFO] [stdout] test test_auth_store_save_load_preserves_all_fields ... ok
[INFO] [stdout] test test_auth_store_summary_with_expired ... ok
[INFO] [stdout] test test_auth_store_parse_malformed_json ... ok
[INFO] [stdout] test test_auth_store_load_nonexistent_file ... ok
[INFO] [stdout] test test_auth_store_anthropic_legacy_sync ... ok
[INFO] [stdout] test test_error_from_io ... ok
[INFO] [stdout] test test_completion_request_with_all_fields ... ok
[INFO] [stdout] test test_auth_store_legacy_migration_no_overwrite ... ok
[INFO] [stdout] test test_error_from_json ... ok
[INFO] [stdout] test test_error_provider_with_status ... ok
[INFO] [stdout] test test_auth_store_list_accounts_nonexistent_provider ... ok
[INFO] [stdout] test test_env_var_for_provider_all ... ok
[INFO] [stdout] test test_error_display ... ok
[INFO] [stdout] test test_error_provider_status_overrides_message ... ok
[INFO] [stdout] test test_error_provider_with_status_not_retryable ... ok
[INFO] [stdout] test test_circuit_breaker_state_transitions ... ok
[INFO] [stdout] test test_error_provider_without_status_falls_back_to_message ... ok
[INFO] [stdout] test test_is_oauth_token ... ok
[INFO] [stdout] test test_model_estimate_cost_large_tokens ... ok
[INFO] [stdout] test test_model_aliases_all_variants ... ok
[INFO] [stdout] test test_legacy_oauth_expired ... ok
[INFO] [stdout] test test_model_estimate_cost_zero_tokens ... ok
[INFO] [stdout] test test_multi_empty_models_returns_error ... ok
[INFO] [stdout] test test_quorum_empty_targets_error ... ok
[INFO] [stdout] test test_openai_compat_provider_is_available ... ok
[INFO] [stdout] test test_parse_retry_after_edge_cases ... ok
[INFO] [stdout] test test_quorum_collect_no_consensus ... ok
[INFO] [stdout] test test_quorum_majority_cross_model ... ok
[INFO] [stdout] test test_quorum_replicas_same_model ... ok
[INFO] [stdout] test test_openai_compat_provider_creation ... ok
[INFO] [stdout] test test_quorum_with_failures ... ok
[INFO] [stdout] test test_registry_case_insensitive_substring ... ok
[INFO] [stdout] test test_quorum_total_usage ... ok
[INFO] [stdout] test test_quorum_temperature_spread ... ok
[INFO] [stdout] test test_registry_empty ... ok
[INFO] [stdout] test test_registry_overwrite_model ... ok
[INFO] [stdout] test test_registry_provider_for_via_alias ... ok
[INFO] [stdout] test test_registry_list_sorted ... ok
[INFO] [stdout] test test_quorum_unanimous_broken ... ok
[INFO] [stdout] test test_quorum_unanimous_all_agree ... ok
[INFO] [stdout] test test_retry_deterministic_has_no_jitter ... ok
[INFO] [stdout] test test_registry_with_capability_filtering ... ok
[INFO] [stdout] test test_resolve_credential_empty_override ... ok
[INFO] [stdout] test test_resolve_credential_fallback_store ... ok
[INFO] [stdout] test test_resolve_credential_oauth_override ... ok
[INFO] [stdout] test test_resolve_credential_primary_over_fallback ... ok
[INFO] [stdout] test test_router_provider_failure_propagates ... ok
[INFO] [stdout] test test_router_provider_lookup ... ok
[INFO] [stdout] test test_retry_config_custom ... ok
[INFO] [stdout] test test_router_reload_credentials ... ok
[INFO] [stdout] test test_multi_race_picks_first_success ... ok
[INFO] [stdout] test test_retry_jitter_produces_varied_values ... ok
[INFO] [stdout] test test_multi_race_with_one_failing ... ok
[INFO] [stdout] test test_retryable_error_messages ... ok
[INFO] [stdout] test test_retryable_status_all ... ok
[INFO] [stdout] test test_multi_race_streaming ... ok
[INFO] [stdout] test test_router_switch_back ... ok
[INFO] [stdout] test test_router_switch_model ... ok
[INFO] [stdout] test test_router_complete_full_event_stream ... ok
[INFO] [stdout] test test_router_unknown_model_falls_back_to_default ... ok
[INFO] [stdout] test test_router_set_default_model ... ok
[INFO] [stdout] test test_router_resolve_model ... ok
[INFO] [stdout] test test_router_switch_model_resolves_alias ... ok
[INFO] [stdout] test test_router_with_many_providers ... ok
[INFO] [stdout] test test_router_provider_prefix_routing ... ok
[INFO] [stdout] test test_router_routes_alias_to_correct_provider ... ok
[INFO] [stdout] test test_router_no_providers_returns_error ... ok
[INFO] [stdout] test test_stored_credential_api_key_properties ... ok
[INFO] [stdout] test test_circuit_breaker_halfopen_on_cooldown_expiry ... ok
[INFO] [stdout] test test_router_switch_same_model_noop ... ok
[INFO] [stdout] test test_router_switch_tracker_history ... ok
[INFO] [stdout] test test_stored_credential_oauth_not_expired ... ok
[INFO] [stdout] test test_stored_credential_oauth_expired ... ok
[INFO] [stdout] test test_tagged_stream_event ... ok
[INFO] [stdout] test test_usage_default ... ok
[INFO] [stdout] test test_stream_event_serialization_roundtrip ... ok
[INFO] [stdout] test test_multi_all_collects_every_response ... ok
[INFO] [stdout] test test_usage_total_tokens ... ok
[INFO] [stdout] test test_router_routes_to_correct_provider_by_exact_id ... ok
[INFO] [stdout] test test_multi_fastest_returns_after_n ... ok
[INFO] [stdout] test test_auth_store_parse_v1_legacy_format ... ok
[INFO] [stdout] test test_cache_eviction_cleans_expired_entries ... ok
[INFO] [stderr]    Doc-tests clanker_router
[INFO] [stdout] test test_multi_records_usage_to_db ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 91 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/backends/huggingface.rs - backends::huggingface (line 13) ... ignored
[INFO] [stdout] test src/credential_pool/mod.rs - credential_pool (line 25) ... ignored
[INFO] [stdout] test src/multi.rs - multi (line 19) ... ignored
[INFO] [stdout] test src/quorum/mod.rs - quorum (line 24) ... ignored
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.35s; merged doctests compilation took 0.35s
[INFO] running `Command { std: "docker" "inspect" "ebc450c363d679e9e368fa410b6a48504b0af4151c3fd1351b278ffb5afa8a26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebc450c363d679e9e368fa410b6a48504b0af4151c3fd1351b278ffb5afa8a26", kill_on_drop: false }`
[INFO] [stdout] ebc450c363d679e9e368fa410b6a48504b0af4151c3fd1351b278ffb5afa8a26
