[INFO] cloning repository https://github.com/devfelipenunes/agent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devfelipenunes/agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfelipenunes%2Fagent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfelipenunes%2Fagent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cc1ea944549bf1c5d17b1148ebbea1af7882e497
[INFO] checking devfelipenunes/agent against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfelipenunes%2Fagent" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  49% (2929/5950)
Updating files:  50% (2975/5950)
Updating files:  51% (3035/5950)
Updating files:  52% (3094/5950)
Updating files:  53% (3154/5950)
Updating files:  54% (3213/5950)
Updating files:  55% (3273/5950)
Updating files:  56% (3332/5950)
Updating files:  57% (3392/5950)
Updating files:  57% (3441/5950)
Updating files:  58% (3451/5950)
Updating files:  59% (3511/5950)
Updating files:  60% (3570/5950)
Updating files:  61% (3630/5950)
Updating files:  61% (3631/5950)
Updating files:  62% (3689/5950)
Updating files:  63% (3749/5950)
Updating files:  63% (3778/5950)
Updating files:  64% (3808/5950)
Updating files:  65% (3868/5950)
Updating files:  66% (3927/5950)
Updating files:  67% (3987/5950)
Updating files:  67% (3989/5950)
Updating files:  67% (4023/5950)
Updating files:  68% (4046/5950)
Updating files:  69% (4106/5950)
Updating files:  70% (4165/5950)
Updating files:  71% (4225/5950)
Updating files:  72% (4284/5950)
Updating files:  73% (4344/5950)
Updating files:  74% (4403/5950)
Updating files:  75% (4463/5950)
Updating files:  76% (4522/5950)
Updating files:  77% (4582/5950)
Updating files:  78% (4641/5950)
Updating files:  79% (4701/5950)
Updating files:  79% (4742/5950)
Updating files:  80% (4760/5950)
Updating files:  81% (4820/5950)
Updating files:  82% (4879/5950)
Updating files:  83% (4939/5950)
Updating files:  84% (4998/5950)
Updating files:  85% (5058/5950)
Updating files:  86% (5117/5950)
Updating files:  87% (5177/5950)
Updating files:  88% (5236/5950)
Updating files:  89% (5296/5950)
Updating files:  90% (5355/5950)
Updating files:  91% (5415/5950)
Updating files:  92% (5474/5950)
Updating files:  93% (5534/5950)
Updating files:  94% (5593/5950)
Updating files:  95% (5653/5950)
Updating files:  96% (5712/5950)
Updating files:  97% (5772/5950)
Updating files:  98% (5831/5950)
Updating files:  99% (5891/5950)
Updating files:  99% (5948/5950)
Updating files: 100% (5950/5950)
Updating files: 100% (5950/5950), done.
[INFO] started tweaking git repo https://github.com/devfelipenunes/agent
[INFO] finished tweaking git repo https://github.com/devfelipenunes/agent
[INFO] tweaked toml for git repo https://github.com/devfelipenunes/agent written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/devfelipenunes/agent on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/devfelipenunes/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" "+65b20a97de33e9e59992793a144aef2950c48c76" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded kasuari v0.4.12
[INFO] [stderr]   Downloaded uuid v1.23.0
[INFO] [stderr]   Downloaded line-clipping v0.3.7
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.117
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.117
[INFO] [stderr]   Downloaded unicode-truncate v2.0.1
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.117
[INFO] [stderr]   Downloaded pest_generator v2.8.6
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.117
[INFO] [stderr]   Downloaded pest_derive v2.8.6
[INFO] [stderr]   Downloaded euclid v0.22.14
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.67
[INFO] [stderr]   Downloaded ollama-rs v0.1.9
[INFO] [stderr]   Downloaded pest_meta v2.8.6
[INFO] [stderr]   Downloaded indexmap v2.13.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.112
[INFO] [stderr]   Downloaded js-sys v0.3.94
[INFO] [stderr]   Downloaded native-tls v0.2.18
[INFO] [stderr]   Downloaded pest v2.8.6
[INFO] [stderr]   Downloaded hnsw_rs v0.1.19
[INFO] [stderr]   Downloaded cpu-time v1.0.0
[INFO] [stderr]   Downloaded shell-words v1.1.1
[INFO] [stderr]   Downloaded skiplist v0.3.0
[INFO] [stderr]   Downloaded ahash v0.4.8
[INFO] [stderr]   Downloaded dialoguer v0.11.0
[INFO] [stderr]   Downloaded hashbrown v0.9.1
[INFO] [stderr]   Downloaded clap_derive v4.6.0
[INFO] [stderr]   Downloaded openssl v0.10.76
[INFO] [stderr]   Downloaded clap v4.6.0
[INFO] [stderr]   Downloaded web-sys v0.3.94
[INFO] [stderr]   Downloaded openssl-src v300.5.5+3.5.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4494cf4b63885e3b704825a8cb013bfe833af2b6f1302377c450b0eb6210994e
[INFO] running `Command { std: "docker" "start" "4494cf4b63885e3b704825a8cb013bfe833af2b6f1302377c450b0eb6210994e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4494cf4b63885e3b704825a8cb013bfe833af2b6f1302377c450b0eb6210994e", 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" "4494cf4b63885e3b704825a8cb013bfe833af2b6f1302377c450b0eb6210994e" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4494cf4b63885e3b704825a8cb013bfe833af2b6f1302377c450b0eb6210994e", 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" "4494cf4b63885e3b704825a8cb013bfe833af2b6f1302377c450b0eb6210994e" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]     Checking unicode-width v0.2.2
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling cc v1.2.58
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling instability v0.3.12
[INFO] [stderr]     Checking compact_str v0.9.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking lru v0.16.3
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling openssl-src v300.5.5+3.5.5
[INFO] [stderr]     Checking num-conv v0.2.1
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]     Checking time-core v0.1.8
[INFO] [stderr]     Checking anstyle-parse v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking line-clipping v0.3.7
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]     Checking colorchoice v1.0.5
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]     Checking rustls-pki-types v1.14.0
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking unicode-truncate v2.0.1
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking humantime v2.3.0
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]     Checking ahash v0.4.8
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking cpu-time v1.0.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking shell-words v1.1.1
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking crossterm v0.29.0
[INFO] [stderr]     Checking skiplist v0.3.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.7
[INFO] [stderr]     Checking dialoguer v0.11.0
[INFO] [stderr]     Checking kasuari v0.4.12
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]     Checking ratatui-core v0.1.0
[INFO] [stderr]     Checking clap v4.6.0
[INFO] [stderr]    Compiling darling v0.23.0
[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 ratatui-widgets v0.3.0
[INFO] [stderr]     Checking ratatui-crossterm v0.1.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking hnsw_rs v0.1.19
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking ratatui-macros v0.7.0
[INFO] [stderr]     Checking ratatui v0.30.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking ollama-rs v0.1.9
[INFO] [stderr]     Checking ollag v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BorderType` and `Rect`
[INFO] [stdout]  --> src/ui.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 |     widgets::{Block, Borders, Paragraph, BorderType, Wrap, Tabs},
[INFO] [stdout]   |                                          ^^^^^^^^^^
[INFO] [stdout] 4 |     layout::{Layout, Constraint, Direction, Rect, Alignment},
[INFO] [stdout]   |                                             ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorderType` and `Rect`
[INFO] [stdout]  --> src/ui.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 |     widgets::{Block, Borders, Paragraph, BorderType, Wrap, Tabs},
[INFO] [stdout]   |                                          ^^^^^^^^^^
[INFO] [stdout] 4 |     layout::{Layout, Constraint, Direction, Rect, Alignment},
[INFO] [stdout]   |                                             ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BridgeEvent`
[INFO] [stdout]  --> src/bridge_tests.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use crate::bridge::{PythonBridge, BridgeEvent};
[INFO] [stdout]   |                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaClient` is never constructed
[INFO] [stdout]  --> src/ollama.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct OllamaClient {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `generate`, and `embed` are never used
[INFO] [stdout]   --> src/ollama.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl OllamaClient {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(model: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub async fn generate(&self, prompt: String) -> Result<String> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub async fn embed(&self, text: String) -> Result<Vec<f32>> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Agent` is never constructed
[INFO] [stdout]  --> src/agent.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Agent {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, and `extract_action` are never used
[INFO] [stdout]   --> src/agent.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Agent {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(client: OllamaClient, toolbox: Toolbox) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub async fn run(&self, task: &str) -> Result<()> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn extract_action(&self, text: &str) -> Option<serde_json::Value> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Tool` is never used
[INFO] [stdout]   --> src/tools/mod.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Tool: Send + Sync {
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Toolbox` is never constructed
[INFO] [stdout]   --> src/tools/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Toolbox {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `register`, `list_tools`, and `call` are never used
[INFO] [stdout]   --> src/tools/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Toolbox {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 22 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn register(&mut self, tool: Box<dyn Tool>) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn list_tools(&self) -> Vec<(&str, &str)> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn call(&self, name: &str, args: Value) -> Result<String> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadFileTool` is never constructed
[INFO] [stdout]  --> src/tools/fs.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ReadFileTool;
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WriteFileTool` is never constructed
[INFO] [stdout]   --> src/tools/fs.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct WriteFileTool;
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListDirTool` is never constructed
[INFO] [stdout]   --> src/tools/fs.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct ListDirTool;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShellTool` is never constructed
[INFO] [stdout]  --> src/tools/shell.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ShellTool;
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KnowledgeSearchTool` is never constructed
[INFO] [stdout]   --> src/tools/obsidian.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct KnowledgeSearchTool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SkillDefinition` is never constructed
[INFO] [stdout]   --> src/skills/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SkillDefinition {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SkillTool` is never constructed
[INFO] [stdout]   --> src/skills/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct SkillTool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `substitute_args` are never used
[INFO] [stdout]   --> src/skills/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl SkillTool {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(definition: SkillDefinition) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn substitute_args(&self, command: &str, args: &Value) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_skills_from_dir` is never used
[INFO] [stdout]   --> src/skills/mod.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn load_skills_from_dir(dir: &str) -> Result<Vec<Box<dyn Tool>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OptionExt` is never used
[INFO] [stdout]   --> src/skills/mod.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 | trait OptionExt {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Document` is never constructed
[INFO] [stdout]  --> src/memory/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Document {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KnowledgeBase` is never constructed
[INFO] [stdout]   --> src/memory/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct KnowledgeBase {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `save`, `load`, `index_directory`, and `search` are never used
[INFO] [stdout]   --> src/memory/mod.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl KnowledgeBase {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn save(&self, path: &str) -> Result<()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn load(path: &str) -> Result<Self> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn index_directory(&mut self, dir: &str, client: &OllamaClient) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn search(&self, query_vector: Vec<f32>, top_k: usize) -> Vec<Document> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cosine_similarity` is never used
[INFO] [stdout]   --> src/memory/mod.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn cosine_similarity(v1: &[f32], v2: &[f32]) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaClient` is never constructed
[INFO] [stdout]  --> src/ollama.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct OllamaClient {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `generate`, and `embed` are never used
[INFO] [stdout]   --> src/ollama.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl OllamaClient {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(model: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub async fn generate(&self, prompt: String) -> Result<String> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub async fn embed(&self, text: String) -> Result<Vec<f32>> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Agent` is never constructed
[INFO] [stdout]  --> src/agent.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Agent {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, and `extract_action` are never used
[INFO] [stdout]   --> src/agent.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Agent {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(client: OllamaClient, toolbox: Toolbox) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub async fn run(&self, task: &str) -> Result<()> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn extract_action(&self, text: &str) -> Option<serde_json::Value> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Tool` is never used
[INFO] [stdout]   --> src/tools/mod.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Tool: Send + Sync {
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Toolbox` is never constructed
[INFO] [stdout]   --> src/tools/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Toolbox {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `register`, `list_tools`, and `call` are never used
[INFO] [stdout]   --> src/tools/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Toolbox {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 22 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn register(&mut self, tool: Box<dyn Tool>) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn list_tools(&self) -> Vec<(&str, &str)> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn call(&self, name: &str, args: Value) -> Result<String> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadFileTool` is never constructed
[INFO] [stdout]  --> src/tools/fs.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ReadFileTool;
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WriteFileTool` is never constructed
[INFO] [stdout]   --> src/tools/fs.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct WriteFileTool;
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListDirTool` is never constructed
[INFO] [stdout]   --> src/tools/fs.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct ListDirTool;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShellTool` is never constructed
[INFO] [stdout]  --> src/tools/shell.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ShellTool;
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KnowledgeSearchTool` is never constructed
[INFO] [stdout]   --> src/tools/obsidian.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct KnowledgeSearchTool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SkillDefinition` is never constructed
[INFO] [stdout]   --> src/skills/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SkillDefinition {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SkillTool` is never constructed
[INFO] [stdout]   --> src/skills/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct SkillTool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `substitute_args` are never used
[INFO] [stdout]   --> src/skills/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl SkillTool {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(definition: SkillDefinition) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn substitute_args(&self, command: &str, args: &Value) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_skills_from_dir` is never used
[INFO] [stdout]   --> src/skills/mod.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn load_skills_from_dir(dir: &str) -> Result<Vec<Box<dyn Tool>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OptionExt` is never used
[INFO] [stdout]   --> src/skills/mod.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 | trait OptionExt {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Document` is never constructed
[INFO] [stdout]  --> src/memory/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Document {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KnowledgeBase` is never constructed
[INFO] [stdout]   --> src/memory/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct KnowledgeBase {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `save`, `load`, `index_directory`, and `search` are never used
[INFO] [stdout]   --> src/memory/mod.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl KnowledgeBase {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn save(&self, path: &str) -> Result<()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn load(path: &str) -> Result<Self> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn index_directory(&mut self, dir: &str, client: &OllamaClient) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn search(&self, query_vector: Vec<f32>, top_k: usize) -> Vec<Document> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cosine_similarity` is never used
[INFO] [stdout]   --> src/memory/mod.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn cosine_similarity(v1: &[f32], v2: &[f32]) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.44s
[INFO] running `Command { std: "docker" "inspect" "4494cf4b63885e3b704825a8cb013bfe833af2b6f1302377c450b0eb6210994e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4494cf4b63885e3b704825a8cb013bfe833af2b6f1302377c450b0eb6210994e", kill_on_drop: false }`
[INFO] [stdout] 4494cf4b63885e3b704825a8cb013bfe833af2b6f1302377c450b0eb6210994e
