[INFO] cloning repository https://github.com/sahilshahane/Valkey-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sahilshahane/Valkey-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilshahane%2FValkey-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilshahane%2FValkey-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2ee2001ce29d108e78e29ea7bfeb4205bf5dc2c
[INFO] checking sahilshahane/Valkey-rust against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilshahane%2FValkey-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/sahilshahane/Valkey-rust
[INFO] finished tweaking git repo https://github.com/sahilshahane/Valkey-rust
[INFO] tweaked toml for git repo https://github.com/sahilshahane/Valkey-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sahilshahane/Valkey-rust on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sahilshahane/Valkey-rust 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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fcdc412a41c40a421723f5fe713c203ec51e3bbd4e71e8a75c6f743fcd0c3687
[INFO] running `Command { std: "docker" "start" "-a" "fcdc412a41c40a421723f5fe713c203ec51e3bbd4e71e8a75c6f743fcd0c3687", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fcdc412a41c40a421723f5fe713c203ec51e3bbd4e71e8a75c6f743fcd0c3687", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcdc412a41c40a421723f5fe713c203ec51e3bbd4e71e8a75c6f743fcd0c3687", kill_on_drop: false }`
[INFO] [stdout] fcdc412a41c40a421723f5fe713c203ec51e3bbd4e71e8a75c6f743fcd0c3687
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 264c05f5c0e1bde491dbcea8d238fd6d60d3810339420827d1797f9fcf3c878a
[INFO] running `Command { std: "docker" "start" "-a" "264c05f5c0e1bde491dbcea8d238fd6d60d3810339420827d1797f9fcf3c878a", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling cc v1.2.44
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling rust_decimal v1.39.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling tikv-jemalloc-sys v0.5.4+5.3.0-patched
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking home v0.5.12
[INFO] [stderr]     Checking simdutf8 v0.1.5
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking sonic-simd v0.1.2
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking sonic-number v0.1.0
[INFO] [stderr]     Checking bumpalo v3.19.0
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking hdrhistogram v7.5.4
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking faststr v0.2.32
[INFO] [stderr]     Checking sonic-rs v0.5.6
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking dashmap v7.0.0-rc2
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling prost-derive v0.14.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking prost v0.14.1
[INFO] [stderr]     Checking prost-types v0.14.1
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[INFO] [stderr]     Checking axum v0.8.6
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking tonic v0.14.2
[INFO] [stderr]     Checking tonic-prost v0.14.2
[INFO] [stderr]     Checking console-api v0.9.0
[INFO] [stderr]     Checking console-subscriber v0.5.0
[INFO] [stderr]     Checking tikv-jemallocator v0.5.4
[INFO] [stderr]     Checking KVStore v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `tokio::sync::mpsc`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task::futures`
[INFO] [stdout]  --> src/db_connection.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::task::futures;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `interval`, `sleep`, and `timeout`
[INFO] [stdout]  --> src/wal_manager.rs:3:133
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ync::{Mutex, RwLock, RwLockWriteGuard, mpsc}, time::{interval, sleep, timeout}};
[INFO] [stdout]   |                                                         ^^^^^^^^  ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]  --> src/config.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs};
[INFO] [stdout]   |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::mpsc`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task::futures`
[INFO] [stdout]  --> src/db_connection.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::task::futures;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `interval`, `sleep`, and `timeout`
[INFO] [stdout]  --> src/wal_manager.rs:3:133
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ync::{Mutex, RwLock, RwLockWriteGuard, mpsc}, time::{interval, sleep, timeout}};
[INFO] [stdout]   |                                                         ^^^^^^^^  ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]  --> src/config.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs};
[INFO] [stdout]   |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pool` and `config` are never read
[INFO] [stdout]   --> src/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct AppState{
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 38 |     pool: Arc<DBPool>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     config: Config
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sqlite_db_url` is never used
[INFO] [stdout]   --> src/db_connection.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn get_sqlite_db_url() -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sqlite_connection` is never used
[INFO] [stdout]   --> src/db_connection.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn get_sqlite_connection() -> sqlx::SqlitePool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KVValue` is never constructed
[INFO] [stdout]  --> src/models.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct KVValue {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PoolError` is never constructed
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum KVStoreError {
[INFO] [stdout]   |          ------------ variant in this enum
[INFO] [stdout] 3 |     PoolError
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `KVStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `start_background_sync` is never used
[INFO] [stdout]    --> src/wal_manager.rs:728:12
[INFO] [stdout]     |
[INFO] [stdout] 218 | impl WAL {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 728 |     pub fn start_background_sync(self: Arc<Self>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_KEY_LENTH` is never used
[INFO] [stdout]  --> src/constants.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const MAX_KEY_LENTH: i32 = 1000;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_VALUE_LENTH` is never used
[INFO] [stdout]  --> src/constants.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const MAX_VALUE_LENTH: i32 = 1000;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wal_manager.rs:264:34
[INFO] [stdout]     |
[INFO] [stdout] 264 |     pub async fn get_writer_file(&self) -> Result<RwLockWriteGuard<WALFile>, KVStoreError> {
[INFO] [stdout]     |                                  ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 264 |     pub async fn get_writer_file(&self) -> Result<RwLockWriteGuard<'_, WALFile>, KVStoreError> {
[INFO] [stdout]     |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pool` and `config` are never read
[INFO] [stdout]   --> src/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct AppState{
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 38 |     pool: Arc<DBPool>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     config: Config
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sqlite_db_url` is never used
[INFO] [stdout]   --> src/db_connection.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn get_sqlite_db_url() -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sqlite_connection` is never used
[INFO] [stdout]   --> src/db_connection.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn get_sqlite_connection() -> sqlx::SqlitePool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KVValue` is never constructed
[INFO] [stdout]  --> src/models.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct KVValue {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PoolError` is never constructed
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum KVStoreError {
[INFO] [stdout]   |          ------------ variant in this enum
[INFO] [stdout] 3 |     PoolError
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `KVStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `start_background_sync` is never used
[INFO] [stdout]    --> src/wal_manager.rs:728:12
[INFO] [stdout]     |
[INFO] [stdout] 218 | impl WAL {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 728 |     pub fn start_background_sync(self: Arc<Self>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_KEY_LENTH` is never used
[INFO] [stdout]  --> src/constants.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const MAX_KEY_LENTH: i32 = 1000;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_VALUE_LENTH` is never used
[INFO] [stdout]  --> src/constants.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const MAX_VALUE_LENTH: i32 = 1000;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wal_manager.rs:264:34
[INFO] [stdout]     |
[INFO] [stdout] 264 |     pub async fn get_writer_file(&self) -> Result<RwLockWriteGuard<WALFile>, KVStoreError> {
[INFO] [stdout]     |                                  ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 264 |     pub async fn get_writer_file(&self) -> Result<RwLockWriteGuard<'_, WALFile>, KVStoreError> {
[INFO] [stdout]     |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 22s
[INFO] running `Command { std: "docker" "inspect" "264c05f5c0e1bde491dbcea8d238fd6d60d3810339420827d1797f9fcf3c878a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "264c05f5c0e1bde491dbcea8d238fd6d60d3810339420827d1797f9fcf3c878a", kill_on_drop: false }`
[INFO] [stdout] 264c05f5c0e1bde491dbcea8d238fd6d60d3810339420827d1797f9fcf3c878a
