[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] testing chebykinn/aish against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchebykinn%2Faish" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chebykinn/aish on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dd470ec65869746ae626e812ad1d67cbdecc1c3e06123a121acaa8a4c14bd7e8
[INFO] running `Command { std: "docker" "start" "-a" "dd470ec65869746ae626e812ad1d67cbdecc1c3e06123a121acaa8a4c14bd7e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd470ec65869746ae626e812ad1d67cbdecc1c3e06123a121acaa8a4c14bd7e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd470ec65869746ae626e812ad1d67cbdecc1c3e06123a121acaa8a4c14bd7e8", kill_on_drop: false }`
[INFO] [stdout] dd470ec65869746ae626e812ad1d67cbdecc1c3e06123a121acaa8a4c14bd7e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc56b5706479652049ee2afcf3b7d52d386c88da8140881f5fe6d3918bba2b59
[INFO] running `Command { std: "docker" "start" "-a" "fc56b5706479652049ee2afcf3b7d52d386c88da8140881f5fe6d3918bba2b59", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.97
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling cc v1.2.33
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling pulldown-cmark v0.9.6
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling getopts v0.2.23
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling clap_builder v4.5.44
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling fd-lock v3.0.13
[INFO] [stderr]    Compiling rustyline v10.1.1
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[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 tokio v1.47.1
[INFO] [stderr]    Compiling clap v4.5.45
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling 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)]` 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)]` 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<String, LL...
[INFO] [stdout]     |                                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tool_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> 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<String, LL...
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `processor`
[INFO] [stdout]    --> src/llm.rs:421:66
[INFO] [stdout]     |
[INFO] [stdout] 421 | ...ame: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result<String, LLMError> {
[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)]` 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<String>, Vec<MarkdownElement>), // 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<String>, Vec<MarkdownElement>), // name, params, body
[INFO] [stdout] 12 +     FunctionDeclaration(String, Vec<String>, ()), // 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: fields `content` and `usage` are never read
[INFO] [stdout]   --> src/llm.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct AnthropicResponse {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] 59 |     content: Vec<ContentBlock>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 60 |     usage: Option<Usage>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read
[INFO] [stdout]   --> src/llm.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct Usage {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 65 |     input_tokens: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 66 |     output_tokens: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content_type`, `text`, `name`, and `input` are never read
[INFO] [stdout]   --> src/llm.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct ContentBlock {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 71 |     #[serde(rename = "type")]
[INFO] [stdout] 72 |     content_type: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 73 |     text: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 74 |     name: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 75 |     input: Option<Value>,
[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<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub async fn summarize_context(&self, context: &str, request: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn process_general_request(&self, context: &str, request: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub async fn analyze_with_message_history(&self, messages: &Vec<crate::context::Message>, request: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |     pub async fn summarize_with_message_history(&self, messages: &Vec<crate::context::Message>, request: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 |     pub async fn process_with_tools(&self, context: &str, request: &str, processor: &mut crate::context::LLMActionProcessor) -> Result<St...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 364 |     fn get_available_tools(&self) -> Vec<Tool> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 421 |     async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result<String, LL...
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `anthropic_client` is never read
[INFO] [stdout]    --> 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<AnthropicClient>,
[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<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub async fn summarize_context(&self, context: &str, content: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 528 |     pub async fn analyze_with_history(&self, messages: &Vec<crate::context::Message>, content: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 552 |     pub async fn summarize_with_history(&self, messages: &Vec<crate::context::Message>, content: &str) -> Result<String, LLMError> {
[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: fields `content` and `usage` are never read
[INFO] [stdout]    --> src/llm.rs:779:13
[INFO] [stdout]     |
[INFO] [stdout] 778 |         struct ToolResponse {
[INFO] [stdout]     |                ------------ fields in this struct
[INFO] [stdout] 779 |             content: Vec<ToolContentBlock>,
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] 780 |             usage: Option<ToolUsage>,
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read
[INFO] [stdout]    --> src/llm.rs:785:13
[INFO] [stdout]     |
[INFO] [stdout] 784 |         struct ToolUsage {
[INFO] [stdout]     |                --------- fields in this struct
[INFO] [stdout] 785 |             input_tokens: usize,
[INFO] [stdout]     |             ^^^^^^^^^^^^
[INFO] [stdout] 786 |             output_tokens: usize,
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content_type`, `text`, `name`, and `input` are never read
[INFO] [stdout]    --> src/llm.rs:792:13
[INFO] [stdout]     |
[INFO] [stdout] 790 |         struct ToolContentBlock {
[INFO] [stdout]     |                ---------------- fields in this struct
[INFO] [stdout] 791 |             #[serde(rename = "type")]
[INFO] [stdout] 792 |             content_type: String,
[INFO] [stdout]     |             ^^^^^^^^^^^^
[INFO] [stdout] 793 |             text: Option<String>,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 794 |             name: Option<String>,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 795 |             input: Option<Value>,
[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 5m 08s
[INFO] running `Command { std: "docker" "inspect" "fc56b5706479652049ee2afcf3b7d52d386c88da8140881f5fe6d3918bba2b59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc56b5706479652049ee2afcf3b7d52d386c88da8140881f5fe6d3918bba2b59", kill_on_drop: false }`
[INFO] [stdout] fc56b5706479652049ee2afcf3b7d52d386c88da8140881f5fe6d3918bba2b59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1999724aa9538df34dab66ef270d5cd21e7b784c238dac75ee6fabe55af70846
[INFO] running `Command { std: "docker" "start" "-a" "1999724aa9538df34dab66ef270d5cd21e7b784c238dac75ee6fabe55af70846", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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)]` 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)]` 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<String, LL...
[INFO] [stdout]     |                                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tool_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> 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<String, LL...
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `processor`
[INFO] [stdout]    --> src/llm.rs:421:66
[INFO] [stdout]     |
[INFO] [stdout] 421 | ...ame: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result<String, LLMError> {
[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)]` 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<String>, Vec<MarkdownElement>), // 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<String>, Vec<MarkdownElement>), // name, params, body
[INFO] [stdout] 12 +     FunctionDeclaration(String, Vec<String>, ()), // 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: fields `content` and `usage` are never read
[INFO] [stdout]   --> src/llm.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct AnthropicResponse {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] 59 |     content: Vec<ContentBlock>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 60 |     usage: Option<Usage>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read
[INFO] [stdout]   --> src/llm.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct Usage {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 65 |     input_tokens: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 66 |     output_tokens: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content_type`, `text`, `name`, and `input` are never read
[INFO] [stdout]   --> src/llm.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct ContentBlock {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 71 |     #[serde(rename = "type")]
[INFO] [stdout] 72 |     content_type: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 73 |     text: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 74 |     name: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 75 |     input: Option<Value>,
[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<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub async fn summarize_context(&self, context: &str, request: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn process_general_request(&self, context: &str, request: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub async fn analyze_with_message_history(&self, messages: &Vec<crate::context::Message>, request: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |     pub async fn summarize_with_message_history(&self, messages: &Vec<crate::context::Message>, request: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 |     pub async fn process_with_tools(&self, context: &str, request: &str, processor: &mut crate::context::LLMActionProcessor) -> Result<St...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 364 |     fn get_available_tools(&self) -> Vec<Tool> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 421 |     async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result<String, LL...
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `anthropic_client` is never read
[INFO] [stdout]    --> 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<AnthropicClient>,
[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<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub async fn summarize_context(&self, context: &str, content: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 528 |     pub async fn analyze_with_history(&self, messages: &Vec<crate::context::Message>, content: &str) -> Result<String, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 552 |     pub async fn summarize_with_history(&self, messages: &Vec<crate::context::Message>, content: &str) -> Result<String, LLMError> {
[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: fields `content` and `usage` are never read
[INFO] [stdout]    --> src/llm.rs:779:13
[INFO] [stdout]     |
[INFO] [stdout] 778 |         struct ToolResponse {
[INFO] [stdout]     |                ------------ fields in this struct
[INFO] [stdout] 779 |             content: Vec<ToolContentBlock>,
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] 780 |             usage: Option<ToolUsage>,
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read
[INFO] [stdout]    --> src/llm.rs:785:13
[INFO] [stdout]     |
[INFO] [stdout] 784 |         struct ToolUsage {
[INFO] [stdout]     |                --------- fields in this struct
[INFO] [stdout] 785 |             input_tokens: usize,
[INFO] [stdout]     |             ^^^^^^^^^^^^
[INFO] [stdout] 786 |             output_tokens: usize,
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content_type`, `text`, `name`, and `input` are never read
[INFO] [stdout]    --> src/llm.rs:792:13
[INFO] [stdout]     |
[INFO] [stdout] 790 |         struct ToolContentBlock {
[INFO] [stdout]     |                ---------------- fields in this struct
[INFO] [stdout] 791 |             #[serde(rename = "type")]
[INFO] [stdout] 792 |             content_type: String,
[INFO] [stdout]     |             ^^^^^^^^^^^^
[INFO] [stdout] 793 |             text: Option<String>,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 794 |             name: Option<String>,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 795 |             input: Option<Value>,
[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 `test` profile [unoptimized + debuginfo] target(s) in 3.63s
[INFO] running `Command { std: "docker" "inspect" "1999724aa9538df34dab66ef270d5cd21e7b784c238dac75ee6fabe55af70846", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1999724aa9538df34dab66ef270d5cd21e7b784c238dac75ee6fabe55af70846", kill_on_drop: false }`
[INFO] [stdout] 1999724aa9538df34dab66ef270d5cd21e7b784c238dac75ee6fabe55af70846
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ac2bd8367e0dc95582c82d83e5a08dddd0f506ea4f7757f486b78d6b965e1711
[INFO] running `Command { std: "docker" "start" "-a" "ac2bd8367e0dc95582c82d83e5a08dddd0f506ea4f7757f486b78d6b965e1711", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `LLMActionProcessor`
[INFO] [stderr]  --> src/markdown.rs:3:33
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::context::{LLMAction, LLMActionProcessor};
[INFO] [stderr]   |                                 ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `action_index`
[INFO] [stderr]    --> src/shell.rs:152:14
[INFO] [stderr]     |
[INFO] [stderr] 152 |         for (action_index, action) in llm_actions.iter().enumerate() {
[INFO] [stderr]     |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_index`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tool_name`
[INFO] [stderr]    --> src/llm.rs:421:34
[INFO] [stderr]     |
[INFO] [stderr] 421 |     async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result<String, LL...
[INFO] [stderr]     |                                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tool_name`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `input`
[INFO] [stderr]    --> src/llm.rs:421:51
[INFO] [stderr]     |
[INFO] [stderr] 421 |     async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result<String, LL...
[INFO] [stderr]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `processor`
[INFO] [stderr]    --> src/llm.rs:421:66
[INFO] [stderr]     |
[INFO] [stderr] 421 | ...ame: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result<String, LLMError> {
[INFO] [stderr]     |                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor`
[INFO] [stderr] 
[INFO] [stderr] warning: method `run` is never used
[INFO] [stderr]   --> src/shell.rs:58:18
[INFO] [stderr]    |
[INFO] [stderr] 25 | impl Shell {
[INFO] [stderr]    | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 58 |     pub async fn run(&mut self) -> io::Result<()> {
[INFO] [stderr]    |                  ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `UnexpectedToken` is never constructed
[INFO] [stderr]   --> src/parser.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub enum ParseError {
[INFO] [stderr]    |          ---------- variant in this enum
[INFO] [stderr] 31 |     UnexpectedToken(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/markdown.rs:11:16
[INFO] [stderr]    |
[INFO] [stderr] 11 |     InlineCode(String),     // inline code
[INFO] [stderr]    |     ---------- ^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MarkdownElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 11 -     InlineCode(String),     // inline code
[INFO] [stderr] 11 +     InlineCode(()),     // inline code
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `2` is never read
[INFO] [stderr]   --> src/markdown.rs:12:46
[INFO] [stderr]    |
[INFO] [stderr] 12 |     FunctionDeclaration(String, Vec<String>, Vec<MarkdownElement>), // name, params, body
[INFO] [stderr]    |     -------------------                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MarkdownElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 12 -     FunctionDeclaration(String, Vec<String>, Vec<MarkdownElement>), // name, params, body
[INFO] [stderr] 12 +     FunctionDeclaration(String, Vec<String>, ()), // name, params, body
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `assistant` is never used
[INFO] [stderr]   --> src/context.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 18 | impl Message {
[INFO] [stderr]    | ------------ associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 27 |     pub fn assistant(content: String) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `add_assistant_message`, `set_metadata`, `get_metadata`, `is_empty`, and `len` are never used
[INFO] [stderr]    --> src/context.rs:74:12
[INFO] [stderr]     |
[INFO] [stderr] 58  | impl ConversationHistory {
[INFO] [stderr]     | ------------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 74  |     pub fn add_assistant_message(&mut self, content: String) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 91  |     pub fn set_metadata(&mut self, key: String, value: String) {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 95  |     pub fn get_metadata(&self, key: &str) -> Option<&String> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 99  |     pub fn is_empty(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     pub fn len(&self) -> usize {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `add_assistant_message`, `enter_function`, `exit_function`, and `get_function_history` are never used
[INFO] [stderr]    --> src/context.rs:157:12
[INFO] [stderr]     |
[INFO] [stderr] 123 | impl ContextManager {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 157 |     pub fn add_assistant_message(&mut self, content: String) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 175 |     pub fn enter_function(&mut self, function_name: String) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 182 |     pub fn exit_function(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 190 |     pub fn get_function_history(&self, function_name: &str) -> Option<&ConversationHistory> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `enter_function` and `exit_function` are never used
[INFO] [stderr]    --> src/context.rs:411:12
[INFO] [stderr]     |
[INFO] [stderr] 205 | impl LLMActionProcessor {
[INFO] [stderr]     | ----------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 411 |     pub fn enter_function(&mut self, function_name: String) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 415 |     pub fn exit_function(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AnthropicRequest` is never constructed
[INFO] [stderr]   --> src/llm.rs:36:8
[INFO] [stderr]    |
[INFO] [stderr] 36 | struct AnthropicRequest {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Tool` is never constructed
[INFO] [stderr]   --> src/llm.rs:45:8
[INFO] [stderr]    |
[INFO] [stderr] 45 | struct Tool {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `content` and `usage` are never read
[INFO] [stderr]   --> src/llm.rs:59:5
[INFO] [stderr]    |
[INFO] [stderr] 58 | struct AnthropicResponse {
[INFO] [stderr]    |        ----------------- fields in this struct
[INFO] [stderr] 59 |     content: Vec<ContentBlock>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 60 |     usage: Option<Usage>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `input_tokens` and `output_tokens` are never read
[INFO] [stderr]   --> src/llm.rs:65:5
[INFO] [stderr]    |
[INFO] [stderr] 64 | struct Usage {
[INFO] [stderr]    |        ----- fields in this struct
[INFO] [stderr] 65 |     input_tokens: usize,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 66 |     output_tokens: usize,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `content_type`, `text`, `name`, and `input` are never read
[INFO] [stderr]   --> src/llm.rs:72:5
[INFO] [stderr]    |
[INFO] [stderr] 70 | struct ContentBlock {
[INFO] [stderr]    |        ------------ fields in this struct
[INFO] [stderr] 71 |     #[serde(rename = "type")]
[INFO] [stderr] 72 |     content_type: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 73 |     text: Option<String>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 74 |     name: Option<String>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 75 |     input: Option<Value>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `client` and `api_key` are never read
[INFO] [stderr]   --> src/llm.rs:79:5
[INFO] [stderr]    |
[INFO] [stderr] 78 | pub struct AnthropicClient {
[INFO] [stderr]    |            --------------- fields in this struct
[INFO] [stderr] 79 |     client: Client,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 80 |     api_key: String,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CLAUDE_3_HAIKU` is never used
[INFO] [stderr]   --> src/llm.rs:86:11
[INFO] [stderr]    |
[INFO] [stderr] 86 | pub const CLAUDE_3_HAIKU: &str = "claude-3-haiku-20240307";
[INFO] [stderr]    |           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CLAUDE_3_OPUS` is never used
[INFO] [stderr]   --> src/llm.rs:87:11
[INFO] [stderr]    |
[INFO] [stderr] 87 | pub const CLAUDE_3_OPUS: &str = "claude-3-opus-20240229";
[INFO] [stderr]    |           ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/llm.rs:122:18
[INFO] [stderr]     |
[INFO] [stderr] 92  | impl AnthropicClient {
[INFO] [stderr]     | -------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 122 |     pub async fn analyze_context(&self, context: &str, prompt: &str) -> Result<String, LLMError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 173 |     pub async fn summarize_context(&self, context: &str, request: &str) -> Result<String, LLMError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 184 |     pub async fn process_general_request(&self, context: &str, request: &str) -> Result<String, LLMError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 198 |     pub async fn analyze_with_message_history(&self, messages: &Vec<crate::context::Message>, request: &str) -> Result<String, LLMError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 275 |     pub async fn summarize_with_message_history(&self, messages: &Vec<crate::context::Message>, request: &str) -> Result<String, LLMError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 285 |     pub async fn process_with_tools(&self, context: &str, request: &str, processor: &mut crate::context::LLMActionProcessor) -> Result<St...
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 364 |     fn get_available_tools(&self) -> Vec<Tool> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 421 |     async fn execute_tool(&self, tool_name: &str, input: &Value, processor: &mut crate::context::LLMActionProcessor) -> Result<String, LL...
[INFO] [stderr]     |              ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `anthropic_client` is never read
[INFO] [stderr]    --> src/llm.rs:430:5
[INFO] [stderr]     |
[INFO] [stderr] 428 | pub struct LLMClient {
[INFO] [stderr]     |            --------- field in this struct
[INFO] [stderr] 429 |     client_type: ClientType,
[INFO] [stderr] 430 |     anthropic_client: Option<AnthropicClient>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `analyze_context`, `summarize_context`, `analyze_with_history`, `summarize_with_history`, `process_with_tools`, and `process_with_anthropic_tools` are never used
[INFO] [stderr]    --> src/llm.rs:479:18
[INFO] [stderr]     |
[INFO] [stderr] 438 | impl LLMClient {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 479 |     pub async fn analyze_context(&self, context: &str, content: &str) -> Result<String, LLMError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 503 |     pub async fn summarize_context(&self, context: &str, content: &str) -> Result<String, LLMError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 528 |     pub async fn analyze_with_history(&self, messages: &Vec<crate::context::Message>, content: &str) -> Result<String, LLMError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 552 |     pub async fn summarize_with_history(&self, messages: &Vec<crate::context::Message>, content: &str) -> Result<String, LLMError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 588 |     pub async fn process_with_tools(&self, context: &str, content: &str) -> Result<(String, Vec<(String, serde_json::Value)>, usize), LLM...
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 774 |     async fn process_with_anthropic_tools(&self, context: &str, content: &str) -> Result<(String, Vec<(String, serde_json::Value)>, usize...
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `content` and `usage` are never read
[INFO] [stderr]    --> src/llm.rs:779:13
[INFO] [stderr]     |
[INFO] [stderr] 778 |         struct ToolResponse {
[INFO] [stderr]     |                ------------ fields in this struct
[INFO] [stderr] 779 |             content: Vec<ToolContentBlock>,
[INFO] [stderr]     |             ^^^^^^^
[INFO] [stderr] 780 |             usage: Option<ToolUsage>,
[INFO] [stderr]     |             ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `input_tokens` and `output_tokens` are never read
[INFO] [stderr]    --> src/llm.rs:785:13
[INFO] [stderr]     |
[INFO] [stderr] 784 |         struct ToolUsage {
[INFO] [stderr]     |                --------- fields in this struct
[INFO] [stderr] 785 |             input_tokens: usize,
[INFO] [stderr]     |             ^^^^^^^^^^^^
[INFO] [stderr] 786 |             output_tokens: usize,
[INFO] [stderr]     |             ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `content_type`, `text`, `name`, and `input` are never read
[INFO] [stderr]    --> src/llm.rs:792:13
[INFO] [stderr]     |
[INFO] [stderr] 790 |         struct ToolContentBlock {
[INFO] [stderr]     |                ---------------- fields in this struct
[INFO] [stderr] 791 |             #[serde(rename = "type")]
[INFO] [stderr] 792 |             content_type: String,
[INFO] [stderr]     |             ^^^^^^^^^^^^
[INFO] [stderr] 793 |             text: Option<String>,
[INFO] [stderr]     |             ^^^^
[INFO] [stderr] 794 |             name: Option<String>,
[INFO] [stderr]     |             ^^^^
[INFO] [stderr] 795 |             input: Option<Value>,
[INFO] [stderr]     |             ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_anthropic_available` is never used
[INFO] [stderr]    --> src/llm.rs:936:8
[INFO] [stderr]     |
[INFO] [stderr] 936 | pub fn is_anthropic_available() -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MockLLMClient` is never constructed
[INFO] [stderr]    --> src/llm.rs:942:8
[INFO] [stderr]     |
[INFO] [stderr] 942 | struct MockLLMClient;
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `aish` (bin "aish" test) generated 29 warnings (run `cargo fix --bin "aish" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aish-1d14349730e40633)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test markdown::tests::test_function_parsing ... ok
[INFO] [stdout] test markdown::tests::test_parse_llm_actions ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ac2bd8367e0dc95582c82d83e5a08dddd0f506ea4f7757f486b78d6b965e1711", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac2bd8367e0dc95582c82d83e5a08dddd0f506ea4f7757f486b78d6b965e1711", kill_on_drop: false }`
[INFO] [stdout] ac2bd8367e0dc95582c82d83e5a08dddd0f506ea4f7757f486b78d6b965e1711
