[INFO] fetching crate agent-sdk-rs 0.1.3...
[INFO] testing agent-sdk-rs-0.1.3 against 1.94.0 for beta-1.95-1
[INFO] extracting crate agent-sdk-rs 0.1.3 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate agent-sdk-rs 0.1.3
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate agent-sdk-rs 0.1.3
[INFO] tweaked toml for crates.io crate agent-sdk-rs 0.1.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate agent-sdk-rs 0.1.3 on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate agent-sdk-rs 0.1.3 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.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded eventsource-stream v0.2.3
[INFO] [stderr]   Downloaded anthropic-ai-sdk v0.2.27
[INFO] [stderr]   Downloaded native-tls v0.2.18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f0a3e77b5101b1983bd08043934f1c45d42e8ffffafa99be55619d8ab3165e16
[INFO] running `Command { std: "docker" "start" "-a" "f0a3e77b5101b1983bd08043934f1c45d42e8ffffafa99be55619d8ab3165e16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0a3e77b5101b1983bd08043934f1c45d42e8ffffafa99be55619d8ab3165e16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0a3e77b5101b1983bd08043934f1c45d42e8ffffafa99be55619d8ab3165e16", kill_on_drop: false }`
[INFO] [stdout] f0a3e77b5101b1983bd08043934f1c45d42e8ffffafa99be55619d8ab3165e16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48f76ab97f0d36a86b092be19d7ac52f804137cbde001574be13dc2b75279442
[INFO] running `Command { std: "docker" "start" "-a" "48f76ab97f0d36a86b092be19d7ac52f804137cbde001574be13dc2b75279442", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling futures-lite v2.6.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling anthropic-ai-sdk v0.2.27
[INFO] [stderr]    Compiling agent-sdk-rs v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s
[INFO] running `Command { std: "docker" "inspect" "48f76ab97f0d36a86b092be19d7ac52f804137cbde001574be13dc2b75279442", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48f76ab97f0d36a86b092be19d7ac52f804137cbde001574be13dc2b75279442", kill_on_drop: false }`
[INFO] [stdout] 48f76ab97f0d36a86b092be19d7ac52f804137cbde001574be13dc2b75279442
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aedf3a460ae81e14f7c2c838d5fb5b0742aaf04647e9d3ed72a155593bf367bf
[INFO] running `Command { std: "docker" "start" "-a" "aedf3a460ae81e14f7c2c838d5fb5b0742aaf04647e9d3ed72a155593bf367bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling agent-sdk-rs v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.44s
[INFO] running `Command { std: "docker" "inspect" "aedf3a460ae81e14f7c2c838d5fb5b0742aaf04647e9d3ed72a155593bf367bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aedf3a460ae81e14f7c2c838d5fb5b0742aaf04647e9d3ed72a155593bf367bf", kill_on_drop: false }`
[INFO] [stdout] aedf3a460ae81e14f7c2c838d5fb5b0742aaf04647e9d3ed72a155593bf367bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dbfcf4ff659a7fe330c56e00d2fd3de956d440906bc4b7c3feee8e5c098d1339
[INFO] running `Command { std: "docker" "start" "-a" "dbfcf4ff659a7fe330c56e00d2fd3de956d440906bc4b7c3feee8e5c098d1339", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/agent_sdk_rs-135163acd73f8277)
[INFO] [stdout] 
[INFO] [stdout] running 36 tests
[INFO] [stdout] test agent::tests::load_history_and_tool_choice_are_applied ... ok
[INFO] [stdout] test agent::tests::query_returns_no_tool_response ... ok
[INFO] [stdout] test agent::tests::dependency_override_is_used_for_tool_execution ... ok
[INFO] [stdout] test agent::tests::hidden_user_prompt_is_emitted_once ... ok
[INFO] [stdout] test agent::tests::done_tool_stops_immediately ... ok
[INFO] [stdout] test agent::tests::query_stream_emits_message_and_step_events ... ok
[INFO] [stdout] test llm::anthropic::tests::normalize_response_extracts_tool_calls_and_text ... ok
[INFO] [stdout] test llm::anthropic::tests::normalize_response_handles_thinking_without_text ... ok
[INFO] [stdout] test llm::anthropic::tests::normalize_stream_event_maps_deltas ... ok
[INFO] [stdout] test agent::tests::max_iterations_error_when_tool_loop_never_finishes ... ok
[INFO] [stdout] test agent::tests::require_done_mode_keeps_looping_until_max_iterations ... ok
[INFO] [stdout] test agent::tests::tool_error_emits_error_result_and_step_error ... ok
[INFO] [stdout] test agent::tests::retries_request_errors_then_succeeds ... ok
[INFO] [stdout] test llm::anthropic::tests::to_anthropic_messages_serializes_tool_result ... ok
[INFO] [stdout] test llm::google::tests::build_request_adds_fallback_content_for_empty_user_message ... ok
[INFO] [stdout] test llm::google::tests::normalize_response_extracts_text_thinking_tool_calls_and_usage ... ok
[INFO] [stdout] test llm::google::tests::build_request_serializes_messages_tools_and_tool_choice ... ok
[INFO] [stdout] test llm::google::tests::normalize_response_requires_candidates ... ok
[INFO] [stdout] test llm::grok::tests::build_request_inserts_fallback_and_drops_orphan_tool_messages ... ok
[INFO] [stdout] test llm::google::tests::clean_gemini_schema_handles_circular_refs_without_recursing_forever ... ok
[INFO] [stdout] test llm::grok::tests::build_request_inserts_fallback_when_first_message_is_assistant ... ok
[INFO] [stdout] test llm::grok::tests::normalize_response_extracts_text_thinking_tool_calls_and_usage ... ok
[INFO] [stdout] test llm::grok::tests::build_request_serializes_messages_tools_and_tool_choice ... ok
[INFO] [stdout] test llm::grok::tests::normalize_response_requires_choices ... ok
[INFO] [stdout] test llm::grok::tests::normalize_response_fails_on_invalid_tool_arguments ... ok
[INFO] [stdout] test llm::grok::tests::normalize_response_prefers_top_level_reasoning_tokens ... ok
[INFO] [stdout] test llm::google::tests::clean_gemini_schema_handles_unresolved_ref_and_legacy_definitions ... ok
[INFO] [stdout] test llm::google::tests::clean_gemini_schema_resolves_refs_and_handles_empty_objects ... ok
[INFO] [stdout] test llm::grok::tests::build_request_adds_fallback_content_for_empty_user_message ... ok
[INFO] [stdout] test tools::tests::schema_validation_rejects_non_object_root ... ok
[INFO] [stdout] test tools::tests::dependency_overrides_win ... ok
[INFO] [stdout] test tools::tests::argument_validation_reports_missing_required ... ok
[INFO] [stdout] test tools::claude_code::tests::path_resolution_blocks_escape ... ok
[INFO] [stdout] test tools::claude_code::tests::read_write_edit_roundtrip ... ok
[INFO] [stdout] test tools::claude_code::tests::todo_and_search_tools_work ... ok
[INFO] [stdout] test llm::anthropic::tests::normalize_stream_event_extracts_tool_call_start ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests agent_sdk_rs
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - (line 41) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 64) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 27) - compile ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.19s; merged doctests compilation took 1.17s
[INFO] running `Command { std: "docker" "inspect" "dbfcf4ff659a7fe330c56e00d2fd3de956d440906bc4b7c3feee8e5c098d1339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbfcf4ff659a7fe330c56e00d2fd3de956d440906bc4b7c3feee8e5c098d1339", kill_on_drop: false }`
[INFO] [stdout] dbfcf4ff659a7fe330c56e00d2fd3de956d440906bc4b7c3feee8e5c098d1339
