[INFO] cloning repository https://github.com/goodjin/sqllite-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goodjin/sqllite-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodjin%2Fsqllite-rust"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodjin%2Fsqllite-rust'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] d088d6f4e893f9affd050b064aaec5f6ebcc0c2b
[INFO] testing goodjin/sqllite-rust against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodjin%2Fsqllite-rust" "/workspace/builds/worker-4-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/goodjin/sqllite-rust
[INFO] finished tweaking git repo https://github.com/goodjin/sqllite-rust
[INFO] tweaked toml for git repo https://github.com/goodjin/sqllite-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/goodjin/sqllite-rust on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/goodjin/sqllite-rust already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef
[INFO] running `"docker" "start" "c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef"`
[INFO] running `"docker" "inspect" "c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef"`
[INFO] running `"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" "c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling fd-lock v4.0.4
[INFO] [stderr]    Compiling rustyline v14.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling sqllite-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PAGE_SIZE`
[INFO] [stdout]  --> src/pager/checksum.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::pager::page::{Page, PAGE_SIZE};
[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: `crate::pager::header::DatabaseHeader`
[INFO] [stdout]   --> src/pager/checksum.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::pager::header::DatabaseHeader;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ForeignKeyChecker`
[INFO] [stdout]   --> src/storage/btree_database.rs:11:57
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::storage::foreign_key::{ForeignKeyConstraint, ForeignKeyChecker};
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/storage/prefix_page.rs:491:28
[INFO] [stdout]     |
[INFO] [stdout] 491 |             if total > 0 { (compressed * 100 / total) } else { 0 },
[INFO] [stdout]     |                            ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 491 -             if total > 0 { (compressed * 100 / total) } else { 0 },
[INFO] [stdout] 491 +             if total > 0 { compressed * 100 / total } else { 0 },
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/storage/mvcc_wrapper.rs:9:67
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::storage::{BtreeDatabase, Record, Result, StorageError, Value};
[INFO] [stdout]   |                                                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Expression`
[INFO] [stdout]   --> src/executor/plan_cache.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::sql::ast::{SelectStmt, Expression};
[INFO] [stdout]    |                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JoinType`, `Join`, and `SelectColumn`
[INFO] [stdout]  --> src/executor/query_optimizer.rs:9:57
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::sql::ast::{SelectStmt, Expression, BinaryOp, Join, JoinType, SelectColumn};
[INFO] [stdout]   |                                                         ^^^^  ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CostEstimator`, `IndexSelector`, `JoinOrder`, `JoinReorderer`, and `StatsCatalog`
[INFO] [stdout]   --> src/executor/query_optimizer.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 |     QueryOptimizer, StatsCollector, CostEstimator, JoinReorderer,
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 14 |     IndexSelector, StatsCatalog, JoinOrder
[INFO] [stdout]    |     ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColumnStats`, `PredicateType`, and `StatsCollector`
[INFO] [stdout]   --> src/optimizer/cost_model.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | use super::stats::{ColumnStats, TableStats, StatsCollector, PredicateType, StatsCatalog};
[INFO] [stdout]    |                    ^^^^^^^^^^^              ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::storage::{BtreeDatabase, Value};
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Join`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::sql::ast::{Join, Expression, BinaryOp};
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlanCost`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:19:40
[INFO] [stdout]    |
[INFO] [stdout] 19 | use super::cost_model::{CostEstimator, PlanCost, JoinAlgorithm};
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PredicateType`, `StatsCatalog`, `StatsCollector`, and `TableStats`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 | use super::stats::{StatsCollector, PredicateType, StatsCatalog, TableStats};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Record` and `Value`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:14:37
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::storage::{BtreeDatabase, Value, Record, BPlusTreeIndex};
[INFO] [stdout]    |                                     ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TableStats`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:16:65
[INFO] [stdout]    |
[INFO] [stdout] 16 | use super::stats::{StatsCollector, PredicateType, StatsCatalog, TableStats};
[INFO] [stdout]    |                                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlanCost`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 17 | use super::cost_model::{CostEstimator, PlanCost};
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AggregateFunc`, `JoinType`, and `Join`
[INFO] [stdout]   --> src/optimizer/subquery.rs:15:71
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::sql::ast::{Expression, BinaryOp, SelectStmt, SelectColumn, Join, JoinType, AggregateFunc, SubqueryExpr};
[INFO] [stdout]    |                                                                       ^^^^  ^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]   --> src/concurrency/snapshot.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::storage::{Record, Value};
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WindowFrameBound`, `WindowFrame`, and `WindowSpec`
[INFO] [stdout]  --> src/window/mod.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::sql::ast::{WindowFunc, WindowSpec, WindowFrame, WindowFrameBound, OrderBy};
[INFO] [stdout]   |                                   ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::Value`
[INFO] [stdout]  --> src/fts/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::storage::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/storage/async_wal.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::{Read, Seek, SeekFrom, Write};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]   --> src/concurrency/mvcc.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::ops::Deref;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_page_id`
[INFO] [stdout]    --> src/pager/prefetch.rs:229:41
[INFO] [stdout]     |
[INFO] [stdout] 229 |     fn update_access_pattern(&mut self, current_page_id: PageId) {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_page_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pager/prefetch.rs:491:16
[INFO] [stdout]     |
[INFO] [stdout] 491 |     pub fn new(mut inner: Pager, config: PrefetchConfig) -> Self {
[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: `k`
[INFO] [stdout]   --> src/storage/btree_core.rs:90:26
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     let (k, v) = page.get_record_at(mid)?;
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/storage/prefix_compression.rs:238:14
[INFO] [stdout]     |
[INFO] [stdout] 238 |         let (base, deltas) = Self::compress(values);
[INFO] [stdout]     |              ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_table`
[INFO] [stdout]   --> src/storage/foreign_key.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let parent_table = db.get_table(&fk.ref_table)
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/foreign_key.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let mut results = Vec::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         db: &BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_key`
[INFO] [stdout]    --> src/storage/foreign_key.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         parent_key: &[u8],
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `child_key`
[INFO] [stdout]    --> src/storage/foreign_key.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         child_key: &[u8],
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]    --> src/storage/foreign_key.rs:201:18
[INFO] [stdout]     |
[INFO] [stdout] 201 |     fn build_key(record: &Record, columns: &[String]) -> Result<Vec<u8>> {
[INFO] [stdout]     |                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         db: &mut BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/storage/foreign_key.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         table: &str,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_id`
[INFO] [stdout]    --> src/storage/foreign_key.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |         record_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         db: &mut BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/storage/foreign_key.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |         table: &str,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_id`
[INFO] [stdout]    --> src/storage/foreign_key.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |         record_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |         db: &mut BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/storage/foreign_key.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |         table: &str,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_id`
[INFO] [stdout]    --> src/storage/foreign_key.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |         record_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_key`
[INFO] [stdout]    --> src/storage/foreign_key.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         new_key: &[u8],
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/storage/foreign_key.rs:288:14
[INFO] [stdout]     |
[INFO] [stdout] 288 |         for (table_name, fk, op, record) in &self.pending {
[INFO] [stdout]     |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_record`
[INFO] [stdout]    --> src/storage/foreign_key.rs:294:45
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 FkCheckOp::Delete { record: parent_record } => {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pending_writes`
[INFO] [stdout]   --> src/storage/mvcc_wrapper.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let pending_writes = {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_writes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/sql/tokenizer.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             "JSON" => Token::Json,
[INFO] [stdout]     |             ------ matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 242 |             "JSON" => Token::Json,
[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: unused variable: `offset`
[INFO] [stdout]    --> src/index/hnsw.rs:246:13
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let offset = slot_index * NODE_SLOT_SIZE;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/index/pushdown.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         Expression::Binary { left, op, right } => {
[INFO] [stdout]     |         -------------------------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 211 |         Expression::Binary { left, op: BinaryOp::Equal, right } => {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pager`
[INFO] [stdout]    --> src/index/pushdown.rs:267:23
[INFO] [stdout]     |
[INFO] [stdout] 267 |     fn load_page_keys(pager: &mut Pager, page_id: PageId) -> Result<Vec<(Value, Vec<u64>)>> {
[INFO] [stdout]     |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_pager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_id`
[INFO] [stdout]    --> src/index/pushdown.rs:267:42
[INFO] [stdout]     |
[INFO] [stdout] 267 |     fn load_page_keys(pager: &mut Pager, page_id: PageId) -> Result<Vec<(Value, Vec<u64>)>> {
[INFO] [stdout]     |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]    --> src/index/pushdown.rs:328:25
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub fn can_pushdown(query: &str, indexed_columns: &[String]) -> Option<(String, IndexFilter)> {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indexed_columns`
[INFO] [stdout]    --> src/index/pushdown.rs:328:38
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub fn can_pushdown(query: &str, indexed_columns: &[String]) -> Option<(String, IndexFilter)> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indexed_columns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/executor/phase5.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         mut records: Vec<Record>,
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/executor/phase5.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |         table_name: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `match_expr`
[INFO] [stdout]    --> src/executor/phase5.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         match_expr: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/executor/phase5.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |         table_name: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_x`
[INFO] [stdout]    --> src/executor/phase5.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |         min_x: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_min_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_x`
[INFO] [stdout]    --> src/executor/phase5.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         max_x: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_y`
[INFO] [stdout]    --> src/executor/phase5.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |         min_y: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_min_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_y`
[INFO] [stdout]    --> src/executor/phase5.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |         max_y: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/executor/phase5.rs:363:9
[INFO] [stdout]     |
[INFO] [stdout] 363 |         table_name: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/executor/phase5.rs:364:9
[INFO] [stdout]     |
[INFO] [stdout] 364 |         x: f64,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/executor/phase5.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 365 |         y: f64,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/executor/phase5.rs:366:9
[INFO] [stdout]     |
[INFO] [stdout] 366 |         k: usize,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right`
[INFO] [stdout]    --> src/executor/query_optimizer.rs:150:68
[INFO] [stdout]     |
[INFO] [stdout] 150 |             if let Expression::Binary { left, op: BinaryOp::Equal, right } = expr {
[INFO] [stdout]     |                                                                    ^^^^^ help: try ignoring the field: `right: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]     --> src/executor/mod.rs:2180:42
[INFO] [stdout]      |
[INFO] [stdout] 2180 |                 SelectColumn::Expression(expr, Some(alias)) => {
[INFO] [stdout]      |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/executor/mod.rs:2436:13
[INFO] [stdout]      |
[INFO] [stdout] 2436 |         let mut merged_ctes = outer.ctes.clone();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]    --> src/optimizer/stats.rs:525:62
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn update_stats_after_insert(stats: &mut TableStats, record: &Record) {
[INFO] [stdout]     |                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `avg_row_size`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let (avg_row_size, page_count) = if let Some(stats) = self.get_table_stats(table_name) {
[INFO] [stdout]     |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_row_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_count`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let row_count = self.get_row_estimate(table_name, db);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:350:38
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let range_rows = if let Some(stats) = self.get_table_stats(table_name) {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `columns`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:380:9
[INFO] [stdout]     |
[INFO] [stdout] 380 |         columns: &[crate::sql::ast::SelectColumn],
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_count`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:383:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let row_count = self.get_row_estimate(table_name, db);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_stats`
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:317:9
[INFO] [stdout]     |
[INFO] [stdout] 317 |         table_stats: &HashMap<String, JoinTableStats>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:484:9
[INFO] [stdout]     |
[INFO] [stdout] 484 |         db: &BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conditions`
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:486:9
[INFO] [stdout]     |
[INFO] [stdout] 486 |         conditions: &[JoinCondition],
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conditions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/optimizer/index_selection.rs:254:35
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn estimate_index_cost(&self, index: &BPlusTreeIndex, selectivity: f64) -> f64 {
[INFO] [stdout]     |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col_stats`
[INFO] [stdout]    --> src/optimizer/index_selection.rs:331:29
[INFO] [stdout]     |
[INFO] [stdout] 331 |                 if let Some(col_stats) = table_stats.get_column(column_name) {
[INFO] [stdout]     |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right`
[INFO] [stdout]    --> src/optimizer/index_selection.rs:347:44
[INFO] [stdout]     |
[INFO] [stdout] 347 |             Expression::Binary { left, op, right } => {
[INFO] [stdout]     |                                            ^^^^^ help: try ignoring the field: `right: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alias`
[INFO] [stdout]    --> src/optimizer/subquery.rs:114:51
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if let SelectColumn::Expression(expr, alias) = col {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alias`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/optimizer/subquery.rs:610:9
[INFO] [stdout]     |
[INFO] [stdout] 610 |     let mut analyzer = SubqueryAnalyzer::new();
[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/concurrency/mvcc.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let mut new_node = Owned::new(VersionNode::new(version.clone()));
[INFO] [stdout]     |                 ----^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lock`
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let lock = self.get_or_create_lock(&key);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:473:13
[INFO] [stdout]     |
[INFO] [stdout] 473 |         let version = self.lock_manager.acquire_read_lock(tx_id, key.clone())?;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snapshot`
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:479:17
[INFO] [stdout]     |
[INFO] [stdout] 479 |             let snapshot = &tx.snapshot;
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_bbox`
[INFO] [stdout]    --> src/rtree/mod.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let left_bbox = Self::compute_bbox(&left_entries);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_bbox`
[INFO] [stdout]    --> src/rtree/mod.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let left_bbox = Self::compute_bbox(&left_entries);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `request_time` is never read
[INFO] [stdout]    --> src/pager/prefetch.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout]  99 | struct PrefetchRequest {
[INFO] [stdout]     |        --------------- field in this struct
[INFO] [stdout] 100 |     page_id: PageId,
[INFO] [stdout] 101 |     request_time: Instant,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PrefetchRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrefetchResult` is never constructed
[INFO] [stdout]    --> src/pager/prefetch.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | struct PrefetchResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `latency_history` is never read
[INFO] [stdout]    --> src/pager/prefetch.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct PagePrefetcher {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 146 |     latency_history: VecDeque<u64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `adjust_window_size` is never used
[INFO] [stdout]    --> src/pager/prefetch.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl PagePrefetcher {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 292 |     fn adjust_window_size(&mut self, latency_ms: u64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `view_schema_page` is never read
[INFO] [stdout]    --> src/storage/btree_database.rs:283:5
[INFO] [stdout]     |
[INFO] [stdout] 275 | pub struct BtreeDatabase {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 283 |     view_schema_page: PageId, // Page for storing view metadata
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commit_id` is never read
[INFO] [stdout]    --> src/storage/wal.rs:206:5
[INFO] [stdout]     |
[INFO] [stdout] 205 | struct PendingCommit {
[INFO] [stdout]     |        ------------- field in this struct
[INFO] [stdout] 206 |     commit_id: u64,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PendingCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `last_page_id` and `sequential_count` are never read
[INFO] [stdout]    --> src/storage/btree_cache.rs:202:5
[INFO] [stdout]     |
[INFO] [stdout] 201 | struct AccessPattern {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 202 |     last_page_id: Option<PageId>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 203 |     sequential_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AccessPattern` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_pattern_track` is never read
[INFO] [stdout]    --> src/storage/btree_cache.rs:295:5
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub struct BtreeNodeCache {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 295 |     max_pattern_track: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `evict_lru` is never used
[INFO] [stdout]    --> src/storage/btree_cache.rs:526:8
[INFO] [stdout]     |
[INFO] [stdout] 304 | impl BtreeNodeCache {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 526 |     fn evict_lru(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_key` and `key_is_null` are never used
[INFO] [stdout]    --> src/storage/foreign_key.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl ForeignKeyChecker {
[INFO] [stdout]     | ---------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn build_key(record: &Record, columns: &[String]) -> Result<Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn key_is_null(key: &[u8]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `page_size` is never read
[INFO] [stdout]   --> src/storage/async_wal.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct AsyncWalWriter {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     page_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `page_size` is never read
[INFO] [stdout]   --> src/storage/async_wal.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | struct WriterState {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 89 |     page_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse_select` is never used
[INFO] [stdout]   --> src/sql/parser.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<'a> Parser<'a> {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn parse_select(&mut self) -> Result<Statement> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commit_id` is never read
[INFO] [stdout]   --> src/transaction/manager.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 86 | struct PendingTransaction {
[INFO] [stdout]    |        ------------------ field in this struct
[INFO] [stdout] 87 |     commit_id: u64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PendingTransaction` 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 `is_async` is never used
[INFO] [stdout]    --> src/transaction/manager.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl WalMode {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 171 |     fn is_async(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_parent` is never used
[INFO] [stdout]    --> src/index/btree.rs:395:4
[INFO] [stdout]     |
[INFO] [stdout] 395 | fn read_parent(page: &Page) -> PageId {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeDist` is never constructed
[INFO] [stdout]   --> src/index/hnsw.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct NodeDist {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pager` and `current_page` are never read
[INFO] [stdout]    --> src/index/pushdown.rs:238:5
[INFO] [stdout]     |
[INFO] [stdout] 237 | pub struct IndexScanIterator<'a> {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] 238 |     pager: &'a mut Pager,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 239 |     current_page: PageId,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Update` and `Delete` are never constructed
[INFO] [stdout]   --> src/executor/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | enum TransactionLogEntry {
[INFO] [stdout]    |      ------------------- variants in this enum
[INFO] [stdout] 25 |     Insert { table: String, rowid: u64 },
[INFO] [stdout] 26 |     Update { table: String, rowid: u64, old_record: Record },
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 27 |     Delete { table: String, old_record: Record },
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionLogEntry` 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 `query_planner` is never read
[INFO] [stdout]   --> src/executor/mod.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Executor {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     query_planner: QueryPlanner,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `optimizer` and `stats_collector` are never read
[INFO] [stdout]   --> src/executor/query_optimizer.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct ExecutorQueryOptimizer {
[INFO] [stdout]    |            ---------------------- fields in this struct
[INFO] [stdout] 32 |     optimizer: QueryOptimizer,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 33 |     stats_collector: StatsCollector,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cost_estimator` is never read
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct JoinReorderer {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 105 |     cost_estimator: CostEstimator,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_use_index` is never used
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:543:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl JoinReorderer {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 543 |     fn can_use_index(&self, db: &BtreeDatabase, condition: &JoinCondition) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cost_estimator` is never read
[INFO] [stdout]   --> src/optimizer/index_selection.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct IndexSelector {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 78 |     cost_estimator: CostEstimator,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `running` and `bg_thread` are never read
[INFO] [stdout]   --> src/concurrency/gc.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct GarbageCollector {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     running: AtomicBool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 97 |     /// Background thread handle
[INFO] [stdout] 98 |     bg_thread: Mutex<Option<std::thread::JoinHandle<()>>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `mvcc` are never read
[INFO] [stdout]    --> src/concurrency/mvcc.rs:554:5
[INFO] [stdout]     |
[INFO] [stdout] 552 | pub struct LockFreeMvccTable<T: Clone> {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] 553 |     /// Table name
[INFO] [stdout] 554 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 558 |     mvcc: Arc<MvccManager>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `storage` is never read
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:449:5
[INFO] [stdout]     |
[INFO] [stdout] 443 | pub struct OptimisticMvccManager {
[INFO] [stdout]     |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 449 |     storage: Arc<CowStorage<Vec<u8>>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CACHE_LINE_SIZE` is never used
[INFO] [stdout]   --> src/concurrency/snapshot.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const CACHE_LINE_SIZE: usize = 64;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/concurrency/snapshot.rs:251:5
[INFO] [stdout]     |
[INFO] [stdout] 249 | pub struct LockFreeMvccTable {
[INFO] [stdout]     |            ----------------- field in this struct
[INFO] [stdout] 250 |     /// Table name
[INFO] [stdout] 251 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `min_entries` are never read
[INFO] [stdout]    --> src/rtree/mod.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct RtreeIndex {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 110 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     min_entries: usize,  // Minimum entries per node (except root)
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RtreeIndex` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `anyhow`
[INFO] [stderr]   --> Cargo.toml:38:1
[INFO] [stderr]    |
[INFO] [stderr] 38 | anyhow = "1.0"
[INFO] [stderr]    | ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `anyhow`
[INFO] [stderr] warning: unused dependency `regex`
[INFO] [stderr]   --> Cargo.toml:47:1
[INFO] [stderr]    |
[INFO] [stderr] 47 | regex = "1.10"
[INFO] [stderr]    | ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `regex`
[INFO] [stderr] warning: `sqllite-rust` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 34.26s
[INFO] running `"docker" "inspect" "c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling rand_xorshift v0.4.0
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling rusty-fork v0.3.1
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling zerocopy-derive v0.8.42
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling proptest v1.11.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling sqllite-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PAGE_SIZE`
[INFO] [stdout]  --> src/pager/checksum.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::pager::page::{Page, PAGE_SIZE};
[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: `crate::pager::header::DatabaseHeader`
[INFO] [stdout]   --> src/pager/checksum.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::pager::header::DatabaseHeader;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ForeignKeyChecker`
[INFO] [stdout]   --> src/storage/btree_database.rs:11:57
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::storage::foreign_key::{ForeignKeyConstraint, ForeignKeyChecker};
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/storage/prefix_page.rs:491:28
[INFO] [stdout]     |
[INFO] [stdout] 491 |             if total > 0 { (compressed * 100 / total) } else { 0 },
[INFO] [stdout]     |                            ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 491 -             if total > 0 { (compressed * 100 / total) } else { 0 },
[INFO] [stdout] 491 +             if total > 0 { compressed * 100 / total } else { 0 },
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/storage/mvcc_wrapper.rs:9:67
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::storage::{BtreeDatabase, Record, Result, StorageError, Value};
[INFO] [stdout]   |                                                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Expression`
[INFO] [stdout]   --> src/executor/plan_cache.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::sql::ast::{SelectStmt, Expression};
[INFO] [stdout]    |                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JoinType`, `Join`, and `SelectColumn`
[INFO] [stdout]  --> src/executor/query_optimizer.rs:9:57
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::sql::ast::{SelectStmt, Expression, BinaryOp, Join, JoinType, SelectColumn};
[INFO] [stdout]   |                                                         ^^^^  ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CostEstimator`, `IndexSelector`, `JoinOrder`, `JoinReorderer`, and `StatsCatalog`
[INFO] [stdout]   --> src/executor/query_optimizer.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 |     QueryOptimizer, StatsCollector, CostEstimator, JoinReorderer,
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 14 |     IndexSelector, StatsCatalog, JoinOrder
[INFO] [stdout]    |     ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColumnStats`, `PredicateType`, and `StatsCollector`
[INFO] [stdout]   --> src/optimizer/cost_model.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | use super::stats::{ColumnStats, TableStats, StatsCollector, PredicateType, StatsCatalog};
[INFO] [stdout]    |                    ^^^^^^^^^^^              ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::storage::{BtreeDatabase, Value};
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Join`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::sql::ast::{Join, Expression, BinaryOp};
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlanCost`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:19:40
[INFO] [stdout]    |
[INFO] [stdout] 19 | use super::cost_model::{CostEstimator, PlanCost, JoinAlgorithm};
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PredicateType`, `StatsCatalog`, `StatsCollector`, and `TableStats`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 | use super::stats::{StatsCollector, PredicateType, StatsCatalog, TableStats};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Record` and `Value`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:14:37
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::storage::{BtreeDatabase, Value, Record, BPlusTreeIndex};
[INFO] [stdout]    |                                     ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TableStats`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:16:65
[INFO] [stdout]    |
[INFO] [stdout] 16 | use super::stats::{StatsCollector, PredicateType, StatsCatalog, TableStats};
[INFO] [stdout]    |                                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlanCost`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 17 | use super::cost_model::{CostEstimator, PlanCost};
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AggregateFunc`, `JoinType`, and `Join`
[INFO] [stdout]   --> src/optimizer/subquery.rs:15:71
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::sql::ast::{Expression, BinaryOp, SelectStmt, SelectColumn, Join, JoinType, AggregateFunc, SubqueryExpr};
[INFO] [stdout]    |                                                                       ^^^^  ^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]   --> src/concurrency/snapshot.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::storage::{Record, Value};
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WindowFrameBound`, `WindowFrame`, and `WindowSpec`
[INFO] [stdout]  --> src/window/mod.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::sql::ast::{WindowFunc, WindowSpec, WindowFrame, WindowFrameBound, OrderBy};
[INFO] [stdout]   |                                   ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::Value`
[INFO] [stdout]  --> src/fts/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::storage::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/storage/async_wal.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::{Read, Seek, SeekFrom, Write};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]   --> src/concurrency/mvcc.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::ops::Deref;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_page_id`
[INFO] [stdout]    --> src/pager/prefetch.rs:229:41
[INFO] [stdout]     |
[INFO] [stdout] 229 |     fn update_access_pattern(&mut self, current_page_id: PageId) {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_page_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pager/prefetch.rs:491:16
[INFO] [stdout]     |
[INFO] [stdout] 491 |     pub fn new(mut inner: Pager, config: PrefetchConfig) -> Self {
[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: `k`
[INFO] [stdout]   --> src/storage/btree_core.rs:90:26
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     let (k, v) = page.get_record_at(mid)?;
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/storage/prefix_compression.rs:238:14
[INFO] [stdout]     |
[INFO] [stdout] 238 |         let (base, deltas) = Self::compress(values);
[INFO] [stdout]     |              ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_table`
[INFO] [stdout]   --> src/storage/foreign_key.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let parent_table = db.get_table(&fk.ref_table)
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/foreign_key.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let mut results = Vec::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         db: &BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_key`
[INFO] [stdout]    --> src/storage/foreign_key.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         parent_key: &[u8],
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `child_key`
[INFO] [stdout]    --> src/storage/foreign_key.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         child_key: &[u8],
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]    --> src/storage/foreign_key.rs:201:18
[INFO] [stdout]     |
[INFO] [stdout] 201 |     fn build_key(record: &Record, columns: &[String]) -> Result<Vec<u8>> {
[INFO] [stdout]     |                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         db: &mut BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/storage/foreign_key.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         table: &str,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_id`
[INFO] [stdout]    --> src/storage/foreign_key.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |         record_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         db: &mut BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/storage/foreign_key.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |         table: &str,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_id`
[INFO] [stdout]    --> src/storage/foreign_key.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |         record_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |         db: &mut BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/storage/foreign_key.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |         table: &str,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_id`
[INFO] [stdout]    --> src/storage/foreign_key.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |         record_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_key`
[INFO] [stdout]    --> src/storage/foreign_key.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         new_key: &[u8],
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/storage/foreign_key.rs:288:14
[INFO] [stdout]     |
[INFO] [stdout] 288 |         for (table_name, fk, op, record) in &self.pending {
[INFO] [stdout]     |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_record`
[INFO] [stdout]    --> src/storage/foreign_key.rs:294:45
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 FkCheckOp::Delete { record: parent_record } => {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pending_writes`
[INFO] [stdout]   --> src/storage/mvcc_wrapper.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let pending_writes = {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_writes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/sql/tokenizer.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             "JSON" => Token::Json,
[INFO] [stdout]     |             ------ matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 242 |             "JSON" => Token::Json,
[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: unused variable: `offset`
[INFO] [stdout]    --> src/index/hnsw.rs:246:13
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let offset = slot_index * NODE_SLOT_SIZE;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/index/pushdown.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         Expression::Binary { left, op, right } => {
[INFO] [stdout]     |         -------------------------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 211 |         Expression::Binary { left, op: BinaryOp::Equal, right } => {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pager`
[INFO] [stdout]    --> src/index/pushdown.rs:267:23
[INFO] [stdout]     |
[INFO] [stdout] 267 |     fn load_page_keys(pager: &mut Pager, page_id: PageId) -> Result<Vec<(Value, Vec<u64>)>> {
[INFO] [stdout]     |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_pager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_id`
[INFO] [stdout]    --> src/index/pushdown.rs:267:42
[INFO] [stdout]     |
[INFO] [stdout] 267 |     fn load_page_keys(pager: &mut Pager, page_id: PageId) -> Result<Vec<(Value, Vec<u64>)>> {
[INFO] [stdout]     |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]    --> src/index/pushdown.rs:328:25
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub fn can_pushdown(query: &str, indexed_columns: &[String]) -> Option<(String, IndexFilter)> {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indexed_columns`
[INFO] [stdout]    --> src/index/pushdown.rs:328:38
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub fn can_pushdown(query: &str, indexed_columns: &[String]) -> Option<(String, IndexFilter)> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indexed_columns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/executor/phase5.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         mut records: Vec<Record>,
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/executor/phase5.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |         table_name: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `match_expr`
[INFO] [stdout]    --> src/executor/phase5.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         match_expr: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/executor/phase5.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |         table_name: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_x`
[INFO] [stdout]    --> src/executor/phase5.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |         min_x: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_min_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_x`
[INFO] [stdout]    --> src/executor/phase5.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         max_x: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_y`
[INFO] [stdout]    --> src/executor/phase5.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |         min_y: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_min_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_y`
[INFO] [stdout]    --> src/executor/phase5.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |         max_y: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/executor/phase5.rs:363:9
[INFO] [stdout]     |
[INFO] [stdout] 363 |         table_name: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/executor/phase5.rs:364:9
[INFO] [stdout]     |
[INFO] [stdout] 364 |         x: f64,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/executor/phase5.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 365 |         y: f64,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/executor/phase5.rs:366:9
[INFO] [stdout]     |
[INFO] [stdout] 366 |         k: usize,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right`
[INFO] [stdout]    --> src/executor/query_optimizer.rs:150:68
[INFO] [stdout]     |
[INFO] [stdout] 150 |             if let Expression::Binary { left, op: BinaryOp::Equal, right } = expr {
[INFO] [stdout]     |                                                                    ^^^^^ help: try ignoring the field: `right: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]     --> src/executor/mod.rs:2180:42
[INFO] [stdout]      |
[INFO] [stdout] 2180 |                 SelectColumn::Expression(expr, Some(alias)) => {
[INFO] [stdout]      |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/executor/mod.rs:2436:13
[INFO] [stdout]      |
[INFO] [stdout] 2436 |         let mut merged_ctes = outer.ctes.clone();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]    --> src/optimizer/stats.rs:525:62
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn update_stats_after_insert(stats: &mut TableStats, record: &Record) {
[INFO] [stdout]     |                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `avg_row_size`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let (avg_row_size, page_count) = if let Some(stats) = self.get_table_stats(table_name) {
[INFO] [stdout]     |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_row_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_count`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let row_count = self.get_row_estimate(table_name, db);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:350:38
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let range_rows = if let Some(stats) = self.get_table_stats(table_name) {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `columns`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:380:9
[INFO] [stdout]     |
[INFO] [stdout] 380 |         columns: &[crate::sql::ast::SelectColumn],
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_count`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:383:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let row_count = self.get_row_estimate(table_name, db);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_stats`
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:317:9
[INFO] [stdout]     |
[INFO] [stdout] 317 |         table_stats: &HashMap<String, JoinTableStats>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:484:9
[INFO] [stdout]     |
[INFO] [stdout] 484 |         db: &BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conditions`
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:486:9
[INFO] [stdout]     |
[INFO] [stdout] 486 |         conditions: &[JoinCondition],
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conditions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/optimizer/index_selection.rs:254:35
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn estimate_index_cost(&self, index: &BPlusTreeIndex, selectivity: f64) -> f64 {
[INFO] [stdout]     |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col_stats`
[INFO] [stdout]    --> src/optimizer/index_selection.rs:331:29
[INFO] [stdout]     |
[INFO] [stdout] 331 |                 if let Some(col_stats) = table_stats.get_column(column_name) {
[INFO] [stdout]     |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right`
[INFO] [stdout]    --> src/optimizer/index_selection.rs:347:44
[INFO] [stdout]     |
[INFO] [stdout] 347 |             Expression::Binary { left, op, right } => {
[INFO] [stdout]     |                                            ^^^^^ help: try ignoring the field: `right: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alias`
[INFO] [stdout]    --> src/optimizer/subquery.rs:114:51
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if let SelectColumn::Expression(expr, alias) = col {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alias`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/optimizer/subquery.rs:610:9
[INFO] [stdout]     |
[INFO] [stdout] 610 |     let mut analyzer = SubqueryAnalyzer::new();
[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/concurrency/mvcc.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let mut new_node = Owned::new(VersionNode::new(version.clone()));
[INFO] [stdout]     |                 ----^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lock`
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let lock = self.get_or_create_lock(&key);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:473:13
[INFO] [stdout]     |
[INFO] [stdout] 473 |         let version = self.lock_manager.acquire_read_lock(tx_id, key.clone())?;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snapshot`
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:479:17
[INFO] [stdout]     |
[INFO] [stdout] 479 |             let snapshot = &tx.snapshot;
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_bbox`
[INFO] [stdout]    --> src/rtree/mod.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let left_bbox = Self::compute_bbox(&left_entries);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_bbox`
[INFO] [stdout]    --> src/rtree/mod.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let left_bbox = Self::compute_bbox(&left_entries);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `request_time` is never read
[INFO] [stdout]    --> src/pager/prefetch.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout]  99 | struct PrefetchRequest {
[INFO] [stdout]     |        --------------- field in this struct
[INFO] [stdout] 100 |     page_id: PageId,
[INFO] [stdout] 101 |     request_time: Instant,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PrefetchRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrefetchResult` is never constructed
[INFO] [stdout]    --> src/pager/prefetch.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | struct PrefetchResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `latency_history` is never read
[INFO] [stdout]    --> src/pager/prefetch.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct PagePrefetcher {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 146 |     latency_history: VecDeque<u64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `adjust_window_size` is never used
[INFO] [stdout]    --> src/pager/prefetch.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl PagePrefetcher {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 292 |     fn adjust_window_size(&mut self, latency_ms: u64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `view_schema_page` is never read
[INFO] [stdout]    --> src/storage/btree_database.rs:283:5
[INFO] [stdout]     |
[INFO] [stdout] 275 | pub struct BtreeDatabase {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 283 |     view_schema_page: PageId, // Page for storing view metadata
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commit_id` is never read
[INFO] [stdout]    --> src/storage/wal.rs:206:5
[INFO] [stdout]     |
[INFO] [stdout] 205 | struct PendingCommit {
[INFO] [stdout]     |        ------------- field in this struct
[INFO] [stdout] 206 |     commit_id: u64,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PendingCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `last_page_id` and `sequential_count` are never read
[INFO] [stdout]    --> src/storage/btree_cache.rs:202:5
[INFO] [stdout]     |
[INFO] [stdout] 201 | struct AccessPattern {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 202 |     last_page_id: Option<PageId>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 203 |     sequential_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AccessPattern` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_pattern_track` is never read
[INFO] [stdout]    --> src/storage/btree_cache.rs:295:5
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub struct BtreeNodeCache {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 295 |     max_pattern_track: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `evict_lru` is never used
[INFO] [stdout]    --> src/storage/btree_cache.rs:526:8
[INFO] [stdout]     |
[INFO] [stdout] 304 | impl BtreeNodeCache {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 526 |     fn evict_lru(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_key` and `key_is_null` are never used
[INFO] [stdout]    --> src/storage/foreign_key.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl ForeignKeyChecker {
[INFO] [stdout]     | ---------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn build_key(record: &Record, columns: &[String]) -> Result<Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn key_is_null(key: &[u8]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `page_size` is never read
[INFO] [stdout]   --> src/storage/async_wal.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct AsyncWalWriter {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     page_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `page_size` is never read
[INFO] [stdout]   --> src/storage/async_wal.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | struct WriterState {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 89 |     page_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse_select` is never used
[INFO] [stdout]   --> src/sql/parser.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<'a> Parser<'a> {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn parse_select(&mut self) -> Result<Statement> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commit_id` is never read
[INFO] [stdout]   --> src/transaction/manager.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 86 | struct PendingTransaction {
[INFO] [stdout]    |        ------------------ field in this struct
[INFO] [stdout] 87 |     commit_id: u64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PendingTransaction` 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 `is_async` is never used
[INFO] [stdout]    --> src/transaction/manager.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl WalMode {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 171 |     fn is_async(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_parent` is never used
[INFO] [stdout]    --> src/index/btree.rs:395:4
[INFO] [stdout]     |
[INFO] [stdout] 395 | fn read_parent(page: &Page) -> PageId {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeDist` is never constructed
[INFO] [stdout]   --> src/index/hnsw.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct NodeDist {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pager` and `current_page` are never read
[INFO] [stdout]    --> src/index/pushdown.rs:238:5
[INFO] [stdout]     |
[INFO] [stdout] 237 | pub struct IndexScanIterator<'a> {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] 238 |     pager: &'a mut Pager,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 239 |     current_page: PageId,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Update` and `Delete` are never constructed
[INFO] [stdout]   --> src/executor/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | enum TransactionLogEntry {
[INFO] [stdout]    |      ------------------- variants in this enum
[INFO] [stdout] 25 |     Insert { table: String, rowid: u64 },
[INFO] [stdout] 26 |     Update { table: String, rowid: u64, old_record: Record },
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 27 |     Delete { table: String, old_record: Record },
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionLogEntry` 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 `query_planner` is never read
[INFO] [stdout]   --> src/executor/mod.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Executor {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     query_planner: QueryPlanner,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `optimizer` and `stats_collector` are never read
[INFO] [stdout]   --> src/executor/query_optimizer.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct ExecutorQueryOptimizer {
[INFO] [stdout]    |            ---------------------- fields in this struct
[INFO] [stdout] 32 |     optimizer: QueryOptimizer,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 33 |     stats_collector: StatsCollector,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cost_estimator` is never read
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct JoinReorderer {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 105 |     cost_estimator: CostEstimator,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_use_index` is never used
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:543:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl JoinReorderer {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 543 |     fn can_use_index(&self, db: &BtreeDatabase, condition: &JoinCondition) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cost_estimator` is never read
[INFO] [stdout]   --> src/optimizer/index_selection.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct IndexSelector {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 78 |     cost_estimator: CostEstimator,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `running` and `bg_thread` are never read
[INFO] [stdout]   --> src/concurrency/gc.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct GarbageCollector {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     running: AtomicBool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 97 |     /// Background thread handle
[INFO] [stdout] 98 |     bg_thread: Mutex<Option<std::thread::JoinHandle<()>>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `mvcc` are never read
[INFO] [stdout]    --> src/concurrency/mvcc.rs:554:5
[INFO] [stdout]     |
[INFO] [stdout] 552 | pub struct LockFreeMvccTable<T: Clone> {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] 553 |     /// Table name
[INFO] [stdout] 554 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 558 |     mvcc: Arc<MvccManager>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `storage` is never read
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:449:5
[INFO] [stdout]     |
[INFO] [stdout] 443 | pub struct OptimisticMvccManager {
[INFO] [stdout]     |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 449 |     storage: Arc<CowStorage<Vec<u8>>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CACHE_LINE_SIZE` is never used
[INFO] [stdout]   --> src/concurrency/snapshot.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const CACHE_LINE_SIZE: usize = 64;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/concurrency/snapshot.rs:251:5
[INFO] [stdout]     |
[INFO] [stdout] 249 | pub struct LockFreeMvccTable {
[INFO] [stdout]     |            ----------------- field in this struct
[INFO] [stdout] 250 |     /// Table name
[INFO] [stdout] 251 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `min_entries` are never read
[INFO] [stdout]    --> src/rtree/mod.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct RtreeIndex {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 110 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     min_entries: usize,  // Minimum entries per node (except root)
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RtreeIndex` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::NamedTempFile`
[INFO] [stdout]    --> src/pager/prefetch.rs:696:9
[INFO] [stdout]     |
[INFO] [stdout] 696 |     use tempfile::NamedTempFile;
[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: `PAGE_SIZE`
[INFO] [stdout]  --> src/pager/checksum.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::pager::page::{Page, PAGE_SIZE};
[INFO] [stdout]   |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::pager::header::DatabaseHeader`
[INFO] [stdout]   --> src/pager/checksum.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::pager::header::DatabaseHeader;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]     --> src/storage/btree_core.rs:1321:21
[INFO] [stdout]      |
[INFO] [stdout] 1321 |     use std::time::{Duration, Instant};
[INFO] [stdout]      |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ForeignKeyChecker`
[INFO] [stdout]   --> src/storage/btree_database.rs:11:57
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::storage::foreign_key::{ForeignKeyConstraint, ForeignKeyChecker};
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/storage/prefix_page.rs:491:28
[INFO] [stdout]     |
[INFO] [stdout] 491 |             if total > 0 { (compressed * 100 / total) } else { 0 },
[INFO] [stdout]     |                            ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 491 -             if total > 0 { (compressed * 100 / total) } else { 0 },
[INFO] [stdout] 491 +             if total > 0 { compressed * 100 / total } else { 0 },
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Expression`
[INFO] [stdout]   --> src/executor/plan_cache.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::sql::ast::{SelectStmt, Expression};
[INFO] [stdout]    |                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColumnDef` and `DataType`
[INFO] [stdout]    --> src/executor/plan_cache.rs:358:41
[INFO] [stdout]     |
[INFO] [stdout] 358 |     use crate::sql::ast::{SelectColumn, ColumnDef, DataType};
[INFO] [stdout]     |                                         ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JoinType`, `Join`, and `SelectColumn`
[INFO] [stdout]  --> src/executor/query_optimizer.rs:9:57
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::sql::ast::{SelectStmt, Expression, BinaryOp, Join, JoinType, SelectColumn};
[INFO] [stdout]   |                                                         ^^^^  ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CostEstimator`, `IndexSelector`, `JoinOrder`, `JoinReorderer`, and `StatsCatalog`
[INFO] [stdout]   --> src/executor/query_optimizer.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 |     QueryOptimizer, StatsCollector, CostEstimator, JoinReorderer,
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 14 |     IndexSelector, StatsCatalog, JoinOrder
[INFO] [stdout]    |     ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColumnStats`, `PredicateType`, and `StatsCollector`
[INFO] [stdout]   --> src/optimizer/cost_model.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | use super::stats::{ColumnStats, TableStats, StatsCollector, PredicateType, StatsCatalog};
[INFO] [stdout]    |                    ^^^^^^^^^^^              ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::storage::{BtreeDatabase, Value};
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Join`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::sql::ast::{Join, Expression, BinaryOp};
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlanCost`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:19:40
[INFO] [stdout]    |
[INFO] [stdout] 19 | use super::cost_model::{CostEstimator, PlanCost, JoinAlgorithm};
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PredicateType`, `StatsCatalog`, `StatsCollector`, and `TableStats`
[INFO] [stdout]   --> src/optimizer/join_reorder.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 | use super::stats::{StatsCollector, PredicateType, StatsCatalog, TableStats};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:14:37
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::storage::{BtreeDatabase, Value, Record, BPlusTreeIndex};
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TableStats`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:16:65
[INFO] [stdout]    |
[INFO] [stdout] 16 | use super::stats::{StatsCollector, PredicateType, StatsCatalog, TableStats};
[INFO] [stdout]    |                                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlanCost`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 17 | use super::cost_model::{CostEstimator, PlanCost};
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/optimizer/index_selection.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AggregateFunc`, `JoinType`, and `Join`
[INFO] [stdout]   --> src/optimizer/subquery.rs:15:71
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::sql::ast::{Expression, BinaryOp, SelectStmt, SelectColumn, Join, JoinType, AggregateFunc, SubqueryExpr};
[INFO] [stdout]    |                                                                       ^^^^  ^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WindowFrameBound`, `WindowFrame`, and `WindowSpec`
[INFO] [stdout]  --> src/window/mod.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::sql::ast::{WindowFunc, WindowSpec, WindowFrame, WindowFrameBound, OrderBy};
[INFO] [stdout]   |                                   ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::Value`
[INFO] [stdout]  --> src/fts/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::storage::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PageId`
[INFO] [stdout]   --> tests/storage_unit_tests.rs:10:34
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sqllite_rust::pager::{Pager, PageId};
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BtreeCacheStats` and `FreePageList`
[INFO] [stdout]   --> tests/storage_unit_tests.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     PageAllocator, FreePageList, Wal, WalHeader, WalFrame,
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] 15 |     BtreeNodeCache, BtreeCacheStats,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sqllite_rust::sql::ast::Value`
[INFO] [stdout]   --> tests/sql_type_tests.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 99 | use sqllite_rust::sql::ast::Value;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             no `Value` in `sql::ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Snapshot`, `Transaction`, and `TxId`
[INFO] [stdout]   --> tests/concurrent_mvcc_test.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Snapshot, Transaction, TxId,
[INFO] [stdout]    |     ^^^^^^^^  ^^^^^^^^^^^  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `test_random_access_pattern` is defined multiple times
[INFO] [stdout]    --> tests/cache_boundary_tests.rs:752:1
[INFO] [stdout]     |
[INFO] [stdout] 239 | fn test_random_access_pattern() {
[INFO] [stdout]     | ------------------------------- previous definition of the value `test_random_access_pattern` here
[INFO] [stdout] ...
[INFO] [stdout] 752 | fn test_random_access_pattern() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_random_access_pattern` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `test_random_access_pattern` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxId`
[INFO] [stdout]   --> tests/concurrent_read_benchmark.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Snapshot, TxId,
[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: `sqllite_rust::sql::ast::Statement`
[INFO] [stdout]  --> examples/vector_hnsw_demo.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqllite_rust::sql::ast::Statement;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AccessPattern` and `CacheStatistics`
[INFO] [stdout]  --> tests/cache_boundary_tests.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     AccessPattern, CacheStatistics, global_cache_stats,
[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: `PageId`
[INFO] [stdout]   --> tests/cache_boundary_tests.rs:10:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sqllite_rust::pager::page::{Page, PageId};
[INFO] [stdout]    |                                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/collection_boundary_tests.rs:29:29
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(v.len(), size);
[INFO] [stdout]    |                             ^^^^ expected `usize`, found `i32`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert an `i32` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(v.len(), size.try_into().unwrap());
[INFO] [stdout]    |                                 ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AtomicU64`
[INFO] [stdout]   --> tests/cache_boundary_tests.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::atomic::{AtomicU64, Ordering};
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> tests/cache_boundary_tests.rs:720:23
[INFO] [stdout]     |
[INFO] [stdout] 720 |             cache.get(((round * 100 + i) as u32));
[INFO] [stdout]     |                       ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 720 -             cache.get(((round * 100 + i) as u32));
[INFO] [stdout] 720 +             cache.get((round * 100 + i) as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> tests/cache_boundary_tests.rs:725:35
[INFO] [stdout]     |
[INFO] [stdout] 725 |             let _ = cache.get_mut(((round * 100 + i) as u32));
[INFO] [stdout]     |                                   ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 725 -             let _ = cache.get_mut(((round * 100 + i) as u32));
[INFO] [stdout] 725 +             let _ = cache.get_mut((round * 100 + i) as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>`
[INFO] [stdout]   --> tests/collection_boundary_tests.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut v = Vec::with_capacity(100);
[INFO] [stdout]    |         ^^^^^   ----------------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `v` an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut v: Vec<T> = Vec::with_capacity(100);
[INFO] [stdout]    |              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Int` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 15 |         DataType::Int,
[INFO] [stdout]    |                   ^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqllite_rust::sql::Parser`
[INFO] [stdout]   --> tests/stress_tests.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sqllite_rust::sql::Parser;
[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: `Read`
[INFO] [stdout]   --> src/storage/async_wal.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::{Read, Seek, SeekFrom, Write};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]   --> src/concurrency/mvcc.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::ops::Deref;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `SmallInt` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |         DataType::SmallInt,
[INFO] [stdout]    |                   ^^^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hex`
[INFO] [stdout]  --> tests/boundary_special_chars_tests.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use hex;
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `BigInt` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |         DataType::BigInt,
[INFO] [stdout]    |                   ^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Real` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |         DataType::Real,
[INFO] [stdout]    |                   ^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/concurrency_boundary_tests.rs:96:22
[INFO] [stdout]    |
[INFO] [stdout] 86 |         handles.push(handle);
[INFO] [stdout]    |         -------      ------ this argument has type `JoinHandle<{integer}>`...
[INFO] [stdout]    |         |
[INFO] [stdout]    |         ... which causes `handles` to have type `Vec<JoinHandle<{integer}>>`
[INFO] [stdout] ...
[INFO] [stdout] 96 |         handles.push(handle);
[INFO] [stdout]    |                 ---- ^^^^^^ expected `JoinHandle<{integer}>`, found `JoinHandle<()>`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `JoinHandle<{integer}>`
[INFO] [stdout]               found struct `JoinHandle<()>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/3b0202dcde0ac75d57351de7b10dfa396747bd5e/library/alloc/src/vec/mod.rs:962:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snapshot`
[INFO] [stdout]   --> tests/concurrent_mvcc_test.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let snapshot = mvcc.get_snapshot(tx);
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Float` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 |         DataType::Float,
[INFO] [stdout]    |                   ^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqllite-rust` (test "collection_boundary_tests") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Double` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |         DataType::Double,
[INFO] [stdout]    |                   ^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Decimal` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 |         DataType::Decimal(10, 2),
[INFO] [stdout]    |                   ^^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_id`
[INFO] [stdout]   --> tests/concurrent_read_benchmark.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     for thread_id in 0..num_threads {
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Decimal` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 32 |         DataType::Decimal(38, 10),
[INFO] [stdout]    |                   ^^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_id`
[INFO] [stdout]    --> tests/concurrent_read_benchmark.rs:112:10
[INFO] [stdout]     |
[INFO] [stdout] 112 |     for (thread_id, snapshot) in snapshots.into_iter().enumerate() {
[INFO] [stdout]     |          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> tests/cache_boundary_tests.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let stats = cache.detailed_stats();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Char` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |         DataType::Char(1),
[INFO] [stdout]    |                   ^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Char` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:45:19
[INFO] [stdout]    |
[INFO] [stdout] 45 |         DataType::Char(255),
[INFO] [stdout]    |                   ^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `VarChar` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |         DataType::VarChar(100),
[INFO] [stdout]    |                   ^^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqllite-rust` (test "concurrency_boundary_tests") due to 1 previous error
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `VarChar` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 |         DataType::VarChar(65535),
[INFO] [stdout]    |                   ^^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Binary` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |         DataType::Binary(100),
[INFO] [stdout]    |                   ^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sqllite_rust::storage::overflow::OverflowPage`
[INFO] [stdout]  --> tests/storage_boundary_tests.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqllite_rust::storage::overflow::OverflowPage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------
[INFO] [stdout]   |                                      |
[INFO] [stdout]   |                                      no `OverflowPage` in `storage::overflow`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqllite_rust::storage::overflow::OverflowPageOps;
[INFO] [stdout]   |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sqllite_rust::storage::foreign_key::ForeignKey`
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:619:64
[INFO] [stdout]     |
[INFO] [stdout] 619 |     use sqllite_rust::storage::foreign_key::{ForeignKeyAction, ForeignKey};
[INFO] [stdout]     |                                                                ^^^^^^^^^^ no `ForeignKey` in `storage::foreign_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_page_id`
[INFO] [stdout]    --> src/pager/prefetch.rs:229:41
[INFO] [stdout]     |
[INFO] [stdout] 229 |     fn update_access_pattern(&mut self, current_page_id: PageId) {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_page_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> tests/cache_boundary_tests.rs:560:9
[INFO] [stdout]     |
[INFO] [stdout] 560 |     let stats = cache.stats();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> tests/cache_boundary_tests.rs:588:9
[INFO] [stdout]     |
[INFO] [stdout] 588 |     let stats = cache.stats();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `VarBinary` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |         DataType::VarBinary(1000),
[INFO] [stdout]    |                   ^^^^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `ForeignKeyAction` is private
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:619:46
[INFO] [stdout]     |
[INFO] [stdout] 619 |     use sqllite_rust::storage::foreign_key::{ForeignKeyAction, ForeignKey};
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `ForeignKeyAction` is defined here
[INFO] [stdout]    --> src/storage/foreign_key.rs:8:5
[INFO] [stdout]     |
[INFO] [stdout]   8 | use crate::sql::ast::ForeignKeyAction;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PageId`
[INFO] [stdout]  --> tests/storage_boundary_tests.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqllite_rust::pager::page::{Page, PageId};
[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: `GroupCommitConfig`
[INFO] [stdout]  --> tests/storage_boundary_tests.rs:9:60
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sqllite_rust::storage::wal::{Wal, WalHeader, WalFrame, GroupCommitConfig};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> tests/cache_boundary_tests.rs:747:9
[INFO] [stdout]     |
[INFO] [stdout] 747 |     let stats = cache.detailed_stats();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/storage_unit_tests.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut pager = Pager::open(&path).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: `pager`
[INFO] [stdout]   --> tests/storage_unit_tests.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut pager = Pager::open(&path).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pager`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Date` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 |         DataType::Date,
[INFO] [stdout]    |                   ^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pager/prefetch.rs:491:16
[INFO] [stdout]     |
[INFO] [stdout] 491 |     pub fn new(mut inner: Pager, config: PrefetchConfig) -> Self {
[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: `thread_id`
[INFO] [stdout]    --> tests/concurrent_read_benchmark.rs:499:9
[INFO] [stdout]     |
[INFO] [stdout] 499 |     for thread_id in 0..10 {
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_id`
[INFO] [stdout]    --> tests/concurrent_read_benchmark.rs:523:9
[INFO] [stdout]     |
[INFO] [stdout] 523 |     for thread_id in 0..100 {
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> tests/cache_boundary_tests.rs:770:9
[INFO] [stdout]     |
[INFO] [stdout] 770 |     let stats = cache.stats();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Time` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 72 |         DataType::Time,
[INFO] [stdout]    |                   ^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0428`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `DateTime` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 |         DataType::DateTime,
[INFO] [stdout]    |                   ^^^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqllite-rust` (test "cache_boundary_tests") due to 1 previous error; 10 warnings emitted
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Timestamp` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:74:19
[INFO] [stdout]    |
[INFO] [stdout] 74 |         DataType::Timestamp,
[INFO] [stdout]    |                   ^^^^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Boolean` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 85 |         DataType::Boolean,
[INFO] [stdout]    |                   ^^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Numeric` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |         DataType::Numeric,
[INFO] [stdout]    |                   ^^^^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Null` found for enum `DataType` in the current scope
[INFO] [stdout]   --> tests/sql_type_tests.rs:87:19
[INFO] [stdout]    |
[INFO] [stdout] 87 |         DataType::Null,
[INFO] [stdout]    |                   ^^^^ variant, associated function, or constant not found in `DataType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqllite-rust` (test "sql_type_tests") due to 22 previous errors
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]   --> tests/storage_boundary_tests.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |     assert!(record.columns().is_empty());
[INFO] [stdout]    |                    ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]   --> tests/storage_boundary_tests.rs:82:27
[INFO] [stdout]    |
[INFO] [stdout] 82 |         assert_eq!(record.columns().len(), 1);
[INFO] [stdout]    |                           ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/stress_tests.rs:704:9
[INFO] [stdout]     |
[INFO] [stdout] 704 |     let mut executor = Executor::open(&db_path).expect("Failed to open db");
[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: comparison is useless due to type limits
[INFO] [stdout]    --> tests/stress_tests.rs:962:17
[INFO] [stdout]     |
[INFO] [stdout] 962 |         assert!(count >= 0, "Database should be readable after reopen");
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:202:27
[INFO] [stdout]     |
[INFO] [stdout] 202 |         assert_eq!(record.columns().len(), count);
[INFO] [stdout]     |                           ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/storage/btree_core.rs:90:26
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     let (k, v) = page.get_record_at(mid)?;
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/storage/btree_core.rs:1174:13
[INFO] [stdout]      |
[INFO] [stdout] 1174 |         let mut btree = create_test_btree(&mut pager);
[INFO] [stdout]      |             ----^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:213:23
[INFO] [stdout]     |
[INFO] [stdout] 213 |     assert_eq!(record.columns().len(), 3);
[INFO] [stdout]     |                       ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:225:23
[INFO] [stdout]     |
[INFO] [stdout] 225 |     assert_eq!(record.columns().len(), 5);
[INFO] [stdout]     |                       ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:234:27
[INFO] [stdout]     |
[INFO] [stdout] 234 |         assert_eq!(record.columns().len(), 1);
[INFO] [stdout]     |                           ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:254:27
[INFO] [stdout]     |
[INFO] [stdout] 254 |         assert_eq!(record.columns().len(), 1);
[INFO] [stdout]     |                           ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:273:27
[INFO] [stdout]     |
[INFO] [stdout] 273 |         assert_eq!(record.columns().len(), 1);
[INFO] [stdout]     |                           ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:289:27
[INFO] [stdout]     |
[INFO] [stdout] 289 |         assert_eq!(record.columns().len(), 1);
[INFO] [stdout]     |                           ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:305:27
[INFO] [stdout]     |
[INFO] [stdout] 305 |         assert_eq!(record.columns().len(), 1);
[INFO] [stdout]     |                           ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `PageNotFound` found for enum `sqllite_rust::storage::StorageError` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:512:23
[INFO] [stdout]     |
[INFO] [stdout] 512 |         StorageError::PageNotFound(1),
[INFO] [stdout]     |                       ^^^^^^^^^^^^ variant, associated function, or constant not found in `sqllite_rust::storage::StorageError`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 512 -         StorageError::PageNotFound(1),
[INFO] [stdout] 512 +         StorageError::KeyNotFound,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `InvalidPageSize` found for enum `sqllite_rust::storage::StorageError` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:513:23
[INFO] [stdout]     |
[INFO] [stdout] 513 |         StorageError::InvalidPageSize(100),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `sqllite_rust::storage::StorageError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:801:27
[INFO] [stdout]     |
[INFO] [stdout] 801 |         assert_eq!(record.columns().len(), deserialized.columns().len());
[INFO] [stdout]     |                           ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:801:57
[INFO] [stdout]     |
[INFO] [stdout] 801 |         assert_eq!(record.columns().len(), deserialized.columns().len());
[INFO] [stdout]     |                                                         ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]    --> tests/storage_boundary_tests.rs:974:27
[INFO] [stdout]     |
[INFO] [stdout] 974 |         assert_eq!(record.columns().len(), 1);
[INFO] [stdout]     |                           ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `columns` found for struct `Record` in the current scope
[INFO] [stdout]     --> tests/storage_boundary_tests.rs:1041:27
[INFO] [stdout]      |
[INFO] [stdout] 1041 |         assert_eq!(record.columns().len(), 1);
[INFO] [stdout]      |                           ^^^^^^^ method not found in `Record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> tests/storage_boundary_tests.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     for size in sizes {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqllite-rust` (test "storage_boundary_tests") due to 19 previous errors; 3 warnings emitted
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/storage/prefix_compression.rs:238:14
[INFO] [stdout]     |
[INFO] [stdout] 238 |         let (base, deltas) = Self::compress(values);
[INFO] [stdout]     |              ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_table`
[INFO] [stdout]   --> src/storage/foreign_key.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let parent_table = db.get_table(&fk.ref_table)
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/foreign_key.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let mut results = Vec::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         db: &BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_key`
[INFO] [stdout]    --> src/storage/foreign_key.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         parent_key: &[u8],
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `child_key`
[INFO] [stdout]    --> src/storage/foreign_key.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         child_key: &[u8],
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]    --> src/storage/foreign_key.rs:201:18
[INFO] [stdout]     |
[INFO] [stdout] 201 |     fn build_key(record: &Record, columns: &[String]) -> Result<Vec<u8>> {
[INFO] [stdout]     |                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         db: &mut BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/storage/foreign_key.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         table: &str,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_id`
[INFO] [stdout]    --> src/storage/foreign_key.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |         record_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         db: &mut BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/storage/foreign_key.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |         table: &str,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_id`
[INFO] [stdout]    --> src/storage/foreign_key.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |         record_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/storage/foreign_key.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |         db: &mut BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/storage/foreign_key.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |         table: &str,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_id`
[INFO] [stdout]    --> src/storage/foreign_key.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |         record_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fk`
[INFO] [stdout]    --> src/storage/foreign_key.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         fk: &ForeignKeyConstraint,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_fk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_key`
[INFO] [stdout]    --> src/storage/foreign_key.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         new_key: &[u8],
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/storage/foreign_key.rs:288:14
[INFO] [stdout]     |
[INFO] [stdout] 288 |         for (table_name, fk, op, record) in &self.pending {
[INFO] [stdout]     |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_record`
[INFO] [stdout]    --> src/storage/foreign_key.rs:294:45
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 FkCheckOp::Delete { record: parent_record } => {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pending_writes`
[INFO] [stdout]   --> src/storage/mvcc_wrapper.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let pending_writes = {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_writes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/sql/tokenizer.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             "JSON" => Token::Json,
[INFO] [stdout]     |             ------ matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 242 |             "JSON" => Token::Json,
[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: unused variable: `offset`
[INFO] [stdout]    --> src/index/hnsw.rs:246:13
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let offset = slot_index * NODE_SLOT_SIZE;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/index/pushdown.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         Expression::Binary { left, op, right } => {
[INFO] [stdout]     |         -------------------------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 211 |         Expression::Binary { left, op: BinaryOp::Equal, right } => {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pager`
[INFO] [stdout]    --> src/index/pushdown.rs:267:23
[INFO] [stdout]     |
[INFO] [stdout] 267 |     fn load_page_keys(pager: &mut Pager, page_id: PageId) -> Result<Vec<(Value, Vec<u64>)>> {
[INFO] [stdout]     |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_pager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_id`
[INFO] [stdout]    --> src/index/pushdown.rs:267:42
[INFO] [stdout]     |
[INFO] [stdout] 267 |     fn load_page_keys(pager: &mut Pager, page_id: PageId) -> Result<Vec<(Value, Vec<u64>)>> {
[INFO] [stdout]     |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]    --> src/index/pushdown.rs:328:25
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub fn can_pushdown(query: &str, indexed_columns: &[String]) -> Option<(String, IndexFilter)> {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indexed_columns`
[INFO] [stdout]    --> src/index/pushdown.rs:328:38
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub fn can_pushdown(query: &str, indexed_columns: &[String]) -> Option<(String, IndexFilter)> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indexed_columns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/executor/phase5.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         mut records: Vec<Record>,
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/executor/phase5.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |         table_name: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `match_expr`
[INFO] [stdout]    --> src/executor/phase5.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         match_expr: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/executor/phase5.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |         table_name: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_x`
[INFO] [stdout]    --> src/executor/phase5.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |         min_x: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_min_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_x`
[INFO] [stdout]    --> src/executor/phase5.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         max_x: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_y`
[INFO] [stdout]    --> src/executor/phase5.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |         min_y: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_min_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_y`
[INFO] [stdout]    --> src/executor/phase5.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |         max_y: f64,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/executor/phase5.rs:363:9
[INFO] [stdout]     |
[INFO] [stdout] 363 |         table_name: &str,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/executor/phase5.rs:364:9
[INFO] [stdout]     |
[INFO] [stdout] 364 |         x: f64,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/executor/phase5.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 365 |         y: f64,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/executor/phase5.rs:366:9
[INFO] [stdout]     |
[INFO] [stdout] 366 |         k: usize,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right`
[INFO] [stdout]    --> src/executor/query_optimizer.rs:150:68
[INFO] [stdout]     |
[INFO] [stdout] 150 |             if let Expression::Binary { left, op: BinaryOp::Equal, right } = expr {
[INFO] [stdout]     |                                                                    ^^^^^ help: try ignoring the field: `right: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/executor/query_optimizer.rs:364:26
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let (table, col, val) = result.unwrap();
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]     --> src/executor/mod.rs:2180:42
[INFO] [stdout]      |
[INFO] [stdout] 2180 |                 SelectColumn::Expression(expr, Some(alias)) => {
[INFO] [stdout]      |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/executor/mod.rs:2436:13
[INFO] [stdout]      |
[INFO] [stdout] 2436 |         let mut merged_ctes = outer.ctes.clone();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prepared2`
[INFO] [stdout]     --> src/executor/mod.rs:4407:13
[INFO] [stdout]      |
[INFO] [stdout] 4407 |         let prepared2 = executor.prepare("SELECT * FROM users WHERE id = ?").unwrap();
[INFO] [stdout]      |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prepared2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]    --> src/optimizer/stats.rs:525:62
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn update_stats_after_insert(stats: &mut TableStats, record: &Record) {
[INFO] [stdout]     |                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `avg_row_size`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let (avg_row_size, page_count) = if let Some(stats) = self.get_table_stats(table_name) {
[INFO] [stdout]     |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_row_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_count`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let row_count = self.get_row_estimate(table_name, db);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:350:38
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let range_rows = if let Some(stats) = self.get_table_stats(table_name) {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `columns`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:380:9
[INFO] [stdout]     |
[INFO] [stdout] 380 |         columns: &[crate::sql::ast::SelectColumn],
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_count`
[INFO] [stdout]    --> src/optimizer/cost_model.rs:383:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let row_count = self.get_row_estimate(table_name, db);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_stats`
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:317:9
[INFO] [stdout]     |
[INFO] [stdout] 317 |         table_stats: &HashMap<String, JoinTableStats>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:484:9
[INFO] [stdout]     |
[INFO] [stdout] 484 |         db: &BtreeDatabase,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conditions`
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:486:9
[INFO] [stdout]     |
[INFO] [stdout] 486 |         conditions: &[JoinCondition],
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conditions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:774:13
[INFO] [stdout]     |
[INFO] [stdout] 774 |         let db = create_test_db();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/optimizer/index_selection.rs:254:35
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn estimate_index_cost(&self, index: &BPlusTreeIndex, selectivity: f64) -> f64 {
[INFO] [stdout]     |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col_stats`
[INFO] [stdout]    --> src/optimizer/index_selection.rs:331:29
[INFO] [stdout]     |
[INFO] [stdout] 331 |                 if let Some(col_stats) = table_stats.get_column(column_name) {
[INFO] [stdout]     |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right`
[INFO] [stdout]    --> src/optimizer/index_selection.rs:347:44
[INFO] [stdout]     |
[INFO] [stdout] 347 |             Expression::Binary { left, op, right } => {
[INFO] [stdout]     |                                            ^^^^^ help: try ignoring the field: `right: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alias`
[INFO] [stdout]    --> src/optimizer/subquery.rs:114:51
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if let SelectColumn::Expression(expr, alias) = col {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alias`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/optimizer/subquery.rs:610:9
[INFO] [stdout]     |
[INFO] [stdout] 610 |     let mut analyzer = SubqueryAnalyzer::new();
[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/concurrency/mvcc.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let mut new_node = Owned::new(VersionNode::new(version.clone()));
[INFO] [stdout]     |                 ----^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lock`
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let lock = self.get_or_create_lock(&key);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:473:13
[INFO] [stdout]     |
[INFO] [stdout] 473 |         let version = self.lock_manager.acquire_read_lock(tx_id, key.clone())?;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snapshot`
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:479:17
[INFO] [stdout]     |
[INFO] [stdout] 479 |             let snapshot = &tx.snapshot;
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:680:13
[INFO] [stdout]     |
[INFO] [stdout] 680 |         let version = manager.acquire_read_lock(1, b"key1".to_vec()).unwrap();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_bbox`
[INFO] [stdout]    --> src/rtree/mod.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let left_bbox = Self::compute_bbox(&left_entries);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_bbox`
[INFO] [stdout]    --> src/rtree/mod.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let left_bbox = Self::compute_bbox(&left_entries);
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `request_time` is never read
[INFO] [stdout]    --> src/pager/prefetch.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout]  99 | struct PrefetchRequest {
[INFO] [stdout]     |        --------------- field in this struct
[INFO] [stdout] 100 |     page_id: PageId,
[INFO] [stdout] 101 |     request_time: Instant,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PrefetchRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrefetchResult` is never constructed
[INFO] [stdout]    --> src/pager/prefetch.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | struct PrefetchResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `latency_history` is never read
[INFO] [stdout]    --> src/pager/prefetch.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct PagePrefetcher {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 146 |     latency_history: VecDeque<u64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `adjust_window_size` is never used
[INFO] [stdout]    --> src/pager/prefetch.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl PagePrefetcher {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 292 |     fn adjust_window_size(&mut self, latency_ms: u64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `view_schema_page` is never read
[INFO] [stdout]    --> src/storage/btree_database.rs:283:5
[INFO] [stdout]     |
[INFO] [stdout] 275 | pub struct BtreeDatabase {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 283 |     view_schema_page: PageId, // Page for storing view metadata
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commit_id` is never read
[INFO] [stdout]    --> src/storage/wal.rs:206:5
[INFO] [stdout]     |
[INFO] [stdout] 205 | struct PendingCommit {
[INFO] [stdout]     |        ------------- field in this struct
[INFO] [stdout] 206 |     commit_id: u64,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PendingCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `last_page_id` and `sequential_count` are never read
[INFO] [stdout]    --> src/storage/btree_cache.rs:202:5
[INFO] [stdout]     |
[INFO] [stdout] 201 | struct AccessPattern {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 202 |     last_page_id: Option<PageId>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 203 |     sequential_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AccessPattern` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_pattern_track` is never read
[INFO] [stdout]    --> src/storage/btree_cache.rs:295:5
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub struct BtreeNodeCache {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 295 |     max_pattern_track: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `evict_lru` is never used
[INFO] [stdout]    --> src/storage/btree_cache.rs:526:8
[INFO] [stdout]     |
[INFO] [stdout] 304 | impl BtreeNodeCache {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 526 |     fn evict_lru(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_key` and `key_is_null` are never used
[INFO] [stdout]    --> src/storage/foreign_key.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl ForeignKeyChecker {
[INFO] [stdout]     | ---------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn build_key(record: &Record, columns: &[String]) -> Result<Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn key_is_null(key: &[u8]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `page_size` is never read
[INFO] [stdout]   --> src/storage/async_wal.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct AsyncWalWriter {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     page_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `page_size` is never read
[INFO] [stdout]   --> src/storage/async_wal.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | struct WriterState {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 89 |     page_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse_select` is never used
[INFO] [stdout]   --> src/sql/parser.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<'a> Parser<'a> {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn parse_select(&mut self) -> Result<Statement> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commit_id` is never read
[INFO] [stdout]   --> src/transaction/manager.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 86 | struct PendingTransaction {
[INFO] [stdout]    |        ------------------ field in this struct
[INFO] [stdout] 87 |     commit_id: u64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PendingTransaction` 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 `is_async` is never used
[INFO] [stdout]    --> src/transaction/manager.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl WalMode {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 171 |     fn is_async(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_parent` is never used
[INFO] [stdout]    --> src/index/btree.rs:395:4
[INFO] [stdout]     |
[INFO] [stdout] 395 | fn read_parent(page: &Page) -> PageId {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeDist` is never constructed
[INFO] [stdout]   --> src/index/hnsw.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct NodeDist {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pager` and `current_page` are never read
[INFO] [stdout]    --> src/index/pushdown.rs:238:5
[INFO] [stdout]     |
[INFO] [stdout] 237 | pub struct IndexScanIterator<'a> {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] 238 |     pager: &'a mut Pager,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 239 |     current_page: PageId,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Update` and `Delete` are never constructed
[INFO] [stdout]   --> src/executor/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | enum TransactionLogEntry {
[INFO] [stdout]    |      ------------------- variants in this enum
[INFO] [stdout] 25 |     Insert { table: String, rowid: u64 },
[INFO] [stdout] 26 |     Update { table: String, rowid: u64, old_record: Record },
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 27 |     Delete { table: String, old_record: Record },
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionLogEntry` 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 `query_planner` is never read
[INFO] [stdout]   --> src/executor/mod.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Executor {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     query_planner: QueryPlanner,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `optimizer` and `stats_collector` are never read
[INFO] [stdout]   --> src/executor/query_optimizer.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct ExecutorQueryOptimizer {
[INFO] [stdout]    |            ---------------------- fields in this struct
[INFO] [stdout] 32 |     optimizer: QueryOptimizer,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 33 |     stats_collector: StatsCollector,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_test_db` is never used
[INFO] [stdout]    --> src/executor/query_optimizer.rs:280:8
[INFO] [stdout]     |
[INFO] [stdout] 280 |     fn create_test_db() -> BtreeDatabase {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cost_estimator` is never read
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct JoinReorderer {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 105 |     cost_estimator: CostEstimator,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_use_index` is never used
[INFO] [stdout]    --> src/optimizer/join_reorder.rs:543:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl JoinReorderer {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 543 |     fn can_use_index(&self, db: &BtreeDatabase, condition: &JoinCondition) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cost_estimator` is never read
[INFO] [stdout]   --> src/optimizer/index_selection.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct IndexSelector {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 78 |     cost_estimator: CostEstimator,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `running` and `bg_thread` are never read
[INFO] [stdout]   --> src/concurrency/gc.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct GarbageCollector {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     running: AtomicBool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 97 |     /// Background thread handle
[INFO] [stdout] 98 |     bg_thread: Mutex<Option<std::thread::JoinHandle<()>>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `mvcc` are never read
[INFO] [stdout]    --> src/concurrency/mvcc.rs:554:5
[INFO] [stdout]     |
[INFO] [stdout] 552 | pub struct LockFreeMvccTable<T: Clone> {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] 553 |     /// Table name
[INFO] [stdout] 554 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 558 |     mvcc: Arc<MvccManager>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `storage` is never read
[INFO] [stdout]    --> src/concurrency/optimistic_lock.rs:449:5
[INFO] [stdout]     |
[INFO] [stdout] 443 | pub struct OptimisticMvccManager {
[INFO] [stdout]     |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 449 |     storage: Arc<CowStorage<Vec<u8>>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CACHE_LINE_SIZE` is never used
[INFO] [stdout]   --> src/concurrency/snapshot.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const CACHE_LINE_SIZE: usize = 64;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/concurrency/snapshot.rs:251:5
[INFO] [stdout]     |
[INFO] [stdout] 249 | pub struct LockFreeMvccTable {
[INFO] [stdout]     |            ----------------- field in this struct
[INFO] [stdout] 250 |     /// Table name
[INFO] [stdout] 251 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `min_entries` are never read
[INFO] [stdout]    --> src/rtree/mod.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct RtreeIndex {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 110 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     min_entries: usize,  // Minimum entries per node (except root)
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RtreeIndex` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]     --> src/executor/mod.rs:4291:25
[INFO] [stdout]      |
[INFO] [stdout] 4291 |                 assert!(query_result.rows.len() >= 0);
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]     --> src/executor/mod.rs:4534:17
[INFO] [stdout]      |
[INFO] [stdout] 4534 |         assert!(combined.plan.hit_count >= 0);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef"`
[INFO] running `"docker" "rm" "-f" "c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef"`
[INFO] [stdout] c5d11ea56874230afca81099809489a7a4ebdf878722110f3fde88ecd716d6ef
