[INFO] cloning repository https://github.com/Mctursh/rust-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mctursh/rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMctursh%2Frust-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMctursh%2Frust-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f07b61c85a949187e6c3e246e8716406da49fc67
[INFO] checking Mctursh/rust-api against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMctursh%2Frust-api" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Mctursh/rust-api
[INFO] finished tweaking git repo https://github.com/Mctursh/rust-api
[INFO] tweaked toml for git repo https://github.com/Mctursh/rust-api written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Mctursh/rust-api on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Mctursh/rust-api 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d67f28f4a263a0802f2bc007efc0528200e9bed9a7e9e2a3e5d89878cee2ff4
[INFO] running `Command { std: "docker" "start" "-a" "8d67f28f4a263a0802f2bc007efc0528200e9bed9a7e9e2a3e5d89878cee2ff4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d67f28f4a263a0802f2bc007efc0528200e9bed9a7e9e2a3e5d89878cee2ff4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d67f28f4a263a0802f2bc007efc0528200e9bed9a7e9e2a3e5d89878cee2ff4", kill_on_drop: false }`
[INFO] [stdout] 8d67f28f4a263a0802f2bc007efc0528200e9bed9a7e9e2a3e5d89878cee2ff4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bed15942a8e98b9ef271e1169b6ada36a069a73fd986781bf31cf6f37542dcb6
[INFO] running `Command { std: "docker" "start" "-a" "bed15942a8e98b9ef271e1169b6ada36a069a73fd986781bf31cf6f37542dcb6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.18
[INFO] [stderr]     Checking axum v0.8.7
[INFO] [stderr]     Checking rust-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/buffer/pool.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/buffer/pool.rs:84:66
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<(&mut PoolEntry)> {
[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] 84 -     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<(&mut PoolEntry)> {
[INFO] [stdout] 84 +     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<&mut PoolEntry> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/record/mod.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 219 |         let slot_offset = (PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE));
[INFO] [stdout]     |                           ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 219 -         let slot_offset = (PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE));
[INFO] [stdout] 219 +         let slot_offset = PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/record/mod.rs:268:108
[INFO] [stdout]     |
[INFO] [stdout] 268 |     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<(u32)> {
[INFO] [stdout]     |                                                                                                            ^   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 268 -     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<(u32)> {
[INFO] [stdout] 268 +     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<u32> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/record/mod.rs:282:41
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout]     |                                         ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 282 -         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout] 282 +         let slot_bytes = Slot::to_bytes(record_bytes.len() as u16, (free_space_offset as u16));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/record/mod.rs:282:70
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout]     |                                                                      ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 282 -         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout] 282 +         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), free_space_offset as u16);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/buffer/pool.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/buffer/pool.rs:84:66
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<(&mut PoolEntry)> {
[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] 84 -     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<(&mut PoolEntry)> {
[INFO] [stdout] 84 +     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<&mut PoolEntry> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/record/mod.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 219 |         let slot_offset = (PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE));
[INFO] [stdout]     |                           ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 219 -         let slot_offset = (PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE));
[INFO] [stdout] 219 +         let slot_offset = PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/record/mod.rs:268:108
[INFO] [stdout]     |
[INFO] [stdout] 268 |     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<(u32)> {
[INFO] [stdout]     |                                                                                                            ^   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 268 -     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<(u32)> {
[INFO] [stdout] 268 +     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<u32> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/record/mod.rs:282:41
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout]     |                                         ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 282 -         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout] 282 +         let slot_bytes = Slot::to_bytes(record_bytes.len() as u16, (free_space_offset as u16));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/record/mod.rs:282:70
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout]     |                                                                      ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 282 -         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout] 282 +         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), free_space_offset as u16);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_bytes`
[INFO] [stdout]    --> src/record/mod.rs:214:35
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn get_page_free_slot_offset (page_bytes: &[u8; PAGE_SIZE as usize], record_count: u32) -> u32 {
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_bytes`
[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/record/mod.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let mut page_header = PageHeader::from_bytes(page_bytes);
[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: `page_header`
[INFO] [stdout]    --> src/record/mod.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let mut page_header = PageHeader::from_bytes(page_bytes);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_bytes`
[INFO] [stdout]    --> src/record/mod.rs:345:28
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn iterate_records(page_bytes: &[u8; PAGE_SIZE as usize]) {}
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PoolResult` is never used
[INFO] [stdout]   --> src/buffer/pool.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type PoolResult<T> = Result<T, DbError>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PoolPageReuslt` is never used
[INFO] [stdout]   --> src/buffer/pool.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | type PoolPageReuslt<T> = PoolResult<Option<T>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PoolEntry` is never constructed
[INFO] [stdout]   --> src/buffer/pool.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct PoolEntry {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `empty` is never used
[INFO] [stdout]   --> src/buffer/pool.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl PoolEntry {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 27 |     fn empty() -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cleanup` is never used
[INFO] [stdout]   --> src/buffer/pool.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl PoolEntry {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 39 |     pub fn cleanup (&mut self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferPool` is never constructed
[INFO] [stdout]   --> src/buffer/pool.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct BufferPool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `find_page`, `find_empty_slot`, and `evict_lru` are never used
[INFO] [stdout]    --> src/buffer/pool.rs:58:12
[INFO] [stdout]     |
[INFO] [stdout]  57 | impl BufferPool {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  58 |     pub fn new () -> BufferPool {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn find_page (&mut self, page_id: u32) -> PoolPageReuslt<&mut PoolEntry> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<(&mut PoolEntry)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn evict_lru (&mut self) -> PoolResult<&mut PoolEntry> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_HEADER_PAGE` is never used
[INFO] [stdout]  --> src/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FILE_HEADER_PAGE: u8 = 0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_STRING_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MAX_STRING_LENGTH: u16 = 65535;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_BUFFER_POOL_SIZE` is never used
[INFO] [stdout]   --> src/constants.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const DEFAULT_BUFFER_POOL_SIZE: usize = 64;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `table_id`, `name`, `first_page`, `index_root_page`, and `auto_increment_counter` are never read
[INFO] [stdout]   --> src/types.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Table {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 46 |     table_id: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 47 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 48 |     first_page: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 49 |     index_root_page: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     auto_increment_counter: Option<u64>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_bytes` and `from_bytes` are never used
[INFO] [stdout]   --> src/types.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Table {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn to_bytes (&self) {}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 61 |     fn from_bytes (&self) {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Encoder` should have a snake case name
[INFO] [stdout]  --> src/record/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod Encoder {
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `encoder`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_bytes`
[INFO] [stdout]    --> src/record/mod.rs:214:35
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn get_page_free_slot_offset (page_bytes: &[u8; PAGE_SIZE as usize], record_count: u32) -> u32 {
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_bytes`
[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/record/mod.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let mut page_header = PageHeader::from_bytes(page_bytes);
[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: `page_header`
[INFO] [stdout]    --> src/record/mod.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let mut page_header = PageHeader::from_bytes(page_bytes);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_bytes`
[INFO] [stdout]    --> src/record/mod.rs:345:28
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn iterate_records(page_bytes: &[u8; PAGE_SIZE as usize]) {}
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PoolResult` is never used
[INFO] [stdout]   --> src/buffer/pool.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type PoolResult<T> = Result<T, DbError>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PoolPageReuslt` is never used
[INFO] [stdout]   --> src/buffer/pool.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | type PoolPageReuslt<T> = PoolResult<Option<T>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PoolEntry` is never constructed
[INFO] [stdout]   --> src/buffer/pool.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct PoolEntry {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `empty` is never used
[INFO] [stdout]   --> src/buffer/pool.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl PoolEntry {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 27 |     fn empty() -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cleanup` is never used
[INFO] [stdout]   --> src/buffer/pool.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl PoolEntry {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 39 |     pub fn cleanup (&mut self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferPool` is never constructed
[INFO] [stdout]   --> src/buffer/pool.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct BufferPool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `find_page`, `find_empty_slot`, and `evict_lru` are never used
[INFO] [stdout]    --> src/buffer/pool.rs:58:12
[INFO] [stdout]     |
[INFO] [stdout]  57 | impl BufferPool {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  58 |     pub fn new () -> BufferPool {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn find_page (&mut self, page_id: u32) -> PoolPageReuslt<&mut PoolEntry> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<(&mut PoolEntry)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn evict_lru (&mut self) -> PoolResult<&mut PoolEntry> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_HEADER_PAGE` is never used
[INFO] [stdout]  --> src/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FILE_HEADER_PAGE: u8 = 0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_STRING_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MAX_STRING_LENGTH: u16 = 65535;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_BUFFER_POOL_SIZE` is never used
[INFO] [stdout]   --> src/constants.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const DEFAULT_BUFFER_POOL_SIZE: usize = 64;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `table_id`, `name`, `first_page`, `index_root_page`, and `auto_increment_counter` are never read
[INFO] [stdout]   --> src/types.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Table {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 46 |     table_id: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 47 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 48 |     first_page: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 49 |     index_root_page: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     auto_increment_counter: Option<u64>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_bytes` and `from_bytes` are never used
[INFO] [stdout]   --> src/types.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Table {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn to_bytes (&self) {}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 61 |     fn from_bytes (&self) {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Encoder` should have a snake case name
[INFO] [stdout]  --> src/record/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod Encoder {
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `encoder`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/buffer/pool.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/buffer/pool.rs:84:66
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<(&mut PoolEntry)> {
[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] 84 -     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<(&mut PoolEntry)> {
[INFO] [stdout] 84 +     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<&mut PoolEntry> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/record/mod.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 219 |         let slot_offset = (PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE));
[INFO] [stdout]     |                           ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 219 -         let slot_offset = (PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE));
[INFO] [stdout] 219 +         let slot_offset = PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/record/mod.rs:268:108
[INFO] [stdout]     |
[INFO] [stdout] 268 |     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<(u32)> {
[INFO] [stdout]     |                                                                                                            ^   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 268 -     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<(u32)> {
[INFO] [stdout] 268 +     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<u32> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/record/mod.rs:282:41
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout]     |                                         ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 282 -         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout] 282 +         let slot_bytes = Slot::to_bytes(record_bytes.len() as u16, (free_space_offset as u16));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/record/mod.rs:282:70
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout]     |                                                                      ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 282 -         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout] 282 +         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), free_space_offset as u16);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Router` and `routing::get`
[INFO] [stdout]   --> src/main.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     routing::get,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     Router,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cell`, `RefCell`, `io::Error`, and `rc::Rc`
[INFO] [stdout]   --> src/main.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::{cell::{Cell, RefCell}, path::Path, rc::Rc, io::Error};
[INFO] [stdout]    |                  ^^^^  ^^^^^^^               ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `encode_record`
[INFO] [stdout]   --> src/main.rs:25:30
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::record::Encoder::{encode_record};
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:43:5
[INFO] [stdout]     |
[INFO] [stdout]  43 | /     /**
[INFO] [stdout]  44 | |      * TEST 1 Test Buffer Pool
[INFO] [stdout]  45 | |      */
[INFO] [stdout]     | |_______^
[INFO] [stdout] ...
[INFO] [stdout] 132 | /     let column_1 = vec![
[INFO] [stdout] 133 | |         Column {
[INFO] [stdout] 134 | |             table_id: 1,
[INFO] [stdout] 135 | |             column_id: 2,
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |         },
[INFO] [stdout] 143 | |     ];
[INFO] [stdout]     | |______- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:64:5
[INFO] [stdout]     |
[INFO] [stdout]  64 | /     /**
[INFO] [stdout]  65 | |      * 
[INFO] [stdout]  66 | |      * TEST 2 Record Encoding/Decoding
[INFO] [stdout]  67 | |     */
[INFO] [stdout]     | |______^
[INFO] [stdout] ...
[INFO] [stdout] 132 | /     let column_1 = vec![
[INFO] [stdout] 133 | |         Column {
[INFO] [stdout] 134 | |             table_id: 1,
[INFO] [stdout] 135 | |             column_id: 2,
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |         },
[INFO] [stdout] 143 | |     ];
[INFO] [stdout]     | |______- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | /     /**
[INFO] [stdout] 128 | |      * 
[INFO] [stdout] 129 | |      * TEST 3 Inserting/Reading Record
[INFO] [stdout] 130 | |     */
[INFO] [stdout]     | |______^
[INFO] [stdout] 131 |
[INFO] [stdout] 132 | /     let column_1 = vec![
[INFO] [stdout] 133 | |         Column {
[INFO] [stdout] 134 | |             table_id: 1,
[INFO] [stdout] 135 | |             column_id: 2,
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |         },
[INFO] [stdout] 143 | |     ];
[INFO] [stdout]     | |______- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead` and `Result`
[INFO] [stdout]    --> src/main.rs:253:10
[INFO] [stdout]     |
[INFO] [stdout] 253 |     io::{BufRead, BufReader, BufWriter, Read, Result, Seek, SeekFrom, Write},
[INFO] [stdout]     |          ^^^^^^^                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PAGE_HEADER_SIZE`
[INFO] [stdout]    --> src/main.rs:257:31
[INFO] [stdout]     |
[INFO] [stdout] 257 | use constants::{MAGIC_NUMBER, PAGE_HEADER_SIZE, PAGE_SIZE};
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/buffer/pool.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/buffer/pool.rs:84:66
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<(&mut PoolEntry)> {
[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] 84 -     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<(&mut PoolEntry)> {
[INFO] [stdout] 84 +     pub fn find_empty_slot (self: &mut BufferPool) -> PoolResult<&mut PoolEntry> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/record/mod.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 219 |         let slot_offset = (PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE));
[INFO] [stdout]     |                           ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 219 -         let slot_offset = (PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE));
[INFO] [stdout] 219 +         let slot_offset = PAGE_SIZE - ((slot_index + 1) * SLOT_BYTE_SIZE);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/record/mod.rs:268:108
[INFO] [stdout]     |
[INFO] [stdout] 268 |     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<(u32)> {
[INFO] [stdout]     |                                                                                                            ^   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 268 -     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<(u32)> {
[INFO] [stdout] 268 +     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<u32> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/record/mod.rs:282:41
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout]     |                                         ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 282 -         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout] 282 +         let slot_bytes = Slot::to_bytes(record_bytes.len() as u16, (free_space_offset as u16));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/record/mod.rs:282:70
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout]     |                                                                      ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 282 -         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), (free_space_offset as u16));
[INFO] [stdout] 282 +         let slot_bytes = Slot::to_bytes((record_bytes.len() as u16), free_space_offset as u16);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Router` and `routing::get`
[INFO] [stdout]   --> src/main.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     routing::get,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     Router,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cell`, `RefCell`, `io::Error`, and `rc::Rc`
[INFO] [stdout]   --> src/main.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::{cell::{Cell, RefCell}, path::Path, rc::Rc, io::Error};
[INFO] [stdout]    |                  ^^^^  ^^^^^^^               ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `encode_record`
[INFO] [stdout]   --> src/main.rs:25:30
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::record::Encoder::{encode_record};
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:43:5
[INFO] [stdout]     |
[INFO] [stdout]  43 | /     /**
[INFO] [stdout]  44 | |      * TEST 1 Test Buffer Pool
[INFO] [stdout]  45 | |      */
[INFO] [stdout]     | |_______^
[INFO] [stdout] ...
[INFO] [stdout] 132 | /     let column_1 = vec![
[INFO] [stdout] 133 | |         Column {
[INFO] [stdout] 134 | |             table_id: 1,
[INFO] [stdout] 135 | |             column_id: 2,
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |         },
[INFO] [stdout] 143 | |     ];
[INFO] [stdout]     | |______- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:64:5
[INFO] [stdout]     |
[INFO] [stdout]  64 | /     /**
[INFO] [stdout]  65 | |      * 
[INFO] [stdout]  66 | |      * TEST 2 Record Encoding/Decoding
[INFO] [stdout]  67 | |     */
[INFO] [stdout]     | |______^
[INFO] [stdout] ...
[INFO] [stdout] 132 | /     let column_1 = vec![
[INFO] [stdout] 133 | |         Column {
[INFO] [stdout] 134 | |             table_id: 1,
[INFO] [stdout] 135 | |             column_id: 2,
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |         },
[INFO] [stdout] 143 | |     ];
[INFO] [stdout]     | |______- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | /     /**
[INFO] [stdout] 128 | |      * 
[INFO] [stdout] 129 | |      * TEST 3 Inserting/Reading Record
[INFO] [stdout] 130 | |     */
[INFO] [stdout]     | |______^
[INFO] [stdout] 131 |
[INFO] [stdout] 132 | /     let column_1 = vec![
[INFO] [stdout] 133 | |         Column {
[INFO] [stdout] 134 | |             table_id: 1,
[INFO] [stdout] 135 | |             column_id: 2,
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |         },
[INFO] [stdout] 143 | |     ];
[INFO] [stdout]     | |______- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead` and `Result`
[INFO] [stdout]    --> src/main.rs:253:10
[INFO] [stdout]     |
[INFO] [stdout] 253 |     io::{BufRead, BufReader, BufWriter, Read, Result, Seek, SeekFrom, Write},
[INFO] [stdout]     |          ^^^^^^^                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PAGE_HEADER_SIZE`
[INFO] [stdout]    --> src/main.rs:257:31
[INFO] [stdout]     |
[INFO] [stdout] 257 | use constants::{MAGIC_NUMBER, PAGE_HEADER_SIZE, PAGE_SIZE};
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_bytes`
[INFO] [stdout]    --> src/record/mod.rs:214:35
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn get_page_free_slot_offset (page_bytes: &[u8; PAGE_SIZE as usize], record_count: u32) -> u32 {
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_bytes`
[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/record/mod.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let mut page_header = PageHeader::from_bytes(page_bytes);
[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: `page_header`
[INFO] [stdout]    --> src/record/mod.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let mut page_header = PageHeader::from_bytes(page_bytes);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_bytes`
[INFO] [stdout]    --> src/record/mod.rs:345:28
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn iterate_records(page_bytes: &[u8; PAGE_SIZE as usize]) {}
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |     let mut empty_data_page_bytes = db.read_page(4)?;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `column_1`
[INFO] [stdout]    --> src/main.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let column_1 = vec![
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values_1`
[INFO] [stdout]    --> src/main.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let values_1 = vec![
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values_2`
[INFO] [stdout]    --> src/main.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |     let values_2 = vec![
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values_3`
[INFO] [stdout]    --> src/main.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let values_3 = vec![
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values_3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let mut empty_slot = self.buffer_pool.find_empty_slot()?;
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/main.rs:385:12
[INFO] [stdout]     |
[INFO] [stdout] 385 |         if let t = page_type {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header` is never read
[INFO] [stdout]    --> src/main.rs:271:5
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub struct Database {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 271 |     header: FileHeader,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_HEADER_PAGE` is never used
[INFO] [stdout]  --> src/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FILE_HEADER_PAGE: u8 = 0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_STRING_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MAX_STRING_LENGTH: u16 = 65535;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Int32`, `UInt64`, and `Int64` are never constructed
[INFO] [stdout]   --> src/types.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum DataType {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 26 |     UInt32 = 1,
[INFO] [stdout] 27 |     Int32 = 2,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     UInt64 = 3,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 29 |     Int64 = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataType` 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 `0` is never read
[INFO] [stdout]   --> src/types.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     UInt32(u32),
[INFO] [stdout]    |     ------ ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 -     UInt32(u32),
[INFO] [stdout] 37 +     UInt32(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Int32(i32),
[INFO] [stdout]    |     ----- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 38 -     Int32(i32),
[INFO] [stdout] 38 +     Int32(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     UInt64(u64),
[INFO] [stdout]    |     ------ ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 39 -     UInt64(u64),
[INFO] [stdout] 39 +     UInt64(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 |     Int64(i64),
[INFO] [stdout]    |     ----- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 40 -     Int64(i64),
[INFO] [stdout] 40 +     Int64(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Bool(bool),
[INFO] [stdout]    |     ---- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 41 -     Bool(bool),
[INFO] [stdout] 41 +     Bool(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     String(String)
[INFO] [stdout]    |     ------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 42 -     String(String)
[INFO] [stdout] 42 +     String(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Table` is never constructed
[INFO] [stdout]   --> src/types.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Table {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `to_bytes`, and `from_bytes` are never used
[INFO] [stdout]   --> src/types.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Table {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 54 |     pub fn new () {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn to_bytes (&self) {}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 61 |     fn from_bytes (&self) {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/types.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Column {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 65 |     pub table_id: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 66 |     pub column_id: u32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 67 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 68 |     pub data_type: DataType,
[INFO] [stdout] 69 |     pub nullable: bool,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 70 |     pub position: u8,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 71 |     pub is_primary: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 72 |     pub max_length: Option<u16>
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseError` is never constructed
[INFO] [stdout]   --> src/types.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct DatabaseError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `calculate_free_space_offset` is never used
[INFO] [stdout]    --> src/types.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl PageHeader {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn calculate_free_space_offset (&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Page` is never constructed
[INFO] [stdout]    --> src/types.rs:225:12
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub struct Page {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_bytes` is never used
[INFO] [stdout]    --> src/types.rs:244:12
[INFO] [stdout]     |
[INFO] [stdout] 235 | impl Slot {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn to_bytes(length: u16, offset: u16) -> [u8; SLOT_BYTE_SIZE as usize] {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `access_counter` is never read
[INFO] [stdout]   --> src/buffer/pool.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct BufferPool {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 53 |     pub entries: [PoolEntry; DEFAULT_BUFFER_POOL_SIZE],
[INFO] [stdout] 54 |     access_counter: u64, // increments on each access, used instead of timestamps.
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_record` is never used
[INFO] [stdout]   --> src/record/mod.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn encode_record (columns: &Vec<Column>, values: &Vec<DataTypeValue>) -> EncoderResult<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_bitmap` is never used
[INFO] [stdout]    --> src/record/mod.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 |     fn get_bitmap (values: &Vec<DataTypeValue>) -> EncoderResult<Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_page_free_slot_offset` is never used
[INFO] [stdout]    --> src/record/mod.rs:214:8
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn get_page_free_slot_offset (page_bytes: &[u8; PAGE_SIZE as usize], record_count: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_slot` is never used
[INFO] [stdout]    --> src/record/mod.rs:243:12
[INFO] [stdout]     |
[INFO] [stdout] 243 |     pub fn set_slot (page_bytes: &mut [u8; PAGE_SIZE as usize], slot_index: u32, offset: u16, length: u16) -> EncoderResult<&mut [u...
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_free_space` is never used
[INFO] [stdout]    --> src/record/mod.rs:255:12
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub fn calculate_free_space (page_bytes: &[u8; PAGE_SIZE as usize]) -> EncoderResult<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `can_fit_record` is never used
[INFO] [stdout]    --> src/record/mod.rs:263:12
[INFO] [stdout]     |
[INFO] [stdout] 263 |     pub fn can_fit_record (page_bytes: &[u8; PAGE_SIZE as usize], record_size: usize) -> EncoderResult<bool> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_record` is never used
[INFO] [stdout]    --> src/record/mod.rs:268:12
[INFO] [stdout]     |
[INFO] [stdout] 268 |     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<(u32)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_record` is never used
[INFO] [stdout]    --> src/record/mod.rs:326:12
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn delete_record (page_bytes: &mut [u8; PAGE_SIZE as usize], slot_index: u32) -> EncoderResult<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterate_records` is never used
[INFO] [stdout]    --> src/record/mod.rs:345:12
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn iterate_records(page_bytes: &[u8; PAGE_SIZE as usize]) {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:398:21
[INFO] [stdout]     |
[INFO] [stdout] 398 |                     Database::flush_page(file, page_id, &entry.data);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 398 |                     let _ = Database::flush_page(file, page_id, &entry.data);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Encoder` should have a snake case name
[INFO] [stdout]  --> src/record/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod Encoder {
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `encoder`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_bytes`
[INFO] [stdout]    --> src/record/mod.rs:214:35
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn get_page_free_slot_offset (page_bytes: &[u8; PAGE_SIZE as usize], record_count: u32) -> u32 {
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_bytes`
[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/record/mod.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let mut page_header = PageHeader::from_bytes(page_bytes);
[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: `page_header`
[INFO] [stdout]    --> src/record/mod.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let mut page_header = PageHeader::from_bytes(page_bytes);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_bytes`
[INFO] [stdout]    --> src/record/mod.rs:345:28
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn iterate_records(page_bytes: &[u8; PAGE_SIZE as usize]) {}
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |     let mut empty_data_page_bytes = db.read_page(4)?;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `column_1`
[INFO] [stdout]    --> src/main.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let column_1 = vec![
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values_1`
[INFO] [stdout]    --> src/main.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let values_1 = vec![
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values_2`
[INFO] [stdout]    --> src/main.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |     let values_2 = vec![
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values_3`
[INFO] [stdout]    --> src/main.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let values_3 = vec![
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values_3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let mut empty_slot = self.buffer_pool.find_empty_slot()?;
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/main.rs:385:12
[INFO] [stdout]     |
[INFO] [stdout] 385 |         if let t = page_type {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header` is never read
[INFO] [stdout]    --> src/main.rs:271:5
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub struct Database {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 271 |     header: FileHeader,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_HEADER_PAGE` is never used
[INFO] [stdout]  --> src/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FILE_HEADER_PAGE: u8 = 0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_STRING_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MAX_STRING_LENGTH: u16 = 65535;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Int32`, `UInt64`, and `Int64` are never constructed
[INFO] [stdout]   --> src/types.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum DataType {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 26 |     UInt32 = 1,
[INFO] [stdout] 27 |     Int32 = 2,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     UInt64 = 3,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 29 |     Int64 = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataType` 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 `0` is never read
[INFO] [stdout]   --> src/types.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     UInt32(u32),
[INFO] [stdout]    |     ------ ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 -     UInt32(u32),
[INFO] [stdout] 37 +     UInt32(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Int32(i32),
[INFO] [stdout]    |     ----- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 38 -     Int32(i32),
[INFO] [stdout] 38 +     Int32(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     UInt64(u64),
[INFO] [stdout]    |     ------ ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 39 -     UInt64(u64),
[INFO] [stdout] 39 +     UInt64(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 |     Int64(i64),
[INFO] [stdout]    |     ----- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 40 -     Int64(i64),
[INFO] [stdout] 40 +     Int64(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Bool(bool),
[INFO] [stdout]    |     ---- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 41 -     Bool(bool),
[INFO] [stdout] 41 +     Bool(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     String(String)
[INFO] [stdout]    |     ------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataTypeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 42 -     String(String)
[INFO] [stdout] 42 +     String(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Table` is never constructed
[INFO] [stdout]   --> src/types.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Table {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `to_bytes`, and `from_bytes` are never used
[INFO] [stdout]   --> src/types.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Table {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 54 |     pub fn new () {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn to_bytes (&self) {}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 61 |     fn from_bytes (&self) {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/types.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Column {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 65 |     pub table_id: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 66 |     pub column_id: u32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 67 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 68 |     pub data_type: DataType,
[INFO] [stdout] 69 |     pub nullable: bool,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 70 |     pub position: u8,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 71 |     pub is_primary: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 72 |     pub max_length: Option<u16>
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseError` is never constructed
[INFO] [stdout]   --> src/types.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct DatabaseError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `calculate_free_space_offset` is never used
[INFO] [stdout]    --> src/types.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl PageHeader {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn calculate_free_space_offset (&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Page` is never constructed
[INFO] [stdout]    --> src/types.rs:225:12
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub struct Page {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_bytes` is never used
[INFO] [stdout]    --> src/types.rs:244:12
[INFO] [stdout]     |
[INFO] [stdout] 235 | impl Slot {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn to_bytes(length: u16, offset: u16) -> [u8; SLOT_BYTE_SIZE as usize] {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `access_counter` is never read
[INFO] [stdout]   --> src/buffer/pool.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct BufferPool {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 53 |     pub entries: [PoolEntry; DEFAULT_BUFFER_POOL_SIZE],
[INFO] [stdout] 54 |     access_counter: u64, // increments on each access, used instead of timestamps.
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_record` is never used
[INFO] [stdout]   --> src/record/mod.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn encode_record (columns: &Vec<Column>, values: &Vec<DataTypeValue>) -> EncoderResult<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_bitmap` is never used
[INFO] [stdout]    --> src/record/mod.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 |     fn get_bitmap (values: &Vec<DataTypeValue>) -> EncoderResult<Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_page_free_slot_offset` is never used
[INFO] [stdout]    --> src/record/mod.rs:214:8
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn get_page_free_slot_offset (page_bytes: &[u8; PAGE_SIZE as usize], record_count: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_slot` is never used
[INFO] [stdout]    --> src/record/mod.rs:243:12
[INFO] [stdout]     |
[INFO] [stdout] 243 |     pub fn set_slot (page_bytes: &mut [u8; PAGE_SIZE as usize], slot_index: u32, offset: u16, length: u16) -> EncoderResult<&mut [u...
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_free_space` is never used
[INFO] [stdout]    --> src/record/mod.rs:255:12
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub fn calculate_free_space (page_bytes: &[u8; PAGE_SIZE as usize]) -> EncoderResult<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `can_fit_record` is never used
[INFO] [stdout]    --> src/record/mod.rs:263:12
[INFO] [stdout]     |
[INFO] [stdout] 263 |     pub fn can_fit_record (page_bytes: &[u8; PAGE_SIZE as usize], record_size: usize) -> EncoderResult<bool> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_record` is never used
[INFO] [stdout]    --> src/record/mod.rs:268:12
[INFO] [stdout]     |
[INFO] [stdout] 268 |     pub fn insert_record (page_bytes: &mut [u8; PAGE_SIZE as usize], record_bytes: &[u8]) -> EncoderResult<(u32)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_record` is never used
[INFO] [stdout]    --> src/record/mod.rs:326:12
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn delete_record (page_bytes: &mut [u8; PAGE_SIZE as usize], slot_index: u32) -> EncoderResult<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterate_records` is never used
[INFO] [stdout]    --> src/record/mod.rs:345:12
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn iterate_records(page_bytes: &[u8; PAGE_SIZE as usize]) {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:398:21
[INFO] [stdout]     |
[INFO] [stdout] 398 |                     Database::flush_page(file, page_id, &entry.data);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 398 |                     let _ = Database::flush_page(file, page_id, &entry.data);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Encoder` should have a snake case name
[INFO] [stdout]  --> src/record/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod Encoder {
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `encoder`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.39s
[INFO] running `Command { std: "docker" "inspect" "bed15942a8e98b9ef271e1169b6ada36a069a73fd986781bf31cf6f37542dcb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bed15942a8e98b9ef271e1169b6ada36a069a73fd986781bf31cf6f37542dcb6", kill_on_drop: false }`
[INFO] [stdout] bed15942a8e98b9ef271e1169b6ada36a069a73fd986781bf31cf6f37542dcb6
