[INFO] cloning repository https://github.com/Tyrannican/codecrafters-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tyrannican/codecrafters-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTyrannican%2Fcodecrafters-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTyrannican%2Fcodecrafters-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ca71479e97ea7a4a6916c651f1371247027dd99 [INFO] checking Tyrannican/codecrafters-redis against try#c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTyrannican%2Fcodecrafters-redis" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Tyrannican/codecrafters-redis [INFO] finished tweaking git repo https://github.com/Tyrannican/codecrafters-redis [INFO] tweaked toml for git repo https://github.com/Tyrannican/codecrafters-redis written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Tyrannican/codecrafters-redis on toolchain c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Tyrannican/codecrafters-redis 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" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "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 kanal v0.1.1 [INFO] [stderr] Downloaded cc v1.0.105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a83c1c0454d696a53b4954d81fe9caba54286422b0be9fe2248106aa2f7bf387 [INFO] running `Command { std: "docker" "start" "-a" "a83c1c0454d696a53b4954d81fe9caba54286422b0be9fe2248106aa2f7bf387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a83c1c0454d696a53b4954d81fe9caba54286422b0be9fe2248106aa2f7bf387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83c1c0454d696a53b4954d81fe9caba54286422b0be9fe2248106aa2f7bf387", kill_on_drop: false }` [INFO] [stdout] a83c1c0454d696a53b4954d81fe9caba54286422b0be9fe2248106aa2f7bf387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f64fbd8f0f2ac304a17368b947fb4f8f6fd66f3641b549f37722aeb411291e3b [INFO] running `Command { std: "docker" "start" "-a" "f64fbd8f0f2ac304a17368b947fb4f8f6fd66f3641b549f37722aeb411291e3b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking kanal v0.1.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking codecrafters-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `queues` is never read [INFO] [stdout] --> src/redis/stores/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GlobalStore { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | queues: RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `queue_reader` and `queue_writer` are never used [INFO] [stdout] --> src/redis/stores/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GlobalStore { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn queue_reader(&self) -> Result, RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn queue_writer(&self) -> Result, RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/redis/stores/queue.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueueStore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 7 | map: BTreeMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_queue`, `has_queue`, `remove_queue`, and `enqueue` are never used [INFO] [stdout] --> src/redis/stores/queue.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl QueueStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn create_queue(&mut self, client_id: &Bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn has_queue(&self, client_id: &Bytes) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn remove_queue(&mut self, client_id: &Bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn enqueue(&mut self, client_id: &Bytes, cmd: RedisCommand) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `queues` is never read [INFO] [stdout] --> src/redis/stores/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GlobalStore { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | queues: RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `queue_reader` and `queue_writer` are never used [INFO] [stdout] --> src/redis/stores/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GlobalStore { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn queue_reader(&self) -> Result, RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn queue_writer(&self) -> Result, RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/redis/stores/queue.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueueStore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 7 | map: BTreeMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_queue`, `has_queue`, `remove_queue`, and `enqueue` are never used [INFO] [stdout] --> src/redis/stores/queue.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl QueueStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn create_queue(&mut self, client_id: &Bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn has_queue(&self, client_id: &Bytes) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn remove_queue(&mut self, client_id: &Bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn enqueue(&mut self, client_id: &Bytes, cmd: RedisCommand) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.24s [INFO] running `Command { std: "docker" "inspect" "f64fbd8f0f2ac304a17368b947fb4f8f6fd66f3641b549f37722aeb411291e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f64fbd8f0f2ac304a17368b947fb4f8f6fd66f3641b549f37722aeb411291e3b", kill_on_drop: false }` [INFO] [stdout] f64fbd8f0f2ac304a17368b947fb4f8f6fd66f3641b549f37722aeb411291e3b