[INFO] cloning repository https://github.com/pepegar/redirs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pepegar/redirs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepegar%2Fredirs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepegar%2Fredirs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e605e4ca68288ce66e1b368824b2be376598eb6b
[INFO] checking pepegar/redirs against try#54cf65b8d066c082e536455049b95943cf30378f for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepegar%2Fredirs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pepegar/redirs
[INFO] finished tweaking git repo https://github.com/pepegar/redirs
[INFO] tweaked toml for git repo https://github.com/pepegar/redirs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pepegar/redirs on toolchain 54cf65b8d066c082e536455049b95943cf30378f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pepegar/redirs 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" "+54cf65b8d066c082e536455049b95943cf30378f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded env_logger v0.11.3
[INFO] [stderr]   Downloaded signal-hook-registry v1.2.2
[INFO] [stderr]   Downloaded syn v1.0.67
[INFO] [stderr]   Downloaded tokio v1.23.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92f993cc4f0dc703e8a1058841c8a43e4b3cba502aac8b90d8785e1d80b9a30b
[INFO] running `Command { std: "docker" "start" "-a" "92f993cc4f0dc703e8a1058841c8a43e4b3cba502aac8b90d8785e1d80b9a30b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92f993cc4f0dc703e8a1058841c8a43e4b3cba502aac8b90d8785e1d80b9a30b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92f993cc4f0dc703e8a1058841c8a43e4b3cba502aac8b90d8785e1d80b9a30b", kill_on_drop: false }`
[INFO] [stdout] 92f993cc4f0dc703e8a1058841c8a43e4b3cba502aac8b90d8785e1d80b9a30b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d4fa34103f2bc259c099e0aae228ba973ad18ce84f276cc0571c77c40c448421
[INFO] running `Command { std: "docker" "start" "-a" "d4fa34103f2bc259c099e0aae228ba973ad18ce84f276cc0571c77c40c448421", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.67
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking anstyle-parse v0.2.4
[INFO] [stderr]    Compiling tokio v1.23.0
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking anstyle-query v1.1.0
[INFO] [stderr]    Compiling anyhow v1.0.59
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.0
[INFO] [stderr]     Checking anstyle v1.0.7
[INFO] [stderr]     Checking colorchoice v1.0.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking bytes v1.3.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking regex v1.4.6
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking signal-hook-registry v1.2.2
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]     Checking thiserror v1.0.32
[INFO] [stderr]     Checking redis-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> src/expirator.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::{sync::{mpsc::Receiver, Mutex, RwLock}, time::sleep};
[INFO] [stdout]   |                                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CommandRequest`, `FromRESP`, and `ToRESP`
[INFO] [stdout]  --> src/main.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use commands::{CommandRequest, FromRESP, ToRESP};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `protocol::RESP`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use protocol::RESP;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::from_utf8`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::str::from_utf8;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt`
[INFO] [stdout]   --> src/main.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> src/expirator.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::{sync::{mpsc::Receiver, Mutex, RwLock}, time::sleep};
[INFO] [stdout]   |                                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CommandRequest`, `FromRESP`, and `ToRESP`
[INFO] [stdout]  --> src/main.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use commands::{CommandRequest, FromRESP, ToRESP};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `protocol::RESP`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use protocol::RESP;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::from_utf8`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::str::from_utf8;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt`
[INFO] [stdout]   --> src/main.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/interpreter.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             x => Err(anyhow!("unexpected command: {:?}", x))
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/interpreter.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             CommandRequest::PING => Ok(CommandResponse::PONG),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] 20 |             CommandRequest::ECHO(x) => Ok(CommandResponse::ECHO(x)),
[INFO] [stdout]    |             ----------------------- matches some of the same values
[INFO] [stdout] 21 |             CommandRequest::SET(key, value, expiry) => {
[INFO] [stdout]    |             --------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 34 |             CommandRequest::GET(key) => {
[INFO] [stdout]    |             ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 48 |             x => Err(anyhow!("unexpected command: {:?}", x))
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/interpreter.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             x => Err(anyhow!("unexpected command: {:?}", x))
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/interpreter.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             CommandRequest::PING => Ok(CommandResponse::PONG),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] 20 |             CommandRequest::ECHO(x) => Ok(CommandResponse::ECHO(x)),
[INFO] [stdout]    |             ----------------------- matches some of the same values
[INFO] [stdout] 21 |             CommandRequest::SET(key, value, expiry) => {
[INFO] [stdout]    |             --------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 34 |             CommandRequest::GET(key) => {
[INFO] [stdout]    |             ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 48 |             x => Err(anyhow!("unexpected command: {:?}", x))
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/protocol.rs:44:24
[INFO] [stdout]    |
[INFO] [stdout] 44 |             (RESP::Map(x), RESP::Map(y)) => false, // todo: IDK what to do here :/
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/protocol.rs:44:38
[INFO] [stdout]    |
[INFO] [stdout] 44 |             (RESP::Map(x), RESP::Map(y)) => false, // todo: IDK what to do here :/
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/protocol.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 |             (RESP::Set(x), RESP::Set(y)) => false, // todo: idk what to do here
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/protocol.rs:45:38
[INFO] [stdout]    |
[INFO] [stdout] 45 |             (RESP::Set(x), RESP::Set(y)) => false, // todo: idk what to do here
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rest`
[INFO] [stdout]    --> src/protocol.rs:130:18
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn parse_integer(rest: &str) -> IResult<&str, RESP> {
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/commands.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |             x => Err(anyhow!("unexpected command in ToRESP: {:?}", x))
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/commands.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             CommandResponse::PONG => Ok(RESP::BulkString("PONG".to_string())),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] 124 |             CommandResponse::ECHO(x) => Ok(RESP::BulkString(x.to_string())),
[INFO] [stdout]     |             ------------------------ matches some of the same values
[INFO] [stdout] 125 |             CommandResponse::OK => Ok(RESP::SimpleString("OK".to_string())),
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] 126 |             CommandResponse::STR(str) => Ok(RESP::BulkString(str.to_string())),
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 144 |             x => Err(anyhow!("unexpected command in ToRESP: {:?}", x))
[INFO] [stdout]     |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/protocol.rs:44:24
[INFO] [stdout]    |
[INFO] [stdout] 44 |             (RESP::Map(x), RESP::Map(y)) => false, // todo: IDK what to do here :/
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/protocol.rs:44:38
[INFO] [stdout]    |
[INFO] [stdout] 44 |             (RESP::Map(x), RESP::Map(y)) => false, // todo: IDK what to do here :/
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/protocol.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 |             (RESP::Set(x), RESP::Set(y)) => false, // todo: idk what to do here
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/protocol.rs:45:38
[INFO] [stdout]    |
[INFO] [stdout] 45 |             (RESP::Set(x), RESP::Set(y)) => false, // todo: idk what to do here
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rest`
[INFO] [stdout]    --> src/protocol.rs:130:18
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn parse_integer(rest: &str) -> IResult<&str, RESP> {
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/protocol.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum RESP {
[INFO] [stdout]    |          ---- variants in this enum
[INFO] [stdout] 12 |     SimpleString(String),
[INFO] [stdout] 13 |     SimpleError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     Integer(i64),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     Array(Vec<RESP>),
[INFO] [stdout] 18 |     Null,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 19 |     Boolean(bool),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 20 |     Double(f64),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     BigNumber(f64),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 22 |     BulkError(Vec<String>),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 23 |     VerbatimString(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     Map(HashMap<RESP, RESP>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 25 |     Set(HashSet<RESP>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 26 |     Push(Vec<RESP>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RESP` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `connected_slaves`, `second_repl_offset`, `repl_backlog_active`, `repl_backlog_size`, `repl_backlog_first_byte_offset`, and `repl_backlog_histlen` are never read
[INFO] [stdout]   --> src/commands.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct ReplicationInfo {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 46 |     role: ReplicationRole,
[INFO] [stdout] 47 |     connected_slaves: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     second_repl_offset: i8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     repl_backlog_active: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 52 |     repl_backlog_size: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 53 |     repl_backlog_first_byte_offset: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 54 |     repl_backlog_histlen: u64
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReplicationInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/stream.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl CommandStream {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn new(resp_stream: RESPStream) -> CommandStream {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/commands.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |             x => Err(anyhow!("unexpected command in ToRESP: {:?}", x))
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/commands.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             CommandResponse::PONG => Ok(RESP::BulkString("PONG".to_string())),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] 124 |             CommandResponse::ECHO(x) => Ok(RESP::BulkString(x.to_string())),
[INFO] [stdout]     |             ------------------------ matches some of the same values
[INFO] [stdout] 125 |             CommandResponse::OK => Ok(RESP::SimpleString("OK".to_string())),
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] 126 |             CommandResponse::STR(str) => Ok(RESP::BulkString(str.to_string())),
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 144 |             x => Err(anyhow!("unexpected command in ToRESP: {:?}", x))
[INFO] [stdout]     |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/protocol.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum RESP {
[INFO] [stdout]    |          ---- variants in this enum
[INFO] [stdout] 12 |     SimpleString(String),
[INFO] [stdout] 13 |     SimpleError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     Integer(i64),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     Array(Vec<RESP>),
[INFO] [stdout] 18 |     Null,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 19 |     Boolean(bool),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 20 |     Double(f64),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     BigNumber(f64),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 22 |     BulkError(Vec<String>),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 23 |     VerbatimString(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     Map(HashMap<RESP, RESP>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 25 |     Set(HashSet<RESP>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 26 |     Push(Vec<RESP>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RESP` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `connected_slaves`, `second_repl_offset`, `repl_backlog_active`, `repl_backlog_size`, `repl_backlog_first_byte_offset`, and `repl_backlog_histlen` are never read
[INFO] [stdout]   --> src/commands.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct ReplicationInfo {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 46 |     role: ReplicationRole,
[INFO] [stdout] 47 |     connected_slaves: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     second_repl_offset: i8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     repl_backlog_active: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 52 |     repl_backlog_size: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 53 |     repl_backlog_first_byte_offset: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 54 |     repl_backlog_histlen: u64
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReplicationInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/stream.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl CommandStream {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn new(resp_stream: RESPStream) -> CommandStream {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.02s
[INFO] running `Command { std: "docker" "inspect" "d4fa34103f2bc259c099e0aae228ba973ad18ce84f276cc0571c77c40c448421", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4fa34103f2bc259c099e0aae228ba973ad18ce84f276cc0571c77c40c448421", kill_on_drop: false }`
[INFO] [stdout] d4fa34103f2bc259c099e0aae228ba973ad18ce84f276cc0571c77c40c448421
