[INFO] cloning repository https://github.com/vecbase-labs/myagent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vecbase-labs/myagent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvecbase-labs%2Fmyagent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvecbase-labs%2Fmyagent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc47da5381cd48f068796f086446dc16f93b026b [INFO] checking vecbase-labs/myagent against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvecbase-labs%2Fmyagent" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vecbase-labs/myagent [INFO] finished tweaking git repo https://github.com/vecbase-labs/myagent [INFO] tweaked toml for git repo https://github.com/vecbase-labs/myagent written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vecbase-labs/myagent on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vecbase-labs/myagent 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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded self-replace v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 899ee92f37e7fe26f4f2d08872f4b112ab3087662b88377b7374080528c68d91 [INFO] running `Command { std: "docker" "start" "-a" "899ee92f37e7fe26f4f2d08872f4b112ab3087662b88377b7374080528c68d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "899ee92f37e7fe26f4f2d08872f4b112ab3087662b88377b7374080528c68d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899ee92f37e7fe26f4f2d08872f4b112ab3087662b88377b7374080528c68d91", kill_on_drop: false }` [INFO] [stdout] 899ee92f37e7fe26f4f2d08872f4b112ab3087662b88377b7374080528c68d91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb89c025402c1d5bf8193a5b5555ced23b30de9fd768c764d732fba621fa16e6 [INFO] running `Command { std: "docker" "start" "-a" "eb89c025402c1d5bf8193a5b5555ced23b30de9fd768c764d732fba621fa16e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling zmij v1.0.20 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking rustix v1.1.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking bumpalo v3.19.1 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking zopfli v0.8.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking deflate64 v0.1.10 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking self-replace v1.5.0 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking webpki-roots v1.0.4 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Compiling clap_derive v4.5.55 [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 hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking myagent v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `default_max_tokens` is never used [INFO] [stdout] --> src/ai/types.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn default_max_tokens() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/ai/types.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | ContentBlockStart { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 36 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` 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 `index` is never read [INFO] [stdout] --> src/ai/types.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | TextDelta { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 40 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` 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 `index` is never read [INFO] [stdout] --> src/ai/types.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | InputJsonDelta { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] 44 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` 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 `index` is never read [INFO] [stdout] --> src/ai/types.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | ContentBlockStop { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 48 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` 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: constant `STOP_REASON_END_TURN` is never used [INFO] [stdout] --> src/ai/types.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub const STOP_REASON_END_TURN: &str = "end_turn"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Cancel` and `Shutdown` are never constructed [INFO] [stdout] --> src/protocol.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum Submission { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | Cancel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Submission` 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 `index` is never read [INFO] [stdout] --> src/protocol.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | ContentBlockStart { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 67 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentEvent` 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 `index` is never read [INFO] [stdout] --> src/protocol.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | TextDelta { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 71 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentEvent` 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 `index` and `partial_json` are never read [INFO] [stdout] --> src/protocol.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | InputJsonDelta { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 75 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | partial_json: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentEvent` 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 `index` is never read [INFO] [stdout] --> src/protocol.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | ContentBlockStop { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 79 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentEvent` 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 `stop_reason` is never read [INFO] [stdout] --> src/protocol.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | MessageDelta { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] 82 | stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentEvent` 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: variants `Starting`, `Idle`, and `Failed` are never constructed [INFO] [stdout] --> src/protocol.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum AgentStatus { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 92 | Starting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 93 | Working, [INFO] [stdout] 94 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 95 | Completed, [INFO] [stdout] 96 | Failed(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentStatus` 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: methods `remove_thread`, `config`, and `workspace` are never used [INFO] [stdout] --> src/thread_manager.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl ThreadManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn remove_thread(&self, id: &ThreadId) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn config(&self) -> &AppConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn workspace(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PowerShell` and `Cmd` are never constructed [INFO] [stdout] --> src/tools/shell.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShellType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | PowerShell, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | Cmd, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShellType` 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 `conv_id`, `user_id`, `message_id`, and `file_key` are never read [INFO] [stdout] --> src/transport/feishu/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | FileMessage { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 28 | conv_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | message_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | file_key: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransportEvent` 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 `download_file_to` is never used [INFO] [stdout] --> src/transport/feishu/mod.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl FeishuTransport { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | pub async fn download_file_to(&self, file_key: &str, save_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_message`, `streaming_update_text`, and `create_card_element` are never used [INFO] [stdout] --> src/transport/feishu/api.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl FeishuApi { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub async fn update_message(&self, msg_id: &str, content: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub async fn streaming_update_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | pub async fn create_card_element( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ReconnectCount`, `ReconnectInterval`, and `ReconnectNonce` are never read [INFO] [stdout] --> src/transport/feishu/event.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct ClientConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 37 | PingInterval: u64, [INFO] [stdout] 38 | ReconnectCount: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | ReconnectInterval: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | ReconnectNonce: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trace_id` is never read [INFO] [stdout] --> src/transport/feishu/event.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct CacheEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 45 | parts: Vec>>, [INFO] [stdout] 46 | trace_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_max_tokens` is never used [INFO] [stdout] --> src/ai/types.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn default_max_tokens() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/ai/types.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | ContentBlockStart { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 36 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` 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 `index` is never read [INFO] [stdout] --> src/ai/types.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | TextDelta { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 40 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` 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 `index` is never read [INFO] [stdout] --> src/ai/types.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | InputJsonDelta { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] 44 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` 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 `index` is never read [INFO] [stdout] --> src/ai/types.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | ContentBlockStop { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 48 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` 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: constant `STOP_REASON_END_TURN` is never used [INFO] [stdout] --> src/ai/types.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub const STOP_REASON_END_TURN: &str = "end_turn"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Cancel` and `Shutdown` are never constructed [INFO] [stdout] --> src/protocol.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum Submission { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | Cancel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Submission` 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 `index` is never read [INFO] [stdout] --> src/protocol.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | ContentBlockStart { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 67 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentEvent` 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 `index` is never read [INFO] [stdout] --> src/protocol.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | TextDelta { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 71 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentEvent` 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 `index` and `partial_json` are never read [INFO] [stdout] --> src/protocol.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | InputJsonDelta { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 75 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | partial_json: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentEvent` 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 `index` is never read [INFO] [stdout] --> src/protocol.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | ContentBlockStop { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 79 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentEvent` 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 `stop_reason` is never read [INFO] [stdout] --> src/protocol.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | MessageDelta { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] 82 | stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentEvent` 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: variants `Starting`, `Idle`, and `Failed` are never constructed [INFO] [stdout] --> src/protocol.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum AgentStatus { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 92 | Starting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 93 | Working, [INFO] [stdout] 94 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 95 | Completed, [INFO] [stdout] 96 | Failed(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentStatus` 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: methods `remove_thread`, `config`, and `workspace` are never used [INFO] [stdout] --> src/thread_manager.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl ThreadManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn remove_thread(&self, id: &ThreadId) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn config(&self) -> &AppConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn workspace(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PowerShell` and `Cmd` are never constructed [INFO] [stdout] --> src/tools/shell.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShellType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | PowerShell, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | Cmd, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShellType` 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 `conv_id`, `user_id`, `message_id`, and `file_key` are never read [INFO] [stdout] --> src/transport/feishu/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | FileMessage { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 28 | conv_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | message_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | file_key: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransportEvent` 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 `download_file_to` is never used [INFO] [stdout] --> src/transport/feishu/mod.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl FeishuTransport { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | pub async fn download_file_to(&self, file_key: &str, save_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_message`, `streaming_update_text`, and `create_card_element` are never used [INFO] [stdout] --> src/transport/feishu/api.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl FeishuApi { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub async fn update_message(&self, msg_id: &str, content: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub async fn streaming_update_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | pub async fn create_card_element( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ReconnectCount`, `ReconnectInterval`, and `ReconnectNonce` are never read [INFO] [stdout] --> src/transport/feishu/event.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct ClientConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 37 | PingInterval: u64, [INFO] [stdout] 38 | ReconnectCount: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | ReconnectInterval: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | ReconnectNonce: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trace_id` is never read [INFO] [stdout] --> src/transport/feishu/event.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct CacheEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 45 | parts: Vec>>, [INFO] [stdout] 46 | trace_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "eb89c025402c1d5bf8193a5b5555ced23b30de9fd768c764d732fba621fa16e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb89c025402c1d5bf8193a5b5555ced23b30de9fd768c764d732fba621fa16e6", kill_on_drop: false }` [INFO] [stdout] eb89c025402c1d5bf8193a5b5555ced23b30de9fd768c764d732fba621fa16e6