[INFO] cloning repository https://github.com/peacewalker122/slow-database
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peacewalker122/slow-database" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeacewalker122%2Fslow-database", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeacewalker122%2Fslow-database'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7ad2c1a631c42a9ae3085cc796ec61c2bf863195
[INFO] testing peacewalker122/slow-database against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeacewalker122%2Fslow-database" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/peacewalker122/slow-database
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/peacewalker122/slow-database
[INFO] tweaked toml for git repo https://github.com/peacewalker122/slow-database written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/peacewalker122/slow-database on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/peacewalker122/slow-database 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" "+1.98.0-beta.1" "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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf
[INFO] running `Command { std: "docker" "start" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf", 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" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling aws-lc-rs v1.17.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling zmij v1.0.18
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling rust_decimal v1.42.1
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling rustls-native-certs v0.8.4
[INFO] [stderr]    Compiling clap_builder v4.5.60
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling utf8-width v0.1.8
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling byte-unit v5.2.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling foldhash v0.2.0
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling jiff v0.2.17
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling crossbeam-skiplist v0.1.3
[INFO] [stderr]    Compiling aws-lc-sys v0.41.0
[INFO] [stderr]    Compiling fastbloom v0.17.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling openraft-macros v0.9.24
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling pin-project v1.1.11
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling clap v4.5.60
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling anyerror v0.1.13
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling validit v0.2.5
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling openraft v0.9.24
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling rustls-platform-verifier v0.7.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling axum v0.8.9
[INFO] [stderr]    Compiling reqwest v0.13.4
[INFO] [stderr]    Compiling ceredb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `io::Cursor`
[INFO] [stdout]  --> src/storage/compactionmanager/compaction.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{io::Cursor, path::PathBuf, sync::Arc};
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `index::SparseIndexEntry` and `self`
[INFO] [stdout]   --> src/storage/compactionmanager/compaction.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     bloom::{self, BloomFilterWrapper},
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 16 |     config::StorageConfig,
[INFO] [stdout] 17 |     index::SparseIndexEntry,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::footer::SSTableFooter`
[INFO] [stdout]  --> src/storage/index.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::footer::SSTableFooter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LogStore`
[INFO] [stdout]   --> src/storage/kv2.rs:28:37
[INFO] [stdout]    |
[INFO] [stdout] 28 |             log_store::{LogCommand, LogStore},
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::bloom::BloomFilterWrapper`
[INFO] [stdout]   --> src/storage/manifest_codec.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::storage::bloom::BloomFilterWrapper;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RaftTypeConfig`
[INFO] [stdout]   --> src/storage/raft/log_store.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     RaftTypeConfig, StorageError, StorageIOError, Vote,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]   --> src/storage/raft/log_store.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::fmt::Debug;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openraft::OptionalSend`
[INFO] [stdout]   --> src/storage/raft/network.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use openraft::OptionalSend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::Cow`
[INFO] [stdout]  --> src/storage/writemanager/block.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Record`
[INFO] [stdout]   --> src/storage/writemanager/block.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |         record::{MemtableRecord, Record},
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/writemanager/block.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |         mut data: &mut T,
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 298 |         let mut wal_file = TokioFile::open(file_path).await?;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::RangeBounds`
[INFO] [stdout]  --> src/command.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::RangeBounds;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Write`
[INFO] [stdout]   --> src/storage/recovermanager/wal.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     io::Write,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_key_len`
[INFO] [stdout]    --> src/storage/block.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let first_key_len = u32::from_be_bytes(len_buf) as usize;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_key_len`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_bits`
[INFO] [stdout]    --> src/storage/bloom.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let num_bits = u64::from_be_bytes(buf) as usize;
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reserved_segment_id`
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:242:21
[INFO] [stdout]     |
[INFO] [stdout] 242 |         if let Some(reserved_segment_id) = self.reserved_wal.lock().await.pop_front() {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reserved_segment_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sstable_dir`
[INFO] [stdout]    --> src/storage/kv2.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         sstable_dir: PathBuf,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sstable_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sequence_number`
[INFO] [stdout]    --> src/storage/readmanager/read.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         sequence_number: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/storage/kv2.rs:588:28
[INFO] [stdout]     |
[INFO] [stdout] 588 |                         if let CompactionTrigger::CompactLevel { level } = trigger {
[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: unused variable: `sstable_dir`
[INFO] [stdout]    --> src/storage/kv2.rs:580:9
[INFO] [stdout]     |
[INFO] [stdout] 580 |         sstable_dir: PathBuf,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sstable_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `checkpoint_lsn`
[INFO] [stdout]    --> src/storage/manifest_codec.rs:361:22
[INFO] [stdout]     |
[INFO] [stdout] 361 |                 let (checkpoint_lsn, active_wal_segment) = decode_checkpoint_payload(payload)?;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint_lsn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_type`
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:322:17
[INFO] [stdout]     |
[INFO] [stdout] 322 |             let record_type = match record_type_buf[0] {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `record_offset` is never read
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:308:13
[INFO] [stdout]     |
[INFO] [stdout] 308 |             record_offset = WAL_HEADER_SIZE; // start reading records right after the header if no checkpoint offset is set
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `footer`
[INFO] [stdout]    --> src/storage/sstable_codec.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let (footer, index, bloom) = Self::deserialize_sections(reader).await?;
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_footer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/writemanager/block.rs:191:35
[INFO] [stdout]     |
[INFO] [stdout] 191 |     pub fn decode<T: Read + Seek>(mut data: &mut T, offset: u64) -> Result<Self, DBError> {
[INFO] [stdout]     |                                   ----^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `base_dir` is never read
[INFO] [stdout]    --> src/storage/kv2.rs:469:5
[INFO] [stdout]     |
[INFO] [stdout] 468 | pub struct RaftKV2 {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 469 |     base_dir: PathBuf,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build_recovered_memtable` is never used
[INFO] [stdout]    --> src/storage/kv2.rs:555:8
[INFO] [stdout]     |
[INFO] [stdout] 482 | impl RaftKV2 {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 555 |     fn build_recovered_memtable(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogPosition` is never constructed
[INFO] [stdout]   --> src/storage/recovermanager/log_store.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct LogPosition {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LogStore` is never used
[INFO] [stdout]   --> src/storage/recovermanager/log_store.rs:75:11
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub trait LogStore: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `FileWalStore` is never used
[INFO] [stdout]   --> src/storage/recovermanager/wal.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub type FileWalStore = WALManager;
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_sparse_index` is never used
[INFO] [stdout]    --> src/storage/sstable_codec.rs:251:4
[INFO] [stdout]     |
[INFO] [stdout] 251 | fn decode_sparse_index(index_block: &[u8]) -> Result<Vec<SparseIndexEntry>, DBError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn get(&self, key: &[u8]) -> Result<Option<Cow<'_, Vec<u8>>>, DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 12 -     async fn get(&self, key: &[u8]) -> Result<Option<Cow<'_, Vec<u8>>>, DBError>;
[INFO] [stdout] 12 +     fn get(&self, key: &[u8]) -> impl std::future::Future<Output = Result<Option<Cow<'_, Vec<u8>>>, DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     async fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 13 -     async fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout] 13 +     fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> impl std::future::Future<Output = Result<(), DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     async fn delete(&mut self, key: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 14 -     async fn delete(&mut self, key: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout] 14 +     fn delete(&mut self, key: Vec<u8>) -> impl std::future::Future<Output = Result<(), DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 37 -     async fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>;
[INFO] [stdout] 37 +     fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> impl std::future::Future<Output = Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 | /             delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout] 111 | |                 .await
[INFO] [stdout] 112 | |                 .map_err(|e| {
[INFO] [stdout] 113 | |                     log::error!("Failed to delete file {}: {}", stale.path, e);
[INFO] [stdout] 114 | |                 });
[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] 110 |             let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 | /             delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout] 118 | |                 .await
[INFO] [stdout] 119 | |                 .map_err(|err| {
[INFO] [stdout] 120 | |                     log::error!("Failed to delete overlapping file {}: {}", stale.path, err)
[INFO] [stdout] 121 | |                 });
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |             let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | /         delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout] 172 | |             .await
[INFO] [stdout] 173 | |             .map_err(|e| {
[INFO] [stdout] 174 | |                 log::error!("Failed to delete file {}: {}", stale.path, e);
[INFO] [stdout] 175 | |             });
[INFO] [stdout]     | |______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 | /         delete_manifest_with_file(manifest.clone(), &stale.path, level + 1, stale.file_id)
[INFO] [stdout] 179 | |             .await
[INFO] [stdout] 180 | |             .map_err(|err| {
[INFO] [stdout] 181 | |                 log::error!("Failed to delete overlapping file {}: {}", stale.path, err)
[INFO] [stdout] 182 | |             });
[INFO] [stdout]     | |______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level + 1, stale.file_id)
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]    --> src/storage/kv2.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 | /         Self::run_compaction_worker(
[INFO] [stdout] 114 | |             compaction_receiver,
[INFO] [stdout] 115 | |             manifest_for_worker,
[INFO] [stdout] 116 | |             sstable_dir_for_compaction,
[INFO] [stdout] 117 | |             config_for_compaction,
[INFO] [stdout] 118 | |             cancel.child_token(),
[INFO] [stdout] 119 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s
[INFO] running `Command { std: "docker" "inspect" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling gimli v0.32.3
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling rustc-demangle v0.1.27
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling thousands v0.2.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling mintex v0.1.4
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling reqwest v0.13.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling ceredb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `io::Cursor`
[INFO] [stdout]  --> src/storage/compactionmanager/compaction.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{io::Cursor, path::PathBuf, sync::Arc};
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `index::SparseIndexEntry` and `self`
[INFO] [stdout]   --> src/storage/compactionmanager/compaction.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     bloom::{self, BloomFilterWrapper},
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 16 |     config::StorageConfig,
[INFO] [stdout] 17 |     index::SparseIndexEntry,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::footer::SSTableFooter`
[INFO] [stdout]  --> src/storage/index.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::footer::SSTableFooter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LogStore`
[INFO] [stdout]   --> src/storage/kv2.rs:28:37
[INFO] [stdout]    |
[INFO] [stdout] 28 |             log_store::{LogCommand, LogStore},
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::bloom::BloomFilterWrapper`
[INFO] [stdout]   --> src/storage/manifest_codec.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::storage::bloom::BloomFilterWrapper;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RaftTypeConfig`
[INFO] [stdout]   --> src/storage/raft/log_store.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     RaftTypeConfig, StorageError, StorageIOError, Vote,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]   --> src/storage/raft/log_store.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::fmt::Debug;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openraft::OptionalSend`
[INFO] [stdout]   --> src/storage/raft/network.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use openraft::OptionalSend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::Cow`
[INFO] [stdout]  --> src/storage/writemanager/block.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Record`
[INFO] [stdout]   --> src/storage/writemanager/block.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |         record::{MemtableRecord, Record},
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling addr2line v0.25.1
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/writemanager/block.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |         mut data: &mut T,
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 298 |         let mut wal_file = TokioFile::open(file_path).await?;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::RangeBounds`
[INFO] [stdout]  --> src/command.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::RangeBounds;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Write`
[INFO] [stdout]   --> src/storage/recovermanager/wal.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     io::Write,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_key_len`
[INFO] [stdout]    --> src/storage/block.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let first_key_len = u32::from_be_bytes(len_buf) as usize;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_key_len`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_bits`
[INFO] [stdout]    --> src/storage/bloom.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let num_bits = u64::from_be_bytes(buf) as usize;
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reserved_segment_id`
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:242:21
[INFO] [stdout]     |
[INFO] [stdout] 242 |         if let Some(reserved_segment_id) = self.reserved_wal.lock().await.pop_front() {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reserved_segment_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sstable_dir`
[INFO] [stdout]    --> src/storage/kv2.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         sstable_dir: PathBuf,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sstable_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sequence_number`
[INFO] [stdout]    --> src/storage/readmanager/read.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         sequence_number: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/storage/kv2.rs:588:28
[INFO] [stdout]     |
[INFO] [stdout] 588 |                         if let CompactionTrigger::CompactLevel { level } = trigger {
[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: unused variable: `sstable_dir`
[INFO] [stdout]    --> src/storage/kv2.rs:580:9
[INFO] [stdout]     |
[INFO] [stdout] 580 |         sstable_dir: PathBuf,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sstable_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `checkpoint_lsn`
[INFO] [stdout]    --> src/storage/manifest_codec.rs:361:22
[INFO] [stdout]     |
[INFO] [stdout] 361 |                 let (checkpoint_lsn, active_wal_segment) = decode_checkpoint_payload(payload)?;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint_lsn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stdout] warning: unused variable: `record_type`
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:322:17
[INFO] [stdout]     |
[INFO] [stdout] 322 |             let record_type = match record_type_buf[0] {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `record_offset` is never read
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:308:13
[INFO] [stdout]     |
[INFO] [stdout] 308 |             record_offset = WAL_HEADER_SIZE; // start reading records right after the header if no checkpoint offset is set
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `footer`
[INFO] [stdout]    --> src/storage/sstable_codec.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let (footer, index, bloom) = Self::deserialize_sections(reader).await?;
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_footer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/writemanager/block.rs:191:35
[INFO] [stdout]     |
[INFO] [stdout] 191 |     pub fn decode<T: Read + Seek>(mut data: &mut T, offset: u64) -> Result<Self, DBError> {
[INFO] [stdout]     |                                   ----^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `base_dir` is never read
[INFO] [stdout]    --> src/storage/kv2.rs:469:5
[INFO] [stdout]     |
[INFO] [stdout] 468 | pub struct RaftKV2 {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 469 |     base_dir: PathBuf,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build_recovered_memtable` is never used
[INFO] [stdout]    --> src/storage/kv2.rs:555:8
[INFO] [stdout]     |
[INFO] [stdout] 482 | impl RaftKV2 {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 555 |     fn build_recovered_memtable(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogPosition` is never constructed
[INFO] [stdout]   --> src/storage/recovermanager/log_store.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct LogPosition {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LogStore` is never used
[INFO] [stdout]   --> src/storage/recovermanager/log_store.rs:75:11
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub trait LogStore: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `FileWalStore` is never used
[INFO] [stdout]   --> src/storage/recovermanager/wal.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub type FileWalStore = WALManager;
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_sparse_index` is never used
[INFO] [stdout]    --> src/storage/sstable_codec.rs:251:4
[INFO] [stdout]     |
[INFO] [stdout] 251 | fn decode_sparse_index(index_block: &[u8]) -> Result<Vec<SparseIndexEntry>, DBError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn get(&self, key: &[u8]) -> Result<Option<Cow<'_, Vec<u8>>>, DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 12 -     async fn get(&self, key: &[u8]) -> Result<Option<Cow<'_, Vec<u8>>>, DBError>;
[INFO] [stdout] 12 +     fn get(&self, key: &[u8]) -> impl std::future::Future<Output = Result<Option<Cow<'_, Vec<u8>>>, DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     async fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 13 -     async fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout] 13 +     fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> impl std::future::Future<Output = Result<(), DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     async fn delete(&mut self, key: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 14 -     async fn delete(&mut self, key: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout] 14 +     fn delete(&mut self, key: Vec<u8>) -> impl std::future::Future<Output = Result<(), DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 37 -     async fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>;
[INFO] [stdout] 37 +     fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> impl std::future::Future<Output = Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 | /             delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout] 111 | |                 .await
[INFO] [stdout] 112 | |                 .map_err(|e| {
[INFO] [stdout] 113 | |                     log::error!("Failed to delete file {}: {}", stale.path, e);
[INFO] [stdout] 114 | |                 });
[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] 110 |             let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 | /             delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout] 118 | |                 .await
[INFO] [stdout] 119 | |                 .map_err(|err| {
[INFO] [stdout] 120 | |                     log::error!("Failed to delete overlapping file {}: {}", stale.path, err)
[INFO] [stdout] 121 | |                 });
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |             let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | /         delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout] 172 | |             .await
[INFO] [stdout] 173 | |             .map_err(|e| {
[INFO] [stdout] 174 | |                 log::error!("Failed to delete file {}: {}", stale.path, e);
[INFO] [stdout] 175 | |             });
[INFO] [stdout]     | |______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 | /         delete_manifest_with_file(manifest.clone(), &stale.path, level + 1, stale.file_id)
[INFO] [stdout] 179 | |             .await
[INFO] [stdout] 180 | |             .map_err(|err| {
[INFO] [stdout] 181 | |                 log::error!("Failed to delete overlapping file {}: {}", stale.path, err)
[INFO] [stdout] 182 | |             });
[INFO] [stdout]     | |______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level + 1, stale.file_id)
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]    --> src/storage/kv2.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 | /         Self::run_compaction_worker(
[INFO] [stdout] 114 | |             compaction_receiver,
[INFO] [stdout] 115 | |             manifest_for_worker,
[INFO] [stdout] 116 | |             sstable_dir_for_compaction,
[INFO] [stdout] 117 | |             config_for_compaction,
[INFO] [stdout] 118 | |             cancel.child_token(),
[INFO] [stdout] 119 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling dhat v0.3.3
[INFO] [stdout] warning: unused import: `io::Cursor`
[INFO] [stdout]  --> src/storage/compactionmanager/compaction.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{io::Cursor, path::PathBuf, sync::Arc};
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `index::SparseIndexEntry` and `self`
[INFO] [stdout]   --> src/storage/compactionmanager/compaction.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     bloom::{self, BloomFilterWrapper},
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 16 |     config::StorageConfig,
[INFO] [stdout] 17 |     index::SparseIndexEntry,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::footer::SSTableFooter`
[INFO] [stdout]  --> src/storage/index.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::footer::SSTableFooter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LogStore`
[INFO] [stdout]   --> src/storage/kv2.rs:28:37
[INFO] [stdout]    |
[INFO] [stdout] 28 |             log_store::{LogCommand, LogStore},
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RaftTypeConfig`
[INFO] [stdout]   --> src/storage/raft/log_store.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     RaftTypeConfig, StorageError, StorageIOError, Vote,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]   --> src/storage/raft/log_store.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::fmt::Debug;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openraft::OptionalSend`
[INFO] [stdout]   --> src/storage/raft/network.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use openraft::OptionalSend;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/storage/raft/mod_tests.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::Cow`
[INFO] [stdout]  --> src/storage/writemanager/block.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Record`
[INFO] [stdout]   --> src/storage/writemanager/block.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |         record::{MemtableRecord, Record},
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/writemanager/block.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |         mut data: &mut T,
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 298 |         let mut wal_file = TokioFile::open(file_path).await?;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep()
[INFO] [stdout]   --> src/testing/mod.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let path = temp_dir.into_path();
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_key_len`
[INFO] [stdout]    --> src/storage/block.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let first_key_len = u32::from_be_bytes(len_buf) as usize;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_key_len`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_bits`
[INFO] [stdout]    --> src/storage/bloom.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let num_bits = u64::from_be_bytes(buf) as usize;
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reserved_segment_id`
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:242:21
[INFO] [stdout]     |
[INFO] [stdout] 242 |         if let Some(reserved_segment_id) = self.reserved_wal.lock().await.pop_front() {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reserved_segment_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sstable_dir`
[INFO] [stdout]    --> src/storage/kv2.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         sstable_dir: PathBuf,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sstable_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sequence_number`
[INFO] [stdout]    --> src/storage/readmanager/read.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         sequence_number: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_type`
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:322:17
[INFO] [stdout]     |
[INFO] [stdout] 322 |             let record_type = match record_type_buf[0] {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `record_offset` is never read
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:308:13
[INFO] [stdout]     |
[INFO] [stdout] 308 |             record_offset = WAL_HEADER_SIZE; // start reading records right after the header if no checkpoint offset is set
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/storage/kv2.rs:588:28
[INFO] [stdout]     |
[INFO] [stdout] 588 |                         if let CompactionTrigger::CompactLevel { level } = trigger {
[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: unused variable: `sstable_dir`
[INFO] [stdout]    --> src/storage/kv2.rs:580:9
[INFO] [stdout]     |
[INFO] [stdout] 580 |         sstable_dir: PathBuf,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sstable_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/kv2.rs:730:13
[INFO] [stdout]     |
[INFO] [stdout] 730 |         let mut kv = RaftKV2::open(dir.path(), StorageConfig::default(), cfg)
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `checkpoint_lsn`
[INFO] [stdout]    --> src/storage/manifest_codec.rs:361:22
[INFO] [stdout]     |
[INFO] [stdout] 361 |                 let (checkpoint_lsn, active_wal_segment) = decode_checkpoint_payload(payload)?;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint_lsn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h0`
[INFO] [stdout]    --> src/storage/manifest_codec.rs:727:13
[INFO] [stdout]     |
[INFO] [stdout] 727 |         let h0 = cache.get_or_open(&path0).await.unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_h0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:607:13
[INFO] [stdout]     |
[INFO] [stdout] 607 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:641:13
[INFO] [stdout]     |
[INFO] [stdout] 641 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:696:13
[INFO] [stdout]     |
[INFO] [stdout] 696 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:728:13
[INFO] [stdout]     |
[INFO] [stdout] 728 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:763:13
[INFO] [stdout]     |
[INFO] [stdout] 763 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:793:13
[INFO] [stdout]     |
[INFO] [stdout] 793 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:824:13
[INFO] [stdout]     |
[INFO] [stdout] 824 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:858:13
[INFO] [stdout]     |
[INFO] [stdout] 858 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:877:17
[INFO] [stdout]     |
[INFO] [stdout] 877 |             let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:896:13
[INFO] [stdout]     |
[INFO] [stdout] 896 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:930:17
[INFO] [stdout]     |
[INFO] [stdout] 930 |             let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:947:13
[INFO] [stdout]     |
[INFO] [stdout] 947 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:970:17
[INFO] [stdout]     |
[INFO] [stdout] 970 |             let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/recovermanager/wal.rs:997:13
[INFO] [stdout]     |
[INFO] [stdout] 997 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `footer`
[INFO] [stdout]    --> src/storage/sstable_codec.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let (footer, index, bloom) = Self::deserialize_sections(reader).await?;
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_footer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `footer`
[INFO] [stdout]    --> src/storage/sstable_codec.rs:374:13
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let footer = SSTableFooter {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_footer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bloom_block`
[INFO] [stdout]    --> src/storage/sstable_codec.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 428 |         let bloom_block = bloom.encode();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bloom_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decoded`
[INFO] [stdout]    --> src/storage/sstable_codec.rs:443:13
[INFO] [stdout]     |
[INFO] [stdout] 443 |         let decoded = SSTableCodec::deserialize(&mut cursor).await.unwrap();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/writemanager/block.rs:191:35
[INFO] [stdout]     |
[INFO] [stdout] 191 |     pub fn decode<T: Read + Seek>(mut data: &mut T, offset: u64) -> Result<Self, DBError> {
[INFO] [stdout]     |                                   ----^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `base_dir` is never read
[INFO] [stdout]    --> src/storage/kv2.rs:469:5
[INFO] [stdout]     |
[INFO] [stdout] 468 | pub struct RaftKV2 {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 469 |     base_dir: PathBuf,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build_recovered_memtable` is never used
[INFO] [stdout]    --> src/storage/kv2.rs:555:8
[INFO] [stdout]     |
[INFO] [stdout] 482 | impl RaftKV2 {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 555 |     fn build_recovered_memtable(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogPosition` is never constructed
[INFO] [stdout]   --> src/storage/recovermanager/log_store.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct LogPosition {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LogStore` is never used
[INFO] [stdout]   --> src/storage/recovermanager/log_store.rs:75:11
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub trait LogStore: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `FileWalStore` is never used
[INFO] [stdout]   --> src/storage/recovermanager/wal.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub type FileWalStore = WALManager;
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_sparse_index` is never used
[INFO] [stdout]    --> src/storage/sstable_codec.rs:251:4
[INFO] [stdout]     |
[INFO] [stdout] 251 | fn decode_sparse_index(index_block: &[u8]) -> Result<Vec<SparseIndexEntry>, DBError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn get(&self, key: &[u8]) -> Result<Option<Cow<'_, Vec<u8>>>, DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 12 -     async fn get(&self, key: &[u8]) -> Result<Option<Cow<'_, Vec<u8>>>, DBError>;
[INFO] [stdout] 12 +     fn get(&self, key: &[u8]) -> impl std::future::Future<Output = Result<Option<Cow<'_, Vec<u8>>>, DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     async fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 13 -     async fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout] 13 +     fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> impl std::future::Future<Output = Result<(), DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     async fn delete(&mut self, key: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 14 -     async fn delete(&mut self, key: Vec<u8>) -> Result<(), DBError>;
[INFO] [stdout] 14 +     fn delete(&mut self, key: Vec<u8>) -> impl std::future::Future<Output = Result<(), DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/api/api.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     async fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 37 -     async fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>;
[INFO] [stdout] 37 +     fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> impl std::future::Future<Output = Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 | /             delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout] 111 | |                 .await
[INFO] [stdout] 112 | |                 .map_err(|e| {
[INFO] [stdout] 113 | |                     log::error!("Failed to delete file {}: {}", stale.path, e);
[INFO] [stdout] 114 | |                 });
[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] 110 |             let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 | /             delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout] 118 | |                 .await
[INFO] [stdout] 119 | |                 .map_err(|err| {
[INFO] [stdout] 120 | |                     log::error!("Failed to delete overlapping file {}: {}", stale.path, err)
[INFO] [stdout] 121 | |                 });
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |             let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | /         delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout] 172 | |             .await
[INFO] [stdout] 173 | |             .map_err(|e| {
[INFO] [stdout] 174 | |                 log::error!("Failed to delete file {}: {}", stale.path, e);
[INFO] [stdout] 175 | |             });
[INFO] [stdout]     | |______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/storage/compactionmanager/compaction.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 | /         delete_manifest_with_file(manifest.clone(), &stale.path, level + 1, stale.file_id)
[INFO] [stdout] 179 | |             .await
[INFO] [stdout] 180 | |             .map_err(|err| {
[INFO] [stdout] 181 | |                 log::error!("Failed to delete overlapping file {}: {}", stale.path, err)
[INFO] [stdout] 182 | |             });
[INFO] [stdout]     | |______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level + 1, stale.file_id)
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used
[INFO] [stdout]    --> src/storage/kv2.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 | /         Self::run_compaction_worker(
[INFO] [stdout] 114 | |             compaction_receiver,
[INFO] [stdout] 115 | |             manifest_for_worker,
[INFO] [stdout] 116 | |             sstable_dir_for_compaction,
[INFO] [stdout] 117 | |             config_for_compaction,
[INFO] [stdout] 118 | |             cancel.child_token(),
[INFO] [stdout] 119 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Block` should have a snake case name
[INFO] [stdout]    --> src/storage/sstable_codec.rs:557:13
[INFO] [stdout]     |
[INFO] [stdout] 557 |         let Block = SSTableCodec::get_block(&mut cursor, &footer, &index, "flush-key-3".as_bytes())
[INFO] [stdout]     |             ^^^^^ help: convert the identifier to snake case: `block`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 38.71s
[INFO] running `Command { std: "docker" "inspect" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `io::Cursor`
[INFO] [stderr]  --> src/storage/compactionmanager/compaction.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::{io::Cursor, path::PathBuf, sync::Arc};
[INFO] [stderr]   |           ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `index::SparseIndexEntry` and `self`
[INFO] [stderr]   --> src/storage/compactionmanager/compaction.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 |     bloom::{self, BloomFilterWrapper},
[INFO] [stderr]    |             ^^^^
[INFO] [stderr] 16 |     config::StorageConfig,
[INFO] [stderr] 17 |     index::SparseIndexEntry,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::footer::SSTableFooter`
[INFO] [stderr]  --> src/storage/index.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use super::footer::SSTableFooter;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `LogStore`
[INFO] [stderr]   --> src/storage/kv2.rs:28:37
[INFO] [stderr]    |
[INFO] [stderr] 28 |             log_store::{LogCommand, LogStore},
[INFO] [stderr]    |                                     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::storage::bloom::BloomFilterWrapper`
[INFO] [stderr]   --> src/storage/manifest_codec.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use crate::storage::bloom::BloomFilterWrapper;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `RaftTypeConfig`
[INFO] [stderr]   --> src/storage/raft/log_store.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     RaftTypeConfig, StorageError, StorageIOError, Vote,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fmt::Debug`
[INFO] [stderr]   --> src/storage/raft/log_store.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use std::fmt::Debug;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `openraft::OptionalSend`
[INFO] [stderr]   --> src/storage/raft/network.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use openraft::OptionalSend;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `borrow::Cow`
[INFO] [stderr]  --> src/storage/writemanager/block.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 |     borrow::Cow,
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Record`
[INFO] [stderr]   --> src/storage/writemanager/block.rs:14:34
[INFO] [stderr]    |
[INFO] [stderr] 14 |         record::{MemtableRecord, Record},
[INFO] [stderr]    |                                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/writemanager/block.rs:256:9
[INFO] [stderr]     |
[INFO] [stderr] 256 |         mut data: &mut T,
[INFO] [stderr]     |         ----^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:298:13
[INFO] [stderr]     |
[INFO] [stderr] 298 |         let mut wal_file = TokioFile::open(file_path).await?;
[INFO] [stderr]     |             ----^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::RangeBounds`
[INFO] [stderr]  --> src/command.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::ops::RangeBounds;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `io::Write`
[INFO] [stderr]   --> src/storage/recovermanager/wal.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     io::Write,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `first_key_len`
[INFO] [stderr]    --> src/storage/block.rs:149:13
[INFO] [stderr]     |
[INFO] [stderr] 149 |         let first_key_len = u32::from_be_bytes(len_buf) as usize;
[INFO] [stderr]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_key_len`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `num_bits`
[INFO] [stderr]    --> src/storage/bloom.rs:109:13
[INFO] [stderr]     |
[INFO] [stderr] 109 |         let num_bits = u64::from_be_bytes(buf) as usize;
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bits`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reserved_segment_id`
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:242:21
[INFO] [stderr]     |
[INFO] [stderr] 242 |         if let Some(reserved_segment_id) = self.reserved_wal.lock().await.pop_front() {
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reserved_segment_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sstable_dir`
[INFO] [stderr]    --> src/storage/kv2.rs:231:9
[INFO] [stderr]     |
[INFO] [stderr] 231 |         sstable_dir: PathBuf,
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sstable_dir`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sequence_number`
[INFO] [stderr]    --> src/storage/readmanager/read.rs:259:9
[INFO] [stderr]     |
[INFO] [stderr] 259 |         sequence_number: u64,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence_number`
[INFO] [stderr] 
[INFO] [stderr] warning: irrefutable `if let` pattern
[INFO] [stderr]    --> src/storage/kv2.rs:588:28
[INFO] [stderr]     |
[INFO] [stderr] 588 |                         if let CompactionTrigger::CompactLevel { level } = trigger {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stderr]     = help: consider replacing the `if let` with a `let`
[INFO] [stderr]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sstable_dir`
[INFO] [stderr]    --> src/storage/kv2.rs:580:9
[INFO] [stderr]     |
[INFO] [stderr] 580 |         sstable_dir: PathBuf,
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sstable_dir`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `checkpoint_lsn`
[INFO] [stderr]    --> src/storage/manifest_codec.rs:361:22
[INFO] [stderr]     |
[INFO] [stderr] 361 |                 let (checkpoint_lsn, active_wal_segment) = decode_checkpoint_payload(payload)?;
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint_lsn`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `record_type`
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:322:17
[INFO] [stderr]     |
[INFO] [stderr] 322 |             let record_type = match record_type_buf[0] {
[INFO] [stderr]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_type`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `record_offset` is never read
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:308:13
[INFO] [stderr]     |
[INFO] [stderr] 308 |             record_offset = WAL_HEADER_SIZE; // start reading records right after the header if no checkpoint offset is set
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `footer`
[INFO] [stderr]    --> src/storage/sstable_codec.rs:159:14
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let (footer, index, bloom) = Self::deserialize_sections(reader).await?;
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_footer`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/writemanager/block.rs:191:35
[INFO] [stderr]     |
[INFO] [stderr] 191 |     pub fn decode<T: Read + Seek>(mut data: &mut T, offset: u64) -> Result<Self, DBError> {
[INFO] [stderr]     |                                   ----^^^^
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: field `base_dir` is never read
[INFO] [stderr]    --> src/storage/kv2.rs:469:5
[INFO] [stderr]     |
[INFO] [stderr] 468 | pub struct RaftKV2 {
[INFO] [stderr]     |            ------- field in this struct
[INFO] [stderr] 469 |     base_dir: PathBuf,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `build_recovered_memtable` is never used
[INFO] [stderr]    --> src/storage/kv2.rs:555:8
[INFO] [stderr]     |
[INFO] [stderr] 482 | impl RaftKV2 {
[INFO] [stderr]     | ------------ associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 555 |     fn build_recovered_memtable(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LogPosition` is never constructed
[INFO] [stderr]   --> src/storage/recovermanager/log_store.rs:70:12
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct LogPosition {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `LogStore` is never used
[INFO] [stderr]   --> src/storage/recovermanager/log_store.rs:75:11
[INFO] [stderr]    |
[INFO] [stderr] 75 | pub trait LogStore: Send + Sync {
[INFO] [stderr]    |           ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `FileWalStore` is never used
[INFO] [stderr]   --> src/storage/recovermanager/wal.rs:39:10
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub type FileWalStore = WALManager;
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `decode_sparse_index` is never used
[INFO] [stderr]    --> src/storage/sstable_codec.rs:251:4
[INFO] [stderr]     |
[INFO] [stderr] 251 | fn decode_sparse_index(index_block: &[u8]) -> Result<Vec<SparseIndexEntry>, DBError> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/api/api.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     async fn get(&self, key: &[u8]) -> Result<Option<Cow<'_, Vec<u8>>>, DBError>;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 12 -     async fn get(&self, key: &[u8]) -> Result<Option<Cow<'_, Vec<u8>>>, DBError>;
[INFO] [stderr] 12 +     fn get(&self, key: &[u8]) -> impl std::future::Future<Output = Result<Option<Cow<'_, Vec<u8>>>, DBError>> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/api/api.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     async fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> Result<(), DBError>;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 13 -     async fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> Result<(), DBError>;
[INFO] [stderr] 13 +     fn put(&mut self, key: Vec<u8>, value: Vec<u8>) -> impl std::future::Future<Output = Result<(), DBError>> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/api/api.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     async fn delete(&mut self, key: Vec<u8>) -> Result<(), DBError>;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 14 -     async fn delete(&mut self, key: Vec<u8>) -> Result<(), DBError>;
[INFO] [stderr] 14 +     fn delete(&mut self, key: Vec<u8>) -> impl std::future::Future<Output = Result<(), DBError>> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/api/api.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 |     async fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 37 -     async fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>;
[INFO] [stderr] 37 +     fn scan(&self, range: impl RangeBounds<Vec<u8>> + Send) -> impl std::future::Future<Output = Result<Vec<(Vec<u8>, Vec<u8>)>, DBError>> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/storage/compactionmanager/compaction.rs:110:13
[INFO] [stderr]     |
[INFO] [stderr] 110 | /             delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stderr] 111 | |                 .await
[INFO] [stderr] 112 | |                 .map_err(|e| {
[INFO] [stderr] 113 | |                     log::error!("Failed to delete file {}: {}", stale.path, e);
[INFO] [stderr] 114 | |                 });
[INFO] [stderr]     | |__________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 110 |             let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/storage/compactionmanager/compaction.rs:117:13
[INFO] [stderr]     |
[INFO] [stderr] 117 | /             delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stderr] 118 | |                 .await
[INFO] [stderr] 119 | |                 .map_err(|err| {
[INFO] [stderr] 120 | |                     log::error!("Failed to delete overlapping file {}: {}", stale.path, err)
[INFO] [stderr] 121 | |                 });
[INFO] [stderr]     | |__________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 117 |             let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/storage/compactionmanager/compaction.rs:171:9
[INFO] [stderr]     |
[INFO] [stderr] 171 | /         delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stderr] 172 | |             .await
[INFO] [stderr] 173 | |             .map_err(|e| {
[INFO] [stderr] 174 | |                 log::error!("Failed to delete file {}: {}", stale.path, e);
[INFO] [stderr] 175 | |             });
[INFO] [stderr]     | |______________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 171 |         let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level, stale.file_id)
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/storage/compactionmanager/compaction.rs:178:9
[INFO] [stderr]     |
[INFO] [stderr] 178 | /         delete_manifest_with_file(manifest.clone(), &stale.path, level + 1, stale.file_id)
[INFO] [stderr] 179 | |             .await
[INFO] [stderr] 180 | |             .map_err(|err| {
[INFO] [stderr] 181 | |                 log::error!("Failed to delete overlapping file {}: {}", stale.path, err)
[INFO] [stderr] 182 | |             });
[INFO] [stderr]     | |______________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 178 |         let _ = delete_manifest_with_file(manifest.clone(), &stale.path, level + 1, stale.file_id)
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused implementer of `Future` that must be used
[INFO] [stderr]    --> src/storage/kv2.rs:113:9
[INFO] [stderr]     |
[INFO] [stderr] 113 | /         Self::run_compaction_worker(
[INFO] [stderr] 114 | |             compaction_receiver,
[INFO] [stderr] 115 | |             manifest_for_worker,
[INFO] [stderr] 116 | |             sstable_dir_for_compaction,
[INFO] [stderr] 117 | |             config_for_compaction,
[INFO] [stderr] 118 | |             cancel.child_token(),
[INFO] [stderr] 119 | |         );
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]  --> src/storage/raft/mod_tests.rs:3:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     use super::*;
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep()
[INFO] [stderr]   --> src/testing/mod.rs:18:25
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let path = temp_dir.into_path();
[INFO] [stderr]    |                         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/kv2.rs:730:13
[INFO] [stderr]     |
[INFO] [stderr] 730 |         let mut kv = RaftKV2::open(dir.path(), StorageConfig::default(), cfg)
[INFO] [stderr]     |             ----^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `h0`
[INFO] [stderr]    --> src/storage/manifest_codec.rs:727:13
[INFO] [stderr]     |
[INFO] [stderr] 727 |         let h0 = cache.get_or_open(&path0).await.unwrap();
[INFO] [stderr]     |             ^^ help: if this is intentional, prefix it with an underscore: `_h0`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:607:13
[INFO] [stderr]     |
[INFO] [stderr] 607 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:641:13
[INFO] [stderr]     |
[INFO] [stderr] 641 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:696:13
[INFO] [stderr]     |
[INFO] [stderr] 696 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:728:13
[INFO] [stderr]     |
[INFO] [stderr] 728 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:763:13
[INFO] [stderr]     |
[INFO] [stderr] 763 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:793:13
[INFO] [stderr]     |
[INFO] [stderr] 793 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:824:13
[INFO] [stderr]     |
[INFO] [stderr] 824 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:858:13
[INFO] [stderr]     |
[INFO] [stderr] 858 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:877:17
[INFO] [stderr]     |
[INFO] [stderr] 877 |             let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |                 ----^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:896:13
[INFO] [stderr]     |
[INFO] [stderr] 896 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:930:17
[INFO] [stderr]     |
[INFO] [stderr] 930 |             let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |                 ----^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:947:13
[INFO] [stderr]     |
[INFO] [stderr] 947 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:970:17
[INFO] [stderr]     |
[INFO] [stderr] 970 |             let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |                 ----^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/storage/recovermanager/wal.rs:997:13
[INFO] [stderr]     |
[INFO] [stderr] 997 |         let mut wal_manager = super::WALManager::new(wal_dir.clone(), 1024 * 1024)
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `footer`
[INFO] [stderr]    --> src/storage/sstable_codec.rs:374:13
[INFO] [stderr]     |
[INFO] [stderr] 374 |         let footer = SSTableFooter {
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_footer`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bloom_block`
[INFO] [stderr]    --> src/storage/sstable_codec.rs:428:13
[INFO] [stderr]     |
[INFO] [stderr] 428 |         let bloom_block = bloom.encode();
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bloom_block`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `decoded`
[INFO] [stderr]    --> src/storage/sstable_codec.rs:443:13
[INFO] [stderr]     |
[INFO] [stderr] 443 |         let decoded = SSTableCodec::deserialize(&mut cursor).await.unwrap();
[INFO] [stderr]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded`
[INFO] [stderr] 
[INFO] [stderr] warning: unused implementer of `std::future::Future` that must be used
[INFO] [stderr]    --> src/storage/kv2.rs:113:9
[INFO] [stderr]     |
[INFO] [stderr] 113 | /         Self::run_compaction_worker(
[INFO] [stderr] 114 | |             compaction_receiver,
[INFO] [stderr] 115 | |             manifest_for_worker,
[INFO] [stderr] 116 | |             sstable_dir_for_compaction,
[INFO] [stderr] 117 | |             config_for_compaction,
[INFO] [stderr] 118 | |             cancel.child_token(),
[INFO] [stderr] 119 | |         );
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stderr] 
[INFO] [stderr] warning: variable `Block` should have a snake case name
[INFO] [stderr]    --> src/storage/sstable_codec.rs:557:13
[INFO] [stderr]     |
[INFO] [stderr] 557 |         let Block = SSTableCodec::get_block(&mut cursor, &footer, &index, "flush-key-3".as_bytes())
[INFO] [stderr]     |             ^^^^^ help: convert the identifier to snake case: `block`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `ceredb` (lib) generated 41 warnings (run `cargo fix --lib -p ceredb` to apply 22 suggestions)
[INFO] [stderr] warning: `ceredb` (lib test) generated 60 warnings (37 duplicates) (run `cargo fix --lib -p ceredb --tests` to apply 20 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ceredb-2f635b1aacd7e265)
[INFO] [stdout] 
[INFO] [stdout] running 156 tests
[INFO] [stdout] test command::tests::parse_delete_command ... ok
[INFO] [stdout] test command::tests::parse_del_shorthand_command ... ok
[INFO] [stdout] test command::tests::parse_lowercase_commands ... ok
[INFO] [stdout] test command::tests::execute_set_get_delete_flow_async ... ok
[INFO] [stdout] test command::tests::parse_set_command ... ok
[INFO] [stdout] test command::tests::execute_set_get_delete_flow ... ok
[INFO] [stdout] test command::tests::parse_set_with_escaped_quote_in_value ... ok
[INFO] [stdout] test command::tests::parse_set_with_quoted_value ... ok
[INFO] [stdout] test command::tests::parse_invalid_arity ... ok
[INFO] [stdout] test command::tests::parse_get_command ... ok
[INFO] [stdout] test command::tests::parse_set_with_empty_quoted_value ... ok
[INFO] [stdout] test config::tests::test_log_level_parsing ... ok
[INFO] [stdout] test config::tests::test_to_storage_config_custom ... ok
[INFO] [stdout] test config::tests::test_raft_config_parses_peers ... ok
[INFO] [stdout] test config::tests::test_to_storage_config_defaults ... ok
[INFO] [stdout] test config::tests::test_to_storage_config_invalid_bloom_fp ... ok
[INFO] [stdout] test storage::block::tests::test_block_builder ... ok
[INFO] [stdout] test storage::block::tests::test_block_decode_detects_checksum_corruption ... ok
[INFO] [stdout] test storage::block::tests::test_block_decode_cursor_position_advances ... ok
[INFO] [stdout] test storage::block::tests::test_block_decode_invalid_record_count ... ok
[INFO] [stdout] test config::tests::test_verbose_flag ... ok
[INFO] [stdout] test storage::block::tests::test_block_builder_appends_checksum ... ok
[INFO] [stdout] test storage::block::tests::test_block_decode_multiple_records ... ok
[INFO] [stdout] test config::tests::test_raft_config_returns_none_when_not_raft_mode ... ok
[INFO] [stdout] test command::tests::parse_set_with_single_quoted_value ... ok
[INFO] [stdout] test storage::block::tests::test_block_decode_detects_corruption ... ok
[INFO] [stdout] test storage::block::tests::test_block_decode_preserves_record_types ... ok
[INFO] [stdout] test storage::block::tests::test_block_decode_with_varying_key_sizes ... ok
[INFO] [stdout] test storage::block::tests::test_block_encode_decode_roundtrip_with_checksum ... ok
[INFO] [stdout] test storage::block::tests::test_block_decode_single_record ... ok
[INFO] [stdout] test storage::bloom::tests::test_bloom_filter_basic ... ok
[INFO] [stdout] test storage::bloom::tests::test_bloom_filter_clear ... ok
[INFO] [stdout] test storage::checksum::tests::test_calculate_crc32_binary_data ... ok
[INFO] [stdout] test storage::checksum::tests::test_calculate_crc32_empty_data ... ok
[INFO] [stdout] test storage::checksum::tests::test_calculate_crc32_simple_data ... ok
[INFO] [stdout] test storage::checksum::tests::test_calculate_crc32_different_data ... ok
[INFO] [stdout] test storage::checksum::tests::test_verify_crc32_data_modification ... ok
[INFO] [stdout] test storage::checksum::tests::test_verify_crc32_empty_data ... ok
[INFO] [stdout] test storage::bloom::tests::test_bloom_filter_encode_decode ... ok
[INFO] [stdout] test storage::checksum::tests::test_checksum_deterministic ... ok
[INFO] [stdout] test storage::block::tests::test_block_decode_verifies_checksum ... ok
[INFO] [stdout] test storage::checksum::tests::test_verify_crc32_valid ... ok
[INFO] [stdout] test storage::bloom::tests::test_bloom_filter_encode_async_decode ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_block_full_triggers_new_block ... ignored, Skipped: memory allocation error - needs investigation
[INFO] [stdout] test storage::checksum::tests::test_verify_crc32_invalid ... ok
[INFO] [stdout] test storage::bloom::tests::test_bloom_filter_no_false_negatives ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::compute_level_range_uses_manifest_range_when_present ... ok
[INFO] [stdout] test storage::bloom::tests::test_bloom_filter_false_positive_rate ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::compaction_merge_reverse_order ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::compaction_with_delete_tombstones ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_duplicate_keys_newest_delete_dropped ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_duplicate_keys_non_contiguous_input_order ... ok
[INFO] [stdout] test storage::config::tests::builder_partial_override ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::ranges_do_not_overlap_when_disjoint ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_block_size_too_large ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_block_size_too_small ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_bloom_fpr_one ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_bloom_fpr_too_large ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_bloom_fpr_zero ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_file_handles_too_large ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_file_handles_too_small ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_level0_files_too_large ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::ranges_overlap_when_boundaries_touch ... ok
[INFO] [stdout] test storage::config::tests::builder_creates_valid_config ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_memtable_size_too_large ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_memtable_size_too_small ... ok
[INFO] [stdout] test storage::config::tests::default_config_is_valid ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_duplicate_keys_older_delete_newer_put_survives ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_empty_blocks ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_wal_segment_size_too_large ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_wal_segment_size_too_small ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_duplicate_keys_timestamps ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_multiple_sstables_non_overlapping ... ok
[INFO] [stdout] test storage::kv2::raft_tests::put_on_non_leader_returns_error ... ok
[INFO] [stdout] test storage::kv2::tests::kvengine_put_get_delete_roundtrip ... ok
[INFO] [stdout] test storage::kv2::tests::open_with_custom_config ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_single_record_sstables ... ok
[INFO] [stdout] test storage::kv2::tests::scan_filters_tombstones ... ok
[INFO] [stdout] test storage::kv2::tests::scan_returns_all_keys_in_range ... ok
[INFO] [stdout] test storage::manifest_codec::tests::decode_add_payload_supports_legacy_without_range_fields ... ok
[INFO] [stdout] test storage::manifest_codec::tests::decode_rejects_checksum_mismatch ... ok
[INFO] [stdout] test storage::manifest_codec::tests::encode_and_decode_entry_roundtrip ... ok
[INFO] [stdout] test command::tests::parse_unterminated_quote ... ok
[INFO] [stdout] test storage::block::tests::test_block_checksum_covers_entire_block ... ok
[INFO] [stdout] test storage::block::tests::test_block_decode_corrupted_record_data ... ok
[INFO] [stdout] test storage::manifest_codec::tests::lru_cache_evicts_oldest_when_full ... ok
[INFO] [stdout] test storage::config::tests::builder_rejects_invalid_level0_files_zero ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_single_sstable_single_block ... ok
[INFO] [stdout] test storage::manifest_codec::tests::lru_cache_opens_and_caches_file ... ok
[INFO] [stdout] test storage::manifest_codec::tests::lru_cache_touch_updates_order ... ok
[INFO] [stdout] test storage::kv2::tests::open_recovers_written_value_from_wal_after_restart ... ok
[INFO] [stdout] test storage::manifest_codec::tests::manager_replays_entries ... ok
[INFO] [stdout] test storage::manifest_codec::tests::lru_cache_remove_evicts_specific_file ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_duplicate_key_appears_once_after_compaction ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_duplicate_keys_equal_lsn_delete_wins ... ok
[INFO] [stdout] test storage::compactionmanager::compaction::tests::merge_bloom_filter_contains_all_keys ... ok
[INFO] [stdout] test storage::manifest_codec::tests::manifest_manager_evicts_file_from_cache_on_remove ... ok
[INFO] [stdout] test storage::readmanager::read::tests::get_returns_latest_visible_version_for_snapshot_sequence_number ... ok
[INFO] [stdout] test storage::record::tests::test_record_checksum_validation ... ok
[INFO] [stdout] test storage::record::tests::test_record_decode_calculates_offset ... ok
[INFO] [stdout] test storage::record::tests::test_record_equality_same_timestamp ... ok
[INFO] [stdout] test storage::record::tests::test_record_equality_different_timestamp ... ok
[INFO] [stdout] test storage::record::tests::test_record_ordering_by_key ... ok
[INFO] [stdout] test storage::record::tests::test_record_ordering_by_timestamp ... ok
[INFO] [stdout] test storage::record::tests::test_record_timestamp_encoding ... ok
[INFO] [stdout] test storage::record::tests::test_record_timestamp_extreme_values ... ok
[INFO] [stdout] test storage::record::tests::test_record_tombstone ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::initialize_new_file_segment ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::recover_checksum_verification ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::recover_empty_wal ... ok
[INFO] [stdout] test storage::readmanager::read::tests::get_reads_from_sstable_when_memtable_misses ... ok
[INFO] [stdout] test storage::kv2::raft_tests::delete_on_non_leader_returns_error ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::recover_with_delete_records ... ok
[INFO] [stdout] test storage::kv2::tests::scan_returns_newest_version_of_overwritten_keys ... ok
[INFO] [stdout] test storage::kv2::raft_tests::open_creates_directories ... ok
[INFO] [stdout] test storage::raft::tests::tests::reject_proposals_to_follower ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::write_log_delete_record ... ok
[INFO] [stdout] test storage::readmanager::read::tests::l0_overlap_returns_highest_lsn ... ok
[INFO] [stdout] test storage::kv2::tests::open_initializes_storage_directories ... ok
[INFO] [stdout] test storage::sstable_codec::tests::deserialize_reads_footer_and_bloom ... ok
[INFO] [stdout] test storage::sstable_codec::tests::range_from_index_returns_first_and_last_boundaries ... ok
[INFO] [stdout] test storage::sstable_codec::tests::range_from_index_returns_none_for_empty_index ... ok
[INFO] [stdout] test storage::sstable_codec::tests::deserialize_returns_section_metadata_without_loading_blocks ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_builder_add_multiple_records ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_builder_add_record ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_builder_block_full ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_builder_build ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_builder_build_empty ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_builder_first_last_key_tracking ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_builder_initial_state ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_builder_size_calculation ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_builder_with_delete_records ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_builder_with_non_zero_offset ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_encode_header ... ok
[INFO] [stdout] test storage::writemanager::block::tests::test_block_with_various_key_lengths ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::write_log_creates_new_segment ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::recover_with_put_records ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::write_log_single_record ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::write_log_empty_value ... ok
[INFO] [stdout] test storage::writemanager::write::tests::apply_replicated_command_applies_without_wal_write_and_tracks_sequence ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::write_log_large_key_and_value ... ok
[INFO] [stdout] test storage::writemanager::write::tests::put_appends_put_record_to_memtable_and_updates_size ... ok
[INFO] [stdout] test storage::writemanager::write::tests::delete_appends_tombstone_record_to_memtable_and_updates_size ... ok
[INFO] [stdout] test storage::writemanager::write::tests::flush_persists_bloom_filter_metadata_for_memtable_keys ... ok
[INFO] [stdout] test storage::recovermanager::wal::test::write_log_multiple_records ... ok
[INFO] [stdout] test storage::writemanager::write::tests::flush_twice_registers_two_sstables_with_incrementing_ids ... ok
[INFO] [stdout] test storage::writemanager::write::tests::flush_persists_memtable_and_updates_manifest ... ok
[INFO] [stdout] test storage::writemanager::write::tests::flush_rotates_wal_on_each_successful_flush ... ok
[INFO] [stdout] test storage::sstable_codec::tests::deserialize_reads_sstable_written_by_flush_serialize_path ... ok
[INFO] [stdout] test storage::raft::tests::tests::single_node_propose_and_commit ... ok
[INFO] [stdout] test storage::raft::tests::tests::start_and_shutdown_single_node ... ok
[INFO] [stdout] test storage::kv2::raft_tests::get_returns_none_for_missing_key ... ok
[INFO] [stdout] test storage::kv2::raft_tests::scan_returns_empty_for_empty_store ... ok
[INFO] [stdout] test storage::raft::tests::tests::leader_failover has been running for over 60 seconds
[INFO] [stdout] test storage::raft::tests::tests::three_node_elects_leader has been running for over 60 seconds
[INFO] [stdout] test storage::raft::tests::tests::three_node_propose_from_leader has been running for over 60 seconds
[INFO] [stdout] test storage::raft::tests::tests::three_node_elects_leader ... ok
[INFO] [stdout] test storage::raft::tests::tests::leader_failover ... ok
[INFO] [stdout] test storage::raft::tests::tests::three_node_propose_from_leader ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 155 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 95.93s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ceredb-cf10a59eac11de6f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration/mod.rs (/opt/rustwide/target/debug/deps/integration-3709fa12c1c3068d)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test scan::scan_overwritten_key_returns_latest ... ok
[INFO] [stdout] test scan::scan_filters_tombstones ... ok
[INFO] [stdout] test scan::scan_returns_all_keys_sorted ... ok
[INFO] [stdout] test scan::scan_sub_range ... ok
[INFO] [stdout] test compaction_disk::compaction_disk_usage_stable_across_repeated_cycles ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ceredb
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/api/api.rs - api::api::AsyncKVEngine::scan (line 24) ... ignored
[INFO] [stdout] test src/storage/config.rs - storage::config::StorageConfig (line 15) ... ignored
[INFO] [stdout] test src/storage/checksum.rs - storage::checksum::verify_crc32 (line 46) ... ok
[INFO] [stdout] test src/storage/checksum.rs - storage::checksum::calculate_crc32 (line 21) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.96s; merged doctests compilation took 0.94s
[INFO] running `Command { std: "docker" "inspect" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf", kill_on_drop: false }`
[INFO] [stdout] 15990e298b77b1ac4de5acf20300ecb10f3c10fd32e4644d72562c4fa1577caf
