[INFO] cloning repository https://github.com/Amyas/deepseek-cursor-proxy-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Amyas/deepseek-cursor-proxy-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmyas%2Fdeepseek-cursor-proxy-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmyas%2Fdeepseek-cursor-proxy-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f508010130f01cc3eac780553198908ed64804b6 [INFO] testing Amyas/deepseek-cursor-proxy-rust against 1.97.0-beta.6 for beta-1.98-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmyas%2Fdeepseek-cursor-proxy-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Amyas/deepseek-cursor-proxy-rust [INFO] finished tweaking git repo https://github.com/Amyas/deepseek-cursor-proxy-rust [INFO] tweaked toml for git repo https://github.com/Amyas/deepseek-cursor-proxy-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Amyas/deepseek-cursor-proxy-rust on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Amyas/deepseek-cursor-proxy-rust 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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.30 [INFO] [stderr] Downloaded yoke v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2 [INFO] running `Command { std: "docker" "start" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2", 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" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2", 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" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling log v0.4.30 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling rustls-pki-types v1.14.1 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling http v1.4.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling webpki-roots v1.0.7 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.4 [INFO] [stderr] Compiling mio v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling h2 v0.4.14 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling hyper v1.10.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.27.9 [INFO] [stderr] Compiling axum v0.8.9 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling deepseek-cursor-proxy-rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2", 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" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling deepseek-cursor-proxy-rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.46s [INFO] running `Command { std: "docker" "inspect" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2", 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" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/deepseek_cursor_proxy_rust-d203f8cfc327f7dc) [INFO] [stdout] [INFO] [stdout] running 43 tests [INFO] [stdout] test cli::tests::parses_core_flags ... ok [INFO] [stdout] test config::tests::default_config_has_expected_local_bind_address ... ok [INFO] [stdout] test config::tests::default_config_path_uses_yaml_extension ... ok [INFO] [stdout] test cursor::state::tests::default_cursor_state_db_path_points_to_global_storage ... ok [INFO] [stdout] test http::handlers::tests::exposes_expected_placeholder_handler_name ... ok [INFO] [stdout] test http::sse::tests::accumulator_collects_reasoning_and_tool_calls ... ok [INFO] [stdout] test http::upstream::tests::joins_base_url_and_path ... ok [INFO] [stdout] test protocol::folding::tests::folds_reasoning_into_content ... ok [INFO] [stdout] test http::sse::tests::display_adapter_mirrors_reasoning_into_content ... ok [INFO] [stdout] test protocol::normalize::tests::extract_text_content_passes_through_string_and_none ... ok [INFO] [stdout] test protocol::normalize::tests::extract_text_content_flattens_multipart_array ... ok [INFO] [stdout] test protocol::normalize::tests::filters_supported_fields_only ... ok [INFO] [stdout] test protocol::normalize::tests::normalizes_function_call_and_tool_choice ... ok [INFO] [stdout] test protocol::normalize::tests::normalizes_legacy_and_tool_fields ... ok [INFO] [stdout] test protocol::transform::tests::converts_legacy_functions_to_tools ... ok [INFO] [stdout] test protocol::transform::tests::non_deepseek_model_is_rewritten ... ok [INFO] [stdout] test protocol::transform::tests::recovery_notice_constants_align ... ok [INFO] [stdout] test protocol::transform::tests::max_completion_tokens_is_aliased_to_max_tokens ... ok [INFO] [stdout] test protocol::transform::tests::recovery_notice_stripping_returns_copy ... ok [INFO] [stdout] test protocol::normalize::tests::normalizes_reasoning_effort_aliases ... ok [INFO] [stdout] test protocol::transform::tests::standard_openai_fields_are_forwarded ... ok [INFO] [stdout] test protocol::transform::tests::unknown_fields_are_dropped ... ok [INFO] [stdout] test reasoning::keys::tests::builds_scope_prefix ... ok [INFO] [stdout] test protocol::transform::tests::named_function_call_becomes_named_tool_choice ... ok [INFO] [stdout] test reasoning::keys::tests::turn_context_uses_last_user_cluster ... ok [INFO] [stdout] test http::sse::tests::rewrite_sse_done_flushes_and_stores ... ok [INFO] [stdout] test reasoning::keys::tests::produces_signatures_and_keys ... ok [INFO] [stdout] test reasoning::keys::tests::scope_changes_with_namespace ... ok [INFO] [stdout] test reasoning::sqlite_store::tests::stores_empty_reasoning_as_present_value ... ok [INFO] [stdout] test tunnel::cloudflared::tests::ignores_lines_without_quick_tunnel_url ... ok [INFO] [stdout] test reasoning::sqlite_store::tests::store_prunes_to_max_rows_and_can_clear ... ok [INFO] [stdout] test trace::writer::tests::writes_trace_file ... ok [INFO] [stdout] test tunnel::cloudflared::tests::extracts_quick_tunnel_url_from_log_line ... ok [INFO] [stdout] test reasoning::sqlite_store::tests::file_store_creates_database_file ... ok [INFO] [stdout] test app::tests::bootstrap_applies_cli_overrides ... ok [INFO] [stdout] test cursor::state::tests::updates_existing_openai_base_url_and_creates_backup ... ok [INFO] [stdout] test config::tests::load_or_create_writes_default_file ... ok [INFO] [stdout] test protocol::transform::tests::thinking_disabled_strips_reasoning_from_history ... ok [INFO] [stdout] test protocol::normalize::tests::normalizes_message_and_strips_reasoning_when_disabled ... ok [INFO] [stdout] test protocol::response_rewrite::tests::records_reasoning_and_restores_original_model_name ... ok [INFO] [stdout] test protocol::response_rewrite::tests::recovery_notice_is_prefixed_into_response_content ... ok [INFO] [stdout] test protocol::response_rewrite::tests::preserves_usage_fields_and_can_display_reasoning ... ok [INFO] [stdout] test protocol::normalize::tests::strips_cursor_thinking_blocks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 43 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/deepseek_cursor_proxy_rust-f920d766ebff1b1b) [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] Running tests/proxy_integration.rs (/opt/rustwide/target/debug/deps/proxy_integration-f58d6f2e9fc90e56) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test health_and_models_routes_work ... ok [INFO] [stdout] test chat_completion_requires_bearer_token ... ok [INFO] [stdout] test chat_completion_rejects_invalid_json ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/smoke.rs (/opt/rustwide/target/debug/deps/smoke-e87d1211c0529895) [INFO] [stderr] Doc-tests deepseek_cursor_proxy_rust [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test skeleton_exposes_expected_defaults ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2", kill_on_drop: false }` [INFO] [stdout] a9d27504ebc2f863a3adaa2e33a9326adb7bf8c939fb45348594046ad8a051b2