[INFO] fetching crate claude-sdk-rs 1.0.2... [INFO] testing claude-sdk-rs-1.0.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate claude-sdk-rs 1.0.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate claude-sdk-rs 1.0.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate claude-sdk-rs 1.0.2 [INFO] tweaked toml for crates.io crate claude-sdk-rs 1.0.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate claude-sdk-rs 1.0.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate claude-sdk-rs 1.0.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v6.0.3 [INFO] [stderr] Downloaded deadpool v0.10.0 [INFO] [stderr] Downloaded clap_complete v4.5.54 [INFO] [stderr] Downloaded directories v5.0.1 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded windows-registry v0.5.2 [INFO] [stderr] Downloaded wiremock v0.6.4 [INFO] [stderr] Downloaded insta v1.43.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76e6dde729225f4e772d366dbcf561c00cc4045b9fc475c83df9de12e7f655d7 [INFO] running `Command { std: "docker" "start" "-a" "76e6dde729225f4e772d366dbcf561c00cc4045b9fc475c83df9de12e7f655d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76e6dde729225f4e772d366dbcf561c00cc4045b9fc475c83df9de12e7f655d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e6dde729225f4e772d366dbcf561c00cc4045b9fc475c83df9de12e7f655d7", kill_on_drop: false }` [INFO] [stdout] 76e6dde729225f4e772d366dbcf561c00cc4045b9fc475c83df9de12e7f655d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fa59193121fad9a535ea056bb3169f7392cdd844b90a338fa8e3ca5adf437ca [INFO] running `Command { std: "docker" "start" "-a" "0fa59193121fad9a535ea056bb3169f7392cdd844b90a338fa8e3ca5adf437ca", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling claude-sdk-rs v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `avg_connection_duration` is never read [INFO] [stdout] --> src/runtime/recovery.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct StreamHealthMetrics { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | avg_connection_duration: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamHealthMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 33.31s [INFO] running `Command { std: "docker" "inspect" "0fa59193121fad9a535ea056bb3169f7392cdd844b90a338fa8e3ca5adf437ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fa59193121fad9a535ea056bb3169f7392cdd844b90a338fa8e3ca5adf437ca", kill_on_drop: false }` [INFO] [stdout] 0fa59193121fad9a535ea056bb3169f7392cdd844b90a338fa8e3ca5adf437ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b90a2086c56235a548505f289322f948ad6ddd995a8114995e03cc5d822e00b [INFO] running `Command { std: "docker" "start" "-a" "6b90a2086c56235a548505f289322f948ad6ddd995a8114995e03cc5d822e00b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling wiremock v0.6.4 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling claude-sdk-rs v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `avg_connection_duration` is never read [INFO] [stdout] --> src/runtime/recovery.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct StreamHealthMetrics { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | avg_connection_duration: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamHealthMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `avg_connection_duration` is never read [INFO] [stdout] --> src/runtime/recovery.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct StreamHealthMetrics { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | avg_connection_duration: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamHealthMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleSessionManager` is never constructed [INFO] [stdout] --> examples/02_sdk_sessions.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | struct SimpleSessionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionInfo` is never constructed [INFO] [stdout] --> examples/02_sdk_sessions.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | struct SessionInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_session`, `record_message`, and `list_sessions` are never used [INFO] [stdout] --> examples/02_sdk_sessions.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 184 | impl SimpleSessionManager { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 185 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn create_session(&mut self, description: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn record_message(&mut self, session_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn list_sessions(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.99s [INFO] running `Command { std: "docker" "inspect" "6b90a2086c56235a548505f289322f948ad6ddd995a8114995e03cc5d822e00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b90a2086c56235a548505f289322f948ad6ddd995a8114995e03cc5d822e00b", kill_on_drop: false }` [INFO] [stdout] 6b90a2086c56235a548505f289322f948ad6ddd995a8114995e03cc5d822e00b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc160a15d94883e7e8db9bbc5971b44c58dd0f7bfa32e2c9901c1434441b38b4 [INFO] running `Command { std: "docker" "start" "-a" "cc160a15d94883e7e8db9bbc5971b44c58dd0f7bfa32e2c9901c1434441b38b4", kill_on_drop: false }` [INFO] [stderr] warning: field `avg_connection_duration` is never read [INFO] [stderr] --> src/runtime/recovery.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 30 | struct StreamHealthMetrics { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 36 | avg_connection_duration: RwLock, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StreamHealthMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `claude-sdk-rs` (lib) generated 1 warning [INFO] [stderr] warning: `claude-sdk-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: struct `SimpleSessionManager` is never constructed [INFO] [stderr] --> examples/02_sdk_sessions.rs:174:8 [INFO] [stderr] | [INFO] [stderr] 174 | struct SimpleSessionManager { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `SessionInfo` is never constructed [INFO] [stderr] --> examples/02_sdk_sessions.rs:178:8 [INFO] [stderr] | [INFO] [stderr] 178 | struct SessionInfo { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `create_session`, `record_message`, and `list_sessions` are never used [INFO] [stderr] --> examples/02_sdk_sessions.rs:185:8 [INFO] [stderr] | [INFO] [stderr] 184 | impl SimpleSessionManager { [INFO] [stderr] | ------------------------- associated items in this implementation [INFO] [stderr] 185 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 191 | fn create_session(&mut self, description: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | fn record_message(&mut self, session_id: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 208 | fn list_sessions(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `claude-sdk-rs` (example "02_sdk_sessions") generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/claude_sdk_rs-a3fb85ecc26d1e9b) [INFO] [stdout] [INFO] [stdout] running 83 tests [INFO] [stdout] test core::config_test::config_builder_tests::test_builder_basic_construction ... ok [INFO] [stdout] test core::config_test::config_builder_tests::test_builder_overwrite_values ... ok [INFO] [stdout] test core::config_test::config_builder_tests::test_builder_chaining_all_options ... ok [INFO] [stdout] test core::config_test::config_builder_tests::test_builder_with_max_tokens ... ok [INFO] [stdout] test core::config_test::config_builder_tests::test_builder_with_mcp_config ... ok [INFO] [stdout] test core::config_test::config_builder_tests::test_builder_with_model ... ok [INFO] [stdout] test core::config_test::config_builder_tests::test_builder_with_stream_format ... ok [INFO] [stdout] test core::config_test::config_builder_tests::test_builder_with_system_prompt ... ok [INFO] [stdout] test core::config_test::config_builder_tests::test_builder_with_timeout_secs ... ok [INFO] [stdout] test core::config_test::config_builder_tests::test_builder_with_tools ... ok [INFO] [stdout] test core::config_test::config_cloning_tests::test_config_clone ... ok [INFO] [stdout] test core::config_test::config_cloning_tests::test_config_debug_format ... ok [INFO] [stdout] test core::config_test::config_cloning_tests::test_stream_format_clone ... ok [INFO] [stdout] test core::config_test::config_cloning_tests::test_stream_format_debug ... ok [INFO] [stdout] test core::config_test::config_defaults_tests::test_config_default_values ... ok [INFO] [stdout] test core::config_test::config_defaults_tests::test_stream_format_default ... ok [INFO] [stdout] test core::config_test::config_defaults_tests::test_stream_format_variants ... ok [INFO] [stdout] test core::config_test::config_edge_cases::test_boolean_flags ... ok [INFO] [stdout] test core::config_test::config_edge_cases::test_config_with_none_values ... ok [INFO] [stdout] test core::config_test::config_edge_cases::test_empty_string_values ... ok [INFO] [stdout] test core::config_test::config_edge_cases::test_whitespace_only_values ... ok [INFO] [stdout] test core::config_test::config_validation_edge_cases::test_config_max_values ... ok [INFO] [stdout] test core::config_test::config_validation_edge_cases::test_config_model_name_edge_cases ... ok [INFO] [stdout] test core::config_test::config_validation_edge_cases::test_config_with_invalid_timeout_zero ... ok [INFO] [stdout] test core::config_test::config_validation_edge_cases::test_config_with_conflicting_stream_formats ... ok [INFO] [stdout] test core::config_test::config_validation_edge_cases::test_config_with_invalid_tool_names ... ok [INFO] [stdout] test core::config_test::config_validation_edge_cases::test_config_with_negative_max_tokens_workaround ... ok [INFO] [stdout] test core::config_test::config_validation_tests::test_max_tokens_validation ... ok [INFO] [stdout] test core::config_test::config_validation_tests::test_timeout_validation ... ok [INFO] [stdout] test core::config_test::config_validation_edge_cases::test_config_with_invalid_mcp_path ... ok [INFO] [stdout] test core::config_test::config_validation_tests::test_valid_claude_models ... ok [INFO] [stdout] test core::config_test::config_validation_tests::test_very_large_timeout ... ok [INFO] [stdout] test core::config_test::config_validation_tests::test_zero_timeout ... ok [INFO] [stdout] test core::config_test::system_prompt_tests::test_empty_system_prompt ... ok [INFO] [stdout] test core::config_test::system_prompt_tests::test_unicode_system_prompt ... ok [INFO] [stdout] test core::config_test::system_prompt_tests::test_multiline_system_prompt ... ok [INFO] [stdout] test core::config_test::tool_configuration_tests::test_tool_name_patterns ... ok [INFO] [stdout] test core::config_test::tool_configuration_tests::test_duplicate_tools ... ok [INFO] [stdout] test core::config_test::validation_tests::test_system_prompt_too_long ... ok [INFO] [stdout] test core::config_test::validation_tests::test_timeout_validation ... ok [INFO] [stdout] test core::config_test::validation_tests::test_tool_name_validation ... ok [INFO] [stdout] test core::config_test::tool_configuration_tests::test_empty_tools_list ... ok [INFO] [stdout] test core::config_test::validation_tests::test_system_prompt_malicious_content ... ok [INFO] [stdout] test core::config_test::tool_configuration_tests::test_single_tool ... ok [INFO] [stdout] test core::config_test::tool_configuration_tests::test_multiple_tools ... ok [INFO] [stdout] test core::config_test::validation_tests::test_empty_mcp_path_validation ... ok [INFO] [stdout] test core::config_test::validation_tests::test_max_tokens_validation ... ok [INFO] [stdout] test core::config_test::system_prompt_tests::test_system_prompt_with_special_characters ... ok [INFO] [stdout] test core::config_test::validation_tests::test_edge_case_validation ... ok [INFO] [stdout] test core::config_test::system_prompt_tests::test_very_long_system_prompt ... ok [INFO] [stdout] test core::error::tests::test_error_code_ordering ... ok [INFO] [stdout] test core::config_test::validation_tests::test_validation_error_messages ... ok [INFO] [stdout] test core::error::tests::test_error_code_display ... ok [INFO] [stdout] test core::error::tests::test_error_codes ... ok [INFO] [stdout] test core::error::tests::test_is_recoverable ... ok [INFO] [stdout] test core::types::tests::test_claude_cli_response_with_optional_costs ... ok [INFO] [stdout] test core::config_test::validation_tests::test_valid_config ... ok [INFO] [stdout] test core::error::tests::test_error_messages_include_codes ... ok [INFO] [stdout] test runtime::backpressure::tests::test_backpressure_monitor ... ok [INFO] [stdout] test runtime::backpressure::tests::test_consumption_rate ... ok [INFO] [stdout] test core::error::tests::test_error_conversions ... ok [INFO] [stdout] test runtime::error_handling::tests::test_error_context_creation ... ok [INFO] [stdout] test runtime::error_handling::tests::test_retry_config_delay_calculation ... ok [INFO] [stdout] test runtime::error_handling::tests::test_retry_with_backoff_non_recoverable ... ok [INFO] [stdout] test runtime::stream_config::tests::test_default_config ... ok [INFO] [stdout] test runtime::stream_config::tests::test_builder ... ok [INFO] [stdout] test runtime::recovery::tests::test_partial_result_recovery ... ok [INFO] [stdout] test runtime::stream_config::tests::test_performance_config ... ok [INFO] [stdout] test core::config_test::property_tests::test_config_builder_with_arbitrary_numbers ... ok [INFO] [stdout] test core::config_test::property_tests::test_config_clone_consistency ... ok [INFO] [stdout] test runtime::error_handling::tests::test_process_error_details ... ok [INFO] [stdout] test runtime::error_handling::tests::test_retry_with_backoff_success ... ok [INFO] [stdout] test runtime::error_handling::tests::test_process_error_debugging_suggestions ... ok [INFO] [stdout] test core::config_test::validation_tests::test_query_validation ... ok [INFO] [stdout] test core::config_test::property_tests::test_config_builder_idempotence ... ok [INFO] [stdout] test core::config_test::property_tests::test_config_builder_with_arbitrary_strings ... ok [INFO] [stdout] test runtime::recovery::tests::test_stream_reconnection_manager ... FAILED [INFO] [stdout] test core::config_test::property_tests::test_config_builder_with_arbitrary_tools ... ok [INFO] [stdout] test runtime::recovery::tests::test_token_bucket_rate_limiter ... ok [INFO] [stdout] test runtime::recovery::tests::test_circuit_breaker ... ok [INFO] [stdout] test runtime::telemetry::tests::test_error_rate_calculation has been running for over 60 seconds [INFO] [stdout] test runtime::telemetry::tests::test_error_telemetry has been running for over 60 seconds [INFO] [stdout] test runtime::telemetry::tests::test_prometheus_export has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "cc160a15d94883e7e8db9bbc5971b44c58dd0f7bfa32e2c9901c1434441b38b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc160a15d94883e7e8db9bbc5971b44c58dd0f7bfa32e2c9901c1434441b38b4", kill_on_drop: false }` [INFO] [stdout] cc160a15d94883e7e8db9bbc5971b44c58dd0f7bfa32e2c9901c1434441b38b4