[INFO] fetching crate markhor_core 0.1.0-alpha.0.2...
[INFO] checking markhor_core-0.1.0-alpha.0.2 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] extracting crate markhor_core 0.1.0-alpha.0.2 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate markhor_core 0.1.0-alpha.0.2
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate markhor_core 0.1.0-alpha.0.2
[INFO] tweaked toml for crates.io crate markhor_core 0.1.0-alpha.0.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate markhor_core 0.1.0-alpha.0.2 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate markhor_core 0.1.0-alpha.0.2 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dynosaur_derive v0.2.0
[INFO] [stderr]   Downloaded dynosaur v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 56019714312bdd6727bfdcd5d59f1dc3126b2aa0cba1189e43945c17fa9428a7
[INFO] running `Command { std: "docker" "start" "-a" "56019714312bdd6727bfdcd5d59f1dc3126b2aa0cba1189e43945c17fa9428a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56019714312bdd6727bfdcd5d59f1dc3126b2aa0cba1189e43945c17fa9428a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56019714312bdd6727bfdcd5d59f1dc3126b2aa0cba1189e43945c17fa9428a7", kill_on_drop: false }`
[INFO] [stdout] 56019714312bdd6727bfdcd5d59f1dc3126b2aa0cba1189e43945c17fa9428a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bce24d1963797db0ef05dcf661ed7b4c96a70fb9b6ec4287c48aab60a796a115
[INFO] running `Command { std: "docker" "start" "-a" "bce24d1963797db0ef05dcf661ed7b4c96a70fb9b6ec4287c48aab60a796a115", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking getrandom v0.3.2
[INFO] [stderr]     Checking clap_builder v4.5.35
[INFO] [stderr]    Compiling trait-variant v0.1.2
[INFO] [stderr]    Compiling dynosaur_derive v0.2.0
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking crossbeam-skiplist v0.1.3
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking tempfile v3.19.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking dynosaur v0.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking clap v4.5.35
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking uuid v1.16.0
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking h2 v0.4.8
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.15
[INFO] [stderr]     Checking markhor_core v0.1.0-alpha.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ops::Range`, `path::PathBuf`, and `sync::Arc`
[INFO] [stdout]  --> src/embedding/vector_store.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, ops::Range, path::PathBuf, sync::Arc};
[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: `error`
[INFO] [stdout]  --> src/embedding/vector_store.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tracing::{debug, error, instrument};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Chunk`
[INFO] [stdout]  --> src/embedding/vector_store.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{chunking::{Chunk, ChunkData, Chunker}, extension::F11y, storage::Document};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Weak`
[INFO] [stdout]  --> src/storage/workspace.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, Weak};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]  --> src/storage/workspace.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::sync::{Mutex, MutexGuard};
[INFO] [stdout]   |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Arc`
[INFO] [stdout]  --> src/storage/file.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{path::{Path, PathBuf}, sync::Arc};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs::File`
[INFO] [stdout]  --> src/storage/file.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `extension`
[INFO] [stdout]  --> src/storage/file.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{extension, storage::{Error, Result}};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Workspace` and `document`
[INFO] [stdout]  --> src/storage/file.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::{document, Document, Workspace};
[INFO] [stdout]   |             ^^^^^^^^            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `hash_map::Entry` and `ops::Range`
[INFO] [stdout]  --> src/storage/metadata/mod.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::{hash_map::Entry, HashMap}, ops::Range};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/storage/metadata/extension_data.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs`
[INFO] [stdout]    --> src/storage/mod.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | use tokio::fs;
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]    --> src/storage/mod.rs:132:19
[INFO] [stdout]     |
[INFO] [stdout] 132 | use tokio::sync::{Mutex, RwLock};
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `instrument`
[INFO] [stdout]    --> src/storage/mod.rs:133:15
[INFO] [stdout]     |
[INFO] [stdout] 133 | use tracing::{debug, instrument};
[INFO] [stdout]     |               ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WorkspaceEvents`, `WorkspaceMetadata`, `read_workspace_metadata`, and `write_workspace_metadata`
[INFO] [stdout]    --> src/storage/mod.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 | use workspace::{read_workspace_metadata, write_workspace_metadata, WorkspaceEvents, WorkspaceMetadata};
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `task::JoinHandle`
[INFO] [stdout]  --> src/job/mod.rs:6:96
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::{io::AsyncRead, sync::mpsc::{error::SendError, UnboundedReceiver, UnboundedSender}, task::JoinHandle};
[INFO] [stdout]   |                                                                                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::mpsc::Sender`
[INFO] [stdout]  --> src/job/chat.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::sync::mpsc::Sender;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SearchResults`
[INFO] [stdout]  --> src/job/chat.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::{search::{search_job, SearchResults}, Assets, Job, RunJobError};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ops::Range`, `path::PathBuf`, and `sync::Arc`
[INFO] [stdout]  --> src/embedding/vector_store.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, ops::Range, path::PathBuf, sync::Arc};
[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: `error`
[INFO] [stdout]  --> src/embedding/vector_store.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tracing::{debug, error, instrument};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Chunk`
[INFO] [stdout]  --> src/embedding/vector_store.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{chunking::{Chunk, ChunkData, Chunker}, extension::F11y, storage::Document};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cell::RefCell`
[INFO] [stdout]    --> src/event.rs:222:15
[INFO] [stdout]     |
[INFO] [stdout] 222 |     use std::{cell::RefCell, sync::Mutex};
[INFO] [stdout]     |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::tempdir`
[INFO] [stdout]    --> src/storage/document.rs:620:9
[INFO] [stdout]     |
[INFO] [stdout] 620 |     use tempfile::tempdir;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Weak`
[INFO] [stdout]  --> src/storage/workspace.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, Weak};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]  --> src/storage/workspace.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::sync::{Mutex, MutexGuard};
[INFO] [stdout]   |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Arc`
[INFO] [stdout]  --> src/storage/file.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{path::{Path, PathBuf}, sync::Arc};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs::File`
[INFO] [stdout]  --> src/storage/file.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `extension`
[INFO] [stdout]  --> src/storage/file.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{extension, storage::{Error, Result}};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Workspace` and `document`
[INFO] [stdout]  --> src/storage/file.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::{document, Document, Workspace};
[INFO] [stdout]   |             ^^^^^^^^            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `hash_map::Entry` and `ops::Range`
[INFO] [stdout]  --> src/storage/metadata/mod.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::{hash_map::Entry, HashMap}, ops::Range};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/storage/metadata/extension_data.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs`
[INFO] [stdout]    --> src/storage/mod.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | use tokio::fs;
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]    --> src/storage/mod.rs:132:19
[INFO] [stdout]     |
[INFO] [stdout] 132 | use tokio::sync::{Mutex, RwLock};
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `instrument`
[INFO] [stdout]    --> src/storage/mod.rs:133:15
[INFO] [stdout]     |
[INFO] [stdout] 133 | use tracing::{debug, instrument};
[INFO] [stdout]     |               ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WorkspaceEvents`, `WorkspaceMetadata`, `read_workspace_metadata`, and `write_workspace_metadata`
[INFO] [stdout]    --> src/storage/mod.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 | use workspace::{read_workspace_metadata, write_workspace_metadata, WorkspaceEvents, WorkspaceMetadata};
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `task::JoinHandle`
[INFO] [stdout]  --> src/job/mod.rs:6:96
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::{io::AsyncRead, sync::mpsc::{error::SendError, UnboundedReceiver, UnboundedSender}, task::JoinHandle};
[INFO] [stdout]   |                                                                                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::mpsc::Sender`
[INFO] [stdout]  --> src/job/chat.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::sync::mpsc::Sender;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SearchResults`
[INFO] [stdout]  --> src/job/chat.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::{search::{search_job, SearchResults}, Assets, Job, RunJobError};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/workspace.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let mut arc = Arc::new(Workspace {
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/workspace.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let mut arc = Arc::new(Workspace {
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/job/chat.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let mut messages = vec![
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/job/chat.rs:98:74
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn simple_rag<F: FnMut(&Message) + Send>(prompt: &str, limit: usize, mut on_message: F) -> Job<Vec<Message>, impl AsyncFnOnce(&mut As...
[INFO] [stdout]    |                                                                          ----^^^^^^^^^^
[INFO] [stdout]    |                                                                          |
[INFO] [stdout]    |                                                                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/job/chat.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let mut messages = vec![
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/job/chat.rs:98:74
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn simple_rag<F: FnMut(&Message) + Send>(prompt: &str, limit: usize, mut on_message: F) -> Job<Vec<Message>, impl AsyncFnOnce(&mut As...
[INFO] [stdout]    |                                                                          ----^^^^^^^^^^
[INFO] [stdout]    |                                                                          |
[INFO] [stdout]    |                                                                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Converter`
[INFO] [stdout]  --> src/job/mod.rs:3:113
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{chat::{chat::ChatApi, prompter::Prompter, ChatError}, chunking::Chunker, convert::{ConversionError, Converter}, embedding::{E...
[INFO] [stdout]   |                                                                                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Extension`
[INFO] [stdout]  --> src/job/mod.rs:3:193
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ing::{Embedder, EmbeddingError}, extension::{ActiveExtension, Extension, F11y, UseExtensionError}, storage::{self, Content, Document, ...
[INFO] [stdout]   |                                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Converter`
[INFO] [stdout]  --> src/job/mod.rs:3:113
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{chat::{chat::ChatApi, prompter::Prompter, ChatError}, chunking::Chunker, convert::{ConversionError, Converter}, embedding::{E...
[INFO] [stdout]   |                                                                                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Extension`
[INFO] [stdout]  --> src/job/mod.rs:3:193
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ing::{Embedder, EmbeddingError}, extension::{ActiveExtension, Extension, F11y, UseExtensionError}, storage::{self, Content, Document, ...
[INFO] [stdout]   |                                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/storage/metadata/mod.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Some(ExtensionData::Embeddings(embeddings)) => Some(embeddings),
[INFO] [stdout]    |             ------------------------------------------- matches all the relevant values
[INFO] [stdout] 66 |             None => None,
[INFO] [stdout] 67 |             Some(unexpected_data) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/storage/metadata/mod.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             ExtensionData::Embeddings(embeddings) => embeddings,
[INFO] [stdout]    |             ------------------------------------- matches all the relevant values
[INFO] [stdout] 87 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/storage/metadata/mod.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 ExtensionData::Embeddings(_) => {},
[INFO] [stdout]    |                 ---------------------------- matches all the relevant values
[INFO] [stdout] 78 |                 _ => {
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `config` is never used
[INFO] [stdout]   --> src/extension/active_extension.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl ActiveExtension {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn config(&self) -> &ExtensionConfig {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `callback` is never read
[INFO] [stdout]   --> src/event.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct ListenerEntry<E: Event> {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] 25 |     // Use Weak pointer to avoid cycles and allow listeners to be dropped automatically.
[INFO] [stdout] 26 |     callback: Weak<dyn Fn(&E) -> E::HandlerReturnType + Send + Sync>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ListenerEntry` 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 `dispatch` and `dummy_handler` are never used
[INFO] [stdout]    --> src/event.rs:84:19
[INFO] [stdout]     |
[INFO] [stdout]  64 | impl<E: Event + 'static> ListenerList<E> {
[INFO] [stdout]     | ---------------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub(crate) fn dispatch(&self, event: &mut E) {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     fn dummy_handler(_: &E) -> E::HandlerReturnType {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/storage/mod.rs:229:19
[INFO] [stdout]     |
[INFO] [stdout] 228 | impl DocumentMoved {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 229 |     pub(crate) fn new(document: Document, from: PathBuf) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `folder` and `tags` are never read
[INFO] [stdout]    --> src/storage/folder.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub struct Scope {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 156 |     folder: Folder,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 157 |     tags: Vec<String>, // TODO - tags don't exist yet
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Scope` 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: field `internal_dir` is never read
[INFO] [stdout]   --> src/storage/workspace.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Workspace {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub(crate) internal_dir: PathBuf,
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Workspace` 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 `internal_dir_path` is never used
[INFO] [stdout]   --> src/storage/workspace.rs:96:19
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl Workspace {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub(crate) fn internal_dir_path(&self) -> &Path {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:157:33
[INFO] [stdout]     |
[INFO] [stdout] 157 |     async fn lock_metadata_file(&self) -> MutexGuard<()> {
[INFO] [stdout]     |                                 ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 157 |     async fn lock_metadata_file(&self) -> MutexGuard<'_, ()> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:255:23
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub async fn file(&self, file_name: &str) -> Result<ContentFile> {
[INFO] [stdout]     |                       ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub async fn file(&self, file_name: &str) -> Result<ContentFile<'_>> {
[INFO] [stdout]     |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:266:24
[INFO] [stdout]     |
[INFO] [stdout] 266 |     pub async fn files(&self) -> Result<Vec<ContentFile>> {
[INFO] [stdout]     |                        ^^^^^                ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 266 |     pub async fn files(&self) -> Result<Vec<ContentFile<'_>>> {
[INFO] [stdout]     |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:273:37
[INFO] [stdout]     |
[INFO] [stdout] 273 |     pub async fn files_by_extension(&self, extension: &str) -> Result<Vec<ContentFile>> {
[INFO] [stdout]     |                                     ^^^^^ the lifetime is elided here     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 273 |     pub async fn files_by_extension(&self, extension: &str) -> Result<Vec<ContentFile<'_>>> {
[INFO] [stdout]     |                                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:281:40
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub async fn primary_content_files(&self) -> Result<Vec<ContentFile>> {
[INFO] [stdout]     |                                        ^^^^^                ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub async fn primary_content_files(&self) -> Result<Vec<ContentFile<'_>>> {
[INFO] [stdout]     |                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:288:58
[INFO] [stdout]     |
[INFO] [stdout] 288 |     pub async fn add_file<R: AsyncRead + Unpin + ?Sized>(&self, extension: &str, content: &mut R) -> Result<ContentFile> {
[INFO] [stdout]     |                                                          ^^^^^ the lifetime is elided here                  ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 288 |     pub async fn add_file<R: AsyncRead + Unpin + ?Sized>(&self, extension: &str, content: &mut R) -> Result<ContentFile<'_>> {
[INFO] [stdout]     |                                                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:314:70
[INFO] [stdout]     |
[INFO] [stdout] 314 | ...in + ?Sized>(&self, extension: &str, suffix: u32, content: &mut R) -> Result<ContentFile> {
[INFO] [stdout]     |                 ^^^^^ the lifetime is elided here                               ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 314 |     pub async fn add_file_with_suffix<R: AsyncRead + Unpin + ?Sized>(&self, extension: &str, suffix: u32, content: &mut R) -> Result<ContentFile<'_>> {
[INFO] [stdout]     |                                                                                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:318:63
[INFO] [stdout]     |
[INFO] [stdout] 318 | ... ?Sized>(&self, extension: &str, suffix: Option<u32>, content: &mut R) -> Result<ContentFile> {
[INFO] [stdout]     |             ^^^^^ the lifetime is elided here                                       ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 318 |     async fn add_file_internal<R: AsyncRead + Unpin + ?Sized>(&self, extension: &str, suffix: Option<u32>, content: &mut R) -> Result<ContentFile<'_>> {
[INFO] [stdout]     |                                                                                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:348:42
[INFO] [stdout]     |
[INFO] [stdout] 348 |     async fn list_content_files_internal(&self, extension_filter: Option<&str>) -> Result<Vec<ContentFile>> {
[INFO] [stdout]     |                                          ^^^^^ the lifetime is elided here                    ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 348 |     async fn list_content_files_internal(&self, extension_filter: Option<&str>) -> Result<Vec<ContentFile<'_>>> {
[INFO] [stdout]     |                                                                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/job/search.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn documents(&self) -> Documents {
[INFO] [stdout]    |                      ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn documents(&self) -> Documents<'_> {
[INFO] [stdout]    |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/job/search.rs:176:18
[INFO] [stdout]     |
[INFO] [stdout] 176 |     pub fn chunk(&self) -> Chunk {
[INFO] [stdout]     |                  ^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 176 |     pub fn chunk(&self) -> Chunk<'_> {
[INFO] [stdout]     |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/storage/metadata/mod.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Some(ExtensionData::Embeddings(embeddings)) => Some(embeddings),
[INFO] [stdout]    |             ------------------------------------------- matches all the relevant values
[INFO] [stdout] 66 |             None => None,
[INFO] [stdout] 67 |             Some(unexpected_data) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/storage/metadata/mod.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             ExtensionData::Embeddings(embeddings) => embeddings,
[INFO] [stdout]    |             ------------------------------------- matches all the relevant values
[INFO] [stdout] 87 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/storage/metadata/mod.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 ExtensionData::Embeddings(_) => {},
[INFO] [stdout]    |                 ---------------------------- matches all the relevant values
[INFO] [stdout] 78 |                 _ => {
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `config` is never used
[INFO] [stdout]   --> src/extension/active_extension.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl ActiveExtension {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn config(&self) -> &ExtensionConfig {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/storage/mod.rs:229:19
[INFO] [stdout]     |
[INFO] [stdout] 228 | impl DocumentMoved {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 229 |     pub(crate) fn new(document: Document, from: PathBuf) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_dummy_file` is never used
[INFO] [stdout]    --> src/storage/document.rs:623:14
[INFO] [stdout]     |
[INFO] [stdout] 623 |     async fn create_dummy_file(path: &Path) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `folder` and `tags` are never read
[INFO] [stdout]    --> src/storage/folder.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub struct Scope {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 156 |     folder: Folder,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 157 |     tags: Vec<String>, // TODO - tags don't exist yet
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Scope` 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:157:33
[INFO] [stdout]     |
[INFO] [stdout] 157 |     async fn lock_metadata_file(&self) -> MutexGuard<()> {
[INFO] [stdout]     |                                 ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 157 |     async fn lock_metadata_file(&self) -> MutexGuard<'_, ()> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:255:23
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub async fn file(&self, file_name: &str) -> Result<ContentFile> {
[INFO] [stdout]     |                       ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub async fn file(&self, file_name: &str) -> Result<ContentFile<'_>> {
[INFO] [stdout]     |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:266:24
[INFO] [stdout]     |
[INFO] [stdout] 266 |     pub async fn files(&self) -> Result<Vec<ContentFile>> {
[INFO] [stdout]     |                        ^^^^^                ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 266 |     pub async fn files(&self) -> Result<Vec<ContentFile<'_>>> {
[INFO] [stdout]     |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:273:37
[INFO] [stdout]     |
[INFO] [stdout] 273 |     pub async fn files_by_extension(&self, extension: &str) -> Result<Vec<ContentFile>> {
[INFO] [stdout]     |                                     ^^^^^ the lifetime is elided here     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 273 |     pub async fn files_by_extension(&self, extension: &str) -> Result<Vec<ContentFile<'_>>> {
[INFO] [stdout]     |                                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:281:40
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub async fn primary_content_files(&self) -> Result<Vec<ContentFile>> {
[INFO] [stdout]     |                                        ^^^^^                ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub async fn primary_content_files(&self) -> Result<Vec<ContentFile<'_>>> {
[INFO] [stdout]     |                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:288:58
[INFO] [stdout]     |
[INFO] [stdout] 288 |     pub async fn add_file<R: AsyncRead + Unpin + ?Sized>(&self, extension: &str, content: &mut R) -> Result<ContentFile> {
[INFO] [stdout]     |                                                          ^^^^^ the lifetime is elided here                  ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 288 |     pub async fn add_file<R: AsyncRead + Unpin + ?Sized>(&self, extension: &str, content: &mut R) -> Result<ContentFile<'_>> {
[INFO] [stdout]     |                                                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:314:70
[INFO] [stdout]     |
[INFO] [stdout] 314 | ...in + ?Sized>(&self, extension: &str, suffix: u32, content: &mut R) -> Result<ContentFile> {
[INFO] [stdout]     |                 ^^^^^ the lifetime is elided here                               ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 314 |     pub async fn add_file_with_suffix<R: AsyncRead + Unpin + ?Sized>(&self, extension: &str, suffix: u32, content: &mut R) -> Result<ContentFile<'_>> {
[INFO] [stdout]     |                                                                                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:318:63
[INFO] [stdout]     |
[INFO] [stdout] 318 | ... ?Sized>(&self, extension: &str, suffix: Option<u32>, content: &mut R) -> Result<ContentFile> {
[INFO] [stdout]     |             ^^^^^ the lifetime is elided here                                       ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 318 |     async fn add_file_internal<R: AsyncRead + Unpin + ?Sized>(&self, extension: &str, suffix: Option<u32>, content: &mut R) -> Result<ContentFile<'_>> {
[INFO] [stdout]     |                                                                                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/storage/document.rs:348:42
[INFO] [stdout]     |
[INFO] [stdout] 348 |     async fn list_content_files_internal(&self, extension_filter: Option<&str>) -> Result<Vec<ContentFile>> {
[INFO] [stdout]     |                                          ^^^^^ the lifetime is elided here                    ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 348 |     async fn list_content_files_internal(&self, extension_filter: Option<&str>) -> Result<Vec<ContentFile<'_>>> {
[INFO] [stdout]     |                                                                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/job/search.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn documents(&self) -> Documents {
[INFO] [stdout]    |                      ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn documents(&self) -> Documents<'_> {
[INFO] [stdout]    |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/job/search.rs:176:18
[INFO] [stdout]     |
[INFO] [stdout] 176 |     pub fn chunk(&self) -> Chunk {
[INFO] [stdout]     |                  ^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 176 |     pub fn chunk(&self) -> Chunk<'_> {
[INFO] [stdout]     |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `collections::HashMap`
[INFO] [stdout]  --> tests/chat_model.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, sync::{atomic::{AtomicUsize, Ordering}, Arc}};
[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 variable: `messages`
[INFO] [stdout]   --> tests/chat_model.rs:45:30
[INFO] [stdout]    |
[INFO] [stdout] 45 |     async fn generate(&self, messages: &[Message], options: &ChatOptions) -> Result<ChatResponse, ChatError> {
[INFO] [stdout]    |                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> tests/chat_model.rs:45:52
[INFO] [stdout]    |
[INFO] [stdout] 45 |     async fn generate(&self, messages: &[Message], options: &ChatOptions) -> Result<ChatResponse, ChatError> {
[INFO] [stdout]    |                                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `messages`
[INFO] [stdout]   --> tests/chat_model.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 |     async fn generate_stream(&self, messages: &[Message], options: &ChatOptions) -> Result<ChatStream, ChatError> {
[INFO] [stdout]    |                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> tests/chat_model.rs:59:59
[INFO] [stdout]    |
[INFO] [stdout] 59 |     async fn generate_stream(&self, messages: &[Message], options: &ChatOptions) -> Result<ChatStream, ChatError> {
[INFO] [stdout]    |                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Document`, `Folder`, `MARKHOR_EXTENSION`, and `self`
[INFO] [stdout]  --> tests/workspace_integration.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     self, ConflictError, Document, Error, Folder, Storage, Workspace, INTERNAL_DIR_NAME, MARKHOR_EXTENSION
[INFO] [stdout]   |     ^^^^                 ^^^^^^^^         ^^^^^^                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShakespeareChatExtension` is never constructed
[INFO] [stdout]   --> tests/chat_model.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct ShakespeareChatExtension;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> tests/chat_model.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl ShakespeareChatExtension {
[INFO] [stdout]    | ----------------------------- associated function in this implementation
[INFO] [stdout] 68 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.02s
[INFO] running `Command { std: "docker" "inspect" "bce24d1963797db0ef05dcf661ed7b4c96a70fb9b6ec4287c48aab60a796a115", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bce24d1963797db0ef05dcf661ed7b4c96a70fb9b6ec4287c48aab60a796a115", kill_on_drop: false }`
[INFO] [stdout] bce24d1963797db0ef05dcf661ed7b4c96a70fb9b6ec4287c48aab60a796a115
