[INFO] cloning repository https://github.com/timEngbrocks/codecrafters_redis_challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timEngbrocks/codecrafters_redis_challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtimEngbrocks%2Fcodecrafters_redis_challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtimEngbrocks%2Fcodecrafters_redis_challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0628a0bd2ce5de0169a291b485b7011e86dd8dc8 [INFO] checking timEngbrocks/codecrafters_redis_challenge against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtimEngbrocks%2Fcodecrafters_redis_challenge" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timEngbrocks/codecrafters_redis_challenge on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/timEngbrocks/codecrafters_redis_challenge [INFO] finished tweaking git repo https://github.com/timEngbrocks/codecrafters_redis_challenge [INFO] tweaked toml for git repo https://github.com/timEngbrocks/codecrafters_redis_challenge written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/timEngbrocks/codecrafters_redis_challenge 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f0170014ff00673c8edd1ce62f53901583c46879980794af87423f40ee228e2 [INFO] running `Command { std: "docker" "start" "-a" "2f0170014ff00673c8edd1ce62f53901583c46879980794af87423f40ee228e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f0170014ff00673c8edd1ce62f53901583c46879980794af87423f40ee228e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0170014ff00673c8edd1ce62f53901583c46879980794af87423f40ee228e2", kill_on_drop: false }` [INFO] [stdout] 2f0170014ff00673c8edd1ce62f53901583c46879980794af87423f40ee228e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe8bd49dc0a6bcd87f1ab28d472b2dabe2bdb7e9349f902899fef12b49650f78 [INFO] running `Command { std: "docker" "start" "-a" "fe8bd49dc0a6bcd87f1ab28d472b2dabe2bdb7e9349f902899fef12b49650f78", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking 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.3 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Checking redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/replication.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | ... if let Some(v) = &mut REPLICATION_STATE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(v) = addr_of_mut!(REPLICATION_STATE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/psync.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(v) = &REPLICATION_STATE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(v) = addr_of!(REPLICATION_STATE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/replication.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | ... if let Some(v) = &mut REPLICATION_STATE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(v) = addr_of_mut!(REPLICATION_STATE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/replication.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | match &REPLICATION_STATE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 57 | match addr_of!(REPLICATION_STATE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/commands.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Commands { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 16 | Ping(CommandPing), [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Echo(CommandEcho), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Set(CommandSet), [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Get(CommandGet), [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | Info(CommandInfo), [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | Replconf(CommandReplconf), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Psync(CommandPsync), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inner` and `set` are never used [INFO] [stdout] --> src/resp/array.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl RespArray { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn inner(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn set(&mut self, index: usize, element: RespValues) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inner`, `get`, and `set` are never used [INFO] [stdout] --> src/resp/bulk_string.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl RespBulkString { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn inner(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get(&self, index: usize) -> Option<&u8> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set(&mut self, index: usize, element: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/resp/simple_string.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl RespSimpleString { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has` is never used [INFO] [stdout] --> src/store.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 43 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn has(&self, key: String) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/psync.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(v) = &REPLICATION_STATE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(v) = addr_of!(REPLICATION_STATE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/replication.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | match &REPLICATION_STATE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 57 | match addr_of!(REPLICATION_STATE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/commands.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Commands { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 16 | Ping(CommandPing), [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Echo(CommandEcho), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Set(CommandSet), [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Get(CommandGet), [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | Info(CommandInfo), [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | Replconf(CommandReplconf), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Psync(CommandPsync), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inner` and `set` are never used [INFO] [stdout] --> src/resp/array.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl RespArray { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn inner(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn set(&mut self, index: usize, element: RespValues) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inner`, `get`, and `set` are never used [INFO] [stdout] --> src/resp/bulk_string.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl RespBulkString { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn inner(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get(&self, index: usize) -> Option<&u8> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set(&mut self, index: usize, element: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/resp/simple_string.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl RespSimpleString { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has` is never used [INFO] [stdout] --> src/store.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 43 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn has(&self, key: String) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.21s [INFO] running `Command { std: "docker" "inspect" "fe8bd49dc0a6bcd87f1ab28d472b2dabe2bdb7e9349f902899fef12b49650f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe8bd49dc0a6bcd87f1ab28d472b2dabe2bdb7e9349f902899fef12b49650f78", kill_on_drop: false }` [INFO] [stdout] fe8bd49dc0a6bcd87f1ab28d472b2dabe2bdb7e9349f902899fef12b49650f78