[INFO] cloning repository https://github.com/alisa101rs/codecrafters-redis-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alisa101rs/codecrafters-redis-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falisa101rs%2Fcodecrafters-redis-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falisa101rs%2Fcodecrafters-redis-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54a4a781431b7acb1081cdd7e550880eb24a5a62 [INFO] checking alisa101rs/codecrafters-redis-rust against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falisa101rs%2Fcodecrafters-redis-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alisa101rs/codecrafters-redis-rust [INFO] finished tweaking git repo https://github.com/alisa101rs/codecrafters-redis-rust [INFO] tweaked toml for git repo https://github.com/alisa101rs/codecrafters-redis-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alisa101rs/codecrafters-redis-rust on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alisa101rs/codecrafters-redis-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 73e78b7401e98f33392967a78f80719dbf868dfcabfcd911f3b921c256a9ab35 [INFO] running `Command { std: "docker" "start" "73e78b7401e98f33392967a78f80719dbf868dfcabfcd911f3b921c256a9ab35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73e78b7401e98f33392967a78f80719dbf868dfcabfcd911f3b921c256a9ab35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "73e78b7401e98f33392967a78f80719dbf868dfcabfcd911f3b921c256a9ab35" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73e78b7401e98f33392967a78f80719dbf868dfcabfcd911f3b921c256a9ab35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "73e78b7401e98f33392967a78f80719dbf868dfcabfcd911f3b921c256a9ab35" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking object v0.24.0 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking eyre v0.6.12 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking stable-eyre v0.2.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/network/connection.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | bail!("EOF too early") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/network/connection.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | bail!("EOF too early") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Listener` and `connection::Connection` [INFO] [stdout] --> src/network/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | connection::Connection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | transport::{Listener, Transport}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | bail!("Failed to connect to master") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/network/connection.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | bail!("EOF too early") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/network/connection.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | bail!("EOF too early") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Listener` and `connection::Connection` [INFO] [stdout] --> src/network/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | connection::Connection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | transport::{Listener, Transport}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | bail!("Failed to connect to master") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/network/connection.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind`, `open`, `request_raw`, `request`, `receive_rdb`, and `receive` are never used [INFO] [stdout] --> src/network/connection.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl Connection { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] 17 | pub async fn bind(addr: &T::Address) -> eyre::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn open(addr: &T::Address) -> eyre::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | async fn request_raw(&mut self, buffer: Bytes) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | async fn request(&mut self, body: &B) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | async fn receive_rdb(&mut self) -> eyre::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | async fn receive(&mut self) -> eyre::Result<(B, usize)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Transport` is never used [INFO] [stdout] --> src/network/transport.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Transport: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Listener` is never used [INFO] [stdout] --> src/network/transport.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Listener: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `master` is never read [INFO] [stdout] --> src/replication/mod.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | Replica { master: NodeId }, [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Topology` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/storage/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Storage: fmt::Debug + Send + Sync { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | fn flush(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_any_mut` is never used [INFO] [stdout] --> src/util.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 56 | trait AnyClone: Any { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 59 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `OffsetId` [INFO] [stdout] --> src/commands/repl.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | offset: offset.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 67 - offset: offset.into(), [INFO] [stdout] 67 + offset: offset, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 67 - offset: offset.into(), [INFO] [stdout] 67 + offset: >::into(offset), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-starter-rust` (bin "redis-starter-rust" test) due to 1 previous error; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/network/connection.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind`, `open`, `request_raw`, `request`, `receive_rdb`, and `receive` are never used [INFO] [stdout] --> src/network/connection.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl Connection { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] 17 | pub async fn bind(addr: &T::Address) -> eyre::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn open(addr: &T::Address) -> eyre::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | async fn request_raw(&mut self, buffer: Bytes) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | async fn request(&mut self, body: &B) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | async fn receive_rdb(&mut self) -> eyre::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | async fn receive(&mut self) -> eyre::Result<(B, usize)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Transport` is never used [INFO] [stdout] --> src/network/transport.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Transport: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Listener` is never used [INFO] [stdout] --> src/network/transport.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Listener: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `master` is never read [INFO] [stdout] --> src/replication/mod.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | Replica { master: NodeId }, [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Topology` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/storage/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Storage: fmt::Debug + Send + Sync { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | fn flush(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_any_mut` is never used [INFO] [stdout] --> src/util.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 56 | trait AnyClone: Any { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 59 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `OffsetId` [INFO] [stdout] --> src/commands/repl.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | offset: offset.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 67 - offset: offset.into(), [INFO] [stdout] 67 + offset: offset, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 67 - offset: offset.into(), [INFO] [stdout] 67 + offset: >::into(offset), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-starter-rust` (bin "redis-starter-rust") due to 1 previous error; 11 warnings emitted [INFO] [stderr] warning: unused dependency `futures` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | futures = "0.3.30" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `futures` [INFO] [stderr] warning: unused dependency `itertools` [INFO] [stderr] --> Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | itertools = "0.12.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `itertools` [INFO] [stderr] warning: unused dependency `serde_bytes` [INFO] [stderr] --> Cargo.toml:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | serde_bytes = "0.11.14" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_bytes` [INFO] [stderr] warning: unused dependency `strum` [INFO] [stderr] --> Cargo.toml:34:15 [INFO] [stderr] | [INFO] [stderr] 34 | [dependencies.strum] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `strum` [INFO] [stderr] warning: unused dependency `tokio-stream` [INFO] [stderr] --> Cargo.toml:42:15 [INFO] [stderr] | [INFO] [stderr] 42 | [dependencies.tokio-stream] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tokio-stream` [INFO] [stderr] warning: `redis-starter-rust` (manifest) generated 5 warnings [INFO] running `Command { std: "docker" "inspect" "73e78b7401e98f33392967a78f80719dbf868dfcabfcd911f3b921c256a9ab35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e78b7401e98f33392967a78f80719dbf868dfcabfcd911f3b921c256a9ab35", kill_on_drop: false }` [INFO] [stdout] 73e78b7401e98f33392967a78f80719dbf868dfcabfcd911f3b921c256a9ab35