[INFO] cloning repository https://github.com/vorise/zai
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vorise/zai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvorise%2Fzai", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvorise%2Fzai'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4bc58510be2f5232e0ed81ffc40f83ad0c3a250b
[INFO] checking vorise/zai against 1.95.0-beta.7 for beta-1.95-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvorise%2Fzai" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vorise/zai
[INFO] finished tweaking git repo https://github.com/vorise/zai
[INFO] tweaked toml for git repo https://github.com/vorise/zai written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vorise/zai on toolchain 1.95.0-beta.7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vorise/zai 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" "+1.95.0-beta.7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 51fd5cc7e93cd1c0545ee0f00453ff637299323342933e36e1ef2739ddcfae88
[INFO] running `Command { std: "docker" "start" "-a" "51fd5cc7e93cd1c0545ee0f00453ff637299323342933e36e1ef2739ddcfae88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51fd5cc7e93cd1c0545ee0f00453ff637299323342933e36e1ef2739ddcfae88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51fd5cc7e93cd1c0545ee0f00453ff637299323342933e36e1ef2739ddcfae88", kill_on_drop: false }`
[INFO] [stdout] 51fd5cc7e93cd1c0545ee0f00453ff637299323342933e36e1ef2739ddcfae88
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e4d5afac1d581130882f9397e3c198d33606a2d69f495af586a084487f32e10
[INFO] running `Command { std: "docker" "start" "-a" "7e4d5afac1d581130882f9397e3c198d33606a2d69f495af586a084487f32e10", kill_on_drop: false }`
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling zerocopy v0.8.47
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rustls-pki-types v1.14.0
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking unicode-segmentation v1.13.1
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]    Compiling instability v0.3.12
[INFO] [stderr]    Compiling pest v2.8.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking num-conv v0.2.1
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking winnow v0.7.15
[INFO] [stderr]     Checking data-encoding v2.10.0
[INFO] [stderr]     Checking pxfm v0.1.28
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking time-core v0.1.8
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking webpki-roots v1.0.6
[INFO] [stderr]     Checking quick-xml v0.38.4
[INFO] [stderr]    Compiling pest_meta v2.8.6
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]    Compiling pulldown-cmark v0.12.2
[INFO] [stderr]     Checking iri-string v0.7.11
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking unicode-truncate v1.1.0
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking getopts v0.2.24
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking uuid v1.22.0
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking moxcms v0.8.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling pest_generator v2.8.6
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling pest_derive v2.8.6
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking rustls-webpki v0.103.10
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking onig v6.5.1
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking image v0.25.10
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking ratatui v0.29.0
[INFO] [stderr]     Checking clap v4.6.0
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking plist v1.8.0
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking syntect v5.3.0
[INFO] [stderr]     Checking qrcode v0.14.1
[INFO] [stderr]     Checking tokio-test v0.4.5
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking zai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `debug` and `error`
[INFO] [stdout]   --> src/llm/openai.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{debug, error};
[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 imports: `debug` and `error`
[INFO] [stdout]   --> src/llm/ollama.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{debug, error};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AppError`
[INFO] [stdout]  --> src/agent/plan.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::utils::{AppError, Result};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Message` and `StreamChunk`
[INFO] [stdout]  --> src/agent/react.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::llm::{LlmClient, types::{ChatRequest, Message, ToolDefinition, FunctionDefinition, StreamChunk}};
[INFO] [stdout]   |                                                  ^^^^^^^                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/agent/react.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/agent/react.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/agent/subagent.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{error, info, warn};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compute_diff`
[INFO] [stdout]  --> src/tools/file.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::utils::{AppError, Result, diff::{compute_diff, generate_unified_diff}};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `format_insights`
[INFO] [stdout]  --> src/tui/commands.rs:6:82
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::utils::{Result, Scheduler, SessionManager, RemoteServer, TeamManager, format_insights, LspServer};
[INFO] [stdout]   |                                                                                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Clear`, `Constraint`, `Direction`, `Layout`, `Line`, `Paragraph`, `Span`, and `Text`
[INFO] [stdout]  --> src/tui/completion.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     layout::{Constraint, Direction, Layout, Rect},
[INFO] [stdout]   |              ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 7 |     style::{Color, Modifier, Style},
[INFO] [stdout] 8 |     text::{Line, Span, Text},
[INFO] [stdout]   |            ^^^^  ^^^^  ^^^^
[INFO] [stdout] 9 |     widgets::{Block, Borders, Clear, List, ListItem, Paragraph},
[INFO] [stdout]   |                               ^^^^^                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StatusIndicator`
[INFO] [stdout]  --> src/tui/ui.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::tui::widgets::{Spinner, SpinnerStyle, StatusIndicator};
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Margin`, `ScrollbarOrientation`, and `Scrollbar`
[INFO] [stdout]   --> src/tui/ui.rs:8:45
[INFO] [stdout]    |
[INFO] [stdout]  8 |     layout::{Constraint, Direction, Layout, Margin, Rect},
[INFO] [stdout]    |                                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     widgets::{Block, Borders, Clear, Paragraph, Scrollbar, ScrollbarOrientation, Wrap},
[INFO] [stdout]    |                                                 ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `error`
[INFO] [stdout]   --> src/llm/openai.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{debug, error};
[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 imports: `debug` and `error`
[INFO] [stdout]   --> src/llm/ollama.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{debug, error};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/utils/diff.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AppError`
[INFO] [stdout]  --> src/agent/plan.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::utils::{AppError, Result};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Message` and `StreamChunk`
[INFO] [stdout]  --> src/agent/react.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::llm::{LlmClient, types::{ChatRequest, Message, ToolDefinition, FunctionDefinition, StreamChunk}};
[INFO] [stdout]   |                                                  ^^^^^^^                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/agent/react.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/agent/react.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/agent/subagent.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{error, info, warn};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ToolCall` and `ToolResult`
[INFO] [stdout]  --> src/utils/plugin.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::tools::{ToolCall, ToolResult, ToolHandler};
[INFO] [stdout]   |                    ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compute_diff`
[INFO] [stdout]  --> src/tools/file.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::utils::{AppError, Result, diff::{compute_diff, generate_unified_diff}};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `format_insights`
[INFO] [stdout]  --> src/tui/commands.rs:6:82
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::utils::{Result, Scheduler, SessionManager, RemoteServer, TeamManager, format_insights, LspServer};
[INFO] [stdout]   |                                                                                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Clear`, `Constraint`, `Direction`, `Layout`, `Line`, `Paragraph`, `Span`, and `Text`
[INFO] [stdout]  --> src/tui/completion.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     layout::{Constraint, Direction, Layout, Rect},
[INFO] [stdout]   |              ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 7 |     style::{Color, Modifier, Style},
[INFO] [stdout] 8 |     text::{Line, Span, Text},
[INFO] [stdout]   |            ^^^^  ^^^^  ^^^^
[INFO] [stdout] 9 |     widgets::{Block, Borders, Clear, List, ListItem, Paragraph},
[INFO] [stdout]   |                               ^^^^^                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StatusIndicator`
[INFO] [stdout]  --> src/tui/ui.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::tui::widgets::{Spinner, SpinnerStyle, StatusIndicator};
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/utils/mod.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub use cost::*;
[INFO] [stdout]    |         ^^^^^^^ the name `DailyStats` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 31 | pub use team::*;
[INFO] [stdout]    |         ------- but the name `DailyStats` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Margin`, `ScrollbarOrientation`, and `Scrollbar`
[INFO] [stdout]   --> src/tui/ui.rs:8:45
[INFO] [stdout]    |
[INFO] [stdout]  8 |     layout::{Constraint, Direction, Layout, Margin, Rect},
[INFO] [stdout]    |                                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     widgets::{Block, Borders, Clear, Paragraph, Scrollbar, ScrollbarOrientation, Wrap},
[INFO] [stdout]    |                                                 ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/mcp/server.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{error, info};
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/utils/diff.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ToolCall` and `ToolResult`
[INFO] [stdout]  --> src/utils/plugin.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::tools::{ToolCall, ToolResult, ToolHandler};
[INFO] [stdout]   |                    ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/utils/mod.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub use cost::*;
[INFO] [stdout]    |         ^^^^^^^ the name `DailyStats` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 31 | pub use team::*;
[INFO] [stdout]    |         ------- but the name `DailyStats` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/mcp/server.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{error, info};
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/agent/react.rs:189:17
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut iterations = 0;
[INFO] [stdout]     |                 ----^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/agent/react.rs:189:17
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut iterations = 0;
[INFO] [stdout]     |                 ----^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_iterations`
[INFO] [stdout]    --> src/agent/react.rs:185:13
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let max_iterations = self.max_iterations;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_iterations`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_iterations`
[INFO] [stdout]    --> src/agent/react.rs:185:13
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let max_iterations = self.max_iterations;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_iterations`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/agent/subagent.rs:350:35
[INFO] [stdout]     |
[INFO] [stdout] 350 |         agents.get(agent_id).map(|a| {
[INFO] [stdout]     |                                   ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agent`
[INFO] [stdout]    --> src/agent/subagent.rs:361:18
[INFO] [stdout]     |
[INFO] [stdout] 361 |         for (id, agent) in agents.iter() {
[INFO] [stdout]     |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_agent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/agent/subagent.rs:350:35
[INFO] [stdout]     |
[INFO] [stdout] 350 |         agents.get(agent_id).map(|a| {
[INFO] [stdout]     |                                   ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agent`
[INFO] [stdout]    --> src/agent/subagent.rs:361:18
[INFO] [stdout]     |
[INFO] [stdout] 361 |         for (id, agent) in agents.iter() {
[INFO] [stdout]     |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_agent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tools/types.rs:559:13
[INFO] [stdout]     |
[INFO] [stdout] 559 |         let mut registry = ToolRegistry::new();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tool`
[INFO] [stdout]    --> src/tools/types.rs:560:13
[INFO] [stdout]     |
[INFO] [stdout] 560 |         let tool = Tool {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_tool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tool_ratio`
[INFO] [stdout]    --> src/utils/team.rs:434:17
[INFO] [stdout]     |
[INFO] [stdout] 434 |             let tool_ratio = stats.tool_usage.values().sum::<u64>() as f64 / total_sessions as f64;
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tool_ratio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tool_ratio`
[INFO] [stdout]    --> src/utils/team.rs:434:17
[INFO] [stdout]     |
[INFO] [stdout] 434 |             let tool_ratio = stats.tool_usage.values().sum::<u64>() as f64 / total_sessions as f64;
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tool_ratio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `area`
[INFO] [stdout]    --> src/tui/completion.rs:272:5
[INFO] [stdout]     |
[INFO] [stdout] 272 |     area: Rect,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_area`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `area`
[INFO] [stdout]    --> src/tui/completion.rs:272:5
[INFO] [stdout]     |
[INFO] [stdout] 272 |     area: Rect,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_area`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `task_id_clone`
[INFO] [stdout]    --> src/utils/agent_manager.rs:348:13
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let task_id_clone = task.task_id.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id_clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `task_id_clone`
[INFO] [stdout]    --> src/utils/agent_manager.rs:348:13
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let task_id_clone = task.task_id.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id_clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context_lines`
[INFO] [stdout]    --> src/utils/diff.rs:185:43
[INFO] [stdout]     |
[INFO] [stdout] 185 | fn add_context(diff_lines: Vec<DiffLine>, context_lines: usize) -> Vec<DiffLine> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context_lines`
[INFO] [stdout]    --> src/utils/diff.rs:185:43
[INFO] [stdout]     |
[INFO] [stdout] 185 | fn add_context(diff_lines: Vec<DiffLine>, context_lines: usize) -> Vec<DiffLine> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/utils/diff.rs:285:80
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub fn generate_unified_diff(path: &str, old_content: &str, new_content: &str, context: usize) -> String {
[INFO] [stdout]     |                                                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/utils/diff.rs:285:80
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub fn generate_unified_diff(path: &str, old_content: &str, new_content: &str, context: usize) -> String {
[INFO] [stdout]     |                                                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/utils/lsp.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |     let mut lines = header_str.lines();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/utils/lsp.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |     let mut lines = header_str.lines();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content_block` is never read
[INFO] [stdout]    --> src/llm/mod.rs:266:5
[INFO] [stdout]     |
[INFO] [stdout] 262 | struct ClaudeStreamEvent {
[INFO] [stdout]     |        ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 266 |     content_block: Option<ClaudeContentBlock>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClaudeStreamEvent` has derived impls for the traits `Clone` and `Debug`, but these are 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 `delta_type` is never read
[INFO] [stdout]    --> src/llm/mod.rs:272:5
[INFO] [stdout]     |
[INFO] [stdout] 270 | struct ClaudeStreamDelta {
[INFO] [stdout]     |        ----------------- field in this struct
[INFO] [stdout] 271 |     #[serde(rename = "type")]
[INFO] [stdout] 272 |     delta_type: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClaudeStreamDelta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `block_type` and `id` are never read
[INFO] [stdout]    --> src/llm/mod.rs:279:5
[INFO] [stdout]     |
[INFO] [stdout] 277 | struct ClaudeContentBlock {
[INFO] [stdout]     |        ------------------ fields in this struct
[INFO] [stdout] 278 |     #[serde(rename = "type")]
[INFO] [stdout] 279 |     block_type: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 280 |     id: Option<String>,
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClaudeContentBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `response_type` and `role` are never read
[INFO] [stdout]    --> src/llm/mod.rs:358:5
[INFO] [stdout]     |
[INFO] [stdout] 355 | struct ClaudeResponse {
[INFO] [stdout]     |        -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 358 |     response_type: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 359 |     role: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClaudeResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `done` is never read
[INFO] [stdout]   --> src/llm/ollama.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct OllamaResponse {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] 49 |     message: OllamaMessage,
[INFO] [stdout] 50 |     done: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `done` is never read
[INFO] [stdout]   --> src/llm/ollama.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct OllamaStreamResponse {
[INFO] [stdout]    |        -------------------- field in this struct
[INFO] [stdout] 56 |     message: Option<OllamaMessage>,
[INFO] [stdout] 57 |     done: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `contains_tool_call` is never used
[INFO] [stdout]    --> src/agent/react.rs:591:8
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl ReActAgent {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 591 |     fn contains_tool_call(&self, text: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `created_at` is never read
[INFO] [stdout]   --> src/agent/subagent.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct SubAgent {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 |     created_at: chrono::DateTime<chrono::Utc>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SubAgent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `size` and `default_config` are never read
[INFO] [stdout]    --> src/utils/agent_manager.rs:554:5
[INFO] [stdout]     |
[INFO] [stdout] 550 | pub struct AgentPool {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 554 |     size: usize,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 555 |     /// Default LLM config
[INFO] [stdout] 556 |     default_config: LlmConfig,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config_path` is never read
[INFO] [stdout]    --> src/utils/hooks.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct HookManager {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 110 |     config_path: Option<PathBuf>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HookManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `uri` and `language_id` are never read
[INFO] [stdout]   --> src/utils/lsp.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Document {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 30 |     uri: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 31 |     language_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Document` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LspMessage` is never constructed
[INFO] [stdout]   --> src/utils/lsp.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct LspMessage {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `process_id` and `client_info` are never read
[INFO] [stdout]   --> src/utils/lsp.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct InitializeParams {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] 46 |     process_id: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 47 |     client_info: Option<ClientInfo>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InitializeParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `version` are never read
[INFO] [stdout]   --> src/utils/lsp.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct ClientInfo {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 54 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 55 |     version: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClientInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `text_document` is never read
[INFO] [stdout]   --> src/utils/lsp.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct ClientCapabilities {
[INFO] [stdout]    |        ------------------ field in this struct
[INFO] [stdout] 61 |     #[serde(default)]
[INFO] [stdout] 62 |     text_document: TextDocumentClientCapabilities,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClientCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `completion`, `hover`, and `code_action` are never read
[INFO] [stdout]   --> src/utils/lsp.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct TextDocumentClientCapabilities {
[INFO] [stdout]    |        ------------------------------ fields in this struct
[INFO] [stdout] 68 |     #[serde(default)]
[INFO] [stdout] 69 |     completion: Option<Value>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 70 |     #[serde(default)]
[INFO] [stdout] 71 |     hover: Option<Value>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 72 |     #[serde(default)]
[INFO] [stdout] 73 |     code_action: Option<Value>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextDocumentClientCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `script_path` is never read
[INFO] [stdout]   --> src/utils/plugin.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct ScriptPlugin {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 97 |     metadata: PluginMetadata,
[INFO] [stdout] 98 |     script_path: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScriptPlugin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `enabled` is never read
[INFO] [stdout]    --> src/utils/skills.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct SkillManager {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 196 |     enabled: bool,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SkillManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_stats` is never used
[INFO] [stdout]    --> src/utils/team.rs:252:14
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl TeamManager {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 252 |     async fn save_stats(&self) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/mcp/client.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct McpClient {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 16 |     /// 客户端 ID
[INFO] [stdout] 17 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `McpClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `protocol_version` is never read
[INFO] [stdout]    --> src/mcp/client.rs:385:5
[INFO] [stdout]     |
[INFO] [stdout] 383 | struct InitializeResult {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] 384 |     #[serde(rename = "protocolVersion")]
[INFO] [stdout] 385 |     protocol_version: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content_block` is never read
[INFO] [stdout]    --> src/llm/mod.rs:266:5
[INFO] [stdout]     |
[INFO] [stdout] 262 | struct ClaudeStreamEvent {
[INFO] [stdout]     |        ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 266 |     content_block: Option<ClaudeContentBlock>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClaudeStreamEvent` has derived impls for the traits `Clone` and `Debug`, but these are 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 `delta_type` is never read
[INFO] [stdout]    --> src/llm/mod.rs:272:5
[INFO] [stdout]     |
[INFO] [stdout] 270 | struct ClaudeStreamDelta {
[INFO] [stdout]     |        ----------------- field in this struct
[INFO] [stdout] 271 |     #[serde(rename = "type")]
[INFO] [stdout] 272 |     delta_type: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClaudeStreamDelta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `block_type` and `id` are never read
[INFO] [stdout]    --> src/llm/mod.rs:279:5
[INFO] [stdout]     |
[INFO] [stdout] 277 | struct ClaudeContentBlock {
[INFO] [stdout]     |        ------------------ fields in this struct
[INFO] [stdout] 278 |     #[serde(rename = "type")]
[INFO] [stdout] 279 |     block_type: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 280 |     id: Option<String>,
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClaudeContentBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `response_type` and `role` are never read
[INFO] [stdout]    --> src/llm/mod.rs:358:5
[INFO] [stdout]     |
[INFO] [stdout] 355 | struct ClaudeResponse {
[INFO] [stdout]     |        -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 358 |     response_type: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 359 |     role: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClaudeResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `done` is never read
[INFO] [stdout]   --> src/llm/ollama.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct OllamaResponse {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] 49 |     message: OllamaMessage,
[INFO] [stdout] 50 |     done: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `done` is never read
[INFO] [stdout]   --> src/llm/ollama.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct OllamaStreamResponse {
[INFO] [stdout]    |        -------------------- field in this struct
[INFO] [stdout] 56 |     message: Option<OllamaMessage>,
[INFO] [stdout] 57 |     done: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `contains_tool_call` is never used
[INFO] [stdout]    --> src/agent/react.rs:591:8
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl ReActAgent {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 591 |     fn contains_tool_call(&self, text: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `created_at` is never read
[INFO] [stdout]   --> src/agent/subagent.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct SubAgent {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 |     created_at: chrono::DateTime<chrono::Utc>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SubAgent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `size` and `default_config` are never read
[INFO] [stdout]    --> src/utils/agent_manager.rs:554:5
[INFO] [stdout]     |
[INFO] [stdout] 550 | pub struct AgentPool {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 554 |     size: usize,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 555 |     /// Default LLM config
[INFO] [stdout] 556 |     default_config: LlmConfig,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config_path` is never read
[INFO] [stdout]    --> src/utils/hooks.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct HookManager {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 110 |     config_path: Option<PathBuf>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HookManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `uri` and `language_id` are never read
[INFO] [stdout]   --> src/utils/lsp.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Document {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 30 |     uri: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 31 |     language_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Document` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LspMessage` is never constructed
[INFO] [stdout]   --> src/utils/lsp.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct LspMessage {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `process_id` and `client_info` are never read
[INFO] [stdout]   --> src/utils/lsp.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct InitializeParams {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] 46 |     process_id: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 47 |     client_info: Option<ClientInfo>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InitializeParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `version` are never read
[INFO] [stdout]   --> src/utils/lsp.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct ClientInfo {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 54 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 55 |     version: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClientInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `text_document` is never read
[INFO] [stdout]   --> src/utils/lsp.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct ClientCapabilities {
[INFO] [stdout]    |        ------------------ field in this struct
[INFO] [stdout] 61 |     #[serde(default)]
[INFO] [stdout] 62 |     text_document: TextDocumentClientCapabilities,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClientCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `completion`, `hover`, and `code_action` are never read
[INFO] [stdout]   --> src/utils/lsp.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct TextDocumentClientCapabilities {
[INFO] [stdout]    |        ------------------------------ fields in this struct
[INFO] [stdout] 68 |     #[serde(default)]
[INFO] [stdout] 69 |     completion: Option<Value>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 70 |     #[serde(default)]
[INFO] [stdout] 71 |     hover: Option<Value>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 72 |     #[serde(default)]
[INFO] [stdout] 73 |     code_action: Option<Value>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextDocumentClientCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `script_path` is never read
[INFO] [stdout]   --> src/utils/plugin.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct ScriptPlugin {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 97 |     metadata: PluginMetadata,
[INFO] [stdout] 98 |     script_path: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScriptPlugin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `enabled` is never read
[INFO] [stdout]    --> src/utils/skills.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct SkillManager {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 196 |     enabled: bool,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SkillManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_stats` is never used
[INFO] [stdout]    --> src/utils/team.rs:252:14
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl TeamManager {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 252 |     async fn save_stats(&self) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/mcp/client.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct McpClient {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 16 |     /// 客户端 ID
[INFO] [stdout] 17 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `McpClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `protocol_version` is never read
[INFO] [stdout]    --> src/mcp/client.rs:385:5
[INFO] [stdout]     |
[INFO] [stdout] 383 | struct InitializeResult {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] 384 |     #[serde(rename = "protocolVersion")]
[INFO] [stdout] 385 |     protocol_version: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "7e4d5afac1d581130882f9397e3c198d33606a2d69f495af586a084487f32e10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e4d5afac1d581130882f9397e3c198d33606a2d69f495af586a084487f32e10", kill_on_drop: false }`
[INFO] [stdout] 7e4d5afac1d581130882f9397e3c198d33606a2d69f495af586a084487f32e10
