[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 against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakishichinibu%2Fcodecrafters-redis-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/akishichinibu/codecrafters-redis-rust on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a1021b12ad77bc59ec23a7ea9becb438364409f4b00505b7d584157e887295e
[INFO] running `Command { std: "docker" "start" "-a" "6a1021b12ad77bc59ec23a7ea9becb438364409f4b00505b7d584157e887295e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a1021b12ad77bc59ec23a7ea9becb438364409f4b00505b7d584157e887295e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a1021b12ad77bc59ec23a7ea9becb438364409f4b00505b7d584157e887295e", kill_on_drop: false }`
[INFO] [stdout] 6a1021b12ad77bc59ec23a7ea9becb438364409f4b00505b7d584157e887295e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae43c614da59a38ba3065e4f447e9a5dab6d939c31fab67f99ba2f41581a3e9f
[INFO] running `Command { std: "docker" "start" "-a" "ae43c614da59a38ba3065e4f447e9a5dab6d939c31fab67f99ba2f41581a3e9f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling syn v1.0.67
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.5
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling tokio v1.23.0
[INFO] [stderr]    Compiling anyhow v1.0.59
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling base64 v0.22.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling nix v0.28.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 signal-hook-registry v1.2.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling socket2 v0.4.7
[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 structopt v0.3.26
[INFO] [stderr]    Compiling thiserror v1.0.32
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: 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] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.37s
[INFO] running `Command { std: "docker" "inspect" "ae43c614da59a38ba3065e4f447e9a5dab6d939c31fab67f99ba2f41581a3e9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae43c614da59a38ba3065e4f447e9a5dab6d939c31fab67f99ba2f41581a3e9f", kill_on_drop: false }`
[INFO] [stdout] ae43c614da59a38ba3065e4f447e9a5dab6d939c31fab67f99ba2f41581a3e9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6dda6f0e0ebc644bf32d0f904f26e5354b2334cc48a69a6dc2974bb453240f9
[INFO] running `Command { std: "docker" "start" "-a" "a6dda6f0e0ebc644bf32d0f904f26e5354b2334cc48a69a6dc2974bb453240f9", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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] [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: 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] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.15s
[INFO] running `Command { std: "docker" "inspect" "a6dda6f0e0ebc644bf32d0f904f26e5354b2334cc48a69a6dc2974bb453240f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6dda6f0e0ebc644bf32d0f904f26e5354b2334cc48a69a6dc2974bb453240f9", kill_on_drop: false }`
[INFO] [stdout] a6dda6f0e0ebc644bf32d0f904f26e5354b2334cc48a69a6dc2974bb453240f9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1e9f06386de2d10121d71317c92e0f20144a3e23c62ab598671976956f08bda4
[INFO] running `Command { std: "docker" "start" "-a" "1e9f06386de2d10121d71317c92e0f20144a3e23c62ab598671976956f08bda4", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: 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: 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] warning: `redis-starter-rust` (bin "redis-starter-rust" test) generated 13 warnings (run `cargo fix --bin "redis-starter-rust" -p redis-starter-rust --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/redis_starter_rust-b39ec348f7dcc00b)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test parser::tests::test_parse_array ... ok
[INFO] [stdout] test parser::tests::test_parse_simple_string ... 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 value::tests::test_redis_value_to_string2 ... 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] 
[INFO] [stdout] thread 'parser::tests::test_parse_empty_array' (26) 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:     0x5f0df08a3dc2 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5f0df08a3dc2 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5f0df08a3dc2 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f0df08a3dc2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f0df08b3e8f - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5f0df08b3e8f - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5f0df0871893 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5f0df0871893 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5f0df087d632 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5f0df088210f - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5f0df0881fa1 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5f0df083a90e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5f0df083a90e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5f0df088271f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5f0df088271f - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5f0df088257a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5f0df087d769 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5f0df086605d - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5f0df08bba10 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5f0df08bb813 - core::panicking::assert_failed_inner::h865658b89c1b891d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:444:17
[INFO] [stdout]   20:     0x5f0df0811be2 - core::panicking::assert_failed::ha457768766a1aa7d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:399:5
[INFO] [stdout]   21:     0x5f0df0817f3f - redis_starter_rust::parser::tests::test_parse_empty_array::h2b1bfc7e4d703bb0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/parser.rs:476:9
[INFO] [stdout]   22:     0x5f0df0818017 - redis_starter_rust::parser::tests::test_parse_empty_array::{{closure}}::h0abefca75f82a302
[INFO] [stdout]                                at /opt/rustwide/workdir/src/parser.rs:472:32
[INFO] [stdout]   23:     0x5f0df080d636 - core::ops::function::FnOnce::call_once::h135c0bd7a6ef2d9e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f0df083a70b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f0df083a70b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5f0df084e76d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5f0df084e76d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5f0df084e76d - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x5f0df084e76d - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x5f0df084e76d - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5f0df084e76d - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5f0df084e76d - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5f0df0827cb4 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5f0df0827cb4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5f0df082b50a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   36:     0x5f0df082b50a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5f0df082b50a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   38:     0x5f0df082b50a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   39:     0x5f0df082b50a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5f0df082b50a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   41:     0x5f0df082b50a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f0df0878b6f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   43:     0x5f0df0878b6f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   44:     0x750466494aa4 - <unknown>
[INFO] [stdout]   45:     0x750466521a64 - 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.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin redis-starter-rust`
[INFO] running `Command { std: "docker" "inspect" "1e9f06386de2d10121d71317c92e0f20144a3e23c62ab598671976956f08bda4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e9f06386de2d10121d71317c92e0f20144a3e23c62ab598671976956f08bda4", kill_on_drop: false }`
[INFO] [stdout] 1e9f06386de2d10121d71317c92e0f20144a3e23c62ab598671976956f08bda4
