[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [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] validating manifest of git repo https://github.com/rock117/simple-redis on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anon_enum v1.1.0 [INFO] [stderr] Downloaded nonempty-collections v0.2.5 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34f6c9ad39b51c9e465e53dd65b7617c097e2ee4a5f65d3b102ee96550da3a8b [INFO] running `Command { std: "docker" "start" "-a" "34f6c9ad39b51c9e465e53dd65b7617c097e2ee4a5f65d3b102ee96550da3a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34f6c9ad39b51c9e465e53dd65b7617c097e2ee4a5f65d3b102ee96550da3a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f6c9ad39b51c9e465e53dd65b7617c097e2ee4a5f65d3b102ee96550da3a8b", kill_on_drop: false }` [INFO] [stdout] 34f6c9ad39b51c9e465e53dd65b7617c097e2ee4a5f65d3b102ee96550da3a8b [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8645e5ae705c41c4613d47cbc6c57c418753eeb5e6cb6ee0af04b34af645a968 [INFO] running `Command { std: "docker" "start" "-a" "8645e5ae705c41c4613d47cbc6c57c418753eeb5e6cb6ee0af04b34af645a968", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling syn v2.0.66 [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 num-rational v0.4.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [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] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking tracing-appender v0.2.3 [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: `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: `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::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: `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 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 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: `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: `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 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, [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) -> Result { [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 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: `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: `context` [INFO] [stdout] --> src/command/get.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | context: &dyn Context, [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: `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 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [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) -> Result { [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 { [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 { [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); [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); [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: associated items `name`, `args`, and `execute` are never used [INFO] [stdout] --> src/command/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Command: Send { [INFO] [stdout] | ------- associated items in this trait [INFO] [stdout] 17 | fn name() -> &'static str where Self: Sized; [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | fn args(&self) -> Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | fn execute(&self, context: &dyn Context) [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: 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); [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); [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: variants `Strings`, `Lists`, `Hashes`, `Sets`, and `SortedSets` are never constructed [INFO] [stdout] --> src/datatype/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum RedisCollection { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 16 | Strings(Strings), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Lists(Lists), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | Hashes(Hashes), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Sets(Sets), [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | SortedSets(SortedSets), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedisCollection` 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: field `0` is never read [INFO] [stdout] --> src/datatype/lists.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Lists(Vec>); [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Lists` 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: 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) { [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: field `0` is never read [INFO] [stdout] --> src/datatype/sets.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Sets(HashSet); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Sets` 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: field `0` is never read [INFO] [stdout] --> src/datatype/sorted_sets.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SortedSets(BTreeSet); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SortedSets` 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: 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: variants `String` and `Number` are never constructed [INFO] [stdout] --> src/datatype/strings.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum Data { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Number(isize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn decr(&mut self) -> Result { [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); [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); [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(result: IResult) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put` and `remove` are never used [INFO] [stdout] --> src/storage/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 7 | fn put(&self, key: String, value: RedisCollection); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | fn remove(&self, key: &str); [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>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | lists: HashMap>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | sets: HashMap>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | sorted_sets: HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | hashes: HashMap>>, [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 { [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); [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); [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: associated items `name`, `args`, and `execute` are never used [INFO] [stdout] --> src/command/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Command: Send { [INFO] [stdout] | ------- associated items in this trait [INFO] [stdout] 17 | fn name() -> &'static str where Self: Sized; [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | fn args(&self) -> Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | fn execute(&self, context: &dyn Context) [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: 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); [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); [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: variants `Strings`, `Lists`, `Hashes`, `Sets`, and `SortedSets` are never constructed [INFO] [stdout] --> src/datatype/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum RedisCollection { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 16 | Strings(Strings), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Lists(Lists), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | Hashes(Hashes), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Sets(Sets), [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | SortedSets(SortedSets), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedisCollection` 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: field `0` is never read [INFO] [stdout] --> src/datatype/lists.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Lists(Vec>); [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Lists` 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: 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) { [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: field `0` is never read [INFO] [stdout] --> src/datatype/sets.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Sets(HashSet); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Sets` 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: field `0` is never read [INFO] [stdout] --> src/datatype/sorted_sets.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SortedSets(BTreeSet); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SortedSets` 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: 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 { [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); [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); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put` and `remove` are never used [INFO] [stdout] --> src/storage/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 7 | fn put(&self, key: String, value: RedisCollection); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | fn remove(&self, key: &str); [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>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | lists: HashMap>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | sets: HashMap>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | sorted_sets: HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | hashes: HashMap>>, [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: 84 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [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: `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: `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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.91s [INFO] running `Command { std: "docker" "inspect" "8645e5ae705c41c4613d47cbc6c57c418753eeb5e6cb6ee0af04b34af645a968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8645e5ae705c41c4613d47cbc6c57c418753eeb5e6cb6ee0af04b34af645a968", kill_on_drop: false }` [INFO] [stdout] 8645e5ae705c41c4613d47cbc6c57c418753eeb5e6cb6ee0af04b34af645a968 [INFO] checking rock117/simple-redis against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fsimple-redis" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rock117/simple-redis on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4027443b6a60be4fa8a3b926aa4fcfec5e81e34bded4384df84eec5ada4ff7db [INFO] running `Command { std: "docker" "start" "-a" "4027443b6a60be4fa8a3b926aa4fcfec5e81e34bded4384df84eec5ada4ff7db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4027443b6a60be4fa8a3b926aa4fcfec5e81e34bded4384df84eec5ada4ff7db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4027443b6a60be4fa8a3b926aa4fcfec5e81e34bded4384df84eec5ada4ff7db", kill_on_drop: false }` [INFO] [stdout] 4027443b6a60be4fa8a3b926aa4fcfec5e81e34bded4384df84eec5ada4ff7db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aad5ecd4eb876c06ac06e4950d5c3ce225cc7b366d31fa9241aeb1bf8a0498d0 [INFO] running `Command { std: "docker" "start" "-a" "aad5ecd4eb876c06ac06e4950d5c3ce225cc7b366d31fa9241aeb1bf8a0498d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking anon_enum v1.1.0 [INFO] [stderr] Checking nonempty-collections v0.2.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.3.0 [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] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.7.11 [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: `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: `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 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, [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) -> Result { [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 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, [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) -> Result { [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: `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: `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 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [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 { [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 { [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); [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); [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: associated items `name`, `args`, and `execute` are never used [INFO] [stdout] --> src/command/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Command: Send { [INFO] [stdout] | ------- associated items in this trait [INFO] [stdout] 17 | fn name() -> &'static str where Self: Sized; [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | fn args(&self) -> Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | fn execute(&self, context: &dyn Context) [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: 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); [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); [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: variants `Strings`, `Lists`, `Hashes`, `Sets`, and `SortedSets` are never constructed [INFO] [stdout] --> src/datatype/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum RedisCollection { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 16 | Strings(Strings), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Lists(Lists), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | Hashes(Hashes), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Sets(Sets), [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | SortedSets(SortedSets), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedisCollection` 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: field `0` is never read [INFO] [stdout] --> src/datatype/lists.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Lists(Vec>); [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Lists` 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: 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) { [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: field `0` is never read [INFO] [stdout] --> src/datatype/sets.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Sets(HashSet); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Sets` 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: field `0` is never read [INFO] [stdout] --> src/datatype/sorted_sets.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SortedSets(BTreeSet); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SortedSets` 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: 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: variants `String` and `Number` are never constructed [INFO] [stdout] --> src/datatype/strings.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum Data { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Number(isize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn decr(&mut self) -> Result { [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); [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); [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(result: IResult) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put` and `remove` are never used [INFO] [stdout] --> src/storage/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 7 | fn put(&self, key: String, value: RedisCollection); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | fn remove(&self, key: &str); [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>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | lists: HashMap>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | sets: HashMap>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | sorted_sets: HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | hashes: HashMap>>, [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 { [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); [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); [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: associated items `name`, `args`, and `execute` are never used [INFO] [stdout] --> src/command/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Command: Send { [INFO] [stdout] | ------- associated items in this trait [INFO] [stdout] 17 | fn name() -> &'static str where Self: Sized; [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | fn args(&self) -> Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | fn execute(&self, context: &dyn Context) [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: 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); [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); [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: variants `Strings`, `Lists`, `Hashes`, `Sets`, and `SortedSets` are never constructed [INFO] [stdout] --> src/datatype/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum RedisCollection { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 16 | Strings(Strings), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Lists(Lists), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | Hashes(Hashes), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Sets(Sets), [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | SortedSets(SortedSets), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedisCollection` 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: field `0` is never read [INFO] [stdout] --> src/datatype/lists.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Lists(Vec>); [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Lists` 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: 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) { [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: field `0` is never read [INFO] [stdout] --> src/datatype/sets.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Sets(HashSet); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Sets` 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: field `0` is never read [INFO] [stdout] --> src/datatype/sorted_sets.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SortedSets(BTreeSet); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SortedSets` 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: 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 { [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); [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); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put` and `remove` are never used [INFO] [stdout] --> src/storage/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 7 | fn put(&self, key: String, value: RedisCollection); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | fn remove(&self, key: &str); [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>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | lists: HashMap>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | sets: HashMap>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | sorted_sets: HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | hashes: HashMap>>, [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: 84 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [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: `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 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 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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 22 | let (stream, raddr) = listener.accept().await?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | match stream_handler::handle_stream(stream).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 22 | let (stream, raddr) = listener.accept().await?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | match stream_handler::handle_stream(stream).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-redis` (bin "simple-redis" test) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `simple-redis` (bin "simple-redis") due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aad5ecd4eb876c06ac06e4950d5c3ce225cc7b366d31fa9241aeb1bf8a0498d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad5ecd4eb876c06ac06e4950d5c3ce225cc7b366d31fa9241aeb1bf8a0498d0", kill_on_drop: false }` [INFO] [stdout] aad5ecd4eb876c06ac06e4950d5c3ce225cc7b366d31fa9241aeb1bf8a0498d0