[INFO] cloning repository https://github.com/crustaison/crustaison [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crustaison/crustaison" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrustaison%2Fcrustaison", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrustaison%2Fcrustaison'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 420441bfa1a33d20d99846bdfab22fda0866dae8 [INFO] checking crustaison/crustaison/420441bfa1a33d20d99846bdfab22fda0866dae8 against master#91775dbec9771aa0c1b9ebe268eb5bd271e79a7a for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrustaison%2Fcrustaison" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crustaison/crustaison [INFO] finished tweaking git repo https://github.com/crustaison/crustaison [INFO] tweaked toml for git repo https://github.com/crustaison/crustaison written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crustaison/crustaison on toolchain 91775dbec9771aa0c1b9ebe268eb5bd271e79a7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91775dbec9771aa0c1b9ebe268eb5bd271e79a7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/crustaison/crustaison 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" "+91775dbec9771aa0c1b9ebe268eb5bd271e79a7a" "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 scraper v0.20.0 [INFO] [stderr] Downloaded rc-box v1.3.0 [INFO] [stderr] Downloaded pulldown-cmark-escape v0.10.1 [INFO] [stderr] Downloaded imap-proto v0.10.2 [INFO] [stderr] Downloaded markup5ever v0.12.1 [INFO] [stderr] Downloaded selectors v0.25.0 [INFO] [stderr] Downloaded imap v2.4.1 [INFO] [stderr] Downloaded cssparser v0.31.2 [INFO] [stderr] Downloaded html5ever v0.27.0 [INFO] [stderr] Downloaded teloxide-core v0.9.1 [INFO] [stderr] Downloaded dtoa v1.0.11 [INFO] [stderr] Downloaded pulldown-cmark v0.10.3 [INFO] [stderr] Downloaded teloxide-macros v0.7.1 [INFO] [stderr] Downloaded teloxide v0.12.2 [INFO] [stderr] Downloaded ego-tree v0.6.3 [INFO] [stderr] Downloaded servo_arc v0.3.0 [INFO] [stderr] Downloaded shellwords v1.1.0 [INFO] [stderr] Downloaded erasable v1.3.0 [INFO] [stderr] Downloaded ratatui v0.26.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+91775dbec9771aa0c1b9ebe268eb5bd271e79a7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44de102a1634ea966db06ac046bf67babfa5c809c2ee710d6498f718aa76a2fa [INFO] running `Command { std: "docker" "start" "-a" "44de102a1634ea966db06ac046bf67babfa5c809c2ee710d6498f718aa76a2fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44de102a1634ea966db06ac046bf67babfa5c809c2ee710d6498f718aa76a2fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44de102a1634ea966db06ac046bf67babfa5c809c2ee710d6498f718aa76a2fa", kill_on_drop: false }` [INFO] [stdout] 44de102a1634ea966db06ac046bf67babfa5c809c2ee710d6498f718aa76a2fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+91775dbec9771aa0c1b9ebe268eb5bd271e79a7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ad2bbfc691fffe2d25dcfeee51eb20dae9b077f39c486b4ec2ffbddc426aa51 [INFO] running `Command { std: "docker" "start" "-a" "9ad2bbfc691fffe2d25dcfeee51eb20dae9b077f39c486b4ec2ffbddc426aa51", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling syn v2.0.115 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling native-tls v0.2.16 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling psm v0.1.30 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling stacker v0.1.23 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking dtoa v1.0.11 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling tempfile v3.25.0 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.58 [INFO] [stderr] Checking email-encoding v0.4.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking imap-proto v0.10.2 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking hostname v0.4.2 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking pulldown-cmark-escape v0.10.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking ego-tree v0.6.3 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking scraper v0.20.0 [INFO] [stderr] Checking imap v2.4.1 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking ratatui v0.26.3 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking clap v4.5.58 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking shellwords v1.1.0 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking lettre v0.11.19 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking crustaison v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ConfigResult`, `EmailConfig`, and `GitHubConfig` [INFO] [stdout] --> src/config/mod.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub use config::{Config, ConfigResult, EmailConfig, GitHubConfig}; [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: `GatewayMessage`, `Gateway`, and `NormalizedMessage` [INFO] [stdout] --> src/authority/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub use gateway::{Gateway, GatewayMessage, NormalizedMessage}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutionResult` [INFO] [stdout] --> src/authority/mod.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | pub use executor::{Executor, Command, ExecutionResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `policy::Policy` [INFO] [stdout] --> src/authority/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use policy::Policy; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cognition/doctrine_loader.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/cognition/memory_engine.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/runtime/run_logs.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/runtime/checks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmailCheckConfig` [INFO] [stdout] --> src/runtime/mod.rs:16:83 [INFO] [stdout] | [INFO] [stdout] 16 | pub use heartbeat::{Heartbeat, HeartbeatRunner, HeartbeatStatus, HeartbeatConfig, EmailCheckConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogEntry` [INFO] [stdout] --> src/runtime/mod.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub use run_logs::{RunLogs, LogEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CheckResult`, `CheckStatus`, `Check`, and `default_checks` [INFO] [stdout] --> src/runtime/mod.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub use checks::{Check, CheckResult, CheckStatus, default_checks}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScheduledTask`, `TaskAction`, and `TaskStatus` [INFO] [stdout] --> src/runtime/mod.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub use scheduler::{TaskQueue, ScheduledTask, TaskAction, TaskStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::Engine as _` [INFO] [stdout] --> src/telegram/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use base64::Engine as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/providers/provider.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModelInfo`, `ProviderError`, and `Provider` [INFO] [stdout] --> src/providers/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub use provider::{Provider, ProviderError, ModelInfo}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nexa::NexaProvider` [INFO] [stdout] --> src/providers/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use nexa::NexaProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subprocess::SubprocessProvider` [INFO] [stdout] --> src/providers/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use subprocess::SubprocessProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConfigResult`, `EmailConfig`, and `GitHubConfig` [INFO] [stdout] --> src/config/mod.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub use config::{Config, ConfigResult, EmailConfig, GitHubConfig}; [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: `ScheduleTool` [INFO] [stdout] --> src/tools/builder.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::tools::{ToolRegistry, ExecTool, FilesTool, WebTool, BrowserTool, ImageTool, ScheduleTool, HttpTool, GoogleDriveTool, Googl... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tools/builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/tools/web.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/tools/browser.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GatewayMessage`, `Gateway`, and `NormalizedMessage` [INFO] [stdout] --> src/authority/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub use gateway::{Gateway, GatewayMessage, NormalizedMessage}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutionResult` [INFO] [stdout] --> src/authority/mod.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | pub use executor::{Executor, Command, ExecutionResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `policy::Policy` [INFO] [stdout] --> src/authority/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use policy::Policy; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cognition/doctrine_loader.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/cognition/memory_engine.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecConfig` [INFO] [stdout] --> src/tools/mod.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub use exec::{ExecTool, ExecConfig}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FilesConfig` [INFO] [stdout] --> src/tools/mod.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub use files::{FilesTool, FilesConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebConfig` [INFO] [stdout] --> src/tools/mod.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub use web::{WebTool, WebConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmailConfig` [INFO] [stdout] --> src/tools/mod.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub use email::{EmailTool, EmailConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GitHubConfig` [INFO] [stdout] --> src/tools/mod.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | pub use github::{GitHubTool, GitHubConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PluginManifest` and `ScriptTool` [INFO] [stdout] --> src/tools/mod.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub use plugin::{ScriptTool, PluginManifest, load_plugins}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpConfig`, `HttpRequest`, and `HttpResult` [INFO] [stdout] --> src/tools/mod.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | pub use http::{HttpTool, HttpConfig, HttpRequest, HttpResult}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/runtime/run_logs.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/runtime/checks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmailCheckConfig` [INFO] [stdout] --> src/runtime/mod.rs:16:83 [INFO] [stdout] | [INFO] [stdout] 16 | pub use heartbeat::{Heartbeat, HeartbeatRunner, HeartbeatStatus, HeartbeatConfig, EmailCheckConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/memory/mod.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/cli/mod.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/vector/mod.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogEntry` [INFO] [stdout] --> src/runtime/mod.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub use run_logs::{RunLogs, LogEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CheckResult`, `CheckStatus`, `Check`, and `default_checks` [INFO] [stdout] --> src/runtime/mod.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub use checks::{Check, CheckResult, CheckStatus, default_checks}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScheduledTask`, `TaskAction`, and `TaskStatus` [INFO] [stdout] --> src/runtime/mod.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub use scheduler::{TaskQueue, ScheduledTask, TaskAction, TaskStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::Engine as _` [INFO] [stdout] --> src/telegram/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use base64::Engine as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Plan` and `Reflection` [INFO] [stdout] --> src/main.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | use cognition::{MemoryEngine, DoctrineLoader, Planner, Plan, Reflection, ReflectionEngine}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeartbeatStatus` and `WorkingMemory` [INFO] [stdout] --> src/main.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | use runtime::{MemoryJson, WorkingMemory, RunLogs, HeartbeatRunner, HeartbeatStatus, HeartbeatConfig, TaskQueue}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToolRegistry` [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | use tools::{ToolRegistry, create_tool_registry, ScheduleTool, EmailTool, GitHubTool, MemoryTool, ModelSwitchTool}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/providers/provider.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PluginManager` and `PluginState` [INFO] [stdout] --> src/main.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | use plugins::{PluginManager, PluginState}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebhookServer` [INFO] [stdout] --> src/main.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | use webhooks::{WebhookServer, WebhookClient, OutboundWebhook}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModelInfo`, `ProviderError`, and `Provider` [INFO] [stdout] --> src/providers/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub use provider::{Provider, ProviderError, ModelInfo}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nexa::NexaProvider` [INFO] [stdout] --> src/providers/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use nexa::NexaProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subprocess::SubprocessProvider` [INFO] [stdout] --> src/providers/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use subprocess::SubprocessProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScheduleTool` [INFO] [stdout] --> src/tools/builder.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::tools::{ToolRegistry, ExecTool, FilesTool, WebTool, BrowserTool, ImageTool, ScheduleTool, HttpTool, GoogleDriveTool, Googl... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tools/builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/tools/web.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/tools/browser.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecConfig` [INFO] [stdout] --> src/tools/mod.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub use exec::{ExecTool, ExecConfig}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FilesConfig` [INFO] [stdout] --> src/tools/mod.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub use files::{FilesTool, FilesConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebConfig` [INFO] [stdout] --> src/tools/mod.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub use web::{WebTool, WebConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmailConfig` [INFO] [stdout] --> src/tools/mod.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub use email::{EmailTool, EmailConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GitHubConfig` [INFO] [stdout] --> src/tools/mod.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | pub use github::{GitHubTool, GitHubConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PluginManifest` and `ScriptTool` [INFO] [stdout] --> src/tools/mod.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub use plugin::{ScriptTool, PluginManifest, load_plugins}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpConfig`, `HttpRequest`, and `HttpResult` [INFO] [stdout] --> src/tools/mod.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | pub use http::{HttpTool, HttpConfig, HttpRequest, HttpResult}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/memory/mod.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/cli/mod.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/vector/mod.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Plan` and `Reflection` [INFO] [stdout] --> src/main.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | use cognition::{MemoryEngine, DoctrineLoader, Planner, Plan, Reflection, ReflectionEngine}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeartbeatStatus` and `WorkingMemory` [INFO] [stdout] --> src/main.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | use runtime::{MemoryJson, WorkingMemory, RunLogs, HeartbeatRunner, HeartbeatStatus, HeartbeatConfig, TaskQueue}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToolRegistry` [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | use tools::{ToolRegistry, create_tool_registry, ScheduleTool, EmailTool, GitHubTool, MemoryTool, ModelSwitchTool}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PluginManager` and `PluginState` [INFO] [stdout] --> src/main.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | use plugins::{PluginManager, PluginState}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebhookServer` [INFO] [stdout] --> src/main.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | use webhooks::{WebhookServer, WebhookClient, OutboundWebhook}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/authority/executor.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/authority/executor.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/authority/policy.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn check(&self, action: &str, context: &HashMap) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/authority/policy.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn check(&self, action: &str, context: &HashMap) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/tools/files.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let path = entry.path(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_pattern` [INFO] [stdout] --> src/tools/files.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let full_pattern = format!("{}/**/{}", search_base.display(), pattern); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/tools/files.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let path = entry.path(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_pattern` [INFO] [stdout] --> src/tools/files.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let full_pattern = format!("{}/**/{}", search_base.display(), pattern); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tools/web.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | Err(e) => return ToolResult::ok(format!("No results found for: {}", query)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_type` [INFO] [stdout] --> src/tools/web.rs:545:13 [INFO] [stdout] | [INFO] [stdout] 545 | let content_type = response.headers() [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tools/web.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | Err(e) => return ToolResult::ok(format!("No results found for: {}", query)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_type` [INFO] [stdout] --> src/tools/web.rs:545:13 [INFO] [stdout] | [INFO] [stdout] 545 | let content_type = response.headers() [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/rag/mod.rs:48:59 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn index_document(&mut self, content: &str, source: &str, metadata: Option) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/rag/mod.rs:48:59 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn index_document(&mut self, content: &str, source: &str, metadata: Option) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1453:17 [INFO] [stdout] | [INFO] [stdout] 1453 | let mut vector_store = VectorStore::new(vector_path); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent_chat` [INFO] [stdout] --> src/main.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 756 | let agent_chat = agent.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_chat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heartbeat` [INFO] [stdout] --> src/main.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | let heartbeat = heartbeat.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heartbeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_manager` [INFO] [stdout] --> src/main.rs:892:17 [INFO] [stdout] | [INFO] [stdout] 892 | let session_manager = std::sync::Arc::new(tokio::sync::Mutex::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/main.rs:900:17 [INFO] [stdout] | [INFO] [stdout] 900 | let memory_manager = std::sync::Arc::new(MemoryManager::new(memory_path)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/main.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 238 | struct ChatRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 241 | metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chat` is never used [INFO] [stdout] --> src/main.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | async fn chat( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SerializeError` and `MissingField` are never constructed [INFO] [stdout] --> src/config/config.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum ConfigError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 183 | SerializeError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | MissingField(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/config/config.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn save(&self, path: &PathBuf) -> ConfigResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthResult` is never constructed [INFO] [stdout] --> src/authority/gateway.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct AuthResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GatewayMessage` is never constructed [INFO] [stdout] --> src/authority/gateway.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct GatewayMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NormalizedMessage` is never constructed [INFO] [stdout] --> src/authority/gateway.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct NormalizedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `allow`, and `remaining` are never used [INFO] [stdout] --> src/authority/gateway.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl RateLimit { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 55 | fn new(max_requests: u32, window_seconds: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn allow(&mut self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn remaining(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window_seconds` is never read [INFO] [stdout] --> src/authority/gateway.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Gateway { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | window_seconds: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process`, `authenticate`, and `extract_intent` are never used [INFO] [stdout] --> src/authority/gateway.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 89 | impl Gateway { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn process(&self, message: GatewayMessage) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | async fn authenticate(&self, message: &GatewayMessage) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | async fn extract_intent(&self, content: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Policy` is never used [INFO] [stdout] --> src/authority/policy.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Policy { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolicyEngine` is never constructed [INFO] [stdout] --> src/authority/policy.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PolicyEngine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `check` are never used [INFO] [stdout] --> src/authority/policy.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl PolicyEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 41 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn check(&self, action: &str, context: &HashMap) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `working_memory` is never read [INFO] [stdout] --> src/cognition/planner.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Planner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 40 | working_memory: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `learn` is never used [INFO] [stdout] --> src/cognition/planner.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl Planner { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn learn(&mut self, plan_id: &str, success: bool, feedback: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search_by_type`, `delete`, and `clear` are never used [INFO] [stdout] --> src/cognition/memory_engine.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 29 | impl MemoryEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn search_by_type(&self, record_type: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub async fn delete(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn clear(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load` and `get_mut` are never used [INFO] [stdout] --> src/runtime/memory_json.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 47 | impl MemoryJson { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub async fn load(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_mut(&mut self) -> &mut WorkingMemory { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_path` is never read [INFO] [stdout] --> src/runtime/heartbeat.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Heartbeat { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 23 | pub config_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Heartbeat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_check`, `stop`, and `get_status` are never used [INFO] [stdout] --> src/runtime/heartbeat.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl HeartbeatRunner { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn add_check(&mut self, check: Box) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub async fn get_status(&self) -> HeartbeatStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeartbeatStatus` is never constructed [INFO] [stdout] --> src/runtime/heartbeat.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct HeartbeatStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogEntry` is never constructed [INFO] [stdout] --> src/runtime/run_logs.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct LogEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log` and `info` are never used [INFO] [stdout] --> src/runtime/run_logs.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl RunLogs { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn log(&self, level: &str, module: &str, message: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn info(&self, module: &str, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DockerCheck` is never constructed [INFO] [stdout] --> src/runtime/checks.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct DockerCheck { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/runtime/checks.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 344 | impl DockerCheck { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 345 | pub fn new(expected_containers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniMaxConfig` is never constructed [INFO] [stdout] --> src/providers/minimax.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MiniMaxConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_config` is never used [INFO] [stdout] --> src/providers/minimax.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl MiniMaxProvider { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_config(config: MiniMaxConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/providers/minimax.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | struct ApiResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 212 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `finish_reason` are never read [INFO] [stdout] --> src/providers/minimax.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 218 | struct ApiChoice { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 219 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 220 | message: ApiMessage, [INFO] [stdout] 221 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelInfo` is never constructed [INFO] [stdout] --> src/providers/provider.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ModelInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ModelNotFound`, `Timeout`, and `NotImplemented` are never constructed [INFO] [stdout] --> src/providers/provider.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum ProviderError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | ModelNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | NotImplemented(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProviderError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `model_info`, `is_available`, and `default_model` are never used [INFO] [stdout] --> src/providers/provider.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Provider: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 69 | /// Get provider name [INFO] [stdout] 70 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | async fn model_info(&self) -> ProviderResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | async fn is_available(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn default_model(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NexaConfig` is never constructed [INFO] [stdout] --> src/providers/nexa.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NexaConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/providers/nexa.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct NexaProvider { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_config` and `list_models` are never used [INFO] [stdout] --> src/providers/nexa.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl NexaProvider { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_config(config: NexaConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn list_models(&self) -> ProviderResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read [INFO] [stdout] --> src/providers/nexa.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 206 | struct NexaChatResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 207 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 208 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 209 | created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 210 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `finish_reason` are never read [INFO] [stdout] --> src/providers/nexa.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | struct NexaChoice { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 217 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 218 | message: NexaMessage, [INFO] [stdout] 219 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_history` is never used [INFO] [stdout] --> src/agent.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait AgentTrait: Send + Sync { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 25 | async fn chat(&mut self, message: &str) -> Result; [INFO] [stdout] 26 | fn clear_history(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/agent.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 44 | impl Agent { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 45 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn with_tools( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn with_executor( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn provider_label(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | pub async fn chat_with_images(&mut self, user_message: &str, images: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | pub async fn switch_session(&mut self, session_id: &str) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 561 | pub fn current_session(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `list`, `has`, and `schema` are never used [INFO] [stdout] --> src/tools/registry.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl ToolRegistry { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn list(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn has(&self, name: &str) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn schema(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidArguments`, `ExecutionFailed`, `NotFound`, `PermissionDenied`, and `IoError` are never constructed [INFO] [stdout] --> src/tools/tool.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum ToolError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 68 | #[error("Invalid arguments: {0}")] [INFO] [stdout] 69 | InvalidArguments(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | ExecutionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | PermissionDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | IoError(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tool_registry_with_config` is never used [INFO] [stdout] --> src/tools/builder.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn create_tool_registry_with_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_config` is never used [INFO] [stdout] --> src/tools/exec.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ExecTool { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_config(config: ExecConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_config` is never used [INFO] [stdout] --> src/tools/files.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl FilesTool { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn with_config(config: FilesConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResult` is never constructed [INFO] [stdout] --> src/tools/web.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SearchResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_config` is never used [INFO] [stdout] --> src/tools/web.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl WebTool { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn with_config(config: WebConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_config` is never used [INFO] [stdout] --> src/tools/http.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl HttpTool { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_config(config: HttpConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search` is never used [INFO] [stdout] --> src/sessions/mod.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 35 | impl SessionManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub async fn search(&self, query: &str) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorStoreConfig` is never constructed [INFO] [stdout] --> src/vector/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct VectorStoreConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete` and `is_empty` are never used [INFO] [stdout] --> src/vector/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl VectorStore { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn delete(&mut self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embed_batch` is never used [INFO] [stdout] --> src/vector/mod.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 149 | impl Embedder { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn embed_batch(&self, texts: &[&str]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentChunk` is never constructed [INFO] [stdout] --> src/rag/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DocumentChunk { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginMetadata` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PluginMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginState` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct PluginState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginManifest` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct PluginManifest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginManager` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PluginManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/plugins/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl PluginManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 46 | /// Create new plugin manager [INFO] [stdout] 47 | pub fn new(plugins_dir: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn discover_plugins(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn load_plugin(&mut self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn enable(&mut self, name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn disable(&mut self, name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn list(&self) -> Vec<&PluginState> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn enabled(&self) -> Vec<&PluginState> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get(&self, name: &str) -> Option<&PluginState> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn unload(&mut self, name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn save_state(&self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Plugin` is never used [INFO] [stdout] --> src/plugins/mod.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginContext` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct PluginContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugins/mod.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl PluginContext { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 196 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebhookConfig` is never constructed [INFO] [stdout] --> src/webhooks/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WebhookConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebhookEvent` is never constructed [INFO] [stdout] --> src/webhooks/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct WebhookEvent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebhookServer` is never constructed [INFO] [stdout] --> src/webhooks/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct WebhookServer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `on`, `dispatch`, and `config` are never used [INFO] [stdout] --> src/webhooks/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl WebhookServer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 47 | /// Create new webhook server [INFO] [stdout] 48 | pub fn new(path: PathBuf, config: WebhookConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn on(&mut self, event: &str, handler: Box) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn dispatch(&self, event_type: &str, payload: serde_json::Value, source: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn config(&self) -> &WebhookConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `webhooks` is never read [INFO] [stdout] --> src/webhooks/mod.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct WebhookClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 89 | client: reqwest::Client, [INFO] [stdout] 90 | webhooks: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register`, `trigger`, and `send` are never used [INFO] [stdout] --> src/webhooks/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl WebhookClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn register(&mut self, webhook: OutboundWebhook) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn trigger(&self, event_type: &str, payload: &serde_json::Value) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | async fn send(&self, webhook: &OutboundWebhook, payload: &serde_json::Value) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_received` is never used [INFO] [stdout] --> src/webhooks/mod.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn message_received(source: &str, message: &str) -> WebhookEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `session_created` is never used [INFO] [stdout] --> src/webhooks/mod.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn session_created(session_id: &str) -> WebhookEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tool_executed` is never used [INFO] [stdout] --> src/webhooks/mod.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn tool_executed(tool_name: &str, success: bool, duration_ms: u64) -> WebhookEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1453:17 [INFO] [stdout] | [INFO] [stdout] 1453 | let mut vector_store = VectorStore::new(vector_path); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent_chat` [INFO] [stdout] --> src/main.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 756 | let agent_chat = agent.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_chat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heartbeat` [INFO] [stdout] --> src/main.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | let heartbeat = heartbeat.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heartbeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_manager` [INFO] [stdout] --> src/main.rs:892:17 [INFO] [stdout] | [INFO] [stdout] 892 | let session_manager = std::sync::Arc::new(tokio::sync::Mutex::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_manager` [INFO] [stdout] --> src/main.rs:900:17 [INFO] [stdout] | [INFO] [stdout] 900 | let memory_manager = std::sync::Arc::new(MemoryManager::new(memory_path)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/main.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 238 | struct ChatRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 241 | metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chat` is never used [INFO] [stdout] --> src/main.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | async fn chat( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SerializeError` and `MissingField` are never constructed [INFO] [stdout] --> src/config/config.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum ConfigError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 183 | SerializeError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | MissingField(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/config/config.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn save(&self, path: &PathBuf) -> ConfigResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthResult` is never constructed [INFO] [stdout] --> src/authority/gateway.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct AuthResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GatewayMessage` is never constructed [INFO] [stdout] --> src/authority/gateway.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct GatewayMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NormalizedMessage` is never constructed [INFO] [stdout] --> src/authority/gateway.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct NormalizedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `allow`, and `remaining` are never used [INFO] [stdout] --> src/authority/gateway.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl RateLimit { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 55 | fn new(max_requests: u32, window_seconds: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn allow(&mut self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn remaining(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window_seconds` is never read [INFO] [stdout] --> src/authority/gateway.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Gateway { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | window_seconds: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process`, `authenticate`, and `extract_intent` are never used [INFO] [stdout] --> src/authority/gateway.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 89 | impl Gateway { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn process(&self, message: GatewayMessage) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | async fn authenticate(&self, message: &GatewayMessage) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | async fn extract_intent(&self, content: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Policy` is never used [INFO] [stdout] --> src/authority/policy.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Policy { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolicyEngine` is never constructed [INFO] [stdout] --> src/authority/policy.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PolicyEngine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `check` are never used [INFO] [stdout] --> src/authority/policy.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl PolicyEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 41 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn check(&self, action: &str, context: &HashMap) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `working_memory` is never read [INFO] [stdout] --> src/cognition/planner.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Planner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 40 | working_memory: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `learn` is never used [INFO] [stdout] --> src/cognition/planner.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl Planner { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn learn(&mut self, plan_id: &str, success: bool, feedback: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search_by_type`, `delete`, and `clear` are never used [INFO] [stdout] --> src/cognition/memory_engine.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 29 | impl MemoryEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn search_by_type(&self, record_type: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub async fn delete(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn clear(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load` and `get_mut` are never used [INFO] [stdout] --> src/runtime/memory_json.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 47 | impl MemoryJson { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub async fn load(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_mut(&mut self) -> &mut WorkingMemory { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_path` is never read [INFO] [stdout] --> src/runtime/heartbeat.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Heartbeat { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 23 | pub config_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Heartbeat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_check`, `stop`, and `get_status` are never used [INFO] [stdout] --> src/runtime/heartbeat.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl HeartbeatRunner { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn add_check(&mut self, check: Box) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub async fn get_status(&self) -> HeartbeatStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeartbeatStatus` is never constructed [INFO] [stdout] --> src/runtime/heartbeat.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct HeartbeatStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogEntry` is never constructed [INFO] [stdout] --> src/runtime/run_logs.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct LogEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log` and `info` are never used [INFO] [stdout] --> src/runtime/run_logs.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl RunLogs { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn log(&self, level: &str, module: &str, message: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn info(&self, module: &str, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DockerCheck` is never constructed [INFO] [stdout] --> src/runtime/checks.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct DockerCheck { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/runtime/checks.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 344 | impl DockerCheck { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 345 | pub fn new(expected_containers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniMaxConfig` is never constructed [INFO] [stdout] --> src/providers/minimax.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MiniMaxConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_config` is never used [INFO] [stdout] --> src/providers/minimax.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl MiniMaxProvider { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_config(config: MiniMaxConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/providers/minimax.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | struct ApiResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 212 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `finish_reason` are never read [INFO] [stdout] --> src/providers/minimax.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 218 | struct ApiChoice { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 219 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 220 | message: ApiMessage, [INFO] [stdout] 221 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelInfo` is never constructed [INFO] [stdout] --> src/providers/provider.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ModelInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ModelNotFound`, `Timeout`, and `NotImplemented` are never constructed [INFO] [stdout] --> src/providers/provider.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum ProviderError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | ModelNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | NotImplemented(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProviderError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `model_info`, `is_available`, and `default_model` are never used [INFO] [stdout] --> src/providers/provider.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Provider: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 69 | /// Get provider name [INFO] [stdout] 70 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | async fn model_info(&self) -> ProviderResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | async fn is_available(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn default_model(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NexaConfig` is never constructed [INFO] [stdout] --> src/providers/nexa.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NexaConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/providers/nexa.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct NexaProvider { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_config` and `list_models` are never used [INFO] [stdout] --> src/providers/nexa.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl NexaProvider { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_config(config: NexaConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn list_models(&self) -> ProviderResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read [INFO] [stdout] --> src/providers/nexa.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 206 | struct NexaChatResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 207 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 208 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 209 | created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 210 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `finish_reason` are never read [INFO] [stdout] --> src/providers/nexa.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | struct NexaChoice { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 217 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 218 | message: NexaMessage, [INFO] [stdout] 219 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_history` is never used [INFO] [stdout] --> src/agent.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait AgentTrait: Send + Sync { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 25 | async fn chat(&mut self, message: &str) -> Result; [INFO] [stdout] 26 | fn clear_history(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/agent.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 44 | impl Agent { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 45 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn with_tools( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn with_executor( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn provider_label(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | pub async fn chat_with_images(&mut self, user_message: &str, images: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | pub async fn switch_session(&mut self, session_id: &str) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 561 | pub fn current_session(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `list`, `has`, and `schema` are never used [INFO] [stdout] --> src/tools/registry.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl ToolRegistry { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn list(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn has(&self, name: &str) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn schema(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidArguments`, `ExecutionFailed`, `NotFound`, `PermissionDenied`, and `IoError` are never constructed [INFO] [stdout] --> src/tools/tool.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum ToolError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 68 | #[error("Invalid arguments: {0}")] [INFO] [stdout] 69 | InvalidArguments(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | ExecutionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | PermissionDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | IoError(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tool_registry_with_config` is never used [INFO] [stdout] --> src/tools/builder.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn create_tool_registry_with_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_config` is never used [INFO] [stdout] --> src/tools/exec.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ExecTool { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_config(config: ExecConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_config` is never used [INFO] [stdout] --> src/tools/files.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl FilesTool { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn with_config(config: FilesConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResult` is never constructed [INFO] [stdout] --> src/tools/web.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SearchResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_config` is never used [INFO] [stdout] --> src/tools/web.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl WebTool { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn with_config(config: WebConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_config` is never used [INFO] [stdout] --> src/tools/http.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl HttpTool { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_config(config: HttpConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search` is never used [INFO] [stdout] --> src/sessions/mod.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 35 | impl SessionManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub async fn search(&self, query: &str) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorStoreConfig` is never constructed [INFO] [stdout] --> src/vector/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct VectorStoreConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete` and `is_empty` are never used [INFO] [stdout] --> src/vector/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl VectorStore { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn delete(&mut self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embed_batch` is never used [INFO] [stdout] --> src/vector/mod.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 149 | impl Embedder { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn embed_batch(&self, texts: &[&str]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentChunk` is never constructed [INFO] [stdout] --> src/rag/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DocumentChunk { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginMetadata` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PluginMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginState` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct PluginState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginManifest` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct PluginManifest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginManager` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PluginManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/plugins/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl PluginManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 46 | /// Create new plugin manager [INFO] [stdout] 47 | pub fn new(plugins_dir: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn discover_plugins(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn load_plugin(&mut self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn enable(&mut self, name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn disable(&mut self, name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn list(&self) -> Vec<&PluginState> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn enabled(&self) -> Vec<&PluginState> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get(&self, name: &str) -> Option<&PluginState> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn unload(&mut self, name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn save_state(&self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Plugin` is never used [INFO] [stdout] --> src/plugins/mod.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginContext` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct PluginContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugins/mod.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl PluginContext { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 196 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebhookConfig` is never constructed [INFO] [stdout] --> src/webhooks/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WebhookConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebhookEvent` is never constructed [INFO] [stdout] --> src/webhooks/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct WebhookEvent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebhookServer` is never constructed [INFO] [stdout] --> src/webhooks/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct WebhookServer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `on`, `dispatch`, and `config` are never used [INFO] [stdout] --> src/webhooks/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl WebhookServer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 47 | /// Create new webhook server [INFO] [stdout] 48 | pub fn new(path: PathBuf, config: WebhookConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn on(&mut self, event: &str, handler: Box) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn dispatch(&self, event_type: &str, payload: serde_json::Value, source: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn config(&self) -> &WebhookConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `webhooks` is never read [INFO] [stdout] --> src/webhooks/mod.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct WebhookClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 89 | client: reqwest::Client, [INFO] [stdout] 90 | webhooks: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register`, `trigger`, and `send` are never used [INFO] [stdout] --> src/webhooks/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl WebhookClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn register(&mut self, webhook: OutboundWebhook) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn trigger(&self, event_type: &str, payload: &serde_json::Value) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | async fn send(&self, webhook: &OutboundWebhook, payload: &serde_json::Value) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_received` is never used [INFO] [stdout] --> src/webhooks/mod.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn message_received(source: &str, message: &str) -> WebhookEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `session_created` is never used [INFO] [stdout] --> src/webhooks/mod.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn session_created(session_id: &str) -> WebhookEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tool_executed` is never used [INFO] [stdout] --> src/webhooks/mod.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn tool_executed(tool_name: &str, success: bool, duration_ms: u64) -> WebhookEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: imap-proto v0.10.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9ad2bbfc691fffe2d25dcfeee51eb20dae9b077f39c486b4ec2ffbddc426aa51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ad2bbfc691fffe2d25dcfeee51eb20dae9b077f39c486b4ec2ffbddc426aa51", kill_on_drop: false }` [INFO] [stdout] 9ad2bbfc691fffe2d25dcfeee51eb20dae9b077f39c486b4ec2ffbddc426aa51