[INFO] cloning repository https://github.com/chebykinn/aish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chebykinn/aish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchebykinn%2Faish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchebykinn%2Faish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09d695d80636cdcd48eae487a6833524817eac9f [INFO] checking chebykinn/aish against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchebykinn%2Faish" "/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/chebykinn/aish [INFO] finished tweaking git repo https://github.com/chebykinn/aish [INFO] tweaked toml for git repo https://github.com/chebykinn/aish written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chebykinn/aish on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chebykinn/aish 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded rustyline v10.1.1 [INFO] [stderr] Downloaded cc v1.2.33 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63429ebfd6f2133d4356339e83e54b89c15a2b2b97b6734240fdabaef5fc57ab [INFO] running `Command { std: "docker" "start" "-a" "63429ebfd6f2133d4356339e83e54b89c15a2b2b97b6734240fdabaef5fc57ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63429ebfd6f2133d4356339e83e54b89c15a2b2b97b6734240fdabaef5fc57ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63429ebfd6f2133d4356339e83e54b89c15a2b2b97b6734240fdabaef5fc57ab", kill_on_drop: false }` [INFO] [stdout] 63429ebfd6f2133d4356339e83e54b89c15a2b2b97b6734240fdabaef5fc57ab [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8dc0d938382dee6ee90c2ce827fef341e353345d8853e77d199544c8bfe7a83 [INFO] running `Command { std: "docker" "start" "-a" "c8dc0d938382dee6ee90c2ce827fef341e353345d8853e77d199544c8bfe7a83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking rustyline v10.1.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.142 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking aish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LLMActionProcessor` [INFO] [stdout] --> src/markdown.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::context::{LLMAction, LLMActionProcessor}; [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: `LLMActionProcessor` [INFO] [stdout] --> src/markdown.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::context::{LLMAction, LLMActionProcessor}; [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 variable: `action_index` [INFO] [stdout] --> src/shell.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | for (action_index, action) in llm_actions.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_index` [INFO] [stdout] --> src/shell.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | for (action_index, action) in llm_actions.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tool_name` [INFO] [stdout] --> src/llm.rs:421:34 [INFO] [stdout] | [INFO] [stdout] 421 | async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result src/llm.rs:421:51 [INFO] [stdout] | [INFO] [stdout] 421 | async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result src/llm.rs:421:66 [INFO] [stdout] | [INFO] [stdout] 421 | ...ame: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tool_name` [INFO] [stdout] --> src/llm.rs:421:34 [INFO] [stdout] | [INFO] [stdout] 421 | async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result src/llm.rs:421:51 [INFO] [stdout] | [INFO] [stdout] 421 | async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result src/llm.rs:421:66 [INFO] [stdout] | [INFO] [stdout] 421 | ...ame: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/shell.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl Shell { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn run(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedToken` is never constructed [INFO] [stdout] --> src/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 31 | UnexpectedToken(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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 `0` is never read [INFO] [stdout] --> src/markdown.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | InlineCode(String), // inline code [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MarkdownElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - InlineCode(String), // inline code [INFO] [stdout] 11 + InlineCode(()), // inline code [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/markdown.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | FunctionDeclaration(String, Vec, Vec), // name, params, body [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MarkdownElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - FunctionDeclaration(String, Vec, Vec), // name, params, body [INFO] [stdout] 12 + FunctionDeclaration(String, Vec, ()), // name, params, body [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `assistant` is never used [INFO] [stdout] --> src/context.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn assistant(content: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_assistant_message`, `set_metadata`, `get_metadata`, `is_empty`, and `len` are never used [INFO] [stdout] --> src/context.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ConversationHistory { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_assistant_message(&mut self, content: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_metadata(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_metadata(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_assistant_message`, `enter_function`, `exit_function`, and `get_function_history` are never used [INFO] [stdout] --> src/context.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl ContextManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn add_assistant_message(&mut self, content: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn enter_function(&mut self, function_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn exit_function(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_function_history(&self, function_name: &str) -> Option<&ConversationHistory> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enter_function` and `exit_function` are never used [INFO] [stdout] --> src/context.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl LLMActionProcessor { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn enter_function(&mut self, function_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn exit_function(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnthropicRequest` is never constructed [INFO] [stdout] --> src/llm.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct AnthropicRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tool` is never constructed [INFO] [stdout] --> src/llm.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct Tool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/llm.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnthropicResponse` is never constructed [INFO] [stdout] --> src/llm.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct AnthropicResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Usage` is never constructed [INFO] [stdout] --> src/llm.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Usage { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentBlock` is never constructed [INFO] [stdout] --> src/llm.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct ContentBlock { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `api_key` are never read [INFO] [stdout] --> src/llm.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct AnthropicClient { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 79 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLAUDE_3_HAIKU` is never used [INFO] [stdout] --> src/llm.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub const CLAUDE_3_HAIKU: &str = "claude-3-haiku-20240307"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLAUDE_3_OPUS` is never used [INFO] [stdout] --> src/llm.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | pub const CLAUDE_3_OPUS: &str = "claude-3-opus-20240229"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/llm.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 92 | impl AnthropicClient { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn analyze_context(&self, context: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub async fn summarize_context(&self, context: &str, request: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub async fn process_general_request(&self, context: &str, request: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub async fn analyze_with_message_history(&self, messages: &Vec, request: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub async fn summarize_with_message_history(&self, messages: &Vec, request: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub async fn process_with_tools(&self, context: &str, request: &str, processor: &mut crate::context::LLMActionProcessor) -> Result Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result src/llm.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LLMClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 429 | client_type: ClientType, [INFO] [stdout] 430 | anthropic_client: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `analyze_context`, `summarize_context`, `analyze_with_history`, `summarize_with_history`, `process_with_tools`, and `process_with_anthropic_tools` are never used [INFO] [stdout] --> src/llm.rs:479:18 [INFO] [stdout] | [INFO] [stdout] 438 | impl LLMClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 479 | pub async fn analyze_context(&self, context: &str, content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub async fn summarize_context(&self, context: &str, content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | pub async fn analyze_with_history(&self, messages: &Vec, content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub async fn summarize_with_history(&self, messages: &Vec, content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 588 | pub async fn process_with_tools(&self, context: &str, content: &str) -> Result<(String, Vec<(String, serde_json::Value)>, usize), LLM... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | async fn process_with_anthropic_tools(&self, context: &str, content: &str) -> Result<(String, Vec<(String, serde_json::Value)>, usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_anthropic_available` is never used [INFO] [stdout] --> src/llm.rs:936:8 [INFO] [stdout] | [INFO] [stdout] 936 | pub fn is_anthropic_available() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockLLMClient` is never constructed [INFO] [stdout] --> src/llm.rs:942:8 [INFO] [stdout] | [INFO] [stdout] 942 | struct MockLLMClient; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/shell.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl Shell { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn run(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedToken` is never constructed [INFO] [stdout] --> src/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 31 | UnexpectedToken(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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 `0` is never read [INFO] [stdout] --> src/markdown.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | InlineCode(String), // inline code [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MarkdownElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - InlineCode(String), // inline code [INFO] [stdout] 11 + InlineCode(()), // inline code [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/markdown.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | FunctionDeclaration(String, Vec, Vec), // name, params, body [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MarkdownElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - FunctionDeclaration(String, Vec, Vec), // name, params, body [INFO] [stdout] 12 + FunctionDeclaration(String, Vec, ()), // name, params, body [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `assistant` is never used [INFO] [stdout] --> src/context.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn assistant(content: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_assistant_message`, `set_metadata`, `get_metadata`, `is_empty`, and `len` are never used [INFO] [stdout] --> src/context.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ConversationHistory { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_assistant_message(&mut self, content: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_metadata(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_metadata(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_assistant_message`, `enter_function`, `exit_function`, and `get_function_history` are never used [INFO] [stdout] --> src/context.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl ContextManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn add_assistant_message(&mut self, content: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn enter_function(&mut self, function_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn exit_function(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_function_history(&self, function_name: &str) -> Option<&ConversationHistory> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enter_function` and `exit_function` are never used [INFO] [stdout] --> src/context.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl LLMActionProcessor { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn enter_function(&mut self, function_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn exit_function(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnthropicRequest` is never constructed [INFO] [stdout] --> src/llm.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct AnthropicRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tool` is never constructed [INFO] [stdout] --> src/llm.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct Tool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/llm.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnthropicResponse` is never constructed [INFO] [stdout] --> src/llm.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct AnthropicResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Usage` is never constructed [INFO] [stdout] --> src/llm.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Usage { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentBlock` is never constructed [INFO] [stdout] --> src/llm.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct ContentBlock { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `api_key` are never read [INFO] [stdout] --> src/llm.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct AnthropicClient { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 79 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLAUDE_3_HAIKU` is never used [INFO] [stdout] --> src/llm.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub const CLAUDE_3_HAIKU: &str = "claude-3-haiku-20240307"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLAUDE_3_OPUS` is never used [INFO] [stdout] --> src/llm.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | pub const CLAUDE_3_OPUS: &str = "claude-3-opus-20240229"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/llm.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 92 | impl AnthropicClient { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn analyze_context(&self, context: &str, prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub async fn summarize_context(&self, context: &str, request: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub async fn process_general_request(&self, context: &str, request: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub async fn analyze_with_message_history(&self, messages: &Vec, request: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub async fn summarize_with_message_history(&self, messages: &Vec, request: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub async fn process_with_tools(&self, context: &str, request: &str, processor: &mut crate::context::LLMActionProcessor) -> Result Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result src/llm.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LLMClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 429 | client_type: ClientType, [INFO] [stdout] 430 | anthropic_client: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `analyze_context`, `summarize_context`, `analyze_with_history`, `summarize_with_history`, `process_with_tools`, and `process_with_anthropic_tools` are never used [INFO] [stdout] --> src/llm.rs:479:18 [INFO] [stdout] | [INFO] [stdout] 438 | impl LLMClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 479 | pub async fn analyze_context(&self, context: &str, content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub async fn summarize_context(&self, context: &str, content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | pub async fn analyze_with_history(&self, messages: &Vec, content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub async fn summarize_with_history(&self, messages: &Vec, content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 588 | pub async fn process_with_tools(&self, context: &str, content: &str) -> Result<(String, Vec<(String, serde_json::Value)>, usize), LLM... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | async fn process_with_anthropic_tools(&self, context: &str, content: &str) -> Result<(String, Vec<(String, serde_json::Value)>, usize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_anthropic_available` is never used [INFO] [stdout] --> src/llm.rs:936:8 [INFO] [stdout] | [INFO] [stdout] 936 | pub fn is_anthropic_available() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockLLMClient` is never constructed [INFO] [stdout] --> src/llm.rs:942:8 [INFO] [stdout] | [INFO] [stdout] 942 | struct MockLLMClient; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.68s [INFO] running `Command { std: "docker" "inspect" "c8dc0d938382dee6ee90c2ce827fef341e353345d8853e77d199544c8bfe7a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8dc0d938382dee6ee90c2ce827fef341e353345d8853e77d199544c8bfe7a83", kill_on_drop: false }` [INFO] [stdout] c8dc0d938382dee6ee90c2ce827fef341e353345d8853e77d199544c8bfe7a83