[INFO] fetching crate cc-sdk 0.1.11... [INFO] building cc-sdk-0.1.11 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate cc-sdk 0.1.11 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate cc-sdk 0.1.11 [INFO] finished tweaking crates.io crate cc-sdk 0.1.11 [INFO] tweaked toml for crates.io crate cc-sdk 0.1.11 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cc-sdk 0.1.11 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cc-sdk 0.1.11 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v6.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ce875e358e8068a926038d6d2a8ee09c202a8b5997591272aeaa88cfa11812f [INFO] running `Command { std: "docker" "start" "-a" "7ce875e358e8068a926038d6d2a8ee09c202a8b5997591272aeaa88cfa11812f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ce875e358e8068a926038d6d2a8ee09c202a8b5997591272aeaa88cfa11812f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ce875e358e8068a926038d6d2a8ee09c202a8b5997591272aeaa88cfa11812f", kill_on_drop: false }` [INFO] [stdout] 7ce875e358e8068a926038d6d2a8ee09c202a8b5997591272aeaa88cfa11812f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8656cee269d31381f461e6433944775eaf6aee202cb46bc61fd7a28342cce7c8 [INFO] running `Command { std: "docker" "start" "-a" "8656cee269d31381f461e6433944775eaf6aee202cb46bc61fd7a28342cce7c8", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling cc-sdk v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `is_streaming_mode`, `message_tx`, `message_rx`, and `callback_counter` are never read [INFO] [stdout] --> src/internal_query.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Query { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | is_streaming_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | message_tx: mpsc::Sender>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | /// Message channel receiver [INFO] [stdout] 38 | message_rx: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | callback_counter: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_permission_request`, `handle_hook_callback`, `stream_input`, `receive_messages`, `handle_mcp_message`, and `close` are never used [INFO] [stdout] --> src/internal_query.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 47 | impl Query { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | async fn handle_permission_request(&mut self, request: SDKControlPermissionRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | async fn handle_hook_callback(&mut self, request: SDKHookCallbackRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub async fn stream_input(&mut self, input_stream: S) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub async fn receive_messages(&mut self) -> mpsc::Receiver> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | async fn handle_mcp_message(&mut self, server_name: &str, message: &JsonValue) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub async fn close(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `receive_sdk_control_request` is never used [INFO] [stdout] --> src/transport/subprocess.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 48 | impl SubprocessTransport { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn receive_sdk_control_request(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.52s [INFO] running `Command { std: "docker" "inspect" "8656cee269d31381f461e6433944775eaf6aee202cb46bc61fd7a28342cce7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8656cee269d31381f461e6433944775eaf6aee202cb46bc61fd7a28342cce7c8", kill_on_drop: false }` [INFO] [stdout] 8656cee269d31381f461e6433944775eaf6aee202cb46bc61fd7a28342cce7c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdf4ed7669be5ca41ec24db0799859d846af0a6ee41a21eeb624b801abb775f1 [INFO] running `Command { std: "docker" "start" "-a" "fdf4ed7669be5ca41ec24db0799859d846af0a6ee41a21eeb624b801abb775f1", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling cc-sdk v0.1.11 (/opt/rustwide/workdir) [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stdout] warning: fields `is_streaming_mode`, `message_tx`, `message_rx`, and `callback_counter` are never read [INFO] [stdout] --> src/internal_query.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Query { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | is_streaming_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | message_tx: mpsc::Sender>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | /// Message channel receiver [INFO] [stdout] 38 | message_rx: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | callback_counter: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_permission_request`, `handle_hook_callback`, `stream_input`, `receive_messages`, `handle_mcp_message`, and `close` are never used [INFO] [stdout] --> src/internal_query.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 47 | impl Query { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | async fn handle_permission_request(&mut self, request: SDKControlPermissionRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | async fn handle_hook_callback(&mut self, request: SDKHookCallbackRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub async fn stream_input(&mut self, input_stream: S) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub async fn receive_messages(&mut self) -> mpsc::Receiver> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | async fn handle_mcp_message(&mut self, server_name: &str, message: &JsonValue) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub async fn close(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `receive_sdk_control_request` is never used [INFO] [stdout] --> src/transport/subprocess.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 48 | impl SubprocessTransport { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn receive_sdk_control_request(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_streaming_mode`, `message_tx`, `message_rx`, and `callback_counter` are never read [INFO] [stdout] --> src/internal_query.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Query { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | is_streaming_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | message_tx: mpsc::Sender>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | /// Message channel receiver [INFO] [stdout] 38 | message_rx: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | callback_counter: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_permission_request`, `handle_hook_callback`, `stream_input`, `receive_messages`, `handle_mcp_message`, and `close` are never used [INFO] [stdout] --> src/internal_query.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 47 | impl Query { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | async fn handle_permission_request(&mut self, request: SDKControlPermissionRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | async fn handle_hook_callback(&mut self, request: SDKHookCallbackRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub async fn stream_input(&mut self, input_stream: S) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub async fn receive_messages(&mut self) -> mpsc::Receiver> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | async fn handle_mcp_message(&mut self, server_name: &str, message: &JsonValue) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub async fn close(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `receive_sdk_control_request` is never used [INFO] [stdout] --> src/transport/subprocess.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 48 | impl SubprocessTransport { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn receive_sdk_control_request(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.22s [INFO] running `Command { std: "docker" "inspect" "fdf4ed7669be5ca41ec24db0799859d846af0a6ee41a21eeb624b801abb775f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdf4ed7669be5ca41ec24db0799859d846af0a6ee41a21eeb624b801abb775f1", kill_on_drop: false }` [INFO] [stdout] fdf4ed7669be5ca41ec24db0799859d846af0a6ee41a21eeb624b801abb775f1