[INFO] cloning repository https://github.com/phaneron23/rust-agent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phaneron23/rust-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphaneron23%2Frust-agent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphaneron23%2Frust-agent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b224ff68e37aafd523c4d46873180e0f477c0fec
[INFO] checking phaneron23/rust-agent against da86f4d0726be475afbbffe40cb2f65741c51ad3 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphaneron23%2Frust-agent" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/phaneron23/rust-agent
[INFO] finished tweaking git repo https://github.com/phaneron23/rust-agent
[INFO] tweaked toml for git repo https://github.com/phaneron23/rust-agent written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/phaneron23/rust-agent on toolchain da86f4d0726be475afbbffe40cb2f65741c51ad3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/phaneron23/rust-agent 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" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fancy-regex v0.13.0
[INFO] [stderr]   Downloaded takecell v0.1.1
[INFO] [stderr]   Downloaded rc-box v1.3.0
[INFO] [stderr]   Downloaded erasable v1.3.0
[INFO] [stderr]   Downloaded dptree v0.3.0
[INFO] [stderr]   Downloaded fd-lock v4.0.4
[INFO] [stderr]   Downloaded teloxide v0.13.0
[INFO] [stderr]   Downloaded rustyline v14.0.0
[INFO] [stderr]   Downloaded teloxide-core v0.10.1
[INFO] [stderr]   Downloaded h2 v0.4.15
[INFO] [stderr]   Downloaded tiktoken-rs v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 43def6f00ffe585b22160aae2fb98dc88a925d1722101ccb5037b3587afd7ab7
[INFO] running `Command { std: "docker" "start" "43def6f00ffe585b22160aae2fb98dc88a925d1722101ccb5037b3587afd7ab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "43def6f00ffe585b22160aae2fb98dc88a925d1722101ccb5037b3587afd7ab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "43def6f00ffe585b22160aae2fb98dc88a925d1722101ccb5037b3587afd7ab7" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "43def6f00ffe585b22160aae2fb98dc88a925d1722101ccb5037b3587afd7ab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "43def6f00ffe585b22160aae2fb98dc88a925d1722101ccb5037b3587afd7ab7" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]     Checking memchr v2.8.2
[INFO] [stderr]     Checking bytes v1.12.0
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking socket2 v0.6.4
[INFO] [stderr]     Checking mio v1.2.1
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking regex-syntax v0.8.11
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling erasable v1.3.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling cc v1.2.66
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling anyhow v1.0.103
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking rc-box v1.3.0
[INFO] [stderr]     Checking uuid v1.23.4
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]     Checking http v1.4.2
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]     Checking takecell v0.1.1
[INFO] [stderr]     Checking zeroize v1.9.0
[INFO] [stderr]     Checking rustls-pki-types v1.15.0
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking fd-lock v4.0.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking unicode-segmentation v1.13.3
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking rustyline v14.0.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking regex v1.12.4
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking bstr v1.12.3
[INFO] [stderr]     Checking fancy-regex v0.13.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking tiktoken-rs v0.6.0
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking pin-project v1.1.13
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking dptree v0.3.0
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking rusqlite v0.32.1
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking h2 v0.4.15
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking teloxide-core v0.10.1
[INFO] [stderr]     Checking teloxide v0.13.0
[INFO] [stderr]     Checking rust-agent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `teloxide::types::message::getters::<impl teloxide::prelude::Message>::from`: use `.from` field instead
[INFO] [stdout]   --> src/channel/telegram.rs:32:31
[INFO] [stdout]    |
[INFO] [stdout] 32 |             let user_id = msg.from().map(|u| u.id.0 as i64);
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `teloxide::types::message::getters::<impl teloxide::prelude::Message>::from`: use `.from` field instead
[INFO] [stdout]   --> src/channel/telegram.rs:32:31
[INFO] [stdout]    |
[INFO] [stdout] 32 |             let user_id = msg.from().map(|u| u.id.0 as i64);
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `memory` is never used
[INFO] [stdout]   --> src/agent/mod.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Agent {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn memory(&self) -> &MemoryStore {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `restore_summary` is never used
[INFO] [stdout]    --> src/agent/context.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout]  61 | impl ContextManager {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn restore_summary(&self, memory: &MemoryStore) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Delta` and `TextComplete` are never constructed
[INFO] [stdout]   --> src/agent/loop_engine.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum LoopEvent {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 15 |     /// Streaming text delta
[INFO] [stdout] 16 |     Delta(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     /// Full text received (no tool calls)
[INFO] [stdout] 18 |     TextComplete(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoopEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `session_id` is never read
[INFO] [stdout]    --> src/agent/loop_engine.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct LoopEngine {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 127 |     session_id: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `memory` is never used
[INFO] [stdout]    --> src/agent/loop_engine.rs:720:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl LoopEngine {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 720 |     pub fn memory(&self) -> &MemoryStore {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_ollama_url` is never used
[INFO] [stdout]    --> src/config/mod.rs:237:12
[INFO] [stdout]     |
[INFO] [stdout] 211 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn get_ollama_url(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `recent_conversations` and `latest_summary` are never used
[INFO] [stdout]    --> src/memory/mod.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | impl MemoryStore {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn recent_conversations(&self, limit: usize) -> Vec<(String, String)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub fn latest_summary(&self, session_id: &str) -> Option<(String, usize)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cwd_only` is never read
[INFO] [stdout]   --> src/permission/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PermissionManager {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 11 |     auto_approve_all: bool,
[INFO] [stdout] 12 |     cwd_only: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PermissionManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_auto_approve_all` is never used
[INFO] [stdout]   --> src/permission/mod.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl PermissionManager {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn set_auto_approve_all(&mut self, value: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_allowed` is never used
[INFO] [stdout]    --> src/permission/mod.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl PermissionResult {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] 110 |     pub fn is_allowed(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `role` is never read
[INFO] [stdout]   --> src/provider/mod.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct ResponseMessage {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 85 |     role: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prompt_tokens` and `completion_tokens` are never read
[INFO] [stdout]   --> src/provider/mod.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct TokenUsage {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 92 |     #[serde(default)]
[INFO] [stdout] 93 |     pub prompt_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 94 |     #[serde(default)]
[INFO] [stdout] 95 |     pub completion_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenUsage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finish_reason` is never read
[INFO] [stdout]    --> src/provider/mod.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct AgentResponse {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub finish_reason: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `chat` is never used
[INFO] [stdout]    --> src/provider/mod.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl OllamaProvider {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub async fn chat(
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `memory` is never used
[INFO] [stdout]   --> src/agent/mod.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Agent {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn memory(&self) -> &MemoryStore {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `restore_summary` is never used
[INFO] [stdout]    --> src/agent/context.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout]  61 | impl ContextManager {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn restore_summary(&self, memory: &MemoryStore) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Delta` and `TextComplete` are never constructed
[INFO] [stdout]   --> src/agent/loop_engine.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum LoopEvent {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 15 |     /// Streaming text delta
[INFO] [stdout] 16 |     Delta(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     /// Full text received (no tool calls)
[INFO] [stdout] 18 |     TextComplete(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoopEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `session_id` is never read
[INFO] [stdout]    --> src/agent/loop_engine.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct LoopEngine {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 127 |     session_id: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `memory` is never used
[INFO] [stdout]    --> src/agent/loop_engine.rs:720:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl LoopEngine {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 720 |     pub fn memory(&self) -> &MemoryStore {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_ollama_url` is never used
[INFO] [stdout]    --> src/config/mod.rs:237:12
[INFO] [stdout]     |
[INFO] [stdout] 211 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn get_ollama_url(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `recent_conversations` and `latest_summary` are never used
[INFO] [stdout]    --> src/memory/mod.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | impl MemoryStore {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn recent_conversations(&self, limit: usize) -> Vec<(String, String)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub fn latest_summary(&self, session_id: &str) -> Option<(String, usize)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cwd_only` is never read
[INFO] [stdout]   --> src/permission/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PermissionManager {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 11 |     auto_approve_all: bool,
[INFO] [stdout] 12 |     cwd_only: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PermissionManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_auto_approve_all` is never used
[INFO] [stdout]   --> src/permission/mod.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl PermissionManager {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn set_auto_approve_all(&mut self, value: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_allowed` is never used
[INFO] [stdout]    --> src/permission/mod.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl PermissionResult {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] 110 |     pub fn is_allowed(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `role` is never read
[INFO] [stdout]   --> src/provider/mod.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct ResponseMessage {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 85 |     role: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prompt_tokens` and `completion_tokens` are never read
[INFO] [stdout]   --> src/provider/mod.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct TokenUsage {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 92 |     #[serde(default)]
[INFO] [stdout] 93 |     pub prompt_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 94 |     #[serde(default)]
[INFO] [stdout] 95 |     pub completion_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenUsage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finish_reason` is never read
[INFO] [stdout]    --> src/provider/mod.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct AgentResponse {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub finish_reason: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `chat` is never used
[INFO] [stdout]    --> src/provider/mod.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl OllamaProvider {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub async fn chat(
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.28.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "43def6f00ffe585b22160aae2fb98dc88a925d1722101ccb5037b3587afd7ab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43def6f00ffe585b22160aae2fb98dc88a925d1722101ccb5037b3587afd7ab7", kill_on_drop: false }`
[INFO] [stdout] 43def6f00ffe585b22160aae2fb98dc88a925d1722101ccb5037b3587afd7ab7
