[INFO] cloning repository https://github.com/ducnd58233/mini-db
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ducnd58233/mini-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducnd58233%2Fmini-db", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducnd58233%2Fmini-db'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f7d85960cb31cd57b3eed6711be516fbf95e7f5c
[INFO] checking ducnd58233/mini-db against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducnd58233%2Fmini-db" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ducnd58233/mini-db
[INFO] finished tweaking git repo https://github.com/ducnd58233/mini-db
[INFO] tweaked toml for git repo https://github.com/ducnd58233/mini-db written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ducnd58233/mini-db on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ducnd58233/mini-db already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.105
[INFO] [stderr]   Downloaded quote v1.0.43
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.33
[INFO] [stderr]   Downloaded zerocopy v0.8.33
[INFO] [stderr]   Downloaded syn v2.0.113
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5bdf239e0b4dcb64ca5b5b7476f68914bf523e739c2ea0b980925a18daae931d
[INFO] running `Command { std: "docker" "start" "-a" "5bdf239e0b4dcb64ca5b5b7476f68914bf523e739c2ea0b980925a18daae931d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5bdf239e0b4dcb64ca5b5b7476f68914bf523e739c2ea0b980925a18daae931d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5bdf239e0b4dcb64ca5b5b7476f68914bf523e739c2ea0b980925a18daae931d", kill_on_drop: false }`
[INFO] [stdout] 5bdf239e0b4dcb64ca5b5b7476f68914bf523e739c2ea0b980925a18daae931d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9d1fedf0cc932402692a0bda5ad822c33413798aa937ecb78f019648d5426f5
[INFO] running `Command { std: "docker" "start" "-a" "e9d1fedf0cc932402692a0bda5ad822c33413798aa937ecb78f019648d5426f5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling syn v2.0.113
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking tempfile v3.24.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking mini-db v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/btree/page/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use internal::*;
[INFO] [stdout]   |         ^^^^^^^^^^^ the name `MAX_KEY_SIZE` in the value namespace is first re-exported here
[INFO] [stdout] 7 | pub use leaf::*;
[INFO] [stdout]   |         ------- but the name `MAX_KEY_SIZE` in the value namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DbError` and `Result`
[INFO] [stdout]  --> src/schema/record.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::{DbError, Result};
[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: `BigEndian`
[INFO] [stdout]  --> src/schema/table.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RangeRecord`
[INFO] [stdout]  --> src/schema/table.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::record::{RangeRecord, Record};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/btree/page/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use internal::*;
[INFO] [stdout]   |         ^^^^^^^^^^^ the name `MAX_KEY_SIZE` in the value namespace is first re-exported here
[INFO] [stdout] 7 | pub use leaf::*;
[INFO] [stdout]   |         ------- but the name `MAX_KEY_SIZE` in the value namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DbError` and `Result`
[INFO] [stdout]  --> src/schema/record.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::{DbError, Result};
[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: `BigEndian`
[INFO] [stdout]  --> src/schema/table.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RangeRecord`
[INFO] [stdout]  --> src/schema/table.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::record::{RangeRecord, Record};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kv`
[INFO] [stdout]    --> src/btree/iterator.rs:196:24
[INFO] [stdout]     |
[INFO] [stdout] 196 |         while let Some(kv) = iter.deref() {
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_kv`
[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/schema/table.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |         let mut tdef = TableDef::new("users", 10)
[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: `key`
[INFO] [stdout]    --> src/storage/kv_store.rs:164:25
[INFO] [stdout]     |
[INFO] [stdout] 164 |         while let Some((key, val)) = iter.current() {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/storage/kv_store.rs:164:30
[INFO] [stdout]     |
[INFO] [stdout] 164 |         while let Some((key, val)) = iter.current() {
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `file_path` is never read
[INFO] [stdout]   --> src/btree/disk.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct BPTreeDisk {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 43 |     file_path: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pointer` is never read
[INFO] [stdout]  --> src/btree/iterator.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct PathData {
[INFO] [stdout]   |        -------- field in this struct
[INFO] [stdout] 8 |     pointer: u64,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PathData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/storage/kv_store.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn iter_from(&mut self, start_key: &[u8]) -> Result<KVIterator> {
[INFO] [stdout]    |                      ^^^^^^^^^ the lifetime is elided here  ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn iter_from(&mut self, start_key: &[u8]) -> Result<KVIterator<'_>> {
[INFO] [stdout]    |                                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `file_path` is never read
[INFO] [stdout]   --> src/btree/disk.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct BPTreeDisk {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 43 |     file_path: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pointer` is never read
[INFO] [stdout]  --> src/btree/iterator.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct PathData {
[INFO] [stdout]   |        -------- field in this struct
[INFO] [stdout] 8 |     pointer: u64,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PathData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/storage/kv_store.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn iter_from(&mut self, start_key: &[u8]) -> Result<KVIterator> {
[INFO] [stdout]    |                      ^^^^^^^^^ the lifetime is elided here  ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn iter_from(&mut self, start_key: &[u8]) -> Result<KVIterator<'_>> {
[INFO] [stdout]    |                                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> tests/btree_tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::Deref;
[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::*`
[INFO] [stdout]  --> src/btree/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use page::*;
[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: `DbError` and `Result`
[INFO] [stdout]  --> src/schema/record.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::{DbError, Result};
[INFO] [stdout]   |                    ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BigEndian`
[INFO] [stdout]  --> src/schema/table.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RangeRecord`
[INFO] [stdout]  --> src/schema/table.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::record::{RangeRecord, Record};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `record::*`
[INFO] [stdout]  --> src/schema/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use record::*;
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `table::*`
[INFO] [stdout]  --> src/schema/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use table::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `value::*`
[INFO] [stdout]  --> src/schema/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use value::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kv_store::*`
[INFO] [stdout]  --> src/storage/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use kv_store::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `page::*`
[INFO] [stdout]  --> src/btree/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use page::*;
[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: `DbError` and `Result`
[INFO] [stdout]  --> src/schema/record.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::{DbError, Result};
[INFO] [stdout]   |                    ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BigEndian`
[INFO] [stdout]  --> src/schema/table.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RangeRecord`
[INFO] [stdout]  --> src/schema/table.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::record::{RangeRecord, Record};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `record::*`
[INFO] [stdout]  --> src/schema/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use record::*;
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `table::*`
[INFO] [stdout]  --> src/schema/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use table::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `value::*`
[INFO] [stdout]  --> src/schema/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use value::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kv_store::*`
[INFO] [stdout]  --> src/storage/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use kv_store::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PageNode` is never used
[INFO] [stdout]   --> src/btree/disk.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum PageNode {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PageWriter` is never used
[INFO] [stdout]   --> src/btree/disk.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | trait PageWriter {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BPTreeDisk` is never constructed
[INFO] [stdout]   --> src/btree/disk.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct BPTreeDisk {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/btree/disk.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl BPTreeDisk {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  49 |     pub fn new<P: AsRef<Path>>(path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  78 |     fn initialize_root(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     fn read_block_at_pointer(&mut self, pointer: u64) -> Result<Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     fn write_block_at_pointer(&mut self, pointer: u64, data: &[u8]) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn allocate_block(&mut self) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn write_page_at_pointer<P>(&mut self, pointer: u64, page: &P) -> Result<()>
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub(crate) fn read_page_at_pointer(&mut self, pointer: u64) -> Result<PageNode> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn find(&mut self, key: &[u8]) -> Result<Option<KeyVal>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn find_recursive(&mut self, pointer: u64, key: &[u8]) -> Result<Option<KeyVal>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn insert(&mut self, key: &[u8], val: &[u8]) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 223 |     fn insert_recursive(&mut self, pointer: u64, kv: KeyVal) -> Result<Option<PageNode>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 295 |     pub fn set(&mut self, key: &[u8], val: &[u8]) -> Result<bool> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 300 |     fn set_recursive(&mut self, pointer: u64, kv: KeyVal) -> Result<bool> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 327 |     pub fn del(&mut self, key: &[u8]) -> Result<bool> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 331 |     fn del_recursive(&mut self, pointer: u64, key: &[u8]) -> Result<bool> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 356 |     pub fn seek_ge(&mut self, key: &[u8]) -> Result<super::iterator::BTreeIterator> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_first_key` is never used
[INFO] [stdout]    --> src/btree/disk.rs:361:4
[INFO] [stdout]     |
[INFO] [stdout] 361 | fn get_first_key(node: &PageNode) -> Option<KeyEntry> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PathData` is never constructed
[INFO] [stdout]  --> src/btree/iterator.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct PathData {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BTreeIterator` is never constructed
[INFO] [stdout]   --> src/btree/iterator.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct BTreeIterator {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `seek`, `deref`, `next`, `navigate_to_first_leaf`, and `is_exhausted` are never used
[INFO] [stdout]    --> src/btree/iterator.rs:21:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl BTreeIterator {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  20 |     /// Create a new iterator starting at or after the given key
[INFO] [stdout]  21 |     pub fn new(tree: &mut BPTreeDisk, key: &[u8]) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  32 |     fn seek(&mut self, tree: &mut BPTreeDisk, pointer: u64, key: &[u8]) -> Result<()> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn deref(&self) -> Option<KeyVal> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub fn next(&mut self, tree: &mut BPTreeDisk) -> Result<bool> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     fn navigate_to_first_leaf(&mut self, tree: &mut BPTreeDisk, pointer: u64) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn is_exhausted(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SIZE` is never used
[INFO] [stdout]  --> src/btree/page/mod.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const PAGE_SIZE: usize = 4096;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PageType` is never used
[INFO] [stdout]  --> src/btree/page/header.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum PageType {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PageHeader` is never constructed
[INFO] [stdout]   --> src/btree/page/header.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct PageHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `SIZE`, `new`, `write_to`, and `read_from` are never used
[INFO] [stdout]   --> src/btree/page/header.rs:33:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl PageHeader {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 33 |     pub const SIZE: usize = 1 + 8 + 8; // 17 bytes
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 34 |
[INFO] [stdout] 35 |     pub fn new(page_type: PageType) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn write_to<W: Write>(&self, writer: &mut W) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn read_from<R: Read>(reader: &mut R) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_KEY_SIZE` is never used
[INFO] [stdout]   --> src/btree/page/internal.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const MAX_KEY_SIZE: usize = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INTERNAL_MAX_KEY` is never used
[INFO] [stdout]   --> src/btree/page/internal.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const INTERNAL_MAX_KEY: usize = 64;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KeyEntry` is never constructed
[INFO] [stdout]   --> src/btree/page/internal.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct KeyEntry {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_i64`, `as_bytes`, `write_to`, and `read_from` are never used
[INFO] [stdout]   --> src/btree/page/internal.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl KeyEntry {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(input: &[u8]) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn from_i64(value: i64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn as_bytes(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn write_to<W: Write>(&self, writer: &mut W) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn read_from<R: Read>(reader: &mut R) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BTreeInternalPage` is never constructed
[INFO] [stdout]   --> src/btree/page/internal.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct BTreeInternalPage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/btree/page/internal.rs:91:12
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl BTreeInternalPage {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout]  91 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn is_full(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn find_last_le(&self, find_key: &KeyEntry) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn insert_kv(&mut self, insert_key: KeyEntry, insert_child_ptr: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn del_kv_at_pos(&mut self, pos: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn split(&mut self) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn write_to<W: Write>(&self, writer: &mut W) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn read_from<R: Read>(reader: &mut R, header: PageHeader) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_KEY_SIZE` is never used
[INFO] [stdout]   --> src/btree/page/leaf.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const MAX_KEY_SIZE: usize = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_VAL_SIZE` is never used
[INFO] [stdout]   --> src/btree/page/leaf.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const MAX_VAL_SIZE: usize = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LEAF_MAX_KV` is never used
[INFO] [stdout]   --> src/btree/page/leaf.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const LEAF_MAX_KV: usize = 32;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KeyVal` is never constructed
[INFO] [stdout]   --> src/btree/page/leaf.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct KeyVal {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_i64`, `key_bytes`, `val_bytes`, `write_to`, and `read_from` are never used
[INFO] [stdout]   --> src/btree/page/leaf.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl KeyVal {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 23 |     pub fn new(key: &[u8], val: &[u8]) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn from_i64(key: i64, val: i64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn key_bytes(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn val_bytes(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn write_to<W: Write>(&self, writer: &mut W) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn read_from<R: Read>(reader: &mut R) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BTreeLeafPage` is never constructed
[INFO] [stdout]    --> src/btree/page/leaf.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct BTreeLeafPage {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/btree/page/leaf.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl BTreeLeafPage {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 134 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn is_full(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn find_last_le(&self, find_kv: &KeyVal) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn find_exact(&self, key: &[u8]) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn insert_kv(&mut self, insert_kv: KeyVal) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn del_kv(&mut self, del_kv: &KeyVal) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn del_key(&mut self, key: &[u8]) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub fn split(&mut self) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn write_to<W: Write>(&self, writer: &mut W) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn read_from<R: Read>(reader: &mut R, header: PageHeader) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DbError` is never used
[INFO] [stdout]  --> src/error.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum DbError {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/error.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub type Result<T> = std::result::Result<T, DbError>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Record` is never constructed
[INFO] [stdout]  --> src/schema/record.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Record {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/schema/record.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Record {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn add_str(mut self, col: impl Into<String>, val: impl Into<Vec<u8>>) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn add_int64(mut self, col: impl Into<String>, val: i64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn add(mut self, col: impl Into<String>, val: Value) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn get(&self, col: &str) -> Option<&Value> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn get_mut(&mut self, col: &str) -> Option<&mut Value> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RangeRecord` is never constructed
[INFO] [stdout]   --> src/schema/record.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct RangeRecord {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_range`, `add_int64_range`, and `is_valid` are never used
[INFO] [stdout]    --> src/schema/record.rs:87:12
[INFO] [stdout]     |
[INFO] [stdout]  86 | impl RangeRecord {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  87 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn add_range(mut self, col: impl Into<String>, start: Value, end: Value) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn add_int64_range(self, col: impl Into<String>, start: i64, end: i64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TableDef` is never constructed
[INFO] [stdout]   --> src/schema/table.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct TableDef {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/schema/table.rs:19:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl TableDef {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  19 |     pub fn new(name: impl Into<String>, prefix: u8) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  30 |     pub fn add_column(mut self, name: impl Into<String>, typ: ValueType) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  37 |     pub fn with_pkeys(mut self, pkeys: u8) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn encode_key(&self, vals: &[Value]) -> Result<Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     pub fn decode_values(&self, data: &[u8]) -> Result<Vec<Value>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn check_record(&self, rec: &mut Record) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn serialize(&self) -> Result<Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn deserialize(data: &[u8]) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TDEF_META` is never used
[INFO] [stdout]    --> src/schema/table.rs:183:11
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub const TDEF_META: TableDef = TableDef {
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TDEF_TABLE` is never used
[INFO] [stdout]    --> src/schema/table.rs:192:11
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub const TDEF_TABLE: TableDef = TableDef {
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_meta_tdef` is never used
[INFO] [stdout]    --> src/schema/table.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub fn get_meta_tdef() -> TableDef {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_table_tdef` is never used
[INFO] [stdout]    --> src/schema/table.rs:209:8
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub fn get_table_tdef() -> TableDef {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ValueType` is never used
[INFO] [stdout]  --> src/schema/value.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum ValueType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Value` is never used
[INFO] [stdout]   --> src/schema/value.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum Value {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `value_type`, `as_bytes`, `as_i64`, `write_to`, and `read_from` are never used
[INFO] [stdout]   --> src/schema/value.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Value {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 36 |     pub fn value_type(&self) -> ValueType {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn as_bytes(&self) -> Option<&[u8]> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn as_i64(&self) -> Option<i64> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn write_to<W: Write>(&self, writer: &mut W) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn read_from<R: Read>(reader: &mut R) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KVIterator` is never constructed
[INFO] [stdout]  --> src/storage/kv_store.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct KVIterator<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `current`, `next`, and `is_exhausted` are never used
[INFO] [stdout]   --> src/storage/kv_store.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<'a> KVIterator<'a> {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] 14 |     /// Get current key-value pair
[INFO] [stdout] 15 |     pub fn current(&self) -> Option<(Vec<u8>, Vec<u8>)> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn next(&mut self) -> Result<bool> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn is_exhausted(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KVStore` is never constructed
[INFO] [stdout]   --> src/storage/kv_store.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct KVStore {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `open`, `get`, `get_range`, `set`, `del`, and `iter_from` are never used
[INFO] [stdout]   --> src/storage/kv_store.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl KVStore {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 37 |     pub fn open<P: AsRef<Path>>(path: P) -> Result<Self> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn get(&mut self, key: &[u8]) -> Result<Option<Vec<u8>>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn get_range(&mut self, start_key: &[u8], end_key: &[u8]) -> Result<Vec<Vec<u8>>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn set(&mut self, key: &[u8], val: &[u8]) -> Result<()> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn del(&mut self, key: &[u8]) -> Result<bool> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn iter_from(&mut self, start_key: &[u8]) -> Result<KVIterator> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/storage/kv_store.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn iter_from(&mut self, start_key: &[u8]) -> Result<KVIterator> {
[INFO] [stdout]    |                      ^^^^^^^^^ the lifetime is elided here  ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn iter_from(&mut self, start_key: &[u8]) -> Result<KVIterator<'_>> {
[INFO] [stdout]    |                                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kv`
[INFO] [stdout]    --> src/btree/iterator.rs:196:24
[INFO] [stdout]     |
[INFO] [stdout] 196 |         while let Some(kv) = iter.deref() {
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_kv`
[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/schema/table.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |         let mut tdef = TableDef::new("users", 10)
[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: `key`
[INFO] [stdout]    --> src/storage/kv_store.rs:164:25
[INFO] [stdout]     |
[INFO] [stdout] 164 |         while let Some((key, val)) = iter.current() {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/storage/kv_store.rs:164:30
[INFO] [stdout]     |
[INFO] [stdout] 164 |         while let Some((key, val)) = iter.current() {
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.46s
[INFO] [stdout] warning: field `file_path` is never read
[INFO] [stdout]   --> src/btree/disk.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct BPTreeDisk {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 43 |     file_path: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pointer` is never read
[INFO] [stdout]  --> src/btree/iterator.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct PathData {
[INFO] [stdout]   |        -------- field in this struct
[INFO] [stdout] 8 |     pointer: u64,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PathData` 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: method `is_exhausted` is never used
[INFO] [stdout]    --> src/btree/iterator.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl BTreeIterator {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn is_exhausted(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `SIZE` is never used
[INFO] [stdout]   --> src/btree/page/header.rs:33:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl PageHeader {
[INFO] [stdout]    | --------------- associated constant in this implementation
[INFO] [stdout] 33 |     pub const SIZE: usize = 1 + 8 + 8; // 17 bytes
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_bytes` is never used
[INFO] [stdout]   --> src/btree/page/internal.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl KeyEntry {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn as_bytes(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `del_kv_at_pos` is never used
[INFO] [stdout]    --> src/btree/page/internal.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl BTreeInternalPage {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn del_kv_at_pos(&mut self, pos: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `KeyNotFound`, `TableNotFound`, and `DuplicatePrimaryKey` are never constructed
[INFO] [stdout]   --> src/error.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum DbError {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     KeyNotFound,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     TableNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     DuplicatePrimaryKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add`, `get_mut`, and `is_empty` are never used
[INFO] [stdout]   --> src/schema/record.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Record {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn add(mut self, col: impl Into<String>, val: Value) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn get_mut(&mut self, col: &str) -> Option<&mut Value> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TDEF_META` is never used
[INFO] [stdout]    --> src/schema/table.rs:183:11
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub const TDEF_META: TableDef = TableDef {
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TDEF_TABLE` is never used
[INFO] [stdout]    --> src/schema/table.rs:192:11
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub const TDEF_TABLE: TableDef = TableDef {
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_meta_tdef` is never used
[INFO] [stdout]    --> src/schema/table.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub fn get_meta_tdef() -> TableDef {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_table_tdef` is never used
[INFO] [stdout]    --> src/schema/table.rs:209:8
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub fn get_table_tdef() -> TableDef {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_exhausted` is never used
[INFO] [stdout]   --> src/storage/kv_store.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<'a> KVIterator<'a> {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn is_exhausted(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/storage/kv_store.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn iter_from(&mut self, start_key: &[u8]) -> Result<KVIterator> {
[INFO] [stdout]    |                      ^^^^^^^^^ the lifetime is elided here  ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn iter_from(&mut self, start_key: &[u8]) -> Result<KVIterator<'_>> {
[INFO] [stdout]    |                                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e9d1fedf0cc932402692a0bda5ad822c33413798aa937ecb78f019648d5426f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9d1fedf0cc932402692a0bda5ad822c33413798aa937ecb78f019648d5426f5", kill_on_drop: false }`
[INFO] [stdout] e9d1fedf0cc932402692a0bda5ad822c33413798aa937ecb78f019648d5426f5
