[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 try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMctursh%2Frust-api" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Mctursh/rust-api on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da07050a0ea4ffc3d3091d5296de9550888e07efaac805470492946997d701f3
[INFO] running `Command { std: "docker" "start" "-a" "da07050a0ea4ffc3d3091d5296de9550888e07efaac805470492946997d701f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da07050a0ea4ffc3d3091d5296de9550888e07efaac805470492946997d701f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da07050a0ea4ffc3d3091d5296de9550888e07efaac805470492946997d701f3", kill_on_drop: false }`
[INFO] [stdout] da07050a0ea4ffc3d3091d5296de9550888e07efaac805470492946997d701f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d47cc6cf3e2a4c19a5d64a2836ccb7c95288c42b2db22b9ce64ffcdce0279b0f
[INFO] running `Command { std: "docker" "start" "-a" "d47cc6cf3e2a4c19a5d64a2836ccb7c95288c42b2db22b9ce64ffcdce0279b0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking tracing-core v0.1.35
[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 mio v1.1.0
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[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] error: 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]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[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] error: 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]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[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] [stderr] error: could not compile `rust-api` (lib) due to 1 previous error; 23 warnings emitted
[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] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-api` (lib test) due to 1 previous error; 23 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d47cc6cf3e2a4c19a5d64a2836ccb7c95288c42b2db22b9ce64ffcdce0279b0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d47cc6cf3e2a4c19a5d64a2836ccb7c95288c42b2db22b9ce64ffcdce0279b0f", kill_on_drop: false }`
[INFO] [stdout] d47cc6cf3e2a4c19a5d64a2836ccb7c95288c42b2db22b9ce64ffcdce0279b0f
