[INFO] cloning repository https://github.com/i-m-aditya/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/i-m-aditya/codecrafters-redis-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi-m-aditya%2Fcodecrafters-redis-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi-m-aditya%2Fcodecrafters-redis-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb15604ac1e35314daa0651b0105ab0f7ac27102 [INFO] building i-m-aditya/codecrafters-redis-rust against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi-m-aditya%2Fcodecrafters-redis-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/i-m-aditya/codecrafters-redis-rust on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/i-m-aditya/codecrafters-redis-rust [INFO] finished tweaking git repo https://github.com/i-m-aditya/codecrafters-redis-rust [INFO] tweaked toml for git repo https://github.com/i-m-aditya/codecrafters-redis-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/i-m-aditya/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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9e2af3abb9c2110ff69aeaa79b02c226aa0200f6ee33e97e823a33fca683c3f [INFO] running `Command { std: "docker" "start" "-a" "c9e2af3abb9c2110ff69aeaa79b02c226aa0200f6ee33e97e823a33fca683c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9e2af3abb9c2110ff69aeaa79b02c226aa0200f6ee33e97e823a33fca683c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e2af3abb9c2110ff69aeaa79b02c226aa0200f6ee33e97e823a33fca683c3f", kill_on_drop: false }` [INFO] [stdout] c9e2af3abb9c2110ff69aeaa79b02c226aa0200f6ee33e97e823a33fca683c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f24a5866a89b4842272cd52bc9fe54cbaeeb40721fc1c0bc26493fc4e5b757a7 [INFO] running `Command { std: "docker" "start" "-a" "f24a5866a89b4842272cd52bc9fe54cbaeeb40721fc1c0bc26493fc4e5b757a7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | let mut db = db.lock().await; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_of_bytes` is never read [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut num_of_bytes = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RDB` is never constructed [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum RESP { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | RDB(Bytes), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RESP` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/main.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 581 | struct Replica { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 582 | client_id: usize, [INFO] [stdout] 583 | port: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Replica` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `host` is never read [INFO] [stdout] --> src/main.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 591 | struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 592 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.86s [INFO] running `Command { std: "docker" "inspect" "f24a5866a89b4842272cd52bc9fe54cbaeeb40721fc1c0bc26493fc4e5b757a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f24a5866a89b4842272cd52bc9fe54cbaeeb40721fc1c0bc26493fc4e5b757a7", kill_on_drop: false }` [INFO] [stdout] f24a5866a89b4842272cd52bc9fe54cbaeeb40721fc1c0bc26493fc4e5b757a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70d9c14da96a866ebf1534500be109cd96af3ec222c81fa3933ef58144adb93f [INFO] running `Command { std: "docker" "start" "-a" "70d9c14da96a866ebf1534500be109cd96af3ec222c81fa3933ef58144adb93f", kill_on_drop: false }` [INFO] [stderr] Compiling redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | let mut db = db.lock().await; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_of_bytes` is never read [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut num_of_bytes = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RDB` is never constructed [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum RESP { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | RDB(Bytes), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RESP` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/main.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 581 | struct Replica { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 582 | client_id: usize, [INFO] [stdout] 583 | port: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Replica` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `host` is never read [INFO] [stdout] --> src/main.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 591 | struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 592 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "70d9c14da96a866ebf1534500be109cd96af3ec222c81fa3933ef58144adb93f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70d9c14da96a866ebf1534500be109cd96af3ec222c81fa3933ef58144adb93f", kill_on_drop: false }` [INFO] [stdout] 70d9c14da96a866ebf1534500be109cd96af3ec222c81fa3933ef58144adb93f