[INFO] cloning repository https://github.com/rock117/simple-redis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rock117/simple-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fsimple-redis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fsimple-redis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d7b6820a67cee054780ad1ff0115c3e94912e8d0
[INFO] checking rock117/simple-redis against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fsimple-redis" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rock117/simple-redis
[INFO] finished tweaking git repo https://github.com/rock117/simple-redis
[INFO] tweaked toml for git repo https://github.com/rock117/simple-redis written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rock117/simple-redis on toolchain 32cd9114712a24010b0583624dc52ac302194128
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rock117/simple-redis 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nonempty-collections v0.2.5
[INFO] [stderr]   Downloaded anon_enum v1.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad30cc370761da23d0d2f1734ba8225d9fbcf9f1c71783a277d2d7310e7dda3c
[INFO] running `Command { std: "docker" "start" "-a" "ad30cc370761da23d0d2f1734ba8225d9fbcf9f1c71783a277d2d7310e7dda3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad30cc370761da23d0d2f1734ba8225d9fbcf9f1c71783a277d2d7310e7dda3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad30cc370761da23d0d2f1734ba8225d9fbcf9f1c71783a277d2d7310e7dda3c", kill_on_drop: false }`
[INFO] [stdout] ad30cc370761da23d0d2f1734ba8225d9fbcf9f1c71783a277d2d7310e7dda3c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9c59efd00b3a2b7ce3ff3708ebb800d7ebf3cfd6e741b8fe51610f682038813
[INFO] running `Command { std: "docker" "start" "-a" "c9c59efd00b3a2b7ce3ff3708ebb800d7ebf3cfd6e741b8fe51610f682038813", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking num-bigint v0.4.5
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.13
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking either v1.12.0
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking nonempty-collections v0.2.5
[INFO] [stderr]     Checking anon_enum v1.1.0
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]    Compiling darling_core v0.20.9
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling darling_macro v0.20.9
[INFO] [stderr]    Compiling darling v0.20.9
[INFO] [stderr]    Compiling derive_builder_core v0.20.0
[INFO] [stderr]     Checking tracing-appender v0.2.3
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling derive_builder_macro v0.20.0
[INFO] [stderr]     Checking derive_builder v0.20.0
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking simple-redis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::storage::Storage`
[INFO] [stdout]  --> src/command/get.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::storage::Storage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/command/ping.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Enum2` and `Enum5`
[INFO] [stdout]   --> src/command/set.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use anon_enum::{Enum2, Enum5};
[INFO] [stdout]    |                 ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Either`
[INFO] [stdout]   --> src/command/set.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use itertools::Either;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/datatype/sets.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `put_clrf`
[INFO] [stdout]  --> src/resp/bulk_errors.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::resp::{put_bulk_data, put_clrf, Serializer};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> src/resp/bulk_errors.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::{BufMut, BytesMut};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> src/resp/bulk_strings.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bytes::{BufMut, BytesMut};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `put_clrf`
[INFO] [stdout]  --> src/resp/bulk_strings.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::resp::{put_bulk_data, put_clrf, Serializer};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bytes`
[INFO] [stdout]  --> src/resp/nulls.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SimpleStrings`
[INFO] [stdout]  --> src/resp/verbatim_strings.rs:2:41
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::resp::{put_clrf, Serializer, SimpleStrings};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::Storage`
[INFO] [stdout]  --> src/command/get.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::storage::Storage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/command/ping.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Enum2` and `Enum5`
[INFO] [stdout]   --> src/command/set.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use anon_enum::{Enum2, Enum5};
[INFO] [stdout]    |                 ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Either`
[INFO] [stdout]   --> src/command/set.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use itertools::Either;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/datatype/sets.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `put_clrf`
[INFO] [stdout]  --> src/resp/bulk_errors.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::resp::{put_bulk_data, put_clrf, Serializer};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> src/resp/bulk_errors.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::{BufMut, BytesMut};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> src/resp/bulk_strings.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bytes::{BufMut, BytesMut};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `put_clrf`
[INFO] [stdout]  --> src/resp/bulk_strings.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::resp::{put_bulk_data, put_clrf, Serializer};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bytes`
[INFO] [stdout]  --> src/resp/nulls.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SimpleStrings`
[INFO] [stdout]  --> src/resp/verbatim_strings.rs:2:41
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::resp::{put_clrf, Serializer, SimpleStrings};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/resp/mod.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::Storage`
[INFO] [stdout]  --> src/storage/file.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::storage::Storage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dashmap::DashMap`
[INFO] [stdout]  --> src/storage/mem.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dashmap::DashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::command`
[INFO] [stdout]  --> src/stream_handler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::context::AppContext`
[INFO] [stdout]  --> src/stream_handler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::context::AppContext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SimpleStrings`, `nulls`, and `simple_errors`
[INFO] [stdout]  --> src/stream_handler.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::resp::{nulls, simple_errors, SimpleStrings};
[INFO] [stdout]   |                   ^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/stream_handler.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::Interest`
[INFO] [stdout]  --> src/stream_handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io::Interest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LinesCodec`
[INFO] [stdout]   --> src/stream_handler.rs:11:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio_util::codec::{Framed, LinesCodec};
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/stream_handler.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{info, warn};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/resp/mod.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::Storage`
[INFO] [stdout]  --> src/storage/file.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::storage::Storage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dashmap::DashMap`
[INFO] [stdout]  --> src/storage/mem.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dashmap::DashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::command`
[INFO] [stdout]  --> src/stream_handler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::context::AppContext`
[INFO] [stdout]  --> src/stream_handler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::context::AppContext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SimpleStrings`, `nulls`, and `simple_errors`
[INFO] [stdout]  --> src/stream_handler.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::resp::{nulls, simple_errors, SimpleStrings};
[INFO] [stdout]   |                   ^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/stream_handler.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::Interest`
[INFO] [stdout]  --> src/stream_handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io::Interest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LinesCodec`
[INFO] [stdout]   --> src/stream_handler.rs:11:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio_util::codec::{Framed, LinesCodec};
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/stream_handler.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{info, warn};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `another`
[INFO] [stdout]   --> src/datatype/lists.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub async fn blmove(&mut self, another: &mut Lists) {}
[INFO] [stdout]    |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `another`
[INFO] [stdout]   --> src/datatype/lists.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub async fn blmove(&mut self, another: &mut Lists) {}
[INFO] [stdout]    |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stream_handler.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn handle_stream(mut stream: TcpStream) -> Result<(), RedisError> {
[INFO] [stdout]    |                            ----^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stream_handler.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn handle_stream(mut stream: TcpStream) -> Result<(), RedisError> {
[INFO] [stdout]    |                            ----^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NonEmptyIterator`
[INFO] [stdout]  --> src/command/del.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nonempty_collections::{NESet, NonEmptyIterator};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::Storage`
[INFO] [stdout]  --> src/datatype/sorted_sets.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::storage::Storage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]   --> src/resp/mod.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use serde::Serialize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::AsBytes`
[INFO] [stdout]  --> src/resp/simple_strings.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nom::AsBytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/command/get.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         context: &dyn Context<Storage = MemStorage>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `get`
[INFO] [stdout]   --> src/command/get.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let get = Get::try_from(bstr);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/command/ping.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn execute(&self, context: &dyn Context<Storage=MemStorage>) -> Result<Resp, RedisError> {
[INFO] [stdout]    |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/command/set.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let data = storage.get(&self.key).clone();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]  --> src/command/command_executor.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn execute(cmd: &impl Command, context: &impl Context) {
[INFO] [stdout]   |                    ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]  --> src/command/command_executor.rs:7:40
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn execute(cmd: &impl Command, context: &impl Context) {
[INFO] [stdout]   |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/error.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/error.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/resp/bulk_strings.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/resp/bulk_strings.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/storage/mem.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn put(&self, key: String, value: RedisCollection) {
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/storage/mem.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn put(&self, key: String, value: RedisCollection) {
[INFO] [stdout]    |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/storage/mem.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn get(&self, key: &str) -> Option<RedisCollection> {
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/storage/mem.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn remove(&self, key: &str) {
[INFO] [stdout]    |                      ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NonEmptyIterator`
[INFO] [stdout]  --> src/command/del.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nonempty_collections::{NESet, NonEmptyIterator};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::Storage`
[INFO] [stdout]  --> src/datatype/sorted_sets.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::storage::Storage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]   --> src/resp/mod.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use serde::Serialize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::AsBytes`
[INFO] [stdout]  --> src/resp/simple_strings.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nom::AsBytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/command/get.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         context: &dyn Context<Storage = MemStorage>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `get`
[INFO] [stdout]   --> src/command/get.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let get = Get::try_from(bstr);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/command/ping.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn execute(&self, context: &dyn Context<Storage=MemStorage>) -> Result<Resp, RedisError> {
[INFO] [stdout]    |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/command/set.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let data = storage.get(&self.key).clone();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]  --> src/command/command_executor.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn execute(cmd: &impl Command, context: &impl Context) {
[INFO] [stdout]   |                    ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]  --> src/command/command_executor.rs:7:40
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn execute(cmd: &impl Command, context: &impl Context) {
[INFO] [stdout]   |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/error.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/error.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Item` is more private than the item `SortedSets::zadd`
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn zadd(&mut self, item: Item) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `SortedSets::zadd` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Item` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Item {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SimpleErrors` is more private than the item `Resp::SimpleErrors::0`
[INFO] [stdout]   --> src/resp/mod.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     SimpleErrors(SimpleErrors),
[INFO] [stdout]    |                  ^^^^^^^^^^^^ field `Resp::SimpleErrors::0` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `SimpleErrors` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/resp/simple_errors.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub(crate) struct SimpleErrors(pub String);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/resp/bulk_strings.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/resp/bulk_strings.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `BulkErrors` is more private than the item `Resp::BulkErrors::0`
[INFO] [stdout]   --> src/resp/mod.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |     BulkErrors(BulkErrors),
[INFO] [stdout]    |                ^^^^^^^^^^ field `Resp::BulkErrors::0` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `BulkErrors` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/resp/bulk_errors.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub(crate) struct BulkErrors(Vec<u8>);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Arrays` is more private than the item `Resp::Arrays::0`
[INFO] [stdout]   --> src/resp/mod.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     Arrays(Arrays),
[INFO] [stdout]    |            ^^^^^^ field `Resp::Arrays::0` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Arrays` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/resp/arrays.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub(crate) struct Arrays(pub Vec<Resp>);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Nulls` is more private than the item `Resp::Nulls::0`
[INFO] [stdout]   --> src/resp/mod.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |     Nulls(Nulls),
[INFO] [stdout]    |           ^^^^^ field `Resp::Nulls::0` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Nulls` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/resp/nulls.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub(crate) struct Nulls;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]   --> src/command/mod.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Command: Send {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Append` is never constructed
[INFO] [stdout]  --> src/command/append.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct Append {
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Del` is never constructed
[INFO] [stdout]  --> src/command/del.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct Del {
[INFO] [stdout]   |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Exist` is never constructed
[INFO] [stdout]  --> src/command/exist.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct Exist<'a>(&'a str);
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Expire` is never constructed
[INFO] [stdout]  --> src/command/expire.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct Expire {
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Opts` is never used
[INFO] [stdout]  --> src/command/expire.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum Opts {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Get` is never constructed
[INFO] [stdout]   --> src/command/get.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Get {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/command/get.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn test() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hello` is never constructed
[INFO] [stdout]  --> src/command/hello.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) struct Hello(Option<Opts>);
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Opts` is never constructed
[INFO] [stdout]  --> src/command/hello.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Opts {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command/hello.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Opts {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/command/hello.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ping` is never constructed
[INFO] [stdout]  --> src/command/ping.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) struct Ping(Option<String>);
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NX` and `XX` are never constructed
[INFO] [stdout]   --> src/command/set.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | enum SetKeyOpt {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 29 |     NX,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 30 |     XX,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SetKeyOpt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EX`, `PX`, `EXAT`, `PXAT`, and `KEEPTTL` are never constructed
[INFO] [stdout]   --> src/command/set.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | enum ExpiredOpt {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 35 |     EX(usize),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 36 |     PX(usize),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 37 |     EXAT(usize),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 38 |     PXAT(usize),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 39 |     KEEPTTL,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExpiredOpt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandExecutor` is never constructed
[INFO] [stdout]  --> src/command/command_executor.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub(crate) struct CommandExecutor;
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `execute` is never used
[INFO] [stdout]  --> src/command/command_executor.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl CommandExecutor {
[INFO] [stdout]   | -------------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn execute(cmd: &impl Command, context: &impl Context) {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Context` is never used
[INFO] [stdout]  --> src/context.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Context {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppContext` is never constructed
[INFO] [stdout]  --> src/context.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct AppContext;
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RedisCollection` is never used
[INFO] [stdout]   --> src/datatype/mod.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum RedisCollection {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hashes` is never constructed
[INFO] [stdout]  --> src/datatype/hashes.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Hashes;
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Lists` is never constructed
[INFO] [stdout]  --> src/datatype/lists.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Lists(Vec<Vec<u8>>);
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `lpush`, `lpop`, `llen`, `blpop`, and `blmove` are never used
[INFO] [stdout]   --> src/datatype/lists.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout] 4  | impl Lists {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 5  |     pub fn lpush(&mut self, data: Vec<u8>) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8  |     pub fn lpop(&mut self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn llen(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub async fn blpop(&mut self) {}
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 16 |     pub async fn blmove(&mut self, another: &mut Lists) {}
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Incr` is never used
[INFO] [stdout]  --> src/datatype/op.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(super) trait Incr {
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Append` is never used
[INFO] [stdout]  --> src/datatype/op.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(super) trait Append {
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sets` is never constructed
[INFO] [stdout]  --> src/datatype/sets.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Sets(HashSet<String>);
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SortedSets` is never constructed
[INFO] [stdout]  --> src/datatype/sorted_sets.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct SortedSets(BTreeSet<Item>);
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Item` is never constructed
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Item {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Float` is never constructed
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Float(f64);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `zadd` is never used
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl SortedSets {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 19 |     pub fn zadd(&mut self, item: Item) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_f64`, `new_f32`, and `new_usize` are never used
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Float {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] 52 |     pub fn new_f64(f: f64) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn new_f32(f: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn new_usize(f: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Strings` is never constructed
[INFO] [stdout]  --> src/datatype/strings.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Strings(Data);
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Data` is never used
[INFO] [stdout]  --> src/datatype/strings.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum Data {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `incr`, `decr`, and `append` are never used
[INFO] [stdout]   --> src/datatype/strings.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Strings {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 13 |     pub fn incr(&mut self) -> Result<isize, RedisError> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn decr(&mut self) -> Result<isize, RedisError> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn append(&mut self, data: String) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DeSerializer` is never used
[INFO] [stdout]   --> src/resp/mod.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | trait DeSerializer where Self: Sized {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BigNumbers` is never constructed
[INFO] [stdout]  --> src/resp/big_numbers.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) struct BigNumbers(BigInt);
[INFO] [stdout]   |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Integers` is never constructed
[INFO] [stdout]  --> src/resp/integers.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct Integers(i64);
[INFO] [stdout]   |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Maps` is never constructed
[INFO] [stdout]  --> src/resp/maps.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) struct Maps(HashMap<Resp, Resp>);
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pushes` is never constructed
[INFO] [stdout]  --> src/resp/pushes.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct Pushes(Vec<Resp>);
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VerbatimStrings` is never constructed
[INFO] [stdout]  --> src/resp/verbatim_strings.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct VerbatimStrings {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_incomplete` is never used
[INFO] [stdout]  --> src/resp/frame/mod.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn is_incomplete<I, O>(result: IResult<I, O>) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Storage` is never used
[INFO] [stdout]  --> src/storage/mod.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait Storage {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileStorage` is never constructed
[INFO] [stdout]  --> src/storage/file.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) struct FileStorage;
[INFO] [stdout]   |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `strings`, `lists`, `sets`, `sorted_sets`, and `hashes` are never read
[INFO] [stdout]   --> src/storage/mem.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct MemStorage {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 8  |     strings: HashMap<String, LinkedList<Vec<u8>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 9  |     lists: HashMap<String, LinkedList<Vec<u8>>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     sets: HashMap<String, HashSet<Vec<u8>>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     sorted_sets: HashMap<String, BTreeSet<Vec<u8>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     hashes: HashMap<String, HashMap<String, Vec<u8>>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_fatal_error` is never used
[INFO] [stdout]   --> src/stream_handler.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn is_fatal_error(error: &RedisError) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/storage/mem.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn put(&self, key: String, value: RedisCollection) {
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/storage/mem.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn put(&self, key: String, value: RedisCollection) {
[INFO] [stdout]    |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/storage/mem.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn get(&self, key: &str) -> Option<RedisCollection> {
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/storage/mem.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn remove(&self, key: &str) {
[INFO] [stdout]    |                      ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Item` is more private than the item `SortedSets::zadd`
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn zadd(&mut self, item: Item) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `SortedSets::zadd` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Item` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Item {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SimpleErrors` is more private than the item `Resp::SimpleErrors::0`
[INFO] [stdout]   --> src/resp/mod.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     SimpleErrors(SimpleErrors),
[INFO] [stdout]    |                  ^^^^^^^^^^^^ field `Resp::SimpleErrors::0` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `SimpleErrors` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/resp/simple_errors.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub(crate) struct SimpleErrors(pub String);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `BulkErrors` is more private than the item `Resp::BulkErrors::0`
[INFO] [stdout]   --> src/resp/mod.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |     BulkErrors(BulkErrors),
[INFO] [stdout]    |                ^^^^^^^^^^ field `Resp::BulkErrors::0` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `BulkErrors` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/resp/bulk_errors.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub(crate) struct BulkErrors(Vec<u8>);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Arrays` is more private than the item `Resp::Arrays::0`
[INFO] [stdout]   --> src/resp/mod.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     Arrays(Arrays),
[INFO] [stdout]    |            ^^^^^^ field `Resp::Arrays::0` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Arrays` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/resp/arrays.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub(crate) struct Arrays(pub Vec<Resp>);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `nulls::Nulls` is more private than the item `Resp::Nulls::0`
[INFO] [stdout]   --> src/resp/mod.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |     Nulls(Nulls),
[INFO] [stdout]    |           ^^^^^ field `Resp::Nulls::0` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `nulls::Nulls` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/resp/nulls.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub(crate) struct Nulls;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]   --> src/command/mod.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Command: Send {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Append` is never constructed
[INFO] [stdout]  --> src/command/append.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct Append {
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Del` is never constructed
[INFO] [stdout]  --> src/command/del.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct Del {
[INFO] [stdout]   |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Exist` is never constructed
[INFO] [stdout]  --> src/command/exist.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct Exist<'a>(&'a str);
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Expire` is never constructed
[INFO] [stdout]  --> src/command/expire.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct Expire {
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Opts` is never used
[INFO] [stdout]  --> src/command/expire.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum Opts {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Get` is never constructed
[INFO] [stdout]   --> src/command/get.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Get {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/command/get.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn test() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hello` is never constructed
[INFO] [stdout]  --> src/command/hello.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) struct Hello(Option<Opts>);
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Opts` is never constructed
[INFO] [stdout]  --> src/command/hello.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Opts {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command/hello.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Opts {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/command/hello.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ping` is never constructed
[INFO] [stdout]  --> src/command/ping.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) struct Ping(Option<String>);
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `XX` is never constructed
[INFO] [stdout]   --> src/command/set.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | enum SetKeyOpt {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] 29 |     NX,
[INFO] [stdout] 30 |     XX,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SetKeyOpt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `PX`, `EXAT`, `PXAT`, and `KEEPTTL` are never constructed
[INFO] [stdout]   --> src/command/set.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | enum ExpiredOpt {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 35 |     EX(usize),
[INFO] [stdout] 36 |     PX(usize),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 37 |     EXAT(usize),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 38 |     PXAT(usize),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 39 |     KEEPTTL,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExpiredOpt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandExecutor` is never constructed
[INFO] [stdout]  --> src/command/command_executor.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub(crate) struct CommandExecutor;
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `execute` is never used
[INFO] [stdout]  --> src/command/command_executor.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl CommandExecutor {
[INFO] [stdout]   | -------------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn execute(cmd: &impl Command, context: &impl Context) {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Context` is never used
[INFO] [stdout]  --> src/context.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Context {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppContext` is never constructed
[INFO] [stdout]  --> src/context.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct AppContext;
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RedisCollection` is never used
[INFO] [stdout]   --> src/datatype/mod.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum RedisCollection {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hashes` is never constructed
[INFO] [stdout]  --> src/datatype/hashes.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Hashes;
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Lists` is never constructed
[INFO] [stdout]  --> src/datatype/lists.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Lists(Vec<Vec<u8>>);
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `lpush`, `lpop`, `llen`, `blpop`, and `blmove` are never used
[INFO] [stdout]   --> src/datatype/lists.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout] 4  | impl Lists {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 5  |     pub fn lpush(&mut self, data: Vec<u8>) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8  |     pub fn lpop(&mut self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn llen(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub async fn blpop(&mut self) {}
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 16 |     pub async fn blmove(&mut self, another: &mut Lists) {}
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Incr` is never used
[INFO] [stdout]  --> src/datatype/op.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(super) trait Incr {
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Append` is never used
[INFO] [stdout]  --> src/datatype/op.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(super) trait Append {
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sets` is never constructed
[INFO] [stdout]  --> src/datatype/sets.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Sets(HashSet<String>);
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SortedSets` is never constructed
[INFO] [stdout]  --> src/datatype/sorted_sets.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct SortedSets(BTreeSet<Item>);
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Item` is never constructed
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Item {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Float` is never constructed
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Float(f64);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `zadd` is never used
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl SortedSets {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 19 |     pub fn zadd(&mut self, item: Item) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_f64`, `new_f32`, and `new_usize` are never used
[INFO] [stdout]   --> src/datatype/sorted_sets.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Float {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] 52 |     pub fn new_f64(f: f64) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn new_f32(f: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn new_usize(f: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `decr` is never used
[INFO] [stdout]   --> src/datatype/strings.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Strings {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn decr(&mut self) -> Result<isize, RedisError> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DeSerializer` is never used
[INFO] [stdout]   --> src/resp/mod.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | trait DeSerializer where Self: Sized {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BigNumbers` is never constructed
[INFO] [stdout]  --> src/resp/big_numbers.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) struct BigNumbers(BigInt);
[INFO] [stdout]   |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Integers` is never constructed
[INFO] [stdout]  --> src/resp/integers.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct Integers(i64);
[INFO] [stdout]   |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Maps` is never constructed
[INFO] [stdout]  --> src/resp/maps.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) struct Maps(HashMap<Resp, Resp>);
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pushes` is never constructed
[INFO] [stdout]  --> src/resp/pushes.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct Pushes(Vec<Resp>);
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Storage` is never used
[INFO] [stdout]  --> src/storage/mod.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait Storage {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileStorage` is never constructed
[INFO] [stdout]  --> src/storage/file.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) struct FileStorage;
[INFO] [stdout]   |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `strings`, `lists`, `sets`, `sorted_sets`, and `hashes` are never read
[INFO] [stdout]   --> src/storage/mem.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct MemStorage {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 8  |     strings: HashMap<String, LinkedList<Vec<u8>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 9  |     lists: HashMap<String, LinkedList<Vec<u8>>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     sets: HashMap<String, HashSet<Vec<u8>>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     sorted_sets: HashMap<String, BTreeSet<Vec<u8>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     hashes: HashMap<String, HashMap<String, Vec<u8>>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_fatal_error` is never used
[INFO] [stdout]   --> src/stream_handler.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn is_fatal_error(error: &RedisError) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/main.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_stream::StreamExt`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio_stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Framed` and `LinesCodec`
[INFO] [stdout]  --> src/main.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio_util::codec::{Framed, LinesCodec};
[INFO] [stdout]   |                         ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/main.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_stream::StreamExt`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio_stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Framed` and `LinesCodec`
[INFO] [stdout]  --> src/main.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio_util::codec::{Framed, LinesCodec};
[INFO] [stdout]   |                         ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::SinkExt`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::SinkExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::SinkExt`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::SinkExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.95s
[INFO] running `Command { std: "docker" "inspect" "c9c59efd00b3a2b7ce3ff3708ebb800d7ebf3cfd6e741b8fe51610f682038813", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9c59efd00b3a2b7ce3ff3708ebb800d7ebf3cfd6e741b8fe51610f682038813", kill_on_drop: false }`
[INFO] [stdout] c9c59efd00b3a2b7ce3ff3708ebb800d7ebf3cfd6e741b8fe51610f682038813
