[INFO] fetching crate codex-helper 0.9.0...
[INFO] testing codex-helper-0.9.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate codex-helper 0.9.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate codex-helper 0.9.0
[INFO] finished tweaking crates.io crate codex-helper 0.9.0
[INFO] tweaked toml for crates.io crate codex-helper 0.9.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate codex-helper 0.9.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate codex-helper 0.9.0 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file `/workspace/builds/worker-4-tc2/source/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `ch`
[INFO] [stderr]   * `bin` target `codex-helper`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 40821abe36e1a85e43a8b462b7f142f1ca41c08abaa0ee9085d88d217fe9dc9c
[INFO] running `Command { std: "docker" "start" "-a" "40821abe36e1a85e43a8b462b7f142f1ca41c08abaa0ee9085d88d217fe9dc9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40821abe36e1a85e43a8b462b7f142f1ca41c08abaa0ee9085d88d217fe9dc9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40821abe36e1a85e43a8b462b7f142f1ca41c08abaa0ee9085d88d217fe9dc9c", kill_on_drop: false }`
[INFO] [stdout] 40821abe36e1a85e43a8b462b7f142f1ca41c08abaa0ee9085d88d217fe9dc9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5aa6b247c260604d49851b8286f1cfd10cefd1188c123f2f5b186c73c10ef76
[INFO] running `Command { std: "docker" "start" "-a" "e5aa6b247c260604d49851b8286f1cfd10cefd1188c123f2f5b186c73c10ef76", kill_on_drop: false }`
[INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `ch`
[INFO] [stderr]   * `bin` target `codex-helper`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling foldhash v0.2.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling aws-lc-rs v1.15.2
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling rustls v0.23.35
[INFO] [stderr]    Compiling instability v0.3.11
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling compact_str v0.9.0
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling syn v2.0.112
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling unicode-truncate v2.0.0
[INFO] [stderr]    Compiling lru v0.16.2
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling zmij v1.0.7
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling aws-lc-sys v0.35.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling line-clipping v0.3.5
[INFO] [stderr]    Compiling openssl-probe v0.2.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling owo-colors v4.2.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling kasuari v0.4.11
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling strum v0.27.2
[INFO] [stderr]    Compiling ratatui-core v0.1.0
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling ratatui-widgets v0.3.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling ratatui-crossterm v0.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling ratatui-macros v0.7.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling ratatui v0.30.0
[INFO] [stderr]    Compiling tracing-appender v0.2.4
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling axum v0.8.8
[INFO] [stderr]    Compiling rustls-webpki v0.103.8
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling rustls-platform-verifier v0.6.2
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.13.1
[INFO] [stderr]    Compiling codex-helper v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 24s
[INFO] running `Command { std: "docker" "inspect" "e5aa6b247c260604d49851b8286f1cfd10cefd1188c123f2f5b186c73c10ef76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5aa6b247c260604d49851b8286f1cfd10cefd1188c123f2f5b186c73c10ef76", kill_on_drop: false }`
[INFO] [stdout] e5aa6b247c260604d49851b8286f1cfd10cefd1188c123f2f5b186c73c10ef76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a807b0fdb1c806f100de565d9cae959021eb558efbcb0ad578169dd25817a5ac
[INFO] running `Command { std: "docker" "start" "-a" "a807b0fdb1c806f100de565d9cae959021eb558efbcb0ad578169dd25817a5ac", kill_on_drop: false }`
[INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `ch`
[INFO] [stderr]   * `bin` target `codex-helper`
[INFO] [stderr]    Compiling codex-helper v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 53.79s
[INFO] running `Command { std: "docker" "inspect" "a807b0fdb1c806f100de565d9cae959021eb558efbcb0ad578169dd25817a5ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a807b0fdb1c806f100de565d9cae959021eb558efbcb0ad578169dd25817a5ac", kill_on_drop: false }`
[INFO] [stdout] a807b0fdb1c806f100de565d9cae959021eb558efbcb0ad578169dd25817a5ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c01354bd76c2bf3fe1aa3d29df9f008d504e81e23f6c10138d22119ace24527c
[INFO] running `Command { std: "docker" "start" "-a" "c01354bd76c2bf3fe1aa3d29df9f008d504e81e23f6c10138d22119ace24527c", kill_on_drop: false }`
[INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `ch`
[INFO] [stderr]   * `bin` target `codex-helper`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ch-ae658dbd5155eff5)
[INFO] [stdout] 
[INFO] [stdout] running 60 tests
[INFO] [stdout] test config::tests::infer_env_key_from_auth_json_single_key ... ok
[INFO] [stdout] test config::tests::infer_env_key_from_auth_json_multiple_keys ... ok
[INFO] [stdout] test config::tests::infer_env_key_from_auth_json_none ... ok
[INFO] [stdout] test config::tests::bootstrap_from_codex_allows_requires_openai_auth_true_for_custom_provider ... ok
[INFO] [stdout] test config::tests::bootstrap_from_codex_fails_when_multiple_api_keys_without_env_key ... ok
[INFO] [stdout] test config::tests::bootstrap_from_codex_openai_defaults_to_requires_openai_auth_and_allows_missing_token ... ok
[INFO] [stdout] test config::tests::load_or_bootstrap_for_service_writes_proxy_config ... ok
[INFO] [stdout] test config::tests::retry_profile_allows_explicit_overrides ... ok
[INFO] [stdout] test config::tests::retry_profile_cost_primary_sets_probe_back_defaults ... ok
[INFO] [stdout] test config::tests::retry_profile_defaults_to_balanced_when_unset ... ok
[INFO] [stdout] test config::tests::probe_codex_bootstrap_detects_codex_proxy_without_backup ... ok
[INFO] [stdout] test config::tests::retry_profile_parses_from_toml_kebab_case ... ok
[INFO] [stdout] test config::tests::sync_codex_auth_can_add_missing_provider_and_set_active ... ok
[INFO] [stdout] test filter::tests::literal_remove_fallback_works_when_regex_invalid ... ok
[INFO] [stdout] test config::tests::load_config_prefers_toml_over_json ... ok
[INFO] [stdout] test filter::tests::literal_replace_fallback_works_when_regex_invalid ... ok
[INFO] [stdout] test lb::tests::lb_avoids_upstreams_past_failure_threshold ... ok
[INFO] [stdout] test lb::tests::lb_falls_back_when_all_exhausted ... ok
[INFO] [stdout] test lb::tests::lb_prefers_non_exhausted_upstream_when_available ... ok
[INFO] [stdout] test notify::tests::parses_agent_turn_complete_payload_with_thread_id ... ok
[INFO] [stdout] test notify::tests::picks_best_recent_request_prefers_responses_path ... ok
[INFO] [stdout] test proxy::retry::tests::parse_status_ranges_accepts_single_codes_and_ranges ... ok
[INFO] [stdout] test proxy::retry::tests::retry_after_ms_parses_seconds_and_caps ... ok
[INFO] [stdout] test proxy::retry::tests::retry_info_attempts_excludes_all_upstreams_avoided_marker ... ok
[INFO] [stdout] test proxy::retry::tests::retry_info_is_none_when_only_one_real_attempt_happened ... ok
[INFO] [stdout] test config::tests::bootstrap_from_codex_infers_env_key_from_auth_json_when_missing ... ok
[INFO] [stdout] test config::tests::init_config_toml_inserts_codex_bootstrap_when_available ... ok
[INFO] [stdout] test config::tests::load_config_toml_allows_missing_service_name_and_infers_from_key ... ok
[INFO] [stdout] test config::tests::bootstrap_from_codex_with_env_key_and_auth_json ... ok
[INFO] [stdout] test config::tests::sync_codex_auth_updates_env_key_without_changing_routing_config ... ok
[INFO] [stdout] test config::tests::init_config_toml_can_skip_codex_bootstrap_with_no_import ... ok
[INFO] [stdout] test proxy::tests::proxy_does_not_retry_or_failover_on_400 ... ok
[INFO] [stdout] test proxy::tests::proxy_failover_can_switch_configs_with_same_level ... ok
[INFO] [stdout] test proxy::tests::proxy_applies_model_mapping_to_request_body ... ok
[INFO] [stdout] test proxy::tests::proxy_does_not_failover_when_502_is_not_retryable_and_threshold_not_reached ... ok
[INFO] [stdout] test proxy::tests::proxy_failover_across_requests_penalizes_cloudflare_challenge_when_no_internal_retry ... ok
[INFO] [stdout] test proxy::tests::proxy_failover_retries_502_then_uses_second_upstream ... ok
[INFO] [stdout] test proxy::tests::proxy_falls_back_to_level_2_config_after_retryable_failure ... ok
[INFO] [stdout] test proxy::tests::proxy_failover_across_requests_penalizes_transport_error_when_no_internal_retry ... ok
[INFO] [stdout] test sessions::tests::parse_rollout_filename_splits_uuid_correctly ... ok
[INFO] [stdout] test proxy::tests::proxy_failover_across_requests_penalizes_502_when_no_internal_retry ... ok
[INFO] [stdout] test sessions::tests::session_cwd_child_of_current_dir_matches ... ok
[INFO] [stdout] test sessions::tests::session_cwd_parent_of_current_dir_matches ... ok
[INFO] [stdout] test sessions::tests::read_codex_session_transcript_extracts_messages_and_tail ... ok
[INFO] [stdout] test sessions::tests::unrelated_paths_do_not_match ... ok
[INFO] [stdout] test tui::model::tests::basename_handles_unix_and_windows_paths ... ok
[INFO] [stdout] test tui::model::tests::shorten_middle_keeps_both_ends ... ok
[INFO] [stdout] test tui::model::tests::shorten_respects_display_width_cjk ... ok
[INFO] [stdout] test tui::view::widgets::tests::background_clears_symbols ... ok
[INFO] [stdout] test sessions::tests::summarize_session_tracks_rounds_and_last_response ... ok
[INFO] [stdout] test usage::tests::incremental_sse_scan_handles_split_lines ... ok
[INFO] [stdout] test usage::tests::parses_chat_completions_usage_fields ... ok
[INFO] [stdout] test usage::tests::unknown_usage_schema_returns_none ... ok
[INFO] [stdout] test usage::tests::incremental_sse_scan_matches_full_parse ... ok
[INFO] [stdout] test proxy::tests::proxy_multi_config_failover_across_requests_respects_cooldown ... ok
[INFO] [stdout] test proxy::tests::proxy_retries_each_upstream_once_and_stops_when_all_avoided ... ok
[INFO] [stdout] test proxy::tests::proxy_skips_upstreams_that_do_not_support_model ... ok
[INFO] [stdout] test proxy::tests::proxy_same_upstream_retries_502_then_succeeds_without_failover ... ok
[INFO] [stdout] test proxy::tests::proxy_runtime_config_reports_resolved_retry_profile ... ok
[INFO] [stdout] test proxy::tests::proxy_streaming_parses_usage_even_when_usage_is_late_in_stream ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 60 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.68s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codex_helper-1db5b814371daf13)
[INFO] [stdout] 
[INFO] [stdout] running 60 tests
[INFO] [stdout] test config::tests::bootstrap_from_codex_allows_requires_openai_auth_true_for_custom_provider ... ok
[INFO] [stdout] test config::tests::infer_env_key_from_auth_json_single_key ... ok
[INFO] [stdout] test config::tests::infer_env_key_from_auth_json_none ... ok
[INFO] [stdout] test config::tests::infer_env_key_from_auth_json_multiple_keys ... ok
[INFO] [stdout] test config::tests::bootstrap_from_codex_fails_when_multiple_api_keys_without_env_key ... ok
[INFO] [stdout] test config::tests::bootstrap_from_codex_infers_env_key_from_auth_json_when_missing ... ok
[INFO] [stdout] test config::tests::bootstrap_from_codex_with_env_key_and_auth_json ... ok
[INFO] [stdout] test config::tests::bootstrap_from_codex_openai_defaults_to_requires_openai_auth_and_allows_missing_token ... ok
[INFO] [stdout] test config::tests::retry_profile_allows_explicit_overrides ... ok
[INFO] [stdout] test config::tests::retry_profile_cost_primary_sets_probe_back_defaults ... ok
[INFO] [stdout] test config::tests::retry_profile_defaults_to_balanced_when_unset ... ok
[INFO] [stdout] test config::tests::retry_profile_parses_from_toml_kebab_case ... ok
[INFO] [stdout] test config::tests::init_config_toml_can_skip_codex_bootstrap_with_no_import ... ok
[INFO] [stdout] test filter::tests::literal_remove_fallback_works_when_regex_invalid ... ok
[INFO] [stdout] test filter::tests::literal_replace_fallback_works_when_regex_invalid ... ok
[INFO] [stdout] test config::tests::init_config_toml_inserts_codex_bootstrap_when_available ... ok
[INFO] [stdout] test lb::tests::lb_avoids_upstreams_past_failure_threshold ... ok
[INFO] [stdout] test lb::tests::lb_falls_back_when_all_exhausted ... ok
[INFO] [stdout] test notify::tests::parses_agent_turn_complete_payload_with_thread_id ... ok
[INFO] [stdout] test notify::tests::picks_best_recent_request_prefers_responses_path ... ok
[INFO] [stdout] test config::tests::load_config_prefers_toml_over_json ... ok
[INFO] [stdout] test proxy::retry::tests::parse_status_ranges_accepts_single_codes_and_ranges ... ok
[INFO] [stdout] test lb::tests::lb_prefers_non_exhausted_upstream_when_available ... ok
[INFO] [stdout] test proxy::retry::tests::retry_info_attempts_excludes_all_upstreams_avoided_marker ... ok
[INFO] [stdout] test proxy::retry::tests::retry_info_is_none_when_only_one_real_attempt_happened ... ok
[INFO] [stdout] test proxy::retry::tests::retry_after_ms_parses_seconds_and_caps ... ok
[INFO] [stdout] test config::tests::load_config_toml_allows_missing_service_name_and_infers_from_key ... ok
[INFO] [stdout] test config::tests::load_or_bootstrap_for_service_writes_proxy_config ... ok
[INFO] [stdout] test config::tests::sync_codex_auth_can_add_missing_provider_and_set_active ... ok
[INFO] [stdout] test config::tests::sync_codex_auth_updates_env_key_without_changing_routing_config ... ok
[INFO] [stdout] test config::tests::probe_codex_bootstrap_detects_codex_proxy_without_backup ... ok
[INFO] [stdout] test proxy::tests::proxy_failover_retries_502_then_uses_second_upstream ... ok
[INFO] [stdout] test proxy::tests::proxy_failover_across_requests_penalizes_cloudflare_challenge_when_no_internal_retry ... ok
[INFO] [stdout] test proxy::tests::proxy_failover_can_switch_configs_with_same_level ... ok
[INFO] [stdout] test proxy::tests::proxy_failover_across_requests_penalizes_502_when_no_internal_retry ... ok
[INFO] [stdout] test proxy::tests::proxy_does_not_retry_or_failover_on_400 ... ok
[INFO] [stdout] test proxy::tests::proxy_falls_back_to_level_2_config_after_retryable_failure ... ok
[INFO] [stdout] test proxy::tests::proxy_does_not_failover_when_502_is_not_retryable_and_threshold_not_reached ... ok
[INFO] [stdout] test proxy::tests::proxy_applies_model_mapping_to_request_body ... ok
[INFO] [stdout] test sessions::tests::parse_rollout_filename_splits_uuid_correctly ... ok
[INFO] [stdout] test proxy::tests::proxy_failover_across_requests_penalizes_transport_error_when_no_internal_retry ... ok
[INFO] [stdout] test sessions::tests::read_codex_session_transcript_extracts_messages_and_tail ... ok
[INFO] [stdout] test sessions::tests::session_cwd_parent_of_current_dir_matches ... ok
[INFO] [stdout] test sessions::tests::session_cwd_child_of_current_dir_matches ... ok
[INFO] [stdout] test sessions::tests::unrelated_paths_do_not_match ... ok
[INFO] [stdout] test tui::model::tests::basename_handles_unix_and_windows_paths ... ok
[INFO] [stdout] test tui::model::tests::shorten_middle_keeps_both_ends ... ok
[INFO] [stdout] test tui::model::tests::shorten_respects_display_width_cjk ... ok
[INFO] [stdout] test tui::view::widgets::tests::background_clears_symbols ... ok
[INFO] [stdout] test usage::tests::incremental_sse_scan_handles_split_lines ... ok
[INFO] [stdout] test usage::tests::incremental_sse_scan_matches_full_parse ... ok
[INFO] [stdout] test usage::tests::parses_chat_completions_usage_fields ... ok
[INFO] [stdout] test sessions::tests::summarize_session_tracks_rounds_and_last_response ... ok
[INFO] [stdout] test usage::tests::unknown_usage_schema_returns_none ... ok
[INFO] [stdout] test proxy::tests::proxy_retries_each_upstream_once_and_stops_when_all_avoided ... ok
[INFO] [stdout] test proxy::tests::proxy_same_upstream_retries_502_then_succeeds_without_failover ... ok
[INFO] [stdout] test proxy::tests::proxy_multi_config_failover_across_requests_respects_cooldown ... ok
[INFO] [stdout] test proxy::tests::proxy_runtime_config_reports_resolved_retry_profile ... ok
[INFO] [stdout] test proxy::tests::proxy_skips_upstreams_that_do_not_support_model ... ok
[INFO] [stdout] test proxy::tests::proxy_streaming_parses_usage_even_when_usage_is_late_in_stream ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 60 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c01354bd76c2bf3fe1aa3d29df9f008d504e81e23f6c10138d22119ace24527c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c01354bd76c2bf3fe1aa3d29df9f008d504e81e23f6c10138d22119ace24527c", kill_on_drop: false }`
[INFO] [stdout] c01354bd76c2bf3fe1aa3d29df9f008d504e81e23f6c10138d22119ace24527c
