[INFO] cloning repository https://github.com/vnknowledge2014/antigravity-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/vnknowledge2014/antigravity-sdk-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvnknowledge2014%2Fantigravity-sdk-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvnknowledge2014%2Fantigravity-sdk-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 73cdc0c4a5535c24469aabb34f5731751bebd85f
[INFO] checking vnknowledge2014/antigravity-sdk-rust against master#c290daa1e5274a52e54a0f49e31bd70192abc606 for pr-133502-23
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvnknowledge2014%2Fantigravity-sdk-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vnknowledge2014/antigravity-sdk-rust
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/vnknowledge2014/antigravity-sdk-rust
[INFO] tweaked toml for git repo https://github.com/vnknowledge2014/antigravity-sdk-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vnknowledge2014/antigravity-sdk-rust on toolchain c290daa1e5274a52e54a0f49e31bd70192abc606
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vnknowledge2014/antigravity-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" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8503dd134598401dd79548eac152ad93582b45d876059cda219b62fc03a225f7
[INFO] running `Command { std: "docker" "start" "8503dd134598401dd79548eac152ad93582b45d876059cda219b62fc03a225f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8503dd134598401dd79548eac152ad93582b45d876059cda219b62fc03a225f7", 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" "8503dd134598401dd79548eac152ad93582b45d876059cda219b62fc03a225f7" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8503dd134598401dd79548eac152ad93582b45d876059cda219b62fc03a225f7", 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" "8503dd134598401dd79548eac152ad93582b45d876059cda219b62fc03a225f7" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling openssl v0.10.80
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling fixedbitset v0.5.7
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling multimap v0.10.1
[INFO] [stderr]    Compiling petgraph v0.7.1
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking ref-cast v1.0.25
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking nix v0.31.3
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking bitmaps v2.1.0
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling im v15.1.0
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]    Compiling schemars v0.8.22
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking data-encoding v2.11.0
[INFO] [stderr]    Compiling rmcp v1.7.0
[INFO] [stderr]     Checking inotify v0.10.2
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking schemars v1.2.1
[INFO] [stderr]     Checking notify-types v1.0.1
[INFO] [stderr]     Checking sized-chunks v0.6.5
[INFO] [stderr]    Compiling schemars_derive v0.8.22
[INFO] [stderr]     Checking rand_xoshiro v0.6.0
[INFO] [stderr]     Checking filetime v0.2.29
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking notify v7.0.0
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling aws-lc-sys v0.41.0
[INFO] [stderr]    Compiling openssl-sys v0.9.116
[INFO] [stderr]    Compiling prost-types v0.13.5
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking sse-stream v0.2.3
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking process-wrap v9.1.0
[INFO] [stderr]     Checking tokio-test v0.4.5
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking h2 v0.4.14
[INFO] [stderr]    Compiling prost-build v0.13.5
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]    Compiling rmcp-macros v1.7.0
[INFO] [stderr]    Compiling antigravity-sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]    Compiling aws-lc-rs v1.17.0
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rustls-platform-verifier v0.7.0
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking reqwest v0.13.3
[INFO] [stdout] warning: unused import: `BuiltinTools`
[INFO] [stdout]   --> src/agent.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 | use crate::types::{BuiltinTools, ChatResponse, Content, McpServerConfig};
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/connections/local.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 | use crate::types::{self, *};
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BuiltinTools`
[INFO] [stdout]   --> src/agent.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 | use crate::types::{BuiltinTools, ChatResponse, Content, McpServerConfig};
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/connections/local.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 | use crate::types::{self, *};
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_source` is never used
[INFO] [stdout]   --> src/connections/local.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn parse_source(s: &str) -> StepSource {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_status` is never used
[INFO] [stdout]   --> src/connections/local.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn parse_status(s: &str) -> StepStatus {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUILTIN_TOOL_FIELDS` is never used
[INFO] [stdout]   --> src/connections/local.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 | const BUILTIN_TOOL_FIELDS: &[(BuiltinTools, &str)] = &[
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_step_id` is never used
[INFO] [stdout]   --> src/connections/local.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn make_step_id(trajectory_id: &str, step_index: u32) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `state` and `handled_requests` are never read
[INFO] [stdout]    --> src/connections/local.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 139 | struct StepTracker {
[INFO] [stdout]     |        ----------- fields in this struct
[INFO] [stdout] 140 |     state: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 141 |     handled_requests: HashSet<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StepTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_state` and `mark_handled` are never used
[INFO] [stdout]    --> src/connections/local.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl StepTracker {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 145 |     fn update_state(&mut self, new_state: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn mark_handled(&mut self, request_type: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tool_call` is never read
[INFO] [stdout]    --> src/connections/local.rs:158:5
[INFO] [stdout]     |
[INFO] [stdout] 157 | struct PendingCallValue {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] 158 |     tool_call: crate::types::ToolCall,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Step`, `Idle`, `Close`, and `Error` are never constructed
[INFO] [stdout]    --> src/connections/local.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 162 | enum QueueItem {
[INFO] [stdout]     |      --------- variants in this enum
[INFO] [stdout] 163 |     Step(LocalConnectionStep),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 164 |     Idle,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 165 |     Close,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 166 |     Error(AntigravityConnectionError),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/connections/local.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub struct LocalConnection {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 175 |     cascade_id: Arc<RwLock<Option<String>>>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 176 |     reader_handle: Mutex<Option<JoinHandle<()>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 177 |     process: Mutex<Option<Child>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 178 |     disconnecting: std::sync::atomic::AtomicBool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 179 |     current_turn_context: Arc<Mutex<Option<TurnContext>>>,
[INFO] [stdout] 180 |     step_trackers: Arc<Mutex<std::collections::HashMap<(String, u32), StepTracker>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 181 |     active_subagent_ids: Arc<Mutex<std::collections::HashSet<String>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 182 |     subagent_responses: Arc<Mutex<std::collections::HashMap<String, String>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 183 |     parent_idle: Arc<std::sync::atomic::AtomicBool>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 184 |     stderr_lines: Arc<Mutex<std::collections::VecDeque<String>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 185 |     pending_builtin_tool_calls:
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `start_stderr_reader`, `handle_question_request`, `handle_tool_confirmation_request`, `handle_tool_call`, `check_tool_policy`, and `execute_and_post_process` are never used
[INFO] [stdout]    --> src/connections/local.rs:243:8
[INFO] [stdout]     |
[INFO] [stdout] 199 | impl LocalConnection {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 243 |     fn start_stderr_reader(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 260 |     async fn handle_question_request(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |     async fn handle_tool_confirmation_request(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     async fn handle_tool_call(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 323 |     async fn check_tool_policy(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 348 |     async fn execute_and_post_process(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]    --> src/connections/local.rs:542:5
[INFO] [stdout]     |
[INFO] [stdout] 541 | pub struct LocalConnectionStrategy {
[INFO] [stdout]     |            ----------------------- field in this struct
[INFO] [stdout] 542 |     config: crate::connections::config::LocalAgentConfig,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_option` is never used
[INFO] [stdout]    --> src/conversation/conversation.rs:285:4
[INFO] [stdout]     |
[INFO] [stdout] 285 | fn add_option(a: Option<i32>, b: Option<i32>) -> Option<i32> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimingHook` is never constructed
[INFO] [stdout]   --> examples/getting_started/observability.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct TimingHook {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> examples/getting_started/observability.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl TimingHook {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 33 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PreTurnHook` is never constructed
[INFO] [stdout]   --> examples/getting_started/hooks.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct PreTurnHook;
[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 `PostTurnHook` is never constructed
[INFO] [stdout]   --> examples/getting_started/hooks.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct PostTurnHook;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> examples/getting_started/custom_tools.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | /     tool_runner.register(RegisteredTool {
[INFO] [stdout] 103 | |         name: "lookup_fruit_sku".to_string(),
[INFO] [stdout] 104 | |         description: "Looks up the SKU for a given fruit.".to_string(),
[INFO] [stdout] 105 | |         schema: Some(json!({
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |         handler: Box::new(lookup_fruit_sku),
[INFO] [stdout] 113 | |     });
[INFO] [stdout]     | |______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let _ = tool_runner.register(RegisteredTool {
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> examples/getting_started/custom_tools.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 | /     tool_runner.register(RegisteredTool {
[INFO] [stdout] 119 | |         name: "record_fruit".to_string(),
[INFO] [stdout] 120 | |         description: "Records the count of fruits by SKU.".to_string(),
[INFO] [stdout] 121 | |         schema: Some(json!({
[INFO] [stdout] ...   |
[INFO] [stdout] 129 | |         handler: Box::new(handler),
[INFO] [stdout] 130 | |     });
[INFO] [stdout]     | |______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let _ = tool_runner.register(RegisteredTool {
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogPreToolHook` is never constructed
[INFO] [stdout]   --> examples/getting_started/subagents.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct LogPreToolHook;
[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 `LogPostToolHook` is never constructed
[INFO] [stdout]   --> examples/getting_started/subagents.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct LogPostToolHook;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuditPreToolHook` is never constructed
[INFO] [stdout]   --> examples/deep_dives/host_tool_hooks.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct AuditPreToolHook;
[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 `AuditPostToolHook` is never constructed
[INFO] [stdout]   --> examples/deep_dives/host_tool_hooks.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct AuditPostToolHook;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoggingMiddleware` is never constructed
[INFO] [stdout]   --> examples/deep_dives/agent_middleware.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct LoggingMiddleware;
[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 `RateLimitMiddleware` is never constructed
[INFO] [stdout]   --> examples/deep_dives/agent_middleware.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct RateLimitMiddleware {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetricsMiddleware` is never constructed
[INFO] [stdout]   --> examples/deep_dives/agent_middleware.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | struct MetricsMiddleware;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> examples/getting_started/structured_output.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | /     tool_runner.register(RegisteredTool {
[INFO] [stdout] 74 | |         name: "fetch_unstructured_meeting_notes".to_string(),
[INFO] [stdout] 75 | |         description: "Retrieves the raw unstructured notes for a given meeting ID.".to_string(),
[INFO] [stdout] 76 | |         schema: Some(json!({
[INFO] [stdout] ...  |
[INFO] [stdout] 83 | |         handler: Box::new(fetch_unstructured_meeting_notes),
[INFO] [stdout] 84 | |     });
[INFO] [stdout]    | |______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let _ = tool_runner.register(RegisteredTool {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CountingPreTurnHook` is never constructed
[INFO] [stdout]    --> tests/integration_test.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | struct CountingPreTurnHook {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_source` is never used
[INFO] [stdout]   --> src/connections/local.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn parse_source(s: &str) -> StepSource {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_status` is never used
[INFO] [stdout]   --> src/connections/local.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn parse_status(s: &str) -> StepStatus {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUILTIN_TOOL_FIELDS` is never used
[INFO] [stdout]   --> src/connections/local.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 | const BUILTIN_TOOL_FIELDS: &[(BuiltinTools, &str)] = &[
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_step_id` is never used
[INFO] [stdout]   --> src/connections/local.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn make_step_id(trajectory_id: &str, step_index: u32) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `state` and `handled_requests` are never read
[INFO] [stdout]    --> src/connections/local.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 139 | struct StepTracker {
[INFO] [stdout]     |        ----------- fields in this struct
[INFO] [stdout] 140 |     state: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 141 |     handled_requests: HashSet<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StepTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_state` and `mark_handled` are never used
[INFO] [stdout]    --> src/connections/local.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl StepTracker {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 145 |     fn update_state(&mut self, new_state: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn mark_handled(&mut self, request_type: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tool_call` is never read
[INFO] [stdout]    --> src/connections/local.rs:158:5
[INFO] [stdout]     |
[INFO] [stdout] 157 | struct PendingCallValue {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] 158 |     tool_call: crate::types::ToolCall,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Step`, `Idle`, `Close`, and `Error` are never constructed
[INFO] [stdout]    --> src/connections/local.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 162 | enum QueueItem {
[INFO] [stdout]     |      --------- variants in this enum
[INFO] [stdout] 163 |     Step(LocalConnectionStep),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 164 |     Idle,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 165 |     Close,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 166 |     Error(AntigravityConnectionError),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/connections/local.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub struct LocalConnection {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 175 |     cascade_id: Arc<RwLock<Option<String>>>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 176 |     reader_handle: Mutex<Option<JoinHandle<()>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 177 |     process: Mutex<Option<Child>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 178 |     disconnecting: std::sync::atomic::AtomicBool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 179 |     current_turn_context: Arc<Mutex<Option<TurnContext>>>,
[INFO] [stdout] 180 |     step_trackers: Arc<Mutex<std::collections::HashMap<(String, u32), StepTracker>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 181 |     active_subagent_ids: Arc<Mutex<std::collections::HashSet<String>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 182 |     subagent_responses: Arc<Mutex<std::collections::HashMap<String, String>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 183 |     parent_idle: Arc<std::sync::atomic::AtomicBool>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 184 |     stderr_lines: Arc<Mutex<std::collections::VecDeque<String>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 185 |     pending_builtin_tool_calls:
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `start_stderr_reader`, `handle_question_request`, `handle_tool_confirmation_request`, `handle_tool_call`, `check_tool_policy`, and `execute_and_post_process` are never used
[INFO] [stdout]    --> src/connections/local.rs:243:8
[INFO] [stdout]     |
[INFO] [stdout] 199 | impl LocalConnection {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 243 |     fn start_stderr_reader(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 260 |     async fn handle_question_request(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |     async fn handle_tool_confirmation_request(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     async fn handle_tool_call(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 323 |     async fn check_tool_policy(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 348 |     async fn execute_and_post_process(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]    --> src/connections/local.rs:542:5
[INFO] [stdout]     |
[INFO] [stdout] 541 | pub struct LocalConnectionStrategy {
[INFO] [stdout]     |            ----------------------- field in this struct
[INFO] [stdout] 542 |     config: crate::connections::config::LocalAgentConfig,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s
[INFO] running `Command { std: "docker" "inspect" "8503dd134598401dd79548eac152ad93582b45d876059cda219b62fc03a225f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8503dd134598401dd79548eac152ad93582b45d876059cda219b62fc03a225f7", kill_on_drop: false }`
[INFO] [stdout] 8503dd134598401dd79548eac152ad93582b45d876059cda219b62fc03a225f7
