[INFO] cloning repository https://github.com/Magicmaan/rust-search
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Magicmaan/rust-search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicmaan%2Frust-search", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicmaan%2Frust-search'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d54c9b184cd70ddb4bbbf053e003f7ffd8b56f74
[INFO] checking Magicmaan/rust-search against master#ff647322379c48947c196639599067665ff9eb88 for pr-151539-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicmaan%2Frust-search" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Magicmaan/rust-search
[INFO] finished tweaking git repo https://github.com/Magicmaan/rust-search
[INFO] tweaked toml for git repo https://github.com/Magicmaan/rust-search written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Magicmaan/rust-search on toolchain ff647322379c48947c196639599067665ff9eb88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Magicmaan/rust-search 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" "+ff647322379c48947c196639599067665ff9eb88" "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 timed_proc_macros v0.2.0
[INFO] [stderr]   Downloaded darling_macro v0.10.2
[INFO] [stderr]   Downloaded timed v0.2.1
[INFO] [stderr]   Downloaded toml_writer v1.0.2
[INFO] [stderr]   Downloaded darling v0.10.2
[INFO] [stderr]   Downloaded dirs v1.0.5
[INFO] [stderr]   Downloaded kqueue v1.1.1
[INFO] [stderr]   Downloaded prettytable-rs v0.8.0
[INFO] [stderr]   Downloaded blake2b_simd v0.5.11
[INFO] [stderr]   Downloaded redox_users v0.3.5
[INFO] [stderr]   Downloaded strsim v0.9.3
[INFO] [stderr]   Downloaded notify v8.2.0
[INFO] [stderr]   Downloaded notify-types v2.0.0
[INFO] [stderr]   Downloaded darling_core v0.10.2
[INFO] [stderr]   Downloaded term v0.5.2
[INFO] [stderr]   Downloaded rust-argon2 v0.8.3
[INFO] [stderr]   Downloaded libsql v0.9.13
[INFO] [stderr]   Downloaded libsql-sys v0.9.13
[INFO] [stderr]   Downloaded libsql-rusqlite v0.9.13
[INFO] [stderr]   Downloaded libsql_replication v0.9.13
[INFO] [stderr]   Downloaded libsql-hrana v0.9.13
[INFO] [stderr]   Downloaded jwalk v0.8.1
[INFO] [stderr]   Downloaded webpki-roots v1.0.1
[INFO] [stderr]   Downloaded dsl_auto_type v0.1.3
[INFO] [stderr]   Downloaded diesel_table_macro_syntax v0.2.0
[INFO] [stderr]   Downloaded diesel_derives v2.2.7
[INFO] [stderr]   Downloaded diesel v2.2.12
[INFO] [stderr]   Downloaded libsql-ffi v0.9.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 55644af1b0449a893ccabd98909d797a55da973491b4bfff99a7ea59065989d4
[INFO] running `Command { std: "docker" "start" "55644af1b0449a893ccabd98909d797a55da973491b4bfff99a7ea59065989d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "55644af1b0449a893ccabd98909d797a55da973491b4bfff99a7ea59065989d4" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55644af1b0449a893ccabd98909d797a55da973491b4bfff99a7ea59065989d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "55644af1b0449a893ccabd98909d797a55da973491b4bfff99a7ea59065989d4" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling prettyplease v0.2.35
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling libsqlite3-sys v0.35.0
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking webpki-roots v1.0.1
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling bindgen v0.66.1
[INFO] [stderr]     Checking rustls-native-certs v0.7.3
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking encode_unicode v0.3.6
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling libsql-sqlite3-parser v0.13.0
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking block-padding v0.3.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking winnow v0.7.12
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking term v0.5.2
[INFO] [stderr]     Checking inotify v0.11.0
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking cbc v0.1.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking notify-types v2.0.0
[INFO] [stderr]     Checking toml_writer v1.0.2
[INFO] [stderr]     Checking notify v8.2.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling timed_proc_macros v0.2.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking toml_parser v1.0.2
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking jwalk v0.8.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling prost-derive v0.12.6
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling dsl_auto_type v0.1.3
[INFO] [stderr]    Compiling diesel_derives v2.2.7
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling libsql-ffi v0.9.13
[INFO] [stderr]     Checking diesel v2.2.12
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking toml_datetime v0.7.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking serde_spanned v1.0.0
[INFO] [stderr]     Checking toml v0.9.5
[INFO] [stderr]     Checking prettytable-rs v0.8.0
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking prost v0.12.6
[INFO] [stderr]     Checking timed v0.2.1
[INFO] [stderr]     Checking libsql-hrana v0.9.13
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tokio-rustls v0.25.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tower-http v0.4.4
[INFO] [stderr]     Checking libsql-rusqlite v0.9.13
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking libsql-sys v0.9.13
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking hyper-rustls v0.25.0
[INFO] [stderr]     Checking tonic v0.11.0
[INFO] [stderr]     Checking libsql_replication v0.9.13
[INFO] [stderr]     Checking tonic-web v0.11.0
[INFO] [stderr]     Checking libsql v0.9.13
[INFO] [stderr]     Checking rustsearch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `WalkDir`
[INFO] [stdout]   --> src/lib.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 | use jwalk::{WalkDir, WalkDirGeneric};
[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: `params`
[INFO] [stdout]   --> src/lib.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | use libsql::{params, Connection, Database, Result as SQLResult};
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]  --> src/database.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex, MutexGuard};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Database`
[INFO] [stdout]  --> src/database.rs:4:34
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libsql::{params, Connection, Database, Result as SQLResult};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::search`
[INFO] [stdout]  --> src/database.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::search;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Database` and `params`
[INFO] [stdout]  --> src/search.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libsql::{params, Connection, Database, Result as SQLResult};
[INFO] [stdout]   |              ^^^^^^              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WalkDir`
[INFO] [stdout]   --> src/lib.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 | use jwalk::{WalkDir, WalkDirGeneric};
[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: `params`
[INFO] [stdout]   --> src/lib.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | use libsql::{params, Connection, Database, Result as SQLResult};
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]  --> src/database.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex, MutexGuard};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Database`
[INFO] [stdout]  --> src/database.rs:4:34
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libsql::{params, Connection, Database, Result as SQLResult};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::search`
[INFO] [stdout]  --> src/database.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::search;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Database` and `params`
[INFO] [stdout]  --> src/search.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libsql::{params, Connection, Database, Result as SQLResult};
[INFO] [stdout]   |              ^^^^^^              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/database.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let mut conn = conn_thread.lock().unwrap();
[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/lib.rs:170:19
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let Ok(mut conn) = self.connection.lock() {
[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/database.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let mut conn = conn_thread.lock().unwrap();
[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: `conn`
[INFO] [stdout]   --> src/database.rs:77:31
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn debug_database_state(conn: &Connection) {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/search.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut count = 0;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/search.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/search.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut count = 0;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/search.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_path`
[INFO] [stdout]   --> src/lib.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub async fn new(db_path: &str, debug: Option<bool>) -> Result<Self, std::io::Error> {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:170:19
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let Ok(mut conn) = self.connection.lock() {
[INFO] [stdout]     |                   ----^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `database`, `query_queue`, and `debug` are never read
[INFO] [stdout]   --> src/lib.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct SearchEngine {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 54 |     database: Database,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 55 |     connection: Arc<Mutex<Connection>>,
[INFO] [stdout] 56 |     query_queue: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 57 |     config: config::Config,
[INFO] [stdout] 58 |     debug: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_file_size_mb`, `max_depth`, `include_hidden`, `skip_binary`, and `index_limit` are never read
[INFO] [stdout]   --> src/config.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  7 |     pub max_file_size_mb: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     pub max_depth: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]  9 |     pub include_hidden: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub skip_binary: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 11 |     pub index_limit: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` 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 `debug_database_state` is never used
[INFO] [stdout]   --> src/database.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn debug_database_state(conn: &Connection) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_search` is never used
[INFO] [stdout]    --> src/database.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub fn run_search() -> Result<WalkDirGeneric<(usize, bool)>, std::io::Error> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `original_query`, `query`, and `operations` are never read
[INFO] [stdout]   --> src/search.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct SearchQuery {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 17 |     original_query: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     query: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     operations: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `replace_characters` and `get_original_query` are never used
[INFO] [stdout]   --> src/search.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl SearchQuery {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn replace_characters(&self, query: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn get_original_query(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]   --> src/database.rs:77:31
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn debug_database_state(conn: &Connection) {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/search.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut count = 0;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/search.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/search.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut count = 0;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/search.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_path`
[INFO] [stdout]   --> src/lib.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub async fn new(db_path: &str, debug: Option<bool>) -> Result<Self, std::io::Error> {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `database`, `query_queue`, and `debug` are never read
[INFO] [stdout]   --> src/lib.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct SearchEngine {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 54 |     database: Database,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 55 |     connection: Arc<Mutex<Connection>>,
[INFO] [stdout] 56 |     query_queue: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 57 |     config: config::Config,
[INFO] [stdout] 58 |     debug: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_file_size_mb`, `max_depth`, `include_hidden`, `skip_binary`, and `index_limit` are never read
[INFO] [stdout]   --> src/config.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  7 |     pub max_file_size_mb: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     pub max_depth: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]  9 |     pub include_hidden: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub skip_binary: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 11 |     pub index_limit: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` 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 `debug_database_state` is never used
[INFO] [stdout]   --> src/database.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn debug_database_state(conn: &Connection) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_search` is never used
[INFO] [stdout]    --> src/database.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub fn run_search() -> Result<WalkDirGeneric<(usize, bool)>, std::io::Error> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `original_query`, `query`, and `operations` are never read
[INFO] [stdout]   --> src/search.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct SearchQuery {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 17 |     original_query: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     query: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     operations: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `replace_characters` and `get_original_query` are never used
[INFO] [stdout]   --> src/search.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl SearchQuery {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn replace_characters(&self, query: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn get_original_query(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `MutexGuard`, `Mutex`, `self`, and `thread`
[INFO] [stdout]  --> src/main.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{self, stdin},
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 3 |     sync::{Arc, Mutex, MutexGuard},
[INFO] [stdout]   |            ^^^  ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 4 |     thread,
[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: `diesel::row`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use diesel::row;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Connection`, `Result as LibSqlResult`, and `params`
[INFO] [stdout]  --> src/main.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use libsql::{params, Connection, Result as LibSqlResult};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `search::FileEntry`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use search::FileEntry;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]  --> src/database.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex, MutexGuard};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Database`
[INFO] [stdout]  --> src/database.rs:4:34
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libsql::{params, Connection, Database, Result as SQLResult};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::search`
[INFO] [stdout]  --> src/database.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::search;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Database` and `params`
[INFO] [stdout]  --> src/search.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libsql::{params, Connection, Database, Result as SQLResult};
[INFO] [stdout]   |              ^^^^^^              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::database::create_schema`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::database::create_schema;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `MutexGuard`, `Mutex`, `self`, and `thread`
[INFO] [stdout]  --> src/main.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{self, stdin},
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 3 |     sync::{Arc, Mutex, MutexGuard},
[INFO] [stdout]   |            ^^^  ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 4 |     thread,
[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: `diesel::row`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use diesel::row;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Connection`, `Result as LibSqlResult`, and `params`
[INFO] [stdout]  --> src/main.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use libsql::{params, Connection, Result as LibSqlResult};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `search::FileEntry`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use search::FileEntry;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]  --> src/database.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex, MutexGuard};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Database`
[INFO] [stdout]  --> src/database.rs:4:34
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libsql::{params, Connection, Database, Result as SQLResult};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::search`
[INFO] [stdout]  --> src/database.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::search;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Database` and `params`
[INFO] [stdout]  --> src/search.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libsql::{params, Connection, Database, Result as SQLResult};
[INFO] [stdout]   |              ^^^^^^              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::database::create_schema`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::database::create_schema;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/database.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let mut conn = conn_thread.lock().unwrap();
[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/database.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let mut conn = conn_thread.lock().unwrap();
[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: `conn`
[INFO] [stdout]   --> src/database.rs:77:31
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn debug_database_state(conn: &Connection) {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/search.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut count = 0;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/search.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]   --> src/database.rs:77:31
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn debug_database_state(conn: &Connection) {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/search.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut count = 0;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/search.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/search.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut count = 0;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/search.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/search.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut count = 0;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/search.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_directories` is never used
[INFO] [stdout]   --> src/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn get_directories() -> Result<WalkDirGeneric<(usize, bool)>, std::io::Error> {
[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 `create_schema` is never used
[INFO] [stdout]  --> src/database.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn create_schema(connection: Connection, reset: Option<bool>) -> SQLResult<()> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_database_count` is never used
[INFO] [stdout]   --> src/database.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub async fn get_database_count(connection: &Connection) -> SQLResult<usize> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug_database_state` is never used
[INFO] [stdout]   --> src/database.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn debug_database_state(conn: &Connection) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_files_to_db` is never used
[INFO] [stdout]   --> src/database.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn insert_files_to_db(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_search` is never used
[INFO] [stdout]    --> src/database.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub fn run_search() -> Result<WalkDirGeneric<(usize, bool)>, std::io::Error> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileEntry` is never constructed
[INFO] [stdout]  --> src/search.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct FileEntry {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchQuery` is never constructed
[INFO] [stdout]   --> src/search.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct SearchQuery {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `replace_characters`, `make_query`, and `get_original_query` are never used
[INFO] [stdout]   --> src/search.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl SearchQuery {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn replace_characters(&self, query: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn make_query(&mut self, query: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn get_original_query(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_files` is never used
[INFO] [stdout]   --> src/search.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn search_files(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_fts5` is never used
[INFO] [stdout]    --> src/search.rs:132:14
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub async fn search_fts5(search_pattern: &str, conn: &Connection) -> SQLResult<Vec<FileEntry>> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_normal` is never used
[INFO] [stdout]    --> src/search.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub async fn search_normal(query: &str, conn: &Connection) -> SQLResult<Vec<FileEntry>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_directories` is never used
[INFO] [stdout]   --> src/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn get_directories() -> Result<WalkDirGeneric<(usize, bool)>, std::io::Error> {
[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 `create_schema` is never used
[INFO] [stdout]  --> src/database.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn create_schema(connection: Connection, reset: Option<bool>) -> SQLResult<()> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_database_count` is never used
[INFO] [stdout]   --> src/database.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub async fn get_database_count(connection: &Connection) -> SQLResult<usize> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debug_database_state` is never used
[INFO] [stdout]   --> src/database.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn debug_database_state(conn: &Connection) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_files_to_db` is never used
[INFO] [stdout]   --> src/database.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn insert_files_to_db(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_search` is never used
[INFO] [stdout]    --> src/database.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub fn run_search() -> Result<WalkDirGeneric<(usize, bool)>, std::io::Error> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileEntry` is never constructed
[INFO] [stdout]  --> src/search.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct FileEntry {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchQuery` is never constructed
[INFO] [stdout]   --> src/search.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct SearchQuery {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `replace_characters`, `make_query`, and `get_original_query` are never used
[INFO] [stdout]   --> src/search.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl SearchQuery {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn replace_characters(&self, query: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn make_query(&mut self, query: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn get_original_query(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_files` is never used
[INFO] [stdout]   --> src/search.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn search_files(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_fts5` is never used
[INFO] [stdout]    --> src/search.rs:132:14
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub async fn search_fts5(search_pattern: &str, conn: &Connection) -> SQLResult<Vec<FileEntry>> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_normal` is never used
[INFO] [stdout]    --> src/search.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub async fn search_normal(query: &str, conn: &Connection) -> SQLResult<Vec<FileEntry>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s
[INFO] running `Command { std: "docker" "inspect" "55644af1b0449a893ccabd98909d797a55da973491b4bfff99a7ea59065989d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55644af1b0449a893ccabd98909d797a55da973491b4bfff99a7ea59065989d4", kill_on_drop: false }`
[INFO] [stdout] 55644af1b0449a893ccabd98909d797a55da973491b4bfff99a7ea59065989d4
