[INFO] cloning repository https://github.com/huangbogeng/cc-switch-ui
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huangbogeng/cc-switch-ui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangbogeng%2Fcc-switch-ui", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangbogeng%2Fcc-switch-ui'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b56ba48a3a048398c62b7c10f89043c0632f6216
[INFO] testing huangbogeng/cc-switch-ui/b56ba48a3a048398c62b7c10f89043c0632f6216 against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangbogeng%2Fcc-switch-ui" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/huangbogeng/cc-switch-ui
[INFO] finished tweaking git repo https://github.com/huangbogeng/cc-switch-ui
[INFO] tweaked toml for git repo https://github.com/huangbogeng/cc-switch-ui written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/huangbogeng/cc-switch-ui on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/huangbogeng/cc-switch-ui already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d
[INFO] running `Command { std: "docker" "start" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling typenum v1.20.0
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling aws-lc-rs v1.16.3
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling rustls v0.23.39
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling aws-lc-sys v0.40.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling bumpalo v3.20.2
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling num-conv v0.2.1
[INFO] [stderr]    Compiling rust_decimal v1.41.0
[INFO] [stderr]    Compiling http-range-header v0.4.2
[INFO] [stderr]    Compiling zip v2.4.2
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling zopfli v0.8.3
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling env_filter v1.0.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling bzip2 v0.5.2
[INFO] [stderr]    Compiling xz2 v0.1.7
[INFO] [stderr]    Compiling lzma-rs v0.3.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling jiff v0.2.24
[INFO] [stderr]    Compiling deflate64 v0.1.12
[INFO] [stderr]    Compiling constant_time_eq v0.3.1
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling rusqlite v0.31.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling env_logger v0.11.10
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling cc-switch-lib v0.1.9 (/opt/rustwide/workdir/cc-switch-lib)
[INFO] [stderr]    Compiling cc-switch-server v0.1.9 (/opt/rustwide/workdir/cc-switch-server)
[INFO] [stderr]    Compiling cc-switch-cli v0.1.9 (/opt/rustwide/workdir/cc-switch-cli)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 31s
[INFO] running `Command { std: "docker" "inspect" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling sdd v3.0.10
[INFO] [stderr]    Compiling serial_test_derive v3.4.0
[INFO] [stderr]    Compiling cc-switch-server v0.1.9 (/opt/rustwide/workdir/cc-switch-server)
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling cc-switch-cli v0.1.9 (/opt/rustwide/workdir/cc-switch-cli)
[INFO] [stderr]    Compiling scc v2.4.0
[INFO] [stderr]    Compiling serial_test v3.4.0
[INFO] [stderr]    Compiling cc-switch-lib v0.1.9 (/opt/rustwide/workdir/cc-switch-lib)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 30.80s
[INFO] running `Command { std: "docker" "inspect" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cc_switch_ui-ad734a183a8d65f6)
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cc_switch_lib-24567fee1984ee80)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 79 tests
[INFO] [stdout] test config::tests::derive_mcp_path_from_override_handles_non_hidden_folder ... ok
[INFO] [stdout] test config::tests::derive_mcp_path_from_override_preserves_folder_name ... ok
[INFO] [stdout] test config::tests::derive_mcp_path_from_root_like_dir_returns_none ... ok
[INFO] [stdout] test config::tests::derive_mcp_path_from_override_supports_relative_rootless_dir ... ok
[INFO] [stdout] test database::providers::tests::setting_current_provider_does_not_change_proxy_target ... ok
[INFO] [stdout] test database::proxy::tests::setting_proxy_target_does_not_change_current_provider ... ok
[INFO] [stdout] test database::providers::tests::seeds_providers_on_empty_table ... ok
[INFO] [stdout] test live::tests::proxy_mode_writes_minimal_takeover_env ... ok
[INFO] [stdout] test database::providers::tests::seeds_providers_are_idempotent ... ok
[INFO] [stdout] test live::tests::restore_mode_preserves_direct_provider_settings ... ok
[INFO] [stdout] test oauth::codex::tests::test_compute_expires_at_ms ... ok
[INFO] [stdout] test mcp::tests::strip_internal_fields_removes_ui_only_keys ... ok
[INFO] [stdout] test oauth::codex::tests::test_cached_token_expiring_soon ... ok
[INFO] [stdout] test oauth::codex::tests::test_compute_expires_at_ms_default ... ok
[INFO] [stdout] test live::tests::apply_provider_to_live_merges_env_only ... ok
[INFO] [stdout] test oauth::codex::tests::test_parse_interval_min ... ok
[INFO] [stdout] test oauth::codex::tests::test_parse_interval_number ... ok
[INFO] [stdout] test oauth::codex::tests::test_parse_interval_string ... ok
[INFO] [stdout] test oauth::codex::tests::test_parse_jwt_claims_invalid ... ok
[INFO] [stdout] test oauth::codex::tests::test_parse_jwt_claims_organizations_fallback ... ok
[INFO] [stdout] test oauth::codex::tests::test_parse_jwt_claims_valid ... ok
[INFO] [stdout] test oauth::codex::tests::test_manager_initial_state ... ok
[INFO] [stdout] test oauth::codex::tests::test_parse_interval_default ... ok
[INFO] [stdout] test live::tests::apply_provider_to_live_writes_env_directly ... ok
[INFO] [stdout] test live::tests::apply_provider_to_live_strips_internal_fields ... ok
[INFO] [stdout] test oauth::codex::tests::test_manager_save_and_load ... ok
[INFO] [stdout] test oauth::copilot::tests::test_auth_status_serialization ... ok
[INFO] [stdout] test oauth::copilot::tests::test_copilot_token_expiry ... ok
[INFO] [stdout] test oauth::copilot::tests::test_clear_auth_cleans_memory_even_when_file_removal_fails ... ok
[INFO] [stdout] test oauth::copilot::tests::test_clear_auth_clears_all_api_endpoint_cache ... ok
[INFO] [stdout] test oauth::copilot::tests::test_composite_account_id ... ok
[INFO] [stdout] test database::tests::migrates_legacy_proxy_config_table_to_json_schema ... ok
[INFO] [stdout] test oauth::copilot::tests::test_fallback_default_account_prefers_latest_authenticated ... ok
[INFO] [stdout] test oauth::copilot::tests::test_fetch_and_cache_endpoint_requires_account ... ok
[INFO] [stdout] test oauth::copilot::tests::test_get_api_endpoint_returns_default_for_unknown_account ... ok
[INFO] [stdout] test oauth::copilot::tests::test_get_api_endpoint_cache_hit_skips_fetch ... ok
[INFO] [stdout] test oauth::copilot::tests::test_get_default_api_endpoint_uses_default_account ... ok
[INFO] [stdout] test oauth::copilot::tests::test_get_model_vendor_from_cache ... ok
[INFO] [stdout] test oauth::copilot::tests::test_get_api_endpoint_returns_default_when_not_cached ... ok
[INFO] [stdout] test oauth::copilot::tests::test_get_api_endpoint_returns_cached_value ... ok
[INFO] [stdout] test oauth::copilot::tests::test_github_account_from_data_ghes_uses_composite_id ... ok
[INFO] [stdout] test oauth::copilot::tests::test_github_account_from_data ... ok
[INFO] [stdout] test oauth::copilot::tests::test_legacy_format_detection ... ok
[INFO] [stdout] test oauth::copilot::tests::test_multi_account_store_serialization ... ok
[INFO] [stdout] test providers::adapter::tests::anthropic_auth_uses_x_api_key ... ok
[INFO] [stdout] test oauth::copilot::tests::test_normalize_github_domain ... ok
[INFO] [stdout] test providers::adapter::tests::bearer_auth_uses_authorization_header ... ok
[INFO] [stdout] test providers::adapter::tests::codex_oauth_adds_originator ... ok
[INFO] [stdout] test providers::adapter::tests::copilot_auth_adds_fingerprint_headers ... ok
[INFO] [stdout] test providers::adapter::tests::google_api_key_uses_x_goog_api_key ... ok
[INFO] [stdout] test providers::adapter::tests::no_auth_uses_no_headers ... ok
[INFO] [stdout] test providers::model_fetch::tests::builds_models_url_for_full_request_url ... ok
[INFO] [stdout] test oauth::copilot::tests::test_remove_account_clears_api_endpoint_cache ... ok
[INFO] [stdout] test providers::model_fetch::tests::derives_probe_urls_from_base_url ... ok
[INFO] [stdout] test providers::model_fetch::tests::local_base_url_allows_empty_api_key ... ok
[INFO] [stdout] test providers::model_fetch::tests::keeps_response_detail_for_supported_non_success_statuses ... ok
[INFO] [stdout] test providers::model_fetch::tests::builds_models_url_for_plain_root ... ok
[INFO] [stdout] test providers::model_fetch::tests::classifies_supported_probe_status_codes_like_upstream_stream_check ... ok
[INFO] [stdout] test providers::model_fetch::tests::refuses_to_recommend_when_multiple_incompatible_endpoints_match ... ok
[INFO] [stdout] test providers::model_fetch::tests::remote_base_url_requires_api_key ... ok
[INFO] [stdout] test providers::model_fetch::tests::strips_known_compat_suffixes ... ok
[INFO] [stdout] test providers::model_fetch::tests::uses_http_status_fallback_when_body_is_empty ... ok
[INFO] [stdout] test providers::model_fetch::tests::uses_override_when_present ... ok
[INFO] [stdout] test providers::schema::tests::local_base_url_allows_empty_api_key ... ok
[INFO] [stdout] test providers::registry::tests::openai_responses_falls_back_to_responses_adapter ... ok
[INFO] [stdout] test providers::schema::tests::normalize_schema_keeps_non_empty_alternate_key ... ok
[INFO] [stdout] test providers::registry::tests::openai_chat_falls_back_to_chat_adapter ... ok
[INFO] [stdout] test providers::schema::tests::normalize_schema_strips_empty_api_key_fields ... ok
[INFO] [stdout] test providers::schema::tests::resolve_api_key_field_prefers_env_api_key_for_legacy_provider ... ok
[INFO] [stdout] test providers::schema::tests::remote_base_url_does_not_allow_empty_api_key ... ok
[INFO] [stdout] test providers::schema::tests::resolve_managed_account_id_supports_object_shape ... ok
[INFO] [stdout] test settings::tests::default_settings_roundtrip ... ok
[INFO] [stdout] test usage::parser::tests::parses_openai_prompt_completion_usage ... ok
[INFO] [stdout] test usage::parser::tests::parses_deepseek_input_output_usage ... ok
[INFO] [stdout] test skills::tests::copy_dir_recursive_copies_files_and_subdirs ... ok
[INFO] [stdout] test providers::model_fetch::tests::longer_suffix_wins ... ok
[INFO] [stdout] test providers::model_fetch::tests::recommends_openai_chat_when_chat_and_responses_both_supported ... ok
[INFO] [stdout] test oauth::codex::tests::test_remove_account ... ok
[INFO] [stdout] test database::tests::schema_migration_does_not_readd_existing_skills_collection_column ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 79 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cc_switch_server-4c846b66028fa43d)
[INFO] [stdout] 
[INFO] [stdout] running 60 tests
[INFO] [stdout] test proxy::adapters::claude::response::tests::parses_anthropic_usage_record ... ok
[INFO] [stdout] test proxy::adapters::copilot::response::tests::parses_openai_compatible_usage_for_copilot ... ok
[INFO] [stdout] test proxy::adapters::copilot::tests::transform_request_passthrough_for_copilot ... ok
[INFO] [stdout] test proxy::adapters::deepseek::request::tests::keeps_assistant_reasoning_content_for_deepseek_thinking_mode ... ok
[INFO] [stdout] test proxy::adapters::deepseek::request::tests::normalizes_legacy_anthropic_url_to_chat_completions ... ok
[INFO] [stdout] test proxy::adapters::deepseek::request::tests::strips_thinking_blocks_and_signatures_before_conversion ... ok
[INFO] [stdout] test proxy::adapters::gemini::tests::transform_request_passthrough_for_gemini ... ok
[INFO] [stdout] test proxy::adapters::minimax::request::tests::converts_anthropic_messages_to_openai_chat ... ok
[INFO] [stdout] test proxy::adapters::minimax::request::tests::preserves_full_endpoint_and_avoids_double_v1 ... ok
[INFO] [stdout] test proxy::adapters::minimax::request::tests::converts_tool_use_and_tool_result_roundtrip_shape ... ok
[INFO] [stdout] test proxy::adapters::codex::response::tests::non_streaming_extracts_usage ... ok
[INFO] [stdout] test proxy::adapters::minimax::request::tests::tool_result_with_text_keeps_tool_message_ordering ... ok
[INFO] [stdout] test proxy::adapters::minimax::response::tests::converts_legacy_function_call_response ... ok
[INFO] [stdout] test proxy::adapters::minimax::response::tests::converts_openai_chat_response_to_anthropic_message ... ok
[INFO] [stdout] test proxy::adapters::responses::tests::appends_responses_suffix_to_v1_base_url ... ok
[INFO] [stdout] test proxy::circuit_breaker::tests::half_open_success_closes_breaker ... ok
[INFO] [stdout] test proxy::adapters::responses::tests::transform_request_builds_responses_body ... ok
[INFO] [stdout] test proxy::circuit_breaker::tests::half_open_failure_reopens_breaker ... ok
[INFO] [stdout] test proxy::circuit_breaker::tests::opens_after_reaching_failure_threshold ... ok
[INFO] [stdout] test proxy::circuit_breaker::tests::open_transitions_to_half_open_after_timeout ... ok
[INFO] [stdout] test proxy::provider_router::tests::failover_disabled_returns_only_current_provider ... ok
[INFO] [stdout] test proxy::provider_router::tests::breaker_key_is_scoped_by_app_type ... ok
[INFO] [stdout] test proxy::provider_router::tests::failover_enabled_falls_back_to_current_when_queue_empty ... ok
[INFO] [stdout] test proxy::provider_router::tests::failover_enabled_returns_queue_order ... ok
[INFO] [stdout] test proxy::provider_router::tests::failover_queue_does_not_bypass_open_breakers ... ok
[INFO] [stdout] test proxy::adapters::codex::request::tests::transforms_anthropic_request_to_responses_shape ... ok
[INFO] [stdout] test proxy::provider_router::tests::open_breaker_filters_provider_from_candidates ... ok
[INFO] [stdout] test proxy::responses_aggregate::tests::merges_tool_argument_deltas_by_item_id_into_call_id ... ok
[INFO] [stdout] test proxy::responses_aggregate::tests::aggregates_responses_sse_to_anthropic_message ... ok
[INFO] [stdout] test proxy::session::tests::extracts_header_before_metadata ... ok
[INFO] [stdout] test proxy::server::tests::proxy_accepts_openai_chat_paths ... ok
[INFO] [stdout] test proxy::server::tests::proxy_accepts_responses_paths ... ok
[INFO] [stdout] test proxy::session::tests::extracts_plain_metadata_session_id ... ok
[INFO] [stdout] test proxy::session::tests::extracts_session_from_metadata_user_id ... ok
[INFO] [stdout] test proxy::session::tests::prompt_cache_key_prefers_explicit_then_session_and_caps_length ... ok
[INFO] [stdout] test proxy::session::tests::extracts_session_from_json_encoded_metadata_session_id ... ok
[INFO] [stdout] test proxy::session::tests::prompt_cache_key_uses_fallback_for_empty_sources ... ok
[INFO] [stdout] test proxy::session::tests::extracts_previous_response_id_as_fallback ... ok
[INFO] [stdout] test proxy::streaming::openai_chat::tests::captures_openai_chat_stream_usage_from_usage_chunk ... ok
[INFO] [stdout] test proxy::streaming::openai_chat::tests::captures_openai_chat_stream_usage_with_input_output_aliases ... ok
[INFO] [stdout] test proxy::streaming::openai_chat::tests::closes_open_tool_blocks_on_done_without_duplicate_message_stop ... ok
[INFO] [stdout] test proxy::streaming::openai_chat::tests::converts_openai_chat_delta_stream_once ... ok
[INFO] [stdout] test proxy::streaming::openai_chat::tests::converts_openai_chat_reasoning_content_to_thinking_block ... ok
[INFO] [stdout] test proxy::streaming::openai_chat::tests::converts_openai_chat_stream_tool_calls ... ok
[INFO] [stdout] test proxy::streaming::openai_chat::tests::downgrades_tool_stop_reason_without_valid_tool_block ... ok
[INFO] [stdout] test proxy::streaming::openai_chat::tests::keeps_tool_stop_reason_with_valid_closed_tool_block ... ok
[INFO] [stdout] test proxy::transform_responses::tests::can_omit_prompt_cache_key ... ok
[INFO] [stdout] test proxy::streaming::openai_chat::tests::ignores_second_finish_reason_chunk ... ok
[INFO] [stdout] test proxy::streaming::responses::tests::converts_text_delta_stream ... ok
[INFO] [stdout] test proxy::streaming::openai_chat::tests::ignores_tool_calls_after_message_stop_before_done ... ok
[INFO] [stdout] test proxy::transform_responses::tests::converts_user_image_blocks ... ok
[INFO] [stdout] test proxy::transform_responses::tests::fast_mode_sets_priority_service_tier ... ok
[INFO] [stdout] test proxy::transform_responses::tests::codex_oauth_strips_unsupported_fields_and_forces_stream ... ok
[INFO] [stdout] test proxy::transform_responses::tests::converts_codex_request_shape ... ok
[INFO] [stdout] test proxy::transform_responses::tests::lifts_tool_result_items ... ok
[INFO] [stdout] test proxy::transform_responses::tests::strips_uri_format_and_maps_reasoning ... ok
[INFO] [stdout] test proxy::adapters::codex::response::tests::streaming_mode_keeps_body_without_usage_record ... ok
[INFO] [stdout] test proxy::adapters::claude::tests::transform_request_passthrough_for_claude ... ok
[INFO] [stdout] test proxy::adapters::gemini::response::tests::parses_openai_compatible_usage_for_gemini_proxy ... ok
[INFO] [stdout] test proxy::adapters::minimax::request::tests::normalizes_legacy_anthropic_url_to_chat_completions ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 60 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cc_switch_server-8f9409fefb1db7fd)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests cc_switch_lib
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests cc_switch_server
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d", kill_on_drop: false }`
[INFO] [stdout] f8885e6fc4597f6e8ef04fe1aeb2016e5eb8ff4eb537c94b468c26c26829bb2d
