[INFO] fetching crate squid-rs 0.11.0... [INFO] checking squid-rs-0.11.0 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-2 [INFO] extracting crate squid-rs 0.11.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate squid-rs 0.11.0 [INFO] finished tweaking crates.io crate squid-rs 0.11.0 [INFO] tweaked toml for crates.io crate squid-rs 0.11.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate squid-rs 0.11.0 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate squid-rs 0.11.0 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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-openai-macros v0.1.1 [INFO] [stderr] Downloaded inquire v0.9.4 [INFO] [stderr] Downloaded native-tls v0.2.15 [INFO] [stderr] Downloaded async-openai v0.33.1 [INFO] [stderr] Downloaded sqlite-vec v0.1.6 [INFO] [stderr] Downloaded sysinfo v0.38.1 [INFO] [stderr] Downloaded jiff v0.2.18 [INFO] [stderr] Downloaded actix-cors v0.7.1 [INFO] [stderr] Downloaded rig-core v0.2.1 [INFO] [stderr] Downloaded jiff-static v0.2.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43029dc71af1c680f860ec7382e871672dc85b24c252f3118a23603c5837abf8 [INFO] running `Command { std: "docker" "start" "-a" "43029dc71af1c680f860ec7382e871672dc85b24c252f3118a23603c5837abf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43029dc71af1c680f860ec7382e871672dc85b24c252f3118a23603c5837abf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43029dc71af1c680f860ec7382e871672dc85b24c252f3118a23603c5837abf8", kill_on_drop: false }` [INFO] [stdout] 43029dc71af1c680f860ec7382e871672dc85b24c252f3118a23603c5837abf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b25265f85c0cd99aabec6fb3ed930796cb7f7ba3beed7fc4381272cb4a9af6d [INFO] running `Command { std: "docker" "start" "-a" "0b25265f85c0cd99aabec6fb3ed930796cb7f7ba3beed7fc4381272cb4a9af6d", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling native-tls v0.2.15 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Checking bytestring v1.5.0 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking inotify v0.11.1 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Checking rust-embed-utils v8.11.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking console v0.16.2 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking notify-types v2.1.0 [INFO] [stderr] Compiling actix-router v0.5.4 [INFO] [stderr] Checking jiff v0.2.18 [INFO] [stderr] Compiling squid-rs v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking sysinfo v0.38.1 [INFO] [stderr] Checking indicatif v0.18.4 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling libsqlite3-sys v0.36.0 [INFO] [stderr] Compiling sqlite-vec v0.1.6 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking tiktoken-rs v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling async-openai-macros v0.1.1 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking rust-embed v8.11.0 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking inquire v0.9.4 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking schemars v0.8.22 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking rusqlite v0.38.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking actix-http v3.12.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Compiling aws-lc-rs v1.16.0 [INFO] [stderr] Checking actix-web v4.13.0 [INFO] [stderr] Checking rustls-webpki v0.103.10 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking rig-core v0.2.1 [INFO] [stderr] Checking actix-cors v0.7.1 [INFO] [stderr] Checking actix-files v0.6.10 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking reqwest-eventsource v0.6.0 [INFO] [stderr] Checking async-openai v0.33.1 [INFO] [stdout] warning: fields `tool_args` and `tool_call_id` are never read [INFO] [stdout] --> src/api.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ApprovalState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 27 | pub tool_name: String, [INFO] [stdout] 28 | pub tool_args: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub tool_call_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApprovalState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Reasoning`, `ToolCall`, and `ToolResult` are never constructed [INFO] [stdout] --> src/api.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum StreamEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | Reasoning { text: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | #[serde(rename = "tool_call")] [INFO] [stdout] 87 | ToolCall { name: String, arguments: String }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | #[serde(rename = "tool_result")] [INFO] [stdout] 89 | ToolResult { name: String, result: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `top_k` is never read [INFO] [stdout] --> src/api.rs:1676:9 [INFO] [stdout] | [INFO] [stdout] 1673 | pub struct RagQueryRequest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1676 | pub top_k: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RagQueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `find_database_file` and `get_default_agent` are never used [INFO] [stdout] --> src/config.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 360 | fn find_database_file() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn get_default_agent(&self) -> Option<&AgentConfig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_message_count` and `session_exists` are never used [INFO] [stdout] --> src/db.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 512 | pub fn get_message_count(&self, session_id: &str) -> SqliteResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | pub fn session_exists(&self, session_id: &str) -> SqliteResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_old_logs` is never used [INFO] [stdout] --> src/logger.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn cleanup_old_logs(db_path: &str, max_age_seconds: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embed_batch` is never used [INFO] [stdout] --> src/rag.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl RagEmbedder { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn embed_batch(&self, texts: Vec) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chunk_id` is never read [INFO] [stdout] --> src/rag.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct SearchResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 208 | pub chunk_id: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResult` 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: struct `DocumentWatcher` is never constructed [INFO] [stdout] --> src/rag.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct DocumentWatcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `stop`, `process_events`, `handle_event`, and `is_supported_file` are never used [INFO] [stdout] --> src/rag.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 310 | impl DocumentWatcher { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 311 | /// Create a new document watcher [INFO] [stdout] 312 | pub fn new(documents_path: PathBuf, indexer: Arc) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn start(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub fn stop(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub async fn process_events(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | async fn handle_event(&self, event: Event) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | fn is_supported_file(&self, path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/rag.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 618 | pub struct DocumentInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 622 | pub created_at: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentInfo` 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: fields `embedder` and `vector_store` are never read [INFO] [stdout] --> src/rag.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 627 | pub struct RagSystem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 628 | pub embedder: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 629 | pub vector_store: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_watcher` is never used [INFO] [stdout] --> src/rag.rs:666:12 [INFO] [stdout] | [INFO] [stdout] 634 | impl RagSystem { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 666 | pub fn create_watcher(&self, documents_path: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolInvocation` is never constructed [INFO] [stdout] --> src/session.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ToolInvocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_approaching_limit` and `is_over_limit` are never used [INFO] [stdout] --> src/session.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl TokenUsage { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn is_approaching_limit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_over_limit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_conversation_context` and `get_last_user_sources` are never used [INFO] [stdout] --> src/session.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl ChatSession { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_conversation_context(&self) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn get_last_user_sources(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_session` and `cleanup_old_sessions` are never used [INFO] [stdout] --> src/session.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 223 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn update_session(&self, session: ChatSession) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn cleanup_old_sessions(&self, max_age_seconds: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tool_args` and `tool_call_id` are never read [INFO] [stdout] --> src/api.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ApprovalState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 27 | pub tool_name: String, [INFO] [stdout] 28 | pub tool_args: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub tool_call_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApprovalState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Reasoning`, `ToolCall`, and `ToolResult` are never constructed [INFO] [stdout] --> src/api.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum StreamEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | Reasoning { text: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | #[serde(rename = "tool_call")] [INFO] [stdout] 87 | ToolCall { name: String, arguments: String }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | #[serde(rename = "tool_result")] [INFO] [stdout] 89 | ToolResult { name: String, result: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `top_k` is never read [INFO] [stdout] --> src/api.rs:1676:9 [INFO] [stdout] | [INFO] [stdout] 1673 | pub struct RagQueryRequest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1676 | pub top_k: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RagQueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `find_database_file` and `get_default_agent` are never used [INFO] [stdout] --> src/config.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 360 | fn find_database_file() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn get_default_agent(&self) -> Option<&AgentConfig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cleanup_old_sessions`, `get_message_count`, and `session_exists` are never used [INFO] [stdout] --> src/db.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn cleanup_old_sessions(&self, max_age_seconds: i64) -> SqliteResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | pub fn get_message_count(&self, session_id: &str) -> SqliteResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | pub fn session_exists(&self, session_id: &str) -> SqliteResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_old_logs` is never used [INFO] [stdout] --> src/logger.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn cleanup_old_logs(db_path: &str, max_age_seconds: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embed_batch` is never used [INFO] [stdout] --> src/rag.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl RagEmbedder { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn embed_batch(&self, texts: Vec) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chunk_id` is never read [INFO] [stdout] --> src/rag.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct SearchResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 208 | pub chunk_id: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResult` 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: struct `DocumentWatcher` is never constructed [INFO] [stdout] --> src/rag.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct DocumentWatcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `stop`, `process_events`, `handle_event`, and `is_supported_file` are never used [INFO] [stdout] --> src/rag.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 310 | impl DocumentWatcher { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 311 | /// Create a new document watcher [INFO] [stdout] 312 | pub fn new(documents_path: PathBuf, indexer: Arc) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn start(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub fn stop(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub async fn process_events(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | async fn handle_event(&self, event: Event) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | fn is_supported_file(&self, path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/rag.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 618 | pub struct DocumentInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 622 | pub created_at: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentInfo` 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: fields `embedder` and `vector_store` are never read [INFO] [stdout] --> src/rag.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 627 | pub struct RagSystem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 628 | pub embedder: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 629 | pub vector_store: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_watcher` is never used [INFO] [stdout] --> src/rag.rs:666:12 [INFO] [stdout] | [INFO] [stdout] 634 | impl RagSystem { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 666 | pub fn create_watcher(&self, documents_path: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolInvocation` is never constructed [INFO] [stdout] --> src/session.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ToolInvocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_approaching_limit` and `is_over_limit` are never used [INFO] [stdout] --> src/session.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl TokenUsage { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn is_approaching_limit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_over_limit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_conversation_context` and `get_last_user_sources` are never used [INFO] [stdout] --> src/session.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl ChatSession { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_conversation_context(&self) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn get_last_user_sources(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_session` and `cleanup_old_sessions` are never used [INFO] [stdout] --> src/session.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 223 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn update_session(&self, session: ChatSession) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn cleanup_old_sessions(&self, max_age_seconds: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "0b25265f85c0cd99aabec6fb3ed930796cb7f7ba3beed7fc4381272cb4a9af6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b25265f85c0cd99aabec6fb3ed930796cb7f7ba3beed7fc4381272cb4a9af6d", kill_on_drop: false }` [INFO] [stdout] 0b25265f85c0cd99aabec6fb3ed930796cb7f7ba3beed7fc4381272cb4a9af6d