[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] testing alisa101rs/codecrafters-redis-rust/54a4a781431b7acb1081cdd7e550880eb24a5a62 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falisa101rs%2Fcodecrafters-redis-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alisa101rs/codecrafters-redis-rust on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stable-eyre v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f64f3b92d6a5b64220ed749f740110acef98c30c64a8f4f65ef3534eced3fc2f [INFO] running `Command { std: "docker" "start" "-a" "f64f3b92d6a5b64220ed749f740110acef98c30c64a8f4f65ef3534eced3fc2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f64f3b92d6a5b64220ed749f740110acef98c30c64a8f4f65ef3534eced3fc2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f64f3b92d6a5b64220ed749f740110acef98c30c64a8f4f65ef3534eced3fc2f", kill_on_drop: false }` [INFO] [stdout] f64f3b92d6a5b64220ed749f740110acef98c30c64a8f4f65ef3534eced3fc2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d37c46e42a03fc3b281ea1622bb1aae6f02a6daca2cc2001e05c7104cbf5f9ca [INFO] running `Command { std: "docker" "start" "-a" "d37c46e42a03fc3b281ea1622bb1aae6f02a6daca2cc2001e05c7104cbf5f9ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling object v0.24.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling stable-eyre v0.2.2 [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 strum_macros v0.26.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [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)]` on by default [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: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.33s [INFO] running `Command { std: "docker" "inspect" "d37c46e42a03fc3b281ea1622bb1aae6f02a6daca2cc2001e05c7104cbf5f9ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d37c46e42a03fc3b281ea1622bb1aae6f02a6daca2cc2001e05c7104cbf5f9ca", kill_on_drop: false }` [INFO] [stdout] d37c46e42a03fc3b281ea1622bb1aae6f02a6daca2cc2001e05c7104cbf5f9ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 699bdd82f4a2d31fe4afafeb9f2a254200233928ca55c5874bda7d19f321eb0d [INFO] running `Command { std: "docker" "start" "-a" "699bdd82f4a2d31fe4afafeb9f2a254200233928ca55c5874bda7d19f321eb0d", kill_on_drop: false }` [INFO] [stderr] Compiling redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [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)]` on by default [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: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "699bdd82f4a2d31fe4afafeb9f2a254200233928ca55c5874bda7d19f321eb0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699bdd82f4a2d31fe4afafeb9f2a254200233928ca55c5874bda7d19f321eb0d", kill_on_drop: false }` [INFO] [stdout] 699bdd82f4a2d31fe4afafeb9f2a254200233928ca55c5874bda7d19f321eb0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d539d9cb649c4089f985cb368bb247d6b8db12e28fde8e60b9a1ab8df74587f9 [INFO] running `Command { std: "docker" "start" "-a" "d539d9cb649c4089f985cb368bb247d6b8db12e28fde8e60b9a1ab8df74587f9", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Listener` and `connection::Connection` [INFO] [stderr] --> src/network/mod.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | connection::Connection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 19 | transport::{Listener, Transport}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Connection` is never constructed [INFO] [stderr] --> src/network/connection.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Connection { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `bind`, `open`, `request_raw`, `request`, `receive_rdb`, and `receive` are never used [INFO] [stderr] --> src/network/connection.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 16 | impl Connection { [INFO] [stderr] | -------------------------------- associated items in this implementation [INFO] [stderr] 17 | pub async fn bind(addr: &T::Address) -> eyre::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | pub async fn open(addr: &T::Address) -> eyre::Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | async fn request_raw(&mut self, buffer: Bytes) -> eyre::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | async fn request(&mut self, body: &B) -> eyre::Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | async fn receive_rdb(&mut self) -> eyre::Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | async fn receive(&mut self) -> eyre::Result<(B, usize)> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Transport` is never used [INFO] [stderr] --> src/network/transport.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait Transport: Sized + Send + Sync + 'static { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Listener` is never used [INFO] [stderr] --> src/network/transport.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | pub trait Listener: Sized + Send + Sync + 'static { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `master` is never read [INFO] [stderr] --> src/replication/mod.rs:114:15 [INFO] [stderr] | [INFO] [stderr] 114 | Replica { master: NodeId }, [INFO] [stderr] | ------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Topology` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `flush` is never used [INFO] [stderr] --> src/storage/mod.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub trait Storage: fmt::Debug + Send + Sync { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 30 | fn flush(&mut self) -> Result<()>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_any_mut` is never used [INFO] [stderr] --> src/util.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 56 | trait AnyClone: Any { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 59 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `redis-starter-rust` (bin "redis-starter-rust" test) generated 8 warnings (run `cargo fix --bin "redis-starter-rust" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/redis_starter_rust-1acd2ae610dad8d7) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d539d9cb649c4089f985cb368bb247d6b8db12e28fde8e60b9a1ab8df74587f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d539d9cb649c4089f985cb368bb247d6b8db12e28fde8e60b9a1ab8df74587f9", kill_on_drop: false }` [INFO] [stdout] d539d9cb649c4089f985cb368bb247d6b8db12e28fde8e60b9a1ab8df74587f9