[INFO] cloning repository https://github.com/lukealonso/resp2chat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukealonso/resp2chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukealonso%2Fresp2chat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukealonso%2Fresp2chat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ea3f0769d1483064ed9bd7d2400e513ae998b65
[INFO] testing lukealonso/resp2chat against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukealonso%2Fresp2chat" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lukealonso/resp2chat
[INFO] finished tweaking git repo https://github.com/lukealonso/resp2chat
[INFO] tweaked toml for git repo https://github.com/lukealonso/resp2chat written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lukealonso/resp2chat on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lukealonso/resp2chat 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded console v0.16.3
[INFO] [stderr]   Downloaded dialoguer v0.12.0
[INFO] [stderr]   Downloaded hyper-rustls v0.27.8
[INFO] [stderr]   Downloaded rustls-webpki v0.103.11
[INFO] [stderr]   Downloaded shell-words v1.1.1
[INFO] [stderr]   Downloaded rustls v0.23.38
[INFO] [stderr]   Downloaded tokio v1.51.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1200787e71e2fa15bf74dd54652546c770537a64be2b942a34ae641721101b76
[INFO] running `Command { std: "docker" "start" "-a" "1200787e71e2fa15bf74dd54652546c770537a64be2b942a34ae641721101b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1200787e71e2fa15bf74dd54652546c770537a64be2b942a34ae641721101b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1200787e71e2fa15bf74dd54652546c770537a64be2b942a34ae641721101b76", kill_on_drop: false }`
[INFO] [stdout] 1200787e71e2fa15bf74dd54652546c770537a64be2b942a34ae641721101b76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 159d13b406708b43dcf08f77f749e72756453002ebc1485aad207fff4731c7c9
[INFO] running `Command { std: "docker" "start" "-a" "159d13b406708b43dcf08f77f749e72756453002ebc1485aad207fff4731c7c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling cc v1.2.60
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling rustls v0.23.38
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling instability v0.3.12
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling unicode-truncate v1.1.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling console v0.16.3
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling shell-words v1.1.1
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling dialoguer v0.12.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling uuid v1.23.0
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.11
[INFO] [stderr]    Compiling tokio v1.51.1
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.23.0
[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 darling v0.23.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling ratatui v0.29.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[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 tokio-stream v0.1.18
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.8
[INFO] [stderr]    Compiling axum v0.8.8
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling resp2chat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s
[INFO] running `Command { std: "docker" "inspect" "159d13b406708b43dcf08f77f749e72756453002ebc1485aad207fff4731c7c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "159d13b406708b43dcf08f77f749e72756453002ebc1485aad207fff4731c7c9", kill_on_drop: false }`
[INFO] [stdout] 159d13b406708b43dcf08f77f749e72756453002ebc1485aad207fff4731c7c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd37e9663b1d4d221e13b96601be59f494483d16a0b4159e537c8220b93c2032
[INFO] running `Command { std: "docker" "start" "-a" "cd37e9663b1d4d221e13b96601be59f494483d16a0b4159e537c8220b93c2032", kill_on_drop: false }`
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling deadpool v0.12.3
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.8
[INFO] [stderr]    Compiling axum v0.8.8
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling wiremock v0.6.5
[INFO] [stderr]    Compiling resp2chat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 39.26s
[INFO] running `Command { std: "docker" "inspect" "cd37e9663b1d4d221e13b96601be59f494483d16a0b4159e537c8220b93c2032", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd37e9663b1d4d221e13b96601be59f494483d16a0b4159e537c8220b93c2032", kill_on_drop: false }`
[INFO] [stdout] cd37e9663b1d4d221e13b96601be59f494483d16a0b4159e537c8220b93c2032
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a550890da5722d544de18bf274ef6c5254957a5e662c3888f45dbeac63aa7afa
[INFO] running `Command { std: "docker" "start" "-a" "a550890da5722d544de18bf274ef6c5254957a5e662c3888f45dbeac63aa7afa", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/resp2chat-8266cfb1e92d735b)
[INFO] [stdout] 
[INFO] [stdout] running 128 tests
[INFO] [stdout] test adapters::anthropic_to_responses::tests::accepts_non_streaming_request ... ok
[INFO] [stdout] test adapters::anthropic_to_responses::tests::converts_thinking_enabled_to_reasoning ... ok
[INFO] [stdout] test adapters::anthropic_to_responses::tests::converts_tool_use_and_result_history ... ok
[INFO] [stdout] test adapters::anthropic_to_responses::tests::rejects_unsupported_anthropic_fields ... ok
[INFO] [stdout] test adapters::anthropic_to_responses::tests::rejects_unsupported_file_image_source ... ok
[INFO] [stdout] test adapters::anthropic_to_responses::tests::converts_base64_image_to_data_url ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::append_argument_fragment_non_string ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::apply_chunk_content_delta ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::apply_chunk_emits_function_call_arguments_delta ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::apply_chunk_interleaved_reasoning_and_content ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::apply_chunk_multi_index_tool_calls ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::finalize_custom_tool_input_extraction ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::finalize_empty_arguments ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::finalize_invalid_json_arguments ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::finalize_invalid_local_shell_arguments ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::test_content_part_not_duplicated ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::test_content_part_added_before_first_delta ... ok
[INFO] [stdout] test adapters::anthropic_to_responses::tests::converts_tools_to_function_specs ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::test_refusal_delta_emitted ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::test_finish_reason_captured ... ok
[INFO] [stdout] test adapters::responses_to_anthropic::tests::converts_reasoning_then_text_response ... ok
[INFO] [stdout] test adapters::responses_to_anthropic::tests::converts_tool_use_only_response ... ok
[INFO] [stdout] test adapters::responses_to_anthropic::tests::converts_simple_text_response ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::test_reasoning_part_added_before_first_delta ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::finalize_missing_tool_name ... ok
[INFO] [stdout] test adapters::responses_to_anthropic::tests::converts_function_call_response ... ok
[INFO] [stdout] test adapters::anthropic_to_responses::tests::converts_simple_text_request ... ok
[INFO] [stdout] test adapters::anthropic_to_responses::tests::converts_anthropic_tool_choice_variants ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::clamps_invalid_reasoning_effort_for_upstream ... ok
[INFO] [stdout] test adapters::responses_to_anthropic::tests::converts_incomplete_to_max_tokens_stop_reason ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::clamps_xhigh_reasoning_effort_for_upstream ... ok
[INFO] [stdout] test adapters::chat_to_responses::tests::finalize_unknown_tool ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::duplicate_tool_name_rejected ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::hoist_system_messages_non_string_content ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::mixed_text_and_image_content ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::normalizes_reasoning_effort_case_and_whitespace ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::reasoning_item_text_variants ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::single_input_image_wraps_as_array ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::stringify_tool_output_non_string ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::test_append_tool_call_sequential_indices ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::test_hoist_preserves_mid_conversation_system_messages ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::test_validate_tool_choice_rejects_arbitrary_json ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::test_validate_tool_choice_required_without_tools_rejected ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::test_validate_tool_choice_valid_strings ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::test_validate_tool_choice_valid_object ... ok
[INFO] [stdout] test adapters::responses_to_anthropic::tests::collector_returns_final_usage ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::tool_search_call_non_client_error ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::validate_accepts_image_generation_tool ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::validate_rejects_previous_response_id ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::validate_accepts_all_tool_choice_values ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::tool_call_arguments_object_edge_cases ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::trailing_reasoning_flushed_as_message ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::normalizes_medium_reasoning_effort_for_upstream ... ok
[INFO] [stdout] test adapters::responses_to_anthropic::tests::emits_usage_from_completed_response ... ok
[INFO] [stdout] test adapters::responses_to_anthropic::tests::skips_web_search_call_events ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::test_append_tool_call_no_merge_into_content_message ... ok
[INFO] [stdout] test adapters::anthropic_to_responses::tests::converts_url_image_source ... ok
[INFO] [stdout] test adapters::responses_to_anthropic::tests::converts_failure_event ... ok
[INFO] [stdout] test config::tests::from_persisted_invalid_base_url ... ok
[INFO] [stdout] test config::tests::merges_nested_profile_chat_kwargs ... ok
[INFO] [stdout] test engine::tests::accumulated_usage_reasoning_tokens ... ok
[INFO] [stdout] test engine::tests::accumulated_usage_zero_returns_none ... ok
[INFO] [stdout] test config::tests::whitespace_api_key_trimmed ... ok
[INFO] [stdout] test engine::tests::failure_event_shape ... ok
[INFO] [stdout] test config::tests::test_connect_timeout_default_is_10 ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::web_search_placeholder_result_all_actions ... ok
[INFO] [stdout] test engine::tests::accumulated_usage_cached_tokens ... ok
[INFO] [stdout] test engine::tests::preview_json_truncates_on_char_boundary ... ok
[INFO] [stdout] test config::tests::apply_env_overrides_openai_fallback ... ok
[INFO] [stdout] test engine::tests::preview_text_truncates_on_char_boundary ... ok
[INFO] [stdout] test engine::tests::test_extract_web_search_query_fallback_to_arguments ... ok
[INFO] [stdout] test config::tests::config_file_has_restricted_permissions ... ok
[INFO] [stdout] test config::tests::persisted_config_roundtrips ... ok
[INFO] [stdout] test config::tests::apply_env_overrides_upstream_api_key ... ok
[INFO] [stdout] test models::responses::tests::response_item_function_call_serde_roundtrip ... ok
[INFO] [stdout] test models::responses::tests::response_item_message_serde_roundtrip ... ok
[INFO] [stdout] test error::tests::test_bad_request_shows_detail ... ok
[INFO] [stdout] test error::tests::test_upstream_error_hides_detail ... ok
[INFO] [stdout] test models::responses::tests::test_input_bare_string_deserializes ... ok
[INFO] [stdout] test models::responses::tests::test_store_explicit_false ... ok
[INFO] [stdout] test models::responses::tests::test_penalties_roundtrip ... ok
[INFO] [stdout] test models::responses::tests::test_store_defaults_to_true ... ok
[INFO] [stdout] test models::responses::tests::response_item_web_search_call_serde_roundtrip ... ok
[INFO] [stdout] test engine::tests::test_run_web_search_rejects_other_action ... ok
[INFO] [stdout] test error::tests::test_internal_error_hides_detail ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::validate_rejects_stream_false ... ok
[INFO] [stdout] test replay::tests::longest_prefix_match_partial ... ok
[INFO] [stdout] test request_log::tests::common_prefix_len_counts_matching_bytes ... ok
[INFO] [stdout] test replay::tests::test_replay_store_duplicate_key_no_double_track ... ok
[INFO] [stdout] test adapters::responses_to_chat::tests::web_search_arguments_all_actions ... ok
[INFO] [stdout] test engine::tests::test_extract_web_search_query_from_action ... ok
[INFO] [stdout] test config::tests::load_persisted_config_missing_file_returns_default ... ok
[INFO] [stdout] test replay::tests::test_replay_store_respects_capacity ... ok
[INFO] [stdout] test request_log::tests::analyze_request_log_reports_pair_details ... ok
[INFO] [stdout] test engine::tests::test_extract_web_search_query_search_action_none_query_falls_back ... ok
[INFO] [stdout] test request_log::tests::boundary_preview_at_start ... ok
[INFO] [stdout] test replay::tests::test_replay_store_evicts_oldest ... ok
[INFO] [stdout] test engine::tests::test_max_web_search_rounds_default ... ok
[INFO] [stdout] test engine::tests::test_run_web_search_rejects_find_in_page ... ok
[INFO] [stdout] test request_log::tests::request_log_single_entry ... ok
[INFO] [stdout] test replay::tests::hash_visible_history_deterministic ... ok
[INFO] [stdout] test config::tests::resolves_profile_specific_upstream_chat_kwargs ... ok
[INFO] [stdout] test request_log::tests::diff_values_reports_nested_paths ... ok
[INFO] [stdout] test engine::tests::test_run_web_search_rejects_open_page ... ok
[INFO] [stdout] test upstream::tests::sanitize_chat_request_clears_auto_tool_choice_and_preserves_reasoning ... ok
[INFO] [stdout] test upstream::tests::sanitize_chat_request_stringifies_structured_message_content_and_tool_args ... ok
[INFO] [stdout] test upstream::tests::sanitize_null_content ... ok
[INFO] [stdout] test upstream::tests::test_sanitize_clears_auto_when_no_tools ... ok
[INFO] [stdout] test upstream::tests::endpoint_url_preserves_v1_with_trailing_slash ... ok
[INFO] [stdout] test upstream::tests::endpoint_url_preserves_v1_without_trailing_slash ... ok
[INFO] [stdout] test search::tests::format_search_results_empty ... ok
[INFO] [stdout] test search::tests::format_search_results_missing_fields ... ok
[INFO] [stdout] test ui::tests::append_preview_trims_on_char_boundary ... ok
[INFO] [stdout] test upstream::tests::flatten_content_parts_non_text ... ok
[INFO] [stdout] test upstream::tests::endpoint_url_bare_domain ... ok
[INFO] [stdout] test upstream::tests::test_sanitize_flattens_array_when_flatten_enabled ... ok
[INFO] [stdout] test upstream::tests::test_sanitize_non_array_unchanged_regardless ... ok
[INFO] [stdout] test upstream::tests::test_sanitize_preserves_array_when_flatten_disabled ... ok
[INFO] [stdout] test upstream::tests::test_sanitize_preserves_none_and_required_without_tools ... ok
[INFO] [stdout] test upstream::tests::test_truncate_exact_boundary ... ok
[INFO] [stdout] test upstream::tests::test_sanitize_preserves_reasoning_effort ... ok
[INFO] [stdout] test upstream::tests::test_truncate_long_body ... ok
[INFO] [stdout] test upstream::tests::test_truncate_short_body_unchanged ... ok
[INFO] [stdout] test search::tests::endpoint_url_preserves_v1_with_trailing_slash ... ok
[INFO] [stdout] test search::tests::endpoint_url_preserves_v1_without_trailing_slash ... ok
[INFO] [stdout] test upstream::tests::sanitize_non_string_content ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/resp2chat-745d44311466aab5)
[INFO] [stdout] test upstream::tests::test_truncate_unicode_safe ... ok
[INFO] [stderr]      Running tests/gateway.rs (/opt/rustwide/target/debug/deps/gateway-63c78bc4804a22a0)
[INFO] [stdout] test upstream::tests::upstream_request_logger_writes_jsonl ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 128 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[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] [stdout] 
[INFO] [stdout] running 33 tests
[INFO] [stdout] test degrades_gracefully_when_web_search_replay_baseline_is_missing ... ok
[INFO] [stdout] test custom_tool_call_with_developer_message ... ok
[INFO] [stdout] test developer_only_no_instructions_produces_single_system_message ... ok
[INFO] [stdout] test anthropic_messages_returns_non_streaming_json ... ok
[INFO] [stdout] test anthropic_messages_converts_system_prompt ... ok
[INFO] [stdout] test anthropic_messages_streams_tool_use_response ... ok
[INFO] [stdout] test anthropic_messages_streams_text_response ... ok
[INFO] [stdout] test anthropic_messages_converts_tool_result_history ... ok
[INFO] [stdout] test flattens_namespace_tools_for_upstream_and_preserves_namespace_in_output ... ok
[INFO] [stdout] test long_multi_turn_conversation_no_system_drift ... ok
[INFO] [stdout] test local_shell_call_in_history_with_developer_message ... ok
[INFO] [stdout] test merges_instructions_and_developer_into_single_system_message ... ok
[INFO] [stdout] test normalizes_developer_messages_to_system_for_upstream ... ok
[INFO] [stdout] test forwards_configured_upstream_chat_kwargs ... ok
[INFO] [stdout] test merges_multiple_tool_calls_into_single_upstream_assistant_message ... ok
[INFO] [stdout] test function_call_history_with_developer_message_produces_correct_ordering ... ok
[INFO] [stdout] test multiple_function_calls_interleaved_with_developer_messages ... ok
[INFO] [stdout] test hides_web_search_loop_but_replays_internal_tool_result ... ok
[INFO] [stdout] test reasoning_with_developer_message_preserves_reasoning_content ... ok
[INFO] [stdout] test merges_assistant_message_and_tool_call_into_single_upstream_message ... ok
[INFO] [stdout] test merges_multiple_developer_messages_scattered_in_history ... ok
[INFO] [stdout] test replays_reasoning_into_follow_up_request ... ok
[INFO] [stderr]    Doc-tests resp2chat
[INFO] [stdout] test proxies_models_endpoint_with_upstream_api_key ... ok
[INFO] [stdout] test uses_configured_upstream_model_override ... ok
[INFO] [stdout] test tool_call_triggers_new_function_call_response_item ... ok
[INFO] [stdout] test forwards_profile_specific_upstream_chat_kwargs_for_backend_model ... ok
[INFO] [stdout] test streams_function_call_turn ... ok
[INFO] [stdout] test no_system_message_when_no_instructions_and_no_developer ... ok
[INFO] [stdout] test system_role_in_input_merged_with_instructions ... ok
[INFO] [stdout] test response_completed_includes_usage_from_upstream ... ok
[INFO] [stdout] test returns_final_usage_on_response_completed ... ok
[INFO] [stdout] test response_completed_accumulates_usage_across_web_search_rounds ... ok
[INFO] [stdout] test proxies_models_endpoint_with_etag ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[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" "a550890da5722d544de18bf274ef6c5254957a5e662c3888f45dbeac63aa7afa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a550890da5722d544de18bf274ef6c5254957a5e662c3888f45dbeac63aa7afa", kill_on_drop: false }`
[INFO] [stdout] a550890da5722d544de18bf274ef6c5254957a5e662c3888f45dbeac63aa7afa
