[INFO] cloning repository https://github.com/Wally869/claude_agent_sdk_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wally869/claude_agent_sdk_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWally869%2Fclaude_agent_sdk_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWally869%2Fclaude_agent_sdk_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e2a913a5ee5a5c54270955dc4cd1aef99788dda6
[INFO] testing Wally869/claude_agent_sdk_rust against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWally869%2Fclaude_agent_sdk_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Wally869/claude_agent_sdk_rust
[INFO] finished tweaking git repo https://github.com/Wally869/claude_agent_sdk_rust
[INFO] tweaked toml for git repo https://github.com/Wally869/claude_agent_sdk_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Wally869/claude_agent_sdk_rust on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Wally869/claude_agent_sdk_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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7458b3fdaa443891631e3d6ae51d1b4e8683e0aaf77f12f32ad7dcb31158d3d1
[INFO] running `Command { std: "docker" "start" "-a" "7458b3fdaa443891631e3d6ae51d1b4e8683e0aaf77f12f32ad7dcb31158d3d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7458b3fdaa443891631e3d6ae51d1b4e8683e0aaf77f12f32ad7dcb31158d3d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7458b3fdaa443891631e3d6ae51d1b4e8683e0aaf77f12f32ad7dcb31158d3d1", kill_on_drop: false }`
[INFO] [stdout] 7458b3fdaa443891631e3d6ae51d1b4e8683e0aaf77f12f32ad7dcb31158d3d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b75ea88741aa711333ba856f459c3b4e64ce1628a47e55dd8bf65cde57c24713
[INFO] running `Command { std: "docker" "start" "-a" "b75ea88741aa711333ba856f459c3b4e64ce1628a47e55dd8bf65cde57c24713", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling which v6.0.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling typed-builder-macro v0.18.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling typed-builder v0.18.2
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.24
[INFO] [stderr]    Compiling claude-agent-sdk v1.0.0-rc.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `hook_callbacks` and `can_use_tool_callback` are never read
[INFO] [stdout]    --> src/query.rs:421:5
[INFO] [stdout]     |
[INFO] [stdout] 413 | pub struct QueryHandle {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 421 |     hook_callbacks: Arc<HashMap<String, Arc<HookCallbackFn>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 424 |     can_use_tool_callback: Arc<Option<Arc<CanUseToolFn>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.80s
[INFO] running `Command { std: "docker" "inspect" "b75ea88741aa711333ba856f459c3b4e64ce1628a47e55dd8bf65cde57c24713", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b75ea88741aa711333ba856f459c3b4e64ce1628a47e55dd8bf65cde57c24713", kill_on_drop: false }`
[INFO] [stdout] b75ea88741aa711333ba856f459c3b4e64ce1628a47e55dd8bf65cde57c24713
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98d5371b63b7058f1441837516a1172a3b5cab8bdcfd7d99384cf017f5345134
[INFO] running `Command { std: "docker" "start" "-a" "98d5371b63b7058f1441837516a1172a3b5cab8bdcfd7d99384cf017f5345134", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.24
[INFO] [stderr]    Compiling claude-agent-sdk v1.0.0-rc.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `hook_callbacks` and `can_use_tool_callback` are never read
[INFO] [stdout]    --> src/query.rs:421:5
[INFO] [stdout]     |
[INFO] [stdout] 413 | pub struct QueryHandle {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 421 |     hook_callbacks: Arc<HashMap<String, Arc<HookCallbackFn>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 424 |     can_use_tool_callback: Arc<Option<Arc<CanUseToolFn>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hook_callbacks` and `can_use_tool_callback` are never read
[INFO] [stdout]    --> src/query.rs:421:5
[INFO] [stdout]     |
[INFO] [stdout] 413 | pub struct QueryHandle {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 421 |     hook_callbacks: Arc<HashMap<String, Arc<HookCallbackFn>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 424 |     can_use_tool_callback: Arc<Option<Arc<CanUseToolFn>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 31.74s
[INFO] running `Command { std: "docker" "inspect" "98d5371b63b7058f1441837516a1172a3b5cab8bdcfd7d99384cf017f5345134", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98d5371b63b7058f1441837516a1172a3b5cab8bdcfd7d99384cf017f5345134", kill_on_drop: false }`
[INFO] [stdout] 98d5371b63b7058f1441837516a1172a3b5cab8bdcfd7d99384cf017f5345134
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 215819071f3d575deee4587552223534fb056592d359498b0d6ef2f072db6648
[INFO] running `Command { std: "docker" "start" "-a" "215819071f3d575deee4587552223534fb056592d359498b0d6ef2f072db6648", kill_on_drop: false }`
[INFO] [stderr] warning: fields `hook_callbacks` and `can_use_tool_callback` are never read
[INFO] [stderr]    --> src/query.rs:421:5
[INFO] [stderr]     |
[INFO] [stderr] 413 | pub struct QueryHandle {
[INFO] [stderr]     |            ----------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 421 |     hook_callbacks: Arc<HashMap<String, Arc<HookCallbackFn>>>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 424 |     can_use_tool_callback: Arc<Option<Arc<CanUseToolFn>>>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `claude-agent-sdk` (lib) generated 1 warning
[INFO] [stderr] warning: `claude-agent-sdk` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/claude_agent_sdk-c7027985ff155f23)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test query::tests::test_hook_output_field_conversion ... ok
[INFO] [stdout] test parser::tests::test_parse_result_message ... ok
[INFO] [stdout] test callbacks::tests::test_hook_helpers ... ok
[INFO] [stdout] test parser::tests::test_parse_assistant_message ... ok
[INFO] [stdout] test callbacks::tests::test_permission_helpers ... ok
[INFO] [stdout] test types::usage::tests::test_is_above_threshold ... ok
[INFO] [stdout] test types::usage::tests::test_is_approaching_limit ... ok
[INFO] [stdout] test types::usage::tests::test_max_utilization ... ok
[INFO] [stdout] test types::usage::tests::test_is_at_limit ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-c40202efb806b178)
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test test_client_connect_disconnect ... ignored
[INFO] [stdout] test test_client_query_and_response ... ignored
[INFO] [stdout] test test_hook_callback ... ignored
[INFO] [stdout] test test_interrupt ... ignored
[INFO] [stdout] test test_max_turns_limit ... ignored
[INFO] [stdout] test test_model_selection ... ignored
[INFO] [stdout] test test_multiple_queries ... ignored
[INFO] [stdout] test test_permission_callback ... ignored
[INFO] [stdout] test test_permission_mode_bypass ... ignored
[INFO] [stdout] test test_query_with_options ... ignored
[INFO] [stdout] test test_simple_query ... ignored
[INFO] [stdout] test test_system_prompt ... ignored
[INFO] [stdout] test test_tool_filtering ... ignored
[INFO] [stdout] test test_error_cli_not_found ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 13 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_pretooluse_hook.rs (/opt/rustwide/target/debug/deps/test_pretooluse_hook-7dc3ef22f938c3a1)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_pretooluse_hook_blocks_execution ... ignored
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests claude_agent_sdk
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::get_usage (line 737) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::receive_response (line 440) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient (line 33) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::new (line 91) - compile ... ok
[INFO] [stdout] test src/callbacks.rs - callbacks::PermissionCallback (line 83) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::query (line 360) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::interrupt (line 514) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::connect (line 279) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::set_permission_callback (line 186) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::receive_messages (line 390) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::set_permission_mode (line 543) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::set_model (line 572) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::is_connected (line 660) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::disconnect (line 630) - compile ... ok
[INFO] [stdout] test src/callbacks.rs - callbacks::HookCallback (line 24) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::get_session_id (line 682) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::register_hook (line 125) - compile ... ok
[INFO] [stdout] test src/client.rs - client::ClaudeSDKClient::get_server_info (line 600) - compile ... ok
[INFO] [stdout] test src/lib.rs - query (line 69) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 7) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/client.rs - client::ClaudeSDKClient::receive_response (line 440) stdout ----
[INFO] [stdout] error[E0277]: `{async block@ClaudeSDKClient::receive_response::{closure#0}}` cannot be unpinned
[INFO] [stdout]    --> src/client.rs:450:32
[INFO] [stdout]     |
[INFO] [stdout]  12 | while let Some(msg) = messages.next().await {
[INFO] [stdout]     |                                ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@ClaudeSDKClient::receive_response::{closure#0}}`
[INFO] [stdout]     = note: consider using the `pin!` macro
[INFO] [stdout]             consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | / pin_project! {
[INFO] [stdout]  10 | |     #[doc(hidden)]
[INFO] [stdout]  11 | |     #[derive(Debug)]
[INFO] [stdout]  12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...   |
[INFO] [stdout]  18 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/client.rs:462:46
[INFO] [stdout]     |
[INFO] [stdout] 462 |     pub fn receive_response(&self) -> Result<impl Stream<Item = Result<Message>> + '_> {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `futures::StreamExt::next`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/mod.rs:275:15
[INFO] [stdout]     |
[INFO] [stdout] 273 |     fn next(&mut self) -> Next<'_, Self>
[INFO] [stdout]     |        ---- required by a bound in this associated function
[INFO] [stdout] 274 |     where
[INFO] [stdout] 275 |         Self: Unpin,
[INFO] [stdout]     |               ^^^^^ required by this bound in `StreamExt::next`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestZpR7oa/rust_out.long-type-14475302247192280196.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `{async block@ClaudeSDKClient::receive_response::{closure#0}}` cannot be unpinned
[INFO] [stdout]    --> src/client.rs:450:39
[INFO] [stdout]     |
[INFO] [stdout]  12 | while let Some(msg) = messages.next().await {
[INFO] [stdout]     |                                       ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@ClaudeSDKClient::receive_response::{closure#0}}`
[INFO] [stdout]     = note: consider using the `pin!` macro
[INFO] [stdout]             consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | / pin_project! {
[INFO] [stdout]  10 | |     #[doc(hidden)]
[INFO] [stdout]  11 | |     #[derive(Debug)]
[INFO] [stdout]  12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...   |
[INFO] [stdout]  18 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/client.rs:462:46
[INFO] [stdout]     |
[INFO] [stdout] 462 |     pub fn receive_response(&self) -> Result<impl Stream<Item = Result<Message>> + '_> {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_>` to implement `futures::Future`
[INFO] [stdout]     = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_>` to implement `std::future::IntoFuture`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestZpR7oa/rust_out.long-type-3012860828803732713.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]     |
[INFO] [stdout]  12 - while let Some(msg) = messages.next().await {
[INFO] [stdout]  12 + while let Some(msg) = messages.next() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::ClaudeSDKClient (line 33) stdout ----
[INFO] [stdout] error[E0277]: `{async block@ClaudeSDKClient::receive_response::{closure#0}}` cannot be unpinned
[INFO] [stdout]    --> src/client.rs:51:36
[INFO] [stdout]     |
[INFO] [stdout]  20 |     while let Some(msg) = messages.next().await {
[INFO] [stdout]     |                                    ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@ClaudeSDKClient::receive_response::{closure#0}}`
[INFO] [stdout]     = note: consider using the `pin!` macro
[INFO] [stdout]             consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | / pin_project! {
[INFO] [stdout]  10 | |     #[doc(hidden)]
[INFO] [stdout]  11 | |     #[derive(Debug)]
[INFO] [stdout]  12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...   |
[INFO] [stdout]  18 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/client.rs:462:46
[INFO] [stdout]     |
[INFO] [stdout] 462 |     pub fn receive_response(&self) -> Result<impl Stream<Item = Result<Message>> + '_> {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `futures::StreamExt::next`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/mod.rs:275:15
[INFO] [stdout]     |
[INFO] [stdout] 273 |     fn next(&mut self) -> Next<'_, Self>
[INFO] [stdout]     |        ---- required by a bound in this associated function
[INFO] [stdout] 274 |     where
[INFO] [stdout] 275 |         Self: Unpin,
[INFO] [stdout]     |               ^^^^^ required by this bound in `StreamExt::next`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestjA9gMB/rust_out.long-type-3407878125450425498.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `{async block@ClaudeSDKClient::receive_response::{closure#0}}` cannot be unpinned
[INFO] [stdout]    --> src/client.rs:51:43
[INFO] [stdout]     |
[INFO] [stdout]  20 |     while let Some(msg) = messages.next().await {
[INFO] [stdout]     |                                           ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@ClaudeSDKClient::receive_response::{closure#0}}`
[INFO] [stdout]     = note: consider using the `pin!` macro
[INFO] [stdout]             consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | / pin_project! {
[INFO] [stdout]  10 | |     #[doc(hidden)]
[INFO] [stdout]  11 | |     #[derive(Debug)]
[INFO] [stdout]  12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...   |
[INFO] [stdout]  18 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/client.rs:462:46
[INFO] [stdout]     |
[INFO] [stdout] 462 |     pub fn receive_response(&self) -> Result<impl Stream<Item = Result<Message>> + '_> {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_>` to implement `futures::Future`
[INFO] [stdout]     = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_>` to implement `std::future::IntoFuture`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestjA9gMB/rust_out.long-type-3161252193512750718.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]     |
[INFO] [stdout]  20 -     while let Some(msg) = messages.next().await {
[INFO] [stdout]  20 +     while let Some(msg) = messages.next() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::ClaudeSDKClient::receive_messages (line 390) stdout ----
[INFO] [stdout] error[E0277]: `{async block@ClaudeSDKClient::receive_messages::{closure#0}}` cannot be unpinned
[INFO] [stdout]    --> src/client.rs:399:32
[INFO] [stdout]     |
[INFO] [stdout]  11 | while let Some(msg) = messages.next().await {
[INFO] [stdout]     |                                ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@ClaudeSDKClient::receive_messages::{closure#0}}`
[INFO] [stdout]     = note: consider using the `pin!` macro
[INFO] [stdout]             consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | / pin_project! {
[INFO] [stdout]  10 | |     #[doc(hidden)]
[INFO] [stdout]  11 | |     #[derive(Debug)]
[INFO] [stdout]  12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...   |
[INFO] [stdout]  18 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/client.rs:404:46
[INFO] [stdout]     |
[INFO] [stdout] 404 |     pub fn receive_messages(&self) -> Result<impl Stream<Item = Result<Message>> + '_> {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `futures::StreamExt::next`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/mod.rs:275:15
[INFO] [stdout]     |
[INFO] [stdout] 273 |     fn next(&mut self) -> Next<'_, Self>
[INFO] [stdout]     |        ---- required by a bound in this associated function
[INFO] [stdout] 274 |     where
[INFO] [stdout] 275 |         Self: Unpin,
[INFO] [stdout]     |               ^^^^^ required by this bound in `StreamExt::next`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestv4Kpd8/rust_out.long-type-7548082377499055123.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `{async block@ClaudeSDKClient::receive_messages::{closure#0}}` cannot be unpinned
[INFO] [stdout]    --> src/client.rs:399:39
[INFO] [stdout]     |
[INFO] [stdout]  11 | while let Some(msg) = messages.next().await {
[INFO] [stdout]     |                                       ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@ClaudeSDKClient::receive_messages::{closure#0}}`
[INFO] [stdout]     = note: consider using the `pin!` macro
[INFO] [stdout]             consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | / pin_project! {
[INFO] [stdout]  10 | |     #[doc(hidden)]
[INFO] [stdout]  11 | |     #[derive(Debug)]
[INFO] [stdout]  12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...   |
[INFO] [stdout]  18 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/client.rs:404:46
[INFO] [stdout]     |
[INFO] [stdout] 404 |     pub fn receive_messages(&self) -> Result<impl Stream<Item = Result<Message>> + '_> {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_>` to implement `futures::Future`
[INFO] [stdout]     = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_>` to implement `std::future::IntoFuture`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestv4Kpd8/rust_out.long-type-10248364998396552476.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]     |
[INFO] [stdout]  11 - while let Some(msg) = messages.next().await {
[INFO] [stdout]  11 + while let Some(msg) = messages.next() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::ClaudeSDKClient::get_session_id (line 682) stdout ----
[INFO] [stdout] error[E0277]: `{async block@ClaudeSDKClient::receive_messages::{closure#0}}` cannot be unpinned
[INFO] [stdout]    --> src/client.rs:693:32
[INFO] [stdout]     |
[INFO] [stdout]  13 | while let Some(msg) = messages.next().await {
[INFO] [stdout]     |                                ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@ClaudeSDKClient::receive_messages::{closure#0}}`
[INFO] [stdout]     = note: consider using the `pin!` macro
[INFO] [stdout]             consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | / pin_project! {
[INFO] [stdout]  10 | |     #[doc(hidden)]
[INFO] [stdout]  11 | |     #[derive(Debug)]
[INFO] [stdout]  12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...   |
[INFO] [stdout]  18 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/client.rs:404:46
[INFO] [stdout]     |
[INFO] [stdout] 404 |     pub fn receive_messages(&self) -> Result<impl Stream<Item = Result<Message>> + '_> {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `futures::StreamExt::next`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/mod.rs:275:15
[INFO] [stdout]     |
[INFO] [stdout] 273 |     fn next(&mut self) -> Next<'_, Self>
[INFO] [stdout]     |        ---- required by a bound in this associated function
[INFO] [stdout] 274 |     where
[INFO] [stdout] 275 |         Self: Unpin,
[INFO] [stdout]     |               ^^^^^ required by this bound in `StreamExt::next`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestc6I31M/rust_out.long-type-3675345246985774955.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `{async block@ClaudeSDKClient::receive_messages::{closure#0}}` cannot be unpinned
[INFO] [stdout]    --> src/client.rs:693:39
[INFO] [stdout]     |
[INFO] [stdout]  13 | while let Some(msg) = messages.next().await {
[INFO] [stdout]     |                                       ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@ClaudeSDKClient::receive_messages::{closure#0}}`
[INFO] [stdout]     = note: consider using the `pin!` macro
[INFO] [stdout]             consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | / pin_project! {
[INFO] [stdout]  10 | |     #[doc(hidden)]
[INFO] [stdout]  11 | |     #[derive(Debug)]
[INFO] [stdout]  12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...   |
[INFO] [stdout]  18 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/client.rs:404:46
[INFO] [stdout]     |
[INFO] [stdout] 404 |     pub fn receive_messages(&self) -> Result<impl Stream<Item = Result<Message>> + '_> {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_>` to implement `futures::Future`
[INFO] [stdout]     = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>> + '_>` to implement `std::future::IntoFuture`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestc6I31M/rust_out.long-type-18399502955378129299.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]     |
[INFO] [stdout]  13 - while let Some(msg) = messages.next().await {
[INFO] [stdout]  13 + while let Some(msg) = messages.next() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - query (line 69) stdout ----
[INFO] [stdout] error[E0277]: `{async block@query<&str>::{closure#0}::{closure#0}}` cannot be unpinned
[INFO] [stdout]    --> src/lib.rs:78:36
[INFO] [stdout]     |
[INFO] [stdout]  11 |     while let Some(msg) = messages.next().await {
[INFO] [stdout]     |                                    ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@query<&str>::{closure#0}::{closure#0}}`
[INFO] [stdout]     = note: consider using the `pin!` macro
[INFO] [stdout]             consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | / pin_project! {
[INFO] [stdout]  10 | |     #[doc(hidden)]
[INFO] [stdout]  11 | |     #[derive(Debug)]
[INFO] [stdout]  12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...   |
[INFO] [stdout]  18 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>>`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:87:13
[INFO] [stdout]     |
[INFO] [stdout]  87 | ) -> Result<impl Stream<Item = Result<Message>>> {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `futures::StreamExt::next`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/mod.rs:275:15
[INFO] [stdout]     |
[INFO] [stdout] 273 |     fn next(&mut self) -> Next<'_, Self>
[INFO] [stdout]     |        ---- required by a bound in this associated function
[INFO] [stdout] 274 |     where
[INFO] [stdout] 275 |         Self: Unpin,
[INFO] [stdout]     |               ^^^^^ required by this bound in `StreamExt::next`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestcLQPnx/rust_out.long-type-7392812283320495669.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `{async block@query<&str>::{closure#0}::{closure#0}}` cannot be unpinned
[INFO] [stdout]   --> src/lib.rs:78:43
[INFO] [stdout]    |
[INFO] [stdout] 11 |     while let Some(msg) = messages.next().await {
[INFO] [stdout]    |                                           ^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@query<&str>::{closure#0}::{closure#0}}`
[INFO] [stdout]    = note: consider using the `pin!` macro
[INFO] [stdout]            consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | / pin_project! {
[INFO] [stdout] 10 | |     #[doc(hidden)]
[INFO] [stdout] 11 | |     #[derive(Debug)]
[INFO] [stdout] 12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>>`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 | ) -> Result<impl Stream<Item = Result<Message>>> {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>>>` to implement `futures::Future`
[INFO] [stdout]    = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>>>` to implement `std::future::IntoFuture`
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctestcLQPnx/rust_out.long-type-7517276497720924941.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 11 -     while let Some(msg) = messages.next().await {
[INFO] [stdout] 11 +     while let Some(msg) = messages.next() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 7) stdout ----
[INFO] [stdout] error[E0277]: `{async block@query<&str>::{closure#0}::{closure#0}}` cannot be unpinned
[INFO] [stdout]    --> src/lib.rs:16:36
[INFO] [stdout]     |
[INFO] [stdout]  11 |     while let Some(msg) = messages.next().await {
[INFO] [stdout]     |                                    ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@query<&str>::{closure#0}::{closure#0}}`
[INFO] [stdout]     = note: consider using the `pin!` macro
[INFO] [stdout]             consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | / pin_project! {
[INFO] [stdout]  10 | |     #[doc(hidden)]
[INFO] [stdout]  11 | |     #[derive(Debug)]
[INFO] [stdout]  12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...   |
[INFO] [stdout]  18 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>>`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:87:13
[INFO] [stdout]     |
[INFO] [stdout]  87 | ) -> Result<impl Stream<Item = Result<Message>>> {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `futures::StreamExt::next`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/mod.rs:275:15
[INFO] [stdout]     |
[INFO] [stdout] 273 |     fn next(&mut self) -> Next<'_, Self>
[INFO] [stdout]     |        ---- required by a bound in this associated function
[INFO] [stdout] 274 |     where
[INFO] [stdout] 275 |         Self: Unpin,
[INFO] [stdout]     |               ^^^^^ required by this bound in `StreamExt::next`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestAD8Vze/rust_out.long-type-979490384425192057.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `{async block@query<&str>::{closure#0}::{closure#0}}` cannot be unpinned
[INFO] [stdout]   --> src/lib.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 11 |     while let Some(msg) = messages.next().await {
[INFO] [stdout]    |                                           ^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`, the trait `Unpin` is not implemented for `{async block@query<&str>::{closure#0}::{closure#0}}`
[INFO] [stdout]    = note: consider using the `pin!` macro
[INFO] [stdout]            consider using `Box::pin` if you need to access the pinned value outside of the current scope
[INFO] [stdout] note: required because it appears within the type `__Origin<'_, Result<Message, ClaudeSDKError>, ...>`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.6/src/async_stream.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | / pin_project! {
[INFO] [stdout] 10 | |     #[doc(hidden)]
[INFO] [stdout] 11 | |     #[derive(Debug)]
[INFO] [stdout] 12 | |     pub struct AsyncStream<T, U> {
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: required for `AsyncStream<Result<Message, ClaudeSDKError>, ...>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `impl Stream<Item = std::result::Result<Message, ClaudeSDKError>>`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 | ) -> Result<impl Stream<Item = Result<Message>>> {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>>>` to implement `futures::Future`
[INFO] [stdout]    = note: required for `Next<'_, impl Stream<Item = std::result::Result<Message, ClaudeSDKError>>>` to implement `std::future::IntoFuture`
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctestAD8Vze/rust_out.long-type-16298186274380909679.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 11 -     while let Some(msg) = messages.next().await {
[INFO] [stdout] 11 +     while let Some(msg) = messages.next() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client.rs - client::ClaudeSDKClient (line 33)
[INFO] [stdout]     src/client.rs - client::ClaudeSDKClient::get_session_id (line 682)
[INFO] [stdout]     src/client.rs - client::ClaudeSDKClient::receive_messages (line 390)
[INFO] [stdout]     src/client.rs - client::ClaudeSDKClient::receive_response (line 440)
[INFO] [stdout]     src/lib.rs - (line 7)
[INFO] [stdout]     src/lib.rs - query (line 69)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 14 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "215819071f3d575deee4587552223534fb056592d359498b0d6ef2f072db6648", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "215819071f3d575deee4587552223534fb056592d359498b0d6ef2f072db6648", kill_on_drop: false }`
[INFO] [stdout] 215819071f3d575deee4587552223534fb056592d359498b0d6ef2f072db6648
