[INFO] fetching crate gemini-cli-sdk 0.1.0... [INFO] testing gemini-cli-sdk-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate gemini-cli-sdk 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate gemini-cli-sdk 0.1.0 [INFO] finished tweaking crates.io crate gemini-cli-sdk 0.1.0 [INFO] tweaked toml for crates.io crate gemini-cli-sdk 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gemini-cli-sdk 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gemini-cli-sdk 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-builder-macro v0.20.1 [INFO] [stderr] Downloaded typed-builder v0.20.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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2fdb77e1d6431c117028473a3442c315a7ce380767d21a89e5ac3eee3ea3dbc [INFO] running `Command { std: "docker" "start" "-a" "f2fdb77e1d6431c117028473a3442c315a7ce380767d21a89e5ac3eee3ea3dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2fdb77e1d6431c117028473a3442c315a7ce380767d21a89e5ac3eee3ea3dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2fdb77e1d6431c117028473a3442c315a7ce380767d21a89e5ac3eee3ea3dbc", kill_on_drop: false }` [INFO] [stdout] f2fdb77e1d6431c117028473a3442c315a7ce380767d21a89e5ac3eee3ea3dbc [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71fc8c81ce7f0f33d0b82ff00d98b112c9bfe0019ddb3ce26987bf67e049d65c [INFO] running `Command { std: "docker" "start" "-a" "71fc8c81ce7f0f33d0b82ff00d98b112c9bfe0019ddb3ce26987bf67e049d65c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling which v7.0.3 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling typed-builder-macro v0.20.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling typed-builder v0.20.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling gemini-cli-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discovery.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut candidates = vec![ [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.42s [INFO] running `Command { std: "docker" "inspect" "71fc8c81ce7f0f33d0b82ff00d98b112c9bfe0019ddb3ce26987bf67e049d65c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71fc8c81ce7f0f33d0b82ff00d98b112c9bfe0019ddb3ce26987bf67e049d65c", kill_on_drop: false }` [INFO] [stdout] 71fc8c81ce7f0f33d0b82ff00d98b112c9bfe0019ddb3ce26987bf67e049d65c [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c436db5eee63485c8b80acfbc5dc16dfd6be5b22c7bb82b657b7841a0f1a583 [INFO] running `Command { std: "docker" "start" "-a" "6c436db5eee63485c8b80acfbc5dc16dfd6be5b22c7bb82b657b7841a0f1a583", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling gemini-cli-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discovery.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut candidates = vec![ [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discovery.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut candidates = vec![ [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.70s [INFO] running `Command { std: "docker" "inspect" "6c436db5eee63485c8b80acfbc5dc16dfd6be5b22c7bb82b657b7841a0f1a583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c436db5eee63485c8b80acfbc5dc16dfd6be5b22c7bb82b657b7841a0f1a583", kill_on_drop: false }` [INFO] [stdout] 6c436db5eee63485c8b80acfbc5dc16dfd6be5b22c7bb82b657b7841a0f1a583 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5c2e9ad9caf74d07bcdda636e8f4c826dc719e8f48e8069165568607e3c0d714 [INFO] running `Command { std: "docker" "start" "-a" "5c2e9ad9caf74d07bcdda636e8f4c826dc719e8f48e8069165568607e3c0d714", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/discovery.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let mut candidates = vec![ [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `gemini-cli-sdk` (lib) generated 1 warning (run `cargo fix --lib -p gemini-cli-sdk` to apply 1 suggestion) [INFO] [stderr] warning: `gemini-cli-sdk` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gemini_cli_sdk-aba80a48be8e4e3b) [INFO] [stdout] [INFO] [stdout] running 176 tests [INFO] [stdout] test callback::tests::test_callback_is_send_sync ... ok [INFO] [stdout] test callback::tests::test_sync_callback_receives_multiple_messages ... ok [INFO] [stdout] test callback::tests::test_tracing_callback_does_not_panic ... ok [INFO] [stdout] test callback::tests::test_tracing_callback_error_result_does_not_panic ... ok [INFO] [stdout] test client::tests::test_client_double_connect_error ... ok [INFO] [stdout] test callback::tests::test_callback_is_cloneable ... ok [INFO] [stdout] test callback::tests::test_sync_callback_receives_message ... ok [INFO] [stdout] test client::tests::test_client_is_connected_default ... ok [INFO] [stdout] test client::tests::test_client_interrupt_before_connect ... ok [INFO] [stdout] test client::tests::test_client_prompt_accessor ... ok [INFO] [stdout] test client::tests::test_client_not_connected_error ... ok [INFO] [stdout] test client::tests::test_client_session_id ... ok [INFO] [stdout] test client::tests::test_client_send_content_not_connected ... ok [INFO] [stdout] test config::tests::test_auth_method_partial_eq ... ok [INFO] [stdout] test config::tests::test_auth_method_serde_roundtrip ... ok [INFO] [stdout] test config::tests::test_config_builder_minimal ... ok [INFO] [stdout] test config::tests::test_config_builder_with_model ... ok [INFO] [stdout] test config::tests::test_permission_mode_debug ... ok [INFO] [stdout] test config::tests::test_default_timeouts ... ok [INFO] [stdout] test config::tests::test_permission_mode_default ... ok [INFO] [stdout] test config::tests::test_to_cli_args_accept_edits ... ok [INFO] [stdout] test config::tests::test_to_cli_args_allowed_tools ... ok [INFO] [stdout] test config::tests::test_to_cli_args_always_has_acp_flag ... ok [INFO] [stdout] test config::tests::test_to_cli_args_disallowed_tools ... ok [INFO] [stdout] test config::tests::test_to_cli_args_empty_tool_lists_omitted ... ok [INFO] [stdout] test config::tests::test_to_cli_args_extra ... ok [INFO] [stdout] test config::tests::test_to_cli_args_extra_btreemap_ordering ... ok [INFO] [stdout] test config::tests::test_to_cli_args_max_turns ... ok [INFO] [stdout] test config::tests::test_to_cli_args_plan_mode ... ok [INFO] [stdout] test config::tests::test_to_cli_args_sandbox ... ok [INFO] [stdout] test config::tests::test_to_cli_args_default ... ok [INFO] [stdout] test config::tests::test_to_cli_args_bypass ... ok [INFO] [stdout] test config::tests::test_to_cli_args_sandbox_false_omitted ... ok [INFO] [stdout] test config::tests::test_to_cli_args_system_prompt_file ... ok [INFO] [stdout] test config::tests::test_to_cli_args_verbose ... ok [INFO] [stdout] test config::tests::test_to_cli_args_system_prompt_text ... ok [INFO] [stdout] test config::tests::test_to_cli_args_verbose_false_omitted ... ok [INFO] [stdout] test config::tests::test_to_cli_args_with_model ... ok [INFO] [stdout] test discovery::tests::test_parse_version_output_invalid ... ok [INFO] [stdout] test discovery::tests::test_parse_version_output_nightly ... ok [INFO] [stdout] test discovery::tests::test_parse_version_output_prefixed ... ok [INFO] [stdout] test discovery::tests::test_parse_version_output_simple ... ok [INFO] [stdout] test discovery::tests::test_version_satisfies_equal ... ok [INFO] [stdout] test discovery::tests::test_version_satisfies_higher ... ok [INFO] [stdout] test discovery::tests::test_version_satisfies_invalid ... ok [INFO] [stdout] test discovery::tests::test_version_satisfies_lower ... ok [INFO] [stdout] test errors::tests::test_error_display ... ok [INFO] [stdout] test errors::tests::test_error_helpers ... ok [INFO] [stdout] test errors::tests::test_error_helpers_is_process_exit ... ok [INFO] [stdout] test errors::tests::test_from_io_error ... ok [INFO] [stdout] test errors::tests::test_from_json_error ... ok [INFO] [stdout] test errors::tests::test_spawn_failed_source_chain ... ok [INFO] [stdout] test hooks::tests::test_execute_hooks_glob_filter ... ok [INFO] [stdout] test hooks::tests::test_execute_hooks_matching ... ok [INFO] [stdout] test hooks::tests::test_execute_hooks_skip_advances ... ok [INFO] [stdout] test hooks::tests::test_execute_hooks_no_match ... ok [INFO] [stdout] test hooks::tests::test_execute_hooks_tool_name_filter ... ok [INFO] [stdout] test hooks::tests::test_hook_event_is_supported ... ok [INFO] [stdout] test hooks::tests::test_tool_name_exact_match ... ok [INFO] [stdout] test hooks::tests::test_execute_hooks_wrong_event ... ok [INFO] [stdout] test jsonrpc::tests::test_classify_invalid ... ok [INFO] [stdout] test hooks::tests::test_tool_name_glob_match ... ok [INFO] [stdout] test jsonrpc::tests::test_classify_notification ... ok [INFO] [stdout] test jsonrpc::tests::test_classify_request ... ok [INFO] [stdout] test jsonrpc::tests::test_request_roundtrip ... ok [INFO] [stdout] test jsonrpc::tests::test_id_display ... ok [INFO] [stdout] test jsonrpc::tests::test_response_into_result_error ... ok [INFO] [stdout] test jsonrpc::tests::test_response_into_result_success ... ok [INFO] [stdout] test mcp::tests::test_mcp_config_new ... ok [INFO] [stdout] test mcp::tests::test_mcp_config_with_args ... ok [INFO] [stdout] test mcp::tests::test_mcp_servers_to_wire_empty ... ok [INFO] [stdout] test permissions::tests::test_permission_decision_allow ... ok [INFO] [stdout] test mcp::tests::test_mcp_servers_to_wire_with_entries ... ok [INFO] [stdout] test permissions::tests::test_permission_decision_allow_with_input ... ok [INFO] [stdout] test permissions::tests::test_permission_decision_deny ... ok [INFO] [stdout] test permissions::tests::test_permission_decision_deny_interrupt ... ok [INFO] [stdout] test permissions::tests::test_permission_handler_allow ... ok [INFO] [stdout] test permissions::tests::test_permission_handler_allow_with_updated_input ... ok [INFO] [stdout] test hooks::tests::test_execute_hooks_timeout ... ok [INFO] [stdout] test permissions::tests::test_permission_handler_deny ... ok [INFO] [stdout] test permissions::tests::test_permission_handler_parse_error ... ok [INFO] [stdout] test translate::tests::test_prompt_to_wire ... ok [INFO] [stdout] test translate::tests::test_reset_turn ... ok [INFO] [stdout] test translate::tests::test_translate_image_content_block ... ok [INFO] [stdout] test translate::tests::test_translate_image_defaults_mime_type ... ok [INFO] [stdout] test translate::tests::test_translate_message_chunk_accumulates ... ok [INFO] [stdout] test translate::tests::test_translate_plan ... ok [INFO] [stdout] test jsonrpc::tests::test_classify_response ... ok [INFO] [stdout] test translate::tests::test_translate_resource_link ... ok [INFO] [stdout] test translate::tests::test_translate_resource_link_missing_fields_use_defaults ... ok [INFO] [stdout] test translate::tests::test_translate_tool_call_emits_stream_event ... ok [INFO] [stdout] test translate::tests::test_translate_resource_type ... ok [INFO] [stdout] test translate::tests::test_translate_session_info_update ... ok [INFO] [stdout] test translate::tests::test_translate_tool_call_failed_sets_is_error ... ok [INFO] [stdout] test mcp::tests::test_mcp_config_serde_roundtrip ... ok [INFO] [stdout] test translate::tests::test_translate_thought_chunk_accumulates ... ok [INFO] [stdout] test translate::tests::test_translate_text_content_block ... ok [INFO] [stdout] test permissions::tests::test_permission_handler_allow_with_empty_options_returns_cancelled ... ok [INFO] [stdout] test translate::tests::test_translate_unknown_session_update ... ok [INFO] [stdout] test translate::tests::test_translate_tool_call_update_completed_emits_three_messages ... ok [INFO] [stdout] test translate::tests::test_translate_tool_call_update_intermediate_emits_one_message ... ok [INFO] [stdout] test translate::tests::test_translate_unknown_content_type ... ok [INFO] [stdout] test translate::tests::test_user_content_to_wire_image_url ... ok [INFO] [stdout] test translate::tests::test_translate_usage_update ... ok [INFO] [stdout] test translate::tests::test_translate_user_message_chunk ... ok [INFO] [stdout] test transport::tests::test_end_input_clears_stdin ... ok [INFO] [stdout] test translate::tests::test_user_content_to_wire_image_base64 ... ok [INFO] [stdout] test translate::tests::test_user_content_to_wire_text ... ok [INFO] [stdout] test transport::tests::test_is_not_ready_before_connect ... ok [INFO] [stdout] test transport::tests::test_next_id_increments_monotonically ... ok [INFO] [stdout] test transport::tests::test_read_messages_yields_sent_items ... ok [INFO] [stdout] test transport::tests::test_route_response_resolves_pending_request ... ok [INFO] [stdout] test transport::tests::test_route_response_unknown_id_does_not_panic ... ok [INFO] [stdout] test transport::tests::test_next_id_starts_at_one ... ok [INFO] [stdout] test transport::tests::test_read_messages_second_call_returns_empty_stream ... ok [INFO] [stdout] test transport::tests::test_transport_new_does_not_panic ... ok [INFO] [stdout] test transport::tests::test_write_returns_not_connected_when_stdin_absent ... ok [INFO] [stdout] test types::content::tests::test_content_block_text_serde_roundtrip ... ok [INFO] [stdout] test types::content::tests::test_content_block_as_text_some ... ok [INFO] [stdout] test types::content::tests::test_content_block_is_thinking ... ok [INFO] [stdout] test transport::tests::test_take_message_tx_is_reentrant ... ok [INFO] [stdout] test types::content::tests::test_content_block_tool_use_serde_roundtrip ... ok [INFO] [stdout] test transport::tests::test_take_message_tx_returns_sender ... ok [INFO] [stdout] test types::content::tests::test_content_block_as_text_none ... ok [INFO] [stdout] test types::content::tests::test_text_block_new ... ok [INFO] [stdout] test types::content::tests::test_thinking_block_new ... ok [INFO] [stdout] test types::content::tests::test_user_content_text ... ok [INFO] [stdout] test types::messages::tests::test_message_assistant_text_empty ... ok [INFO] [stdout] test types::messages::tests::test_message_assistant_text_multiple_blocks_concatenated ... ok [INFO] [stdout] test types::messages::tests::test_message_assistant_text_single ... ok [INFO] [stdout] test types::messages::tests::test_message_assistant_text_non_assistant_variant ... ok [INFO] [stdout] test types::messages::tests::test_message_is_error_result_true ... ok [INFO] [stdout] test types::messages::tests::test_message_is_error_result_false ... ok [INFO] [stdout] test types::messages::tests::test_message_is_stream_event ... ok [INFO] [stdout] test types::messages::tests::test_message_assistant_text_non_text_blocks_only ... ok [INFO] [stdout] test types::messages::tests::test_message_is_stream_event_false_for_system ... ok [INFO] [stdout] test types::messages::tests::test_message_is_error_result_non_result_variant ... ok [INFO] [stdout] test types::messages::tests::test_message_serde_roundtrip_result ... ok [INFO] [stdout] test types::messages::tests::test_message_serde_roundtrip_system ... ok [INFO] [stdout] test types::content::tests::test_user_content_image_base64 ... ok [INFO] [stdout] test types::messages::tests::test_message_serde_roundtrip_stream_event ... ok [INFO] [stdout] test types::messages::tests::test_message_result_session_id ... ok [INFO] [stdout] test types::content::tests::test_user_content_image_url ... ok [INFO] [stdout] test types::messages::tests::test_message_system_session_id ... ok [INFO] [stdout] test types::messages::tests::test_usage_default ... ok [INFO] [stdout] test types::messages::tests::test_plan_entry_defaults ... ok [INFO] [stdout] test types::messages::tests::test_message_stream_event_session_id ... ok [INFO] [stdout] test types::messages::tests::test_usage_thought_tokens_roundtrip ... ok [INFO] [stdout] test types::messages::tests::test_plan_entry_roundtrip ... ok [INFO] [stdout] test wire::capabilities::tests::test_agent_capabilities_defaults ... ok [INFO] [stdout] test wire::capabilities::tests::test_agent_capabilities_roundtrip ... ok [INFO] [stdout] test wire::capabilities::tests::test_client_capabilities_roundtrip_with_extra ... ok [INFO] [stdout] test wire::capabilities::tests::test_empty_client_capabilities_serializes_to_empty_object ... ok [INFO] [stdout] test wire::content::tests::test_wire_content_block_default_is_empty ... ok [INFO] [stdout] test wire::content::tests::test_wire_content_block_text ... ok [INFO] [stdout] test wire::content::tests::test_wire_content_block_unknown_type_preserved ... ok [INFO] [stdout] test wire::methods::tests::test_permission_response_cancelled_omits_option_id ... ok [INFO] [stdout] test wire::methods::tests::test_permission_request_roundtrip ... ok [INFO] [stdout] test wire::methods::tests::test_permission_response_selected ... ok [INFO] [stdout] test wire::methods::tests::test_permission_response_interrupt_none_omitted ... ok [INFO] [stdout] test wire::content::tests::test_wire_content_block_image ... ok [INFO] [stdout] test wire::methods::tests::test_session_prompt_params_roundtrip ... ok [INFO] [stdout] test wire::methods::tests::test_permission_response_interrupt_true_serialized ... ok [INFO] [stdout] test wire::methods::tests::test_initialize_params_roundtrip ... ok [INFO] [stdout] test wire::methods::tests::test_initialize_result_extra_fields_preserved ... ok [INFO] [stdout] test wire::session::tests::test_nested_format_real_cli_shape ... ok [INFO] [stdout] test wire::session::tests::test_parse_agent_message_chunk ... ok [INFO] [stdout] test wire::session::tests::test_parse_gracefully_handles_missing_content_field ... ok [INFO] [stdout] test wire::session::tests::test_parse_plan ... ok [INFO] [stdout] test wire::session::tests::test_legacy_flat_format_still_works ... ok [INFO] [stdout] test wire::session::tests::test_parse_thought_chunk ... ok [INFO] [stdout] test wire::session::tests::test_parse_unknown ... ok [INFO] [stdout] test wire::session::tests::test_parse_usage_update ... ok [INFO] [stdout] test wire::session::tests::test_parse_tool_call_update ... ok [INFO] [stdout] test wire::session::tests::test_parse_tool_call ... ok [INFO] [stderr] Doc-tests gemini_cli_sdk [INFO] [stdout] test wire::session::tests::test_parse_session_info_update ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 176 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test src/config.rs - config::ClientConfig (line 47) - compile ... ok [INFO] [stdout] test src/client.rs - client (line 19) - compile ... ok [INFO] [stdout] test src/callback.rs - callback::sync_callback (line 68) ... ok [INFO] [stdout] test src/discovery.rs - discovery::check_cli_version (line 82) - compile ... ok [INFO] [stdout] test src/discovery.rs - discovery::find_cli (line 24) - compile ... ok [INFO] [stdout] test src/discovery.rs - discovery::version_satisfies (line 146) ... ok [INFO] [stdout] test src/config.rs - config::ClientConfig::to_cli_args (line 220) ... ok [INFO] [stdout] test src/callback.rs - callback::tracing_callback (line 98) ... ok [INFO] [stdout] test src/config.rs - config (line 8) - compile ... ok [INFO] [stdout] test src/errors.rs - errors::Error::is_process_exit (line 116) ... ok [INFO] [stdout] test src/errors.rs - errors::Error::is_auth_error (line 155) ... ok [INFO] [stdout] test src/lib.rs - (line 11) - compile ... ok [INFO] [stdout] test src/lib.rs - query (line 130) - compile ... ok [INFO] [stdout] test src/lib.rs - query_stream_with_content (line 255) - compile ... ok [INFO] [stdout] test src/lib.rs - query_with_content (line 161) - compile ... ok [INFO] [stdout] test src/mcp.rs - mcp::McpServerConfig (line 24) ... ok [INFO] [stdout] test src/lib.rs - query_stream (line 217) - compile ... ok [INFO] [stdout] test src/errors.rs - errors::Error::is_jsonrpc_error (line 171) ... ok [INFO] [stdout] test src/callback.rs - callback (line 20) ... ok [INFO] [stdout] test src/lib.rs - client_prompt (line 320) ... ok [INFO] [stdout] test src/types/content.rs - types::content::UserContent::image_base64 (line 201) ... ok [INFO] [stdout] test src/lib.rs - (line 26) - compile ... ok [INFO] [stdout] test src/mcp.rs - mcp::McpServerConfig::with_args (line 82) ... ok [INFO] [stdout] test src/errors.rs - errors::Error::is_retriable (line 137) ... ok [INFO] [stdout] test src/types/messages.rs - types::messages::Message (line 24) ... ignored [INFO] [stdout] test src/types/content.rs - types::content::ContentBlock::is_thinking (line 41) ... ok [INFO] [stdout] test src/permissions.rs - permissions::CanUseToolCallback (line 107) ... ok [INFO] [stdout] test src/types/content.rs - types::content::UserContent::text (line 188) ... ok [INFO] [stdout] test src/types/content.rs - types::content::ContentBlock::as_text (line 24) ... ok [INFO] [stdout] test src/types/content.rs - types::content::UserContent::image_url (line 219) ... ok [INFO] [stdout] test src/mcp.rs - mcp::McpServerConfig::new (line 59) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.25s; merged doctests compilation took 1.22s [INFO] running `Command { std: "docker" "inspect" "5c2e9ad9caf74d07bcdda636e8f4c826dc719e8f48e8069165568607e3c0d714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2e9ad9caf74d07bcdda636e8f4c826dc719e8f48e8069165568607e3c0d714", kill_on_drop: false }` [INFO] [stdout] 5c2e9ad9caf74d07bcdda636e8f4c826dc719e8f48e8069165568607e3c0d714