[INFO] cloning repository https://github.com/ihorandrianov/databased
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ihorandrianov/databased" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihorandrianov%2Fdatabased", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihorandrianov%2Fdatabased'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b0074481a24eab1655a22e2fe1e02de654c1d7dc
[INFO] checking ihorandrianov/databased against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihorandrianov%2Fdatabased" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ihorandrianov/databased
[INFO] finished tweaking git repo https://github.com/ihorandrianov/databased
[INFO] tweaked toml for git repo https://github.com/ihorandrianov/databased written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ihorandrianov/databased on toolchain e977a0b5ab976a591981e7263bd67a71a4f79308
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ihorandrianov/databased 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" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded object v0.36.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5383ad70ae9ec58909d41d8aa1c2d3e2f438a92afb648c180beb3a844626f6bb
[INFO] running `Command { std: "docker" "start" "5383ad70ae9ec58909d41d8aa1c2d3e2f438a92afb648c180beb3a844626f6bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5383ad70ae9ec58909d41d8aa1c2d3e2f438a92afb648c180beb3a844626f6bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5383ad70ae9ec58909d41d8aa1c2d3e2f438a92afb648c180beb3a844626f6bb" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5383ad70ae9ec58909d41d8aa1c2d3e2f438a92afb648c180beb3a844626f6bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5383ad70ae9ec58909d41d8aa1c2d3e2f438a92afb648c180beb3a844626f6bb" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking clap_builder v4.5.15
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking clap v4.5.16
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking kvstore v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `LogParseError` is never constructed
[INFO] [stdout]   --> src/errors.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum LogError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     LogParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TokenParseError`, `KeyParseError`, and `ValueParseError` are never constructed
[INFO] [stdout]   --> src/errors.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub enum ParserError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 36 |     #[error("Error parsing token")]
[INFO] [stdout] 37 |     TokenParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     KeyParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     ValueParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ReadError` is never constructed
[INFO] [stdout]   --> src/errors.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub enum WALError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 64 |     ReadError(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WALError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SerializationError` and `GenericError` are never constructed
[INFO] [stdout]   --> src/errors.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub enum PersistentLayerError {
[INFO] [stdout]    |          -------------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 79 |     SerializationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     GenericError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PersistentLayerError` 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/errors.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |     WALError(WALError),
[INFO] [stdout]    |     -------- ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KVStoreError` 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] 90 -     WALError(WALError),
[INFO] [stdout] 90 +     WALError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:91:21
[INFO] [stdout]    |
[INFO] [stdout] 91 |     FileSystemError(FileSystemError),
[INFO] [stdout]    |     --------------- ^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KVStoreError` 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] 91 -     FileSystemError(FileSystemError),
[INFO] [stdout] 91 +     FileSystemError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MemoryLayerError`, `BytecodeSerializerError`, `ParserError`, `PersistentLayerError`, and `LogError` are never constructed
[INFO] [stdout]   --> src/errors.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum KVStoreError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 87 |     MemoryLayerError(MemoryLayerErrors),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 88 |     BytecodeSerializerError(BytecodeSerializerError),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 89 |     ParserError(ParserError),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     PersistentLayerError(PersistentLayerError),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 93 |     LogError(LogError),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KVStoreError` 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 `root` is never read
[INFO] [stdout]  --> src/filesystem.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FileSystem {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 8 |     root: PathBuf,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_root_ref`, `get_snapshot_ref`, `get_temp_ref`, and `get_persistent_ref` are never used
[INFO] [stdout]   --> src/filesystem.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl FileSystem {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub async fn get_root_ref(&self) -> &PathBuf {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub async fn get_snapshot_ref(&self) -> &PathBuf {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub async fn get_temp_ref(&self) -> &PathBuf {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub async fn get_persistent_ref(&self) -> &PathBuf {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_snapshot` is never used
[INFO] [stdout]   --> src/in_memory.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl InMemoryLayer {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn get_snapshot(&self) -> Vec<(String, String)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_system` and `cache` are never read
[INFO] [stdout]   --> src/kvstore.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct KvStore {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     file_system: FileSystem,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     cache: LruCacheLayer,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DeletedFilesCount` is never used
[INFO] [stdout]   --> src/log.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | type DeletedFilesCount = usize;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_latest_file` and `timed_cleanup` are never used
[INFO] [stdout]    --> src/log.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout]  81 | impl WALFileManager {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn get_latest_file(&self) -> &Path {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub async fn timed_cleanup(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache` is never read
[INFO] [stdout]  --> src/lru_cache.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct LruCacheLayer {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 4 |     cache: LinkedHashMap<String, String>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `put`, `get`, and `del` are never used
[INFO] [stdout]   --> src/lru_cache.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl LruCacheLayer {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn put(&mut self, key: &str, value: &str) -> () {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn get(&mut self, key: &str) -> Option<String> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn del(&mut self, key: &str) -> () {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EOF` is never constructed
[INFO] [stdout]   --> src/parser.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Token {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     EOF,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SIZE` is never used
[INFO] [stdout]  --> src/persistent/block.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const PAGE_SIZE: u16 = 8192;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEADER_SIZE` is never used
[INFO] [stdout]  --> src/persistent/block.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const HEADER_SIZE: usize = 12;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LP_LEN` is never used
[INFO] [stdout]  --> src/persistent/block.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const LP_LEN: usize = 32;
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IDX_LEN` is never used
[INFO] [stdout]  --> src/persistent/block.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const IDX_LEN: usize = 2;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinePointer` is never constructed
[INFO] [stdout]   --> src/persistent/block.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct LinePointer<const MAX_LEN: usize>(String, u16);
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `to_bytes`, `from_bytes`, and `get_byte_size` are never used
[INFO] [stdout]   --> src/persistent/block.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<const MAX_LEN: usize> LinePointer<MAX_LEN> {
[INFO] [stdout]    | ----------------------------------------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(value: &str, idx: u16) -> Result<Self, PersistentLayerError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn from_bytes(bytes: &[u8]) -> Result<Self, PersistentLayerError> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn get_byte_size() -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ValueEntry` is never constructed
[INFO] [stdout]   --> src/persistent/block.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct ValueEntry {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_str`, `to_bytes`, and `from_bytes` are never used
[INFO] [stdout]   --> src/persistent/block.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl ValueEntry {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 62 |     fn from_str(value: &str) -> Result<Self, PersistentLayerError> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn from_bytes(bytes: &[u8]) -> Result<Self, PersistentLayerError> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/persistent/block.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | struct Block {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `construct`, `write_record`, `to_bytes`, `from_bytes`, `calculate_fletcher16`, and `validate_checksum` are never used
[INFO] [stdout]    --> src/persistent/block.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl Block {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 104 |     fn construct(
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn write_record(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     fn from_bytes(data: &[u8]) -> Result<Self, PersistentLayerError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     fn calculate_fletcher16(&self) -> u16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     fn validate_checksum(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Header` is never constructed
[INFO] [stdout]    --> src/persistent/block.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | struct Header {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/persistent/block.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 235 | impl Header {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 236 |     fn from_bytes(bytes: &[u8]) -> Result<Self, PersistentLayerError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 315 |     fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 326 |     fn set(&mut self, value: HeaderProps) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 336 |     fn upper(&self) -> u16 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |     fn lower(&self) -> u16 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 344 |     fn checksum(&self) -> u16 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 348 |     fn is_space_to_write(&self, size: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HeaderProps` is never used
[INFO] [stdout]    --> src/persistent/block.rs:358:6
[INFO] [stdout]     |
[INFO] [stdout] 358 | enum HeaderProps {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PersistentLayerError` is never used
[INFO] [stdout]  --> src/persistent/errors.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum PersistentLayerError {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PersistentLayer` is never constructed
[INFO] [stdout]  --> src/persistent/persistent.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PersistentLayer<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_dir_contents` are never used
[INFO] [stdout]   --> src/persistent/persistent.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> PersistentLayer<'a> {
[INFO] [stdout]    | ---------------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(dir: &'a PathBuf) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn get_dir_contents(&self) -> Result<Vec<PathBuf>, PersistentLayerError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TcpAdapter` is never constructed
[INFO] [stdout]  --> src/tcp_adapter.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TcpAdapter {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/tcp_adapter.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl TcpAdapter {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 8 |     pub async fn new(kv_store: KvStore) -> Self {
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/persistent/block.rs:492:14
[INFO] [stdout]     |
[INFO] [stdout] 492 |         let (block, not_fit) = Block::construct(init_data).unwrap();
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `LogParseError` is never constructed
[INFO] [stdout]   --> src/errors.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum LogError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     LogParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TokenParseError`, `KeyParseError`, and `ValueParseError` are never constructed
[INFO] [stdout]   --> src/errors.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub enum ParserError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 36 |     #[error("Error parsing token")]
[INFO] [stdout] 37 |     TokenParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     KeyParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     ValueParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ReadError` is never constructed
[INFO] [stdout]   --> src/errors.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub enum WALError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 64 |     ReadError(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WALError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SerializationError` and `GenericError` are never constructed
[INFO] [stdout]   --> src/errors.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub enum PersistentLayerError {
[INFO] [stdout]    |          -------------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 79 |     SerializationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     GenericError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PersistentLayerError` 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/errors.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |     WALError(WALError),
[INFO] [stdout]    |     -------- ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KVStoreError` 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] 90 -     WALError(WALError),
[INFO] [stdout] 90 +     WALError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:91:21
[INFO] [stdout]    |
[INFO] [stdout] 91 |     FileSystemError(FileSystemError),
[INFO] [stdout]    |     --------------- ^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KVStoreError` 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] 91 -     FileSystemError(FileSystemError),
[INFO] [stdout] 91 +     FileSystemError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MemoryLayerError`, `BytecodeSerializerError`, `ParserError`, `PersistentLayerError`, and `LogError` are never constructed
[INFO] [stdout]   --> src/errors.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum KVStoreError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 87 |     MemoryLayerError(MemoryLayerErrors),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 88 |     BytecodeSerializerError(BytecodeSerializerError),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 89 |     ParserError(ParserError),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     PersistentLayerError(PersistentLayerError),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 93 |     LogError(LogError),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KVStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_snapshot_ref`, `get_temp_ref`, and `get_persistent_ref` are never used
[INFO] [stdout]   --> src/filesystem.rs:53:18
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl FileSystem {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub async fn get_snapshot_ref(&self) -> &PathBuf {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub async fn get_temp_ref(&self) -> &PathBuf {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub async fn get_persistent_ref(&self) -> &PathBuf {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_snapshot` is never used
[INFO] [stdout]   --> src/in_memory.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl InMemoryLayer {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn get_snapshot(&self) -> Vec<(String, String)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_system` and `cache` are never read
[INFO] [stdout]   --> src/kvstore.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct KvStore {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     file_system: FileSystem,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     cache: LruCacheLayer,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DeletedFilesCount` is never used
[INFO] [stdout]   --> src/log.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | type DeletedFilesCount = usize;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_latest_file` and `timed_cleanup` are never used
[INFO] [stdout]    --> src/log.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout]  81 | impl WALFileManager {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn get_latest_file(&self) -> &Path {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub async fn timed_cleanup(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache` is never read
[INFO] [stdout]  --> src/lru_cache.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct LruCacheLayer {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 4 |     cache: LinkedHashMap<String, String>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `put`, `get`, and `del` are never used
[INFO] [stdout]   --> src/lru_cache.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl LruCacheLayer {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn put(&mut self, key: &str, value: &str) -> () {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn get(&mut self, key: &str) -> Option<String> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn del(&mut self, key: &str) -> () {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EOF` is never constructed
[INFO] [stdout]   --> src/parser.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Token {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     EOF,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_byte_size` is never used
[INFO] [stdout]   --> src/persistent/block.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<const MAX_LEN: usize> LinePointer<MAX_LEN> {
[INFO] [stdout]    | ----------------------------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn get_byte_size() -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FLAGS` is never constructed
[INFO] [stdout]    --> src/persistent/block.rs:360:5
[INFO] [stdout]     |
[INFO] [stdout] 358 | enum HeaderProps {
[INFO] [stdout]     |      ----------- variant in this enum
[INFO] [stdout] 359 |     CHECKSUM(u16),
[INFO] [stdout] 360 |     FLAGS(u16),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `HeaderCrError` is never constructed
[INFO] [stdout]  --> src/persistent/errors.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum PersistentLayerError {
[INFO] [stdout]   |          -------------------- variant in this enum
[INFO] [stdout] 6 |     #[error("Error creating block header, cause: {0}")]
[INFO] [stdout] 7 |     HeaderCrError(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PersistentLayerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PersistentLayer` is never constructed
[INFO] [stdout]  --> src/persistent/persistent.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PersistentLayer<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_dir_contents` are never used
[INFO] [stdout]   --> src/persistent/persistent.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> PersistentLayer<'a> {
[INFO] [stdout]    | ---------------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(dir: &'a PathBuf) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn get_dir_contents(&self) -> Result<Vec<PathBuf>, PersistentLayerError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TcpAdapter` is never constructed
[INFO] [stdout]  --> src/tcp_adapter.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TcpAdapter {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/tcp_adapter.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl TcpAdapter {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 8 |     pub async fn new(kv_store: KvStore) -> Self {
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.20s
[INFO] running `Command { std: "docker" "inspect" "5383ad70ae9ec58909d41d8aa1c2d3e2f438a92afb648c180beb3a844626f6bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5383ad70ae9ec58909d41d8aa1c2d3e2f438a92afb648c180beb3a844626f6bb", kill_on_drop: false }`
[INFO] [stdout] 5383ad70ae9ec58909d41d8aa1c2d3e2f438a92afb648c180beb3a844626f6bb
