[INFO] fetching crate claude-sdk-rs 1.0.2...
[INFO] testing claude-sdk-rs-1.0.2 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate claude-sdk-rs 1.0.2 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate claude-sdk-rs 1.0.2 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e89bcf7f9b97ba824eeba5af13f77708dbf16016a2d88fabbc040a8ccc3f52a4
[INFO] running `Command { std: "docker" "start" "-a" "e89bcf7f9b97ba824eeba5af13f77708dbf16016a2d88fabbc040a8ccc3f52a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e89bcf7f9b97ba824eeba5af13f77708dbf16016a2d88fabbc040a8ccc3f52a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e89bcf7f9b97ba824eeba5af13f77708dbf16016a2d88fabbc040a8ccc3f52a4", kill_on_drop: false }`
[INFO] [stdout] e89bcf7f9b97ba824eeba5af13f77708dbf16016a2d88fabbc040a8ccc3f52a4
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5d711454cd3b2471b639f38fcc520e11f44e5785d3c54318fe04be8a5ca26a4
[INFO] running `Command { std: "docker" "start" "-a" "c5d711454cd3b2471b639f38fcc520e11f44e5785d3c54318fe04be8a5ca26a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[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 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 tokio v1.45.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[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_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[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 tokio-util v0.7.15
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling h2 v0.4.10
[INFO] [stderr]    Compiling tower-http v0.6.6
[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<Duration>,
[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 32.31s
[INFO] running `Command { std: "docker" "inspect" "c5d711454cd3b2471b639f38fcc520e11f44e5785d3c54318fe04be8a5ca26a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5d711454cd3b2471b639f38fcc520e11f44e5785d3c54318fe04be8a5ca26a4", kill_on_drop: false }`
[INFO] [stdout] c5d711454cd3b2471b639f38fcc520e11f44e5785d3c54318fe04be8a5ca26a4
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 403804c9576c7f47d5a00f399beebb5dd79a88dc9315198000b46dc2e2f1cb95
[INFO] running `Command { std: "docker" "start" "-a" "403804c9576c7f47d5a00f399beebb5dd79a88dc9315198000b46dc2e2f1cb95", 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 num-traits v0.2.19
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling clap_builder v4.5.40
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling which v6.0.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling rand_xorshift v0.4.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling plotters v0.3.7
[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 clap v4.5.40
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling proptest v1.7.0
[INFO] [stderr]    Compiling regex v1.11.1
[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 chrono v0.4.41
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[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<Duration>,
[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] [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<Duration>,
[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 `test` profile [unoptimized + debuginfo] target(s) in 44.50s
[INFO] running `Command { std: "docker" "inspect" "403804c9576c7f47d5a00f399beebb5dd79a88dc9315198000b46dc2e2f1cb95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "403804c9576c7f47d5a00f399beebb5dd79a88dc9315198000b46dc2e2f1cb95", kill_on_drop: false }`
[INFO] [stdout] 403804c9576c7f47d5a00f399beebb5dd79a88dc9315198000b46dc2e2f1cb95
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e3dc40be3ccd943e0c843856b1acf4bd88c9f198c41ed4aeefa2cbc5db383a69
[INFO] running `Command { std: "docker" "start" "-a" "e3dc40be3ccd943e0c843856b1acf4bd88c9f198c41ed4aeefa2cbc5db383a69", 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<Duration>,
[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: 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] warning: `claude-sdk-rs` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stdout] 
[INFO] [stdout] running 83 tests
[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_model ... 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_stream_format ... 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_builder_tests::test_builder_with_tools ... ok
[INFO] [stdout] test core::config_test::config_builder_tests::test_builder_basic_construction ... 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_validation_edge_cases::test_config_max_values ... ok
[INFO] [stdout] test core::config_test::config_cloning_tests::test_config_clone ... 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_mcp_path ... 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_edge_cases::test_config_with_invalid_timeout_zero ... 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_timeout_validation ... 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_tests::test_valid_claude_models ... ok
[INFO] [stdout] test core::config_test::config_builder_tests::test_builder_overwrite_values ... 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_multiline_system_prompt ... ok
[INFO] [stdout] test core::config_test::tool_configuration_tests::test_duplicate_tools ... ok
[INFO] [stdout] test core::config_test::system_prompt_tests::test_system_prompt_with_special_characters ... ok
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/claude_sdk_rs-ea865d5fd5a0c132)
[INFO] [stdout] test core::config_test::tool_configuration_tests::test_empty_tools_list ... ok
[INFO] [stdout] test core::config_test::tool_configuration_tests::test_multiple_tools ... ok
[INFO] [stdout] test core::config_test::tool_configuration_tests::test_tool_name_patterns ... ok
[INFO] [stdout] test core::config_test::system_prompt_tests::test_very_long_system_prompt ... ok
[INFO] [stdout] test core::config_test::tool_configuration_tests::test_single_tool ... ok
[INFO] [stdout] test core::config_test::config_edge_cases::test_whitespace_only_values ... ok
[INFO] [stdout] test core::config_test::system_prompt_tests::test_unicode_system_prompt ... ok
[INFO] [stdout] test core::config_test::validation_tests::test_edge_case_validation ... ok
[INFO] [stdout] test core::config_test::config_validation_tests::test_zero_timeout ... ok
[INFO] [stdout] test core::config_test::validation_tests::test_system_prompt_malicious_content ... 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::error::tests::test_error_code_display ... ok
[INFO] [stdout] test core::config_test::validation_tests::test_valid_config ... ok
[INFO] [stdout] test core::error::tests::test_error_code_ordering ... ok
[INFO] [stdout] test core::error::tests::test_error_messages_include_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::error::tests::test_error_conversions ... ok
[INFO] [stdout] test runtime::backpressure::tests::test_backpressure_monitor ... ok
[INFO] [stdout] test runtime::backpressure::tests::test_consumption_rate ... ok
[INFO] [stdout] test runtime::error_handling::tests::test_error_context_creation ... ok
[INFO] [stdout] test core::error::tests::test_error_codes ... 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 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 runtime::recovery::tests::test_partial_result_recovery ... ok
[INFO] [stdout] test core::config_test::validation_tests::test_system_prompt_too_long ... ok
[INFO] [stdout] test runtime::stream_config::tests::test_builder ... ok
[INFO] [stdout] test runtime::stream_config::tests::test_default_config ... ok
[INFO] [stdout] test runtime::stream_config::tests::test_performance_config ... ok
[INFO] [stdout] test core::config_test::validation_tests::test_validation_error_messages ... 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 core::config_test::property_tests::test_config_clone_consistency ... ok
[INFO] [stdout] test core::config_test::config_builder_tests::test_builder_with_timeout_secs ... ok
[INFO] [stdout] test runtime::error_handling::tests::test_process_error_debugging_suggestions ... ok
[INFO] [stdout] test core::config_test::config_builder_tests::test_builder_with_mcp_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_builder_idempotence ... ok
[INFO] [stdout] test core::config_test::validation_tests::test_query_validation ... 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_strings ... ok
[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" "e3dc40be3ccd943e0c843856b1acf4bd88c9f198c41ed4aeefa2cbc5db383a69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3dc40be3ccd943e0c843856b1acf4bd88c9f198c41ed4aeefa2cbc5db383a69", kill_on_drop: false }`
[INFO] [stdout] e3dc40be3ccd943e0c843856b1acf4bd88c9f198c41ed4aeefa2cbc5db383a69
