[INFO] cloning repository https://github.com/carterburn/codecrafters-redis-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carterburn/codecrafters-redis-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarterburn%2Fcodecrafters-redis-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarterburn%2Fcodecrafters-redis-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8010fc22fa102270ef9765349fa95ac53d531ef [INFO] checking carterburn/codecrafters-redis-rust against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarterburn%2Fcodecrafters-redis-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/carterburn/codecrafters-redis-rust [INFO] finished tweaking git repo https://github.com/carterburn/codecrafters-redis-rust [INFO] tweaked toml for git repo https://github.com/carterburn/codecrafters-redis-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/carterburn/codecrafters-redis-rust on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/carterburn/codecrafters-redis-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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console-api v0.9.0 [INFO] [stderr] Downloaded prost-types v0.14.3 [INFO] [stderr] Downloaded console-subscriber v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c9b2528ea809d559c3731acc644036c68ad3f7c51cc5bda0f1e8012fba6ab4c [INFO] running `Command { std: "docker" "start" "-a" "7c9b2528ea809d559c3731acc644036c68ad3f7c51cc5bda0f1e8012fba6ab4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c9b2528ea809d559c3731acc644036c68ad3f7c51cc5bda0f1e8012fba6ab4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9b2528ea809d559c3731acc644036c68ad3f7c51cc5bda0f1e8012fba6ab4c", kill_on_drop: false }` [INFO] [stdout] 7c9b2528ea809d559c3731acc644036c68ad3f7c51cc5bda0f1e8012fba6ab4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdc43e53ca5f6e347994fcc7488698e37f3f0c201022c1f49df2c18746c1c31f [INFO] running `Command { std: "docker" "start" "-a" "fdc43e53ca5f6e347994fcc7488698e37f3f0c201022c1f49df2c18746c1c31f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling prost-derive v0.14.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking prost v0.14.3 [INFO] [stderr] Checking prost-types v0.14.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-timeout v0.5.2 [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 codecrafters-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/command.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [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: `EntryId`, `RedisDataType`, `StoredValue`, and `database::Database` [INFO] [stdout] --> src/command.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | database::Database, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | types::{EntryId, RedisDataType, StoredValue}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `net::SocketAddr` and `sync::Arc` [INFO] [stdout] --> src/connection.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/connection.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | mpsc::{self, Sender}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExpiryEvent`, `RedisDataType`, `StoredValue`, and `database::Database` [INFO] [stdout] --> src/connection.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | database::Database, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | types::{ExpiryEvent, RedisDataType, StoredValue}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Reverse`, `collections::BinaryHeap`, `sync::Arc`, and `time::Instant` [INFO] [stdout] --> src/server.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Reverse, collections::BinaryHeap, sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `oneshot`, and `time::sleep_until` [INFO] [stdout] --> src/server.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | mpsc::{self, Receiver, Sender}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | oneshot, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | time::sleep_until, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExpiryEvent`, `INITIAL_CAPACITY`, `RedisCommand`, `RedisDataType`, `RedisKey`, and `StoredValue` [INFO] [stdout] --> src/server.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | command::{ExecutorCommand, RedisCommand}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | database::{Database, INITIAL_CAPACITY}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | types::{ExpiryEvent, RedisDataType, RedisKey, StoredValue}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/server/database.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::resp::{self, RespValue}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/server/database.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/server/database.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/command.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [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: `EntryId`, `RedisDataType`, `StoredValue`, and `database::Database` [INFO] [stdout] --> src/command.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | database::Database, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | types::{EntryId, RedisDataType, StoredValue}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `net::SocketAddr` and `sync::Arc` [INFO] [stdout] --> src/connection.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/connection.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | mpsc::{self, Sender}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExpiryEvent`, `RedisDataType`, `StoredValue`, and `database::Database` [INFO] [stdout] --> src/connection.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | database::Database, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | types::{ExpiryEvent, RedisDataType, StoredValue}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Reverse`, `collections::BinaryHeap`, `sync::Arc`, and `time::Instant` [INFO] [stdout] --> src/server.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Reverse, collections::BinaryHeap, sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `oneshot`, and `time::sleep_until` [INFO] [stdout] --> src/server.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | mpsc::{self, Receiver, Sender}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | oneshot, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | time::sleep_until, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExpiryEvent`, `INITIAL_CAPACITY`, `RedisCommand`, `RedisDataType`, `RedisKey`, and `StoredValue` [INFO] [stdout] --> src/server.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | command::{ExecutorCommand, RedisCommand}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | database::{Database, INITIAL_CAPACITY}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | types::{ExpiryEvent, RedisDataType, RedisKey, StoredValue}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/server/database.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::resp::{self, RespValue}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/server/database.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/server/database.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resp/parse.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | IOError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RespParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - IOError(std::io::Error), [INFO] [stdout] 9 + IOError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resp/parse.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | ParseUtf8Error(Utf8Error), [INFO] [stdout] | -------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RespParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - ParseUtf8Error(Utf8Error), [INFO] [stdout] 10 + ParseUtf8Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resp/parse.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | ParseIntegerError(ParseIntError), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RespParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - ParseIntegerError(ParseIntError), [INFO] [stdout] 11 + ParseIntegerError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resp/parse.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidBulkStringLength(i64), [INFO] [stdout] | ----------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RespParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - InvalidBulkStringLength(i64), [INFO] [stdout] 13 + InvalidBulkStringLength(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resp/parse.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidArrayLength(i64), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RespParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - InvalidArrayLength(i64), [INFO] [stdout] 15 + InvalidArrayLength(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key_expiration` and `remove_key` are never used [INFO] [stdout] --> src/server/database.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn get_key_expiration(&self, key: &RedisKey) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn remove_key(&mut self, key: &RedisKey) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value`, `get_expiration`, `as_string`, and `as_int` are never used [INFO] [stdout] --> src/server/types.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl StoredValue { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn get_value(&self) -> &RedisDataType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub(crate) fn get_expiration(&self) -> Option<&Instant> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn as_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub(crate) fn as_int(&self) -> Option<&i64> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExpiryEvent` is never used [INFO] [stdout] --> src/server/types.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | pub(crate) type ExpiryEvent = (Instant, RedisKey); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resp/parse.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | IOError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RespParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - IOError(std::io::Error), [INFO] [stdout] 9 + IOError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resp/parse.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | ParseUtf8Error(Utf8Error), [INFO] [stdout] | -------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RespParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - ParseUtf8Error(Utf8Error), [INFO] [stdout] 10 + ParseUtf8Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resp/parse.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | ParseIntegerError(ParseIntError), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RespParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - ParseIntegerError(ParseIntError), [INFO] [stdout] 11 + ParseIntegerError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resp/parse.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidBulkStringLength(i64), [INFO] [stdout] | ----------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RespParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - InvalidBulkStringLength(i64), [INFO] [stdout] 13 + InvalidBulkStringLength(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resp/parse.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidArrayLength(i64), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RespParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - InvalidArrayLength(i64), [INFO] [stdout] 15 + InvalidArrayLength(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key_expiration` and `remove_key` are never used [INFO] [stdout] --> src/server/database.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn get_key_expiration(&self, key: &RedisKey) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn remove_key(&mut self, key: &RedisKey) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value`, `get_expiration`, `as_string`, and `as_int` are never used [INFO] [stdout] --> src/server/types.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl StoredValue { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn get_value(&self) -> &RedisDataType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub(crate) fn get_expiration(&self) -> Option<&Instant> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn as_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub(crate) fn as_int(&self) -> Option<&i64> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExpiryEvent` is never used [INFO] [stdout] --> src/server/types.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | pub(crate) type ExpiryEvent = (Instant, RedisKey); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.64s [INFO] running `Command { std: "docker" "inspect" "fdc43e53ca5f6e347994fcc7488698e37f3f0c201022c1f49df2c18746c1c31f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc43e53ca5f6e347994fcc7488698e37f3f0c201022c1f49df2c18746c1c31f", kill_on_drop: false }` [INFO] [stdout] fdc43e53ca5f6e347994fcc7488698e37f3f0c201022c1f49df2c18746c1c31f