[INFO] cloning repository https://github.com/Learnedprawn/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/Learnedprawn/redis-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearnedprawn%2Fredis-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearnedprawn%2Fredis-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c75ed5f3bf073ad0697960f0683d0f0608aef4a [INFO] checking Learnedprawn/redis-rust against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearnedprawn%2Fredis-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/Learnedprawn/redis-rust [INFO] finished tweaking git repo https://github.com/Learnedprawn/redis-rust [INFO] tweaked toml for git repo https://github.com/Learnedprawn/redis-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Learnedprawn/redis-rust on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Learnedprawn/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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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] 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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9a515d6064892cab797262f5f00e0c1756d7fe47c7c0d396580ea870953fb19 [INFO] running `Command { std: "docker" "start" "-a" "a9a515d6064892cab797262f5f00e0c1756d7fe47c7c0d396580ea870953fb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9a515d6064892cab797262f5f00e0c1756d7fe47c7c0d396580ea870953fb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a515d6064892cab797262f5f00e0c1756d7fe47c7c0d396580ea870953fb19", kill_on_drop: false }` [INFO] [stdout] a9a515d6064892cab797262f5f00e0c1756d7fe47c7c0d396580ea870953fb19 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f0a020566bf88d957e4ab51eab37a7d8a5ed01ee0bcfaeaf770a147e819b97b [INFO] running `Command { std: "docker" "start" "-a" "7f0a020566bf88d957e4ab51eab37a7d8a5ed01ee0bcfaeaf770a147e819b97b", kill_on_drop: false }` [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking codecrafters-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/parser.rs:152:15 [INFO] [stdout] | [INFO] [stdout] 152 | Some((pos, bad_size)) => Err(RESPError::BadBulkStringSize(bad_size)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/parser.rs:152:15 [INFO] [stdout] | [INFO] [stdout] 152 | Some((pos, bad_size)) => Err(RESPError::BadBulkStringSize(bad_size)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/main.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | let command = if let RedisBufSplit::String(buf) = &argument_array[0] { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Error`, `Int`, `Array`, `NullArray`, and `NullBulkString` are never constructed [INFO] [stdout] --> src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum RedisValueRef { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 6 | String(Vec), [INFO] [stdout] 7 | Error(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | NullArray, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | NullBulkString, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | BadBulkStringSize(i64), [INFO] [stdout] | ----------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RESPError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - BadBulkStringSize(i64), [INFO] [stdout] 20 + BadBulkStringSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | BadArraySize(i64), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RESPError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - BadArraySize(i64), [INFO] [stdout] 21 + BadArraySize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedEnd` and `IOError` are never constructed [INFO] [stdout] --> src/parser.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum RESPError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 16 | UnexpectedEnd, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | UnknownStartingByte, [INFO] [stdout] 18 | IOError(std::io::Error), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RESPError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | Error(BufSplit), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisBufSplit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 - Error(BufSplit), [INFO] [stdout] 38 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisBufSplit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - Int(i64), [INFO] [stdout] 39 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_buf_split_to_string` is never used [INFO] [stdout] --> src/parser.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn redis_buf_split_to_string(value: &RedisBufSplit, buf: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buf_split_to_string` is never used [INFO] [stdout] --> src/parser.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn buf_split_to_string(value: &BufSplit, buf: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/main.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | let command = if let RedisBufSplit::String(buf) = &argument_array[0] { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Error`, `Int`, `Array`, `NullArray`, and `NullBulkString` are never constructed [INFO] [stdout] --> src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum RedisValueRef { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 6 | String(Vec), [INFO] [stdout] 7 | Error(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | NullArray, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | NullBulkString, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | BadBulkStringSize(i64), [INFO] [stdout] | ----------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RESPError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - BadBulkStringSize(i64), [INFO] [stdout] 20 + BadBulkStringSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | BadArraySize(i64), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RESPError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - BadArraySize(i64), [INFO] [stdout] 21 + BadArraySize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedEnd` and `IOError` are never constructed [INFO] [stdout] --> src/parser.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum RESPError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 16 | UnexpectedEnd, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | UnknownStartingByte, [INFO] [stdout] 18 | IOError(std::io::Error), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RESPError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | Error(BufSplit), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisBufSplit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 - Error(BufSplit), [INFO] [stdout] 38 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisBufSplit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - Int(i64), [INFO] [stdout] 39 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_buf_split_to_string` is never used [INFO] [stdout] --> src/parser.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn redis_buf_split_to_string(value: &RedisBufSplit, buf: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buf_split_to_string` is never used [INFO] [stdout] --> src/parser.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn buf_split_to_string(value: &BufSplit, buf: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.46s [INFO] running `Command { std: "docker" "inspect" "7f0a020566bf88d957e4ab51eab37a7d8a5ed01ee0bcfaeaf770a147e819b97b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f0a020566bf88d957e4ab51eab37a7d8a5ed01ee0bcfaeaf770a147e819b97b", kill_on_drop: false }` [INFO] [stdout] 7f0a020566bf88d957e4ab51eab37a7d8a5ed01ee0bcfaeaf770a147e819b97b