[INFO] cloning repository https://github.com/akishichinibu/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/akishichinibu/codecrafters-redis-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakishichinibu%2Fcodecrafters-redis-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakishichinibu%2Fcodecrafters-redis-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ecb20da00c4470cfada472095b956f875ff02600
[INFO] testing akishichinibu/codecrafters-redis-rust/ecb20da00c4470cfada472095b956f875ff02600 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakishichinibu%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] validating manifest of git repo https://github.com/akishichinibu/codecrafters-redis-rust on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/akishichinibu/codecrafters-redis-rust
[INFO] finished tweaking git repo https://github.com/akishichinibu/codecrafters-redis-rust
[INFO] tweaked toml for git repo https://github.com/akishichinibu/codecrafters-redis-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/akishichinibu/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" "+nightly-2024-10-28" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 57983d85728b88de8149c01fdd51b9afd9190f77b9894e0596d083adb90f940b
[INFO] running `Command { std: "docker" "start" "-a" "57983d85728b88de8149c01fdd51b9afd9190f77b9894e0596d083adb90f940b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57983d85728b88de8149c01fdd51b9afd9190f77b9894e0596d083adb90f940b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57983d85728b88de8149c01fdd51b9afd9190f77b9894e0596d083adb90f940b", kill_on_drop: false }`
[INFO] [stdout] 57983d85728b88de8149c01fdd51b9afd9190f77b9894e0596d083adb90f940b
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0874e042669df2112106a4205ecef622c24e951bd8275a328f333246e6cebda3
[INFO] running `Command { std: "docker" "start" "-a" "0874e042669df2112106a4205ecef622c24e951bd8275a328f333246e6cebda3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling syn v1.0.67
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.5
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling anyhow v1.0.59
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling base64 v0.22.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling tokio v1.23.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling signal-hook-registry v1.2.2
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling ctrlc v3.4.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling thiserror v1.0.32
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling redis-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `spawn`
[INFO] [stdout]   --> src/replica.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::{spawn, task};
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_replica`
[INFO] [stdout]   --> src/worker.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let is_replica = {
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_replica`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/replica.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | /     loop {
[INFO] [stdout] 105 | |         let (command, length) = match reader.read_command(&mut parser).await {
[INFO] [stdout] 106 | |             Ok(command) => command,
[INFO] [stdout] 107 | |             Err(e) => return Err(e),
[INFO] [stdout] ...   |
[INFO] [stdout] 138 | |         offset += length;
[INFO] [stdout] 139 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 140 |       println!("[replica progate] progation done");
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `redis`
[INFO] [stdout]   --> src/replica.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     redis: Redis,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/command.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |                 n => {
[INFO] [stdout]     |                 - matches any value
[INFO] [stdout] ...
[INFO] [stdout] 196 |                 n => return Err(RedisCommandError::DismatchedArgsNum(2, n)),
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/command.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |                 n => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.02s
[INFO] running `Command { std: "docker" "inspect" "0874e042669df2112106a4205ecef622c24e951bd8275a328f333246e6cebda3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0874e042669df2112106a4205ecef622c24e951bd8275a328f333246e6cebda3", kill_on_drop: false }`
[INFO] [stdout] 0874e042669df2112106a4205ecef622c24e951bd8275a328f333246e6cebda3
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a78de6bbe2fa3754d588020249af2c4990dab9853c3c4944e2f6e2e159832af0
[INFO] running `Command { std: "docker" "start" "-a" "a78de6bbe2fa3754d588020249af2c4990dab9853c3c4944e2f6e2e159832af0", kill_on_drop: false }`
[INFO] [stderr]    Compiling redis-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `spawn`
[INFO] [stdout]   --> src/replica.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::{spawn, task};
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_replica`
[INFO] [stdout]   --> src/worker.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let is_replica = {
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_replica`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/replica.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | /     loop {
[INFO] [stdout] 105 | |         let (command, length) = match reader.read_command(&mut parser).await {
[INFO] [stdout] 106 | |             Ok(command) => command,
[INFO] [stdout] 107 | |             Err(e) => return Err(e),
[INFO] [stdout] ...   |
[INFO] [stdout] 138 | |         offset += length;
[INFO] [stdout] 139 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 140 |       println!("[replica progate] progation done");
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `redis`
[INFO] [stdout]   --> src/replica.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     redis: Redis,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/command.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |                 n => {
[INFO] [stdout]     |                 - matches any value
[INFO] [stdout] ...
[INFO] [stdout] 196 |                 n => return Err(RedisCommandError::DismatchedArgsNum(2, n)),
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/command.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |                 n => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/parser.rs:414:22
[INFO] [stdout]     |
[INFO] [stdout] 414 |         let (values, t) = parser.parse().unwrap();
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/parser.rs:417:22
[INFO] [stdout]     |
[INFO] [stdout] 417 |         let (values, t) = parser.parse().unwrap();
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/parser.rs:420:22
[INFO] [stdout]     |
[INFO] [stdout] 420 |         let (values, t) = parser.parse().unwrap();
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/parser.rs:445:22
[INFO] [stdout]     |
[INFO] [stdout] 445 |         let (values, t) = parser.parse().unwrap();
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/parser.rs:449:22
[INFO] [stdout]     |
[INFO] [stdout] 449 |         let (values, t) = parser.parse().unwrap();
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/parser.rs:473:13
[INFO] [stdout]     |
[INFO] [stdout] 473 |         let input = "*0\r\n".as_bytes();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/parser.rs:485:21
[INFO] [stdout]     |
[INFO] [stdout] 485 |         let (value, t) = parser.parse().unwrap();
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] running `Command { std: "docker" "inspect" "a78de6bbe2fa3754d588020249af2c4990dab9853c3c4944e2f6e2e159832af0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a78de6bbe2fa3754d588020249af2c4990dab9853c3c4944e2f6e2e159832af0", kill_on_drop: false }`
[INFO] [stdout] a78de6bbe2fa3754d588020249af2c4990dab9853c3c4944e2f6e2e159832af0
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 496a72378f3e2c8b6beb57d1b809e8683a83d0df22c70ea728e35891ccdc5764
[INFO] running `Command { std: "docker" "start" "-a" "496a72378f3e2c8b6beb57d1b809e8683a83d0df22c70ea728e35891ccdc5764", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `spawn`
[INFO] [stderr]   --> src/replica.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use tokio::{spawn, task};
[INFO] [stderr]    |             ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_replica`
[INFO] [stderr]   --> src/worker.rs:50:13
[INFO] [stderr]    |
[INFO] [stderr] 50 |         let is_replica = {
[INFO] [stderr]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_replica`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]    --> src/replica.rs:140:5
[INFO] [stderr]     |
[INFO] [stderr] 104 | /     loop {
[INFO] [stderr] 105 | |         let (command, length) = match reader.read_command(&mut parser).await {
[INFO] [stderr] 106 | |             Ok(command) => command,
[INFO] [stderr] 107 | |             Err(e) => return Err(e),
[INFO] [stderr] ...   |
[INFO] [stderr] 138 | |         offset += length;
[INFO] [stderr] 139 | |     }
[INFO] [stderr]     | |_____- any code following this expression is unreachable
[INFO] [stderr] 140 |       println!("[replica progate] progation done");
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `redis`
[INFO] [stderr]   --> src/replica.rs:83:5
[INFO] [stderr]    |
[INFO] [stderr] 83 |     redis: Redis,
[INFO] [stderr]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/command.rs:196:17
[INFO] [stderr]     |
[INFO] [stderr] 185 |                 n => {
[INFO] [stderr]     |                 - matches any value
[INFO] [stderr] ...
[INFO] [stderr] 196 |                 n => return Err(RedisCommandError::DismatchedArgsNum(2, n)),
[INFO] [stderr]     |                 ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]    --> src/command.rs:185:17
[INFO] [stderr]     |
[INFO] [stderr] 185 |                 n => {
[INFO] [stderr]     |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]    --> src/parser.rs:414:22
[INFO] [stderr]     |
[INFO] [stderr] 414 |         let (values, t) = parser.parse().unwrap();
[INFO] [stderr]     |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]    --> src/parser.rs:417:22
[INFO] [stderr]     |
[INFO] [stderr] 417 |         let (values, t) = parser.parse().unwrap();
[INFO] [stderr]     |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]    --> src/parser.rs:420:22
[INFO] [stderr]     |
[INFO] [stderr] 420 |         let (values, t) = parser.parse().unwrap();
[INFO] [stderr]     |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]    --> src/parser.rs:445:22
[INFO] [stderr]     |
[INFO] [stderr] 445 |         let (values, t) = parser.parse().unwrap();
[INFO] [stderr]     |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]    --> src/parser.rs:449:22
[INFO] [stderr]     |
[INFO] [stderr] 449 |         let (values, t) = parser.parse().unwrap();
[INFO] [stderr]     |                      ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `input`
[INFO] [stderr]    --> src/parser.rs:473:13
[INFO] [stderr]     |
[INFO] [stderr] 473 |         let input = "*0\r\n".as_bytes();
[INFO] [stderr]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]    --> src/parser.rs:485:21
[INFO] [stderr]     |
[INFO] [stderr] 485 |         let (value, t) = parser.parse().unwrap();
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: `redis-starter-rust` (bin "redis-starter-rust" test) generated 13 warnings (run `cargo fix --bin "redis-starter-rust" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/redis_starter_rust-05c8f59b8cf786a6)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test parser::tests::test_parse_simple_string ... ok
[INFO] [stdout] test parser::tests::test_parse_array ... ok
[INFO] [stdout] test value::tests::test_redis_value_to_string2 ... ok
[INFO] [stdout] test value::tests::test_redis_value_to_string ... ok
[INFO] [stdout] test parser::tests::test_parser_bulk_string ... ok
[INFO] [stdout] test parser::tests::test_parse_empty_array ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- parser::tests::test_parse_empty_array stdout ----
[INFO] [stdout] thread 'parser::tests::test_parse_empty_array' panicked at src/parser.rs:476:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: Some(Array[])
[INFO] [stdout]  right: None
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x58f00e38c7ba - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x58f00e38c7ba - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x58f00e38c7ba - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x58f00e38c7ba - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x58f00e3b2dc3 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x58f00e3b2dc3 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x58f00e389423 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x58f00e38c602 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x58f00e38dc4a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x58f00e38da54 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x58f00e34c299 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x58f00e34c299 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x58f00e38e348 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x58f00e38e348 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x58f00e38e10a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x58f00e38cc99 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x58f00e38dd9c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x58f00e3b1760 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x58f00e3b1b8c - core::panicking::assert_failed_inner::h04f38944d74a80a8
[INFO] [stdout]   19:     0x58f00e310746 - core::panicking::assert_failed::h19c0c7c791dea32a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:377:5
[INFO] [stdout]   20:     0x58f00e30a9c6 - redis_starter_rust::parser::tests::test_parse_empty_array::hbf94452caa1d8698
[INFO] [stdout]                                at /opt/rustwide/workdir/src/parser.rs:476:9
[INFO] [stdout]   21:     0x58f00e30a707 - redis_starter_rust::parser::tests::test_parse_empty_array::{{closure}}::h8d855dd0c9538c81
[INFO] [stdout]                                at /opt/rustwide/workdir/src/parser.rs:472:32
[INFO] [stdout]   22:     0x58f00e30f746 - core::ops::function::FnOnce::call_once::h6a863022e07cb952
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x58f00e350b6b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x58f00e350b6b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   25:     0x58f00e3504e7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   26:     0x58f00e3504e7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x58f00e3504e7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   28:     0x58f00e3504e7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   29:     0x58f00e3504e7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x58f00e3504e7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   31:     0x58f00e3504e7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   32:     0x58f00e313c04 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   33:     0x58f00e313c04 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   34:     0x58f00e3173ae - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   35:     0x58f00e3173ae - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x58f00e3173ae - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   37:     0x58f00e3173ae - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   38:     0x58f00e3173ae - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x58f00e3173ae - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   40:     0x58f00e3173ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x58f00e39213b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   42:     0x58f00e39213b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x58f00e39213b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   44:     0x76fba3a54ac3 - <unknown>
[INFO] [stdout]   45:     0x76fba3ae5a04 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     parser::tests::test_parse_empty_array
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin redis-starter-rust`
[INFO] running `Command { std: "docker" "inspect" "496a72378f3e2c8b6beb57d1b809e8683a83d0df22c70ea728e35891ccdc5764", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "496a72378f3e2c8b6beb57d1b809e8683a83d0df22c70ea728e35891ccdc5764", kill_on_drop: false }`
[INFO] [stdout] 496a72378f3e2c8b6beb57d1b809e8683a83d0df22c70ea728e35891ccdc5764
