[INFO] cloning repository https://github.com/dhuseby/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/dhuseby/claude-agent-sdk-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhuseby%2Fclaude-agent-sdk-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhuseby%2Fclaude-agent-sdk-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5d9925c6499076690e1ef154fab16f896bf971c8
[INFO] checking dhuseby/claude-agent-sdk-rust against f4dd856795debe636f2ba39a900f162f5abeb7e8 for pr-160904
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhuseby%2Fclaude-agent-sdk-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dhuseby/claude-agent-sdk-rust
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/dhuseby/claude-agent-sdk-rust
[INFO] tweaked toml for git repo https://github.com/dhuseby/claude-agent-sdk-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dhuseby/claude-agent-sdk-rust on toolchain f4dd856795debe636f2ba39a900f162f5abeb7e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dhuseby/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" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking dhuseby/claude-agent-sdk-rust against f4dd856795debe636f2ba39a900f162f5abeb7e8 for pr-160904
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhuseby%2Fclaude-agent-sdk-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dhuseby/claude-agent-sdk-rust
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/dhuseby/claude-agent-sdk-rust
[INFO] tweaked toml for git repo https://github.com/dhuseby/claude-agent-sdk-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dhuseby/claude-agent-sdk-rust on toolchain f4dd856795debe636f2ba39a900f162f5abeb7e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dhuseby/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" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nu-ansi-term v0.50.1
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.20
[INFO] [stderr]   Downloaded windows-sys v0.61.1
[INFO] [stderr]   Downloaded cc v1.2.39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 29c563c104f30beefc9c8eda66cca1435279b9cfe076eec359043c807ba21ed3
[INFO] running `Command { std: "docker" "start" "29c563c104f30beefc9c8eda66cca1435279b9cfe076eec359043c807ba21ed3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29c563c104f30beefc9c8eda66cca1435279b9cfe076eec359043c807ba21ed3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "29c563c104f30beefc9c8eda66cca1435279b9cfe076eec359043c807ba21ed3" "/opt/rustwide/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29c563c104f30beefc9c8eda66cca1435279b9cfe076eec359043c807ba21ed3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "29c563c104f30beefc9c8eda66cca1435279b9cfe076eec359043c807ba21ed3" "/opt/rustwide/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking home v0.5.11
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]     Checking which v6.0.3
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking claude-agent-sdk v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stdout] warning: value assigned to `message_count` is never read
[INFO] [stdout]    --> examples/hooks_demo.rs:137:5
[INFO] [stdout]     |
[INFO] [stdout] 137 |     message_count = 0;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 146 |                     message_count += 1;
[INFO] [stdout]     |                     ------------------ `message_count` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `message_count` is never read
[INFO] [stdout]    --> examples/hooks_demo.rs:146:21
[INFO] [stdout]     |
[INFO] [stdout] 146 |                     message_count += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.37s
[INFO] running `Command { std: "docker" "inspect" "29c563c104f30beefc9c8eda66cca1435279b9cfe076eec359043c807ba21ed3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29c563c104f30beefc9c8eda66cca1435279b9cfe076eec359043c807ba21ed3", kill_on_drop: false }`
[INFO] [stdout] 29c563c104f30beefc9c8eda66cca1435279b9cfe076eec359043c807ba21ed3
