[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] testing timEngbrocks/codecrafters_redis_challenge against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtimEngbrocks%2Fcodecrafters_redis_challenge" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/timEngbrocks/codecrafters_redis_challenge on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-macros v1.8.2
[INFO] [stderr]   Downloaded strsim v0.11.0
[INFO] [stderr]   Downloaded thiserror v1.0.32
[INFO] [stderr]   Downloaded signal-hook-registry v1.2.2
[INFO] [stderr]   Downloaded thiserror-impl v1.0.32
[INFO] [stderr]   Downloaded hermit-abi v0.1.17
[INFO] [stderr]   Downloaded parking_lot_core v0.9.5
[INFO] [stderr]   Downloaded clap_derive v4.5.3
[INFO] [stderr]   Downloaded anyhow v1.0.59
[INFO] [stderr]   Downloaded log v0.4.11
[INFO] [stderr]   Downloaded clap v4.5.3
[INFO] [stderr]   Downloaded syn v1.0.67
[INFO] [stderr]   Downloaded syn v2.0.53
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.42.0
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.42.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.42.0
[INFO] [stderr]   Downloaded tokio v1.23.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.42.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.42.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.42.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.42.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9309d88ba10b8acb9401a35ff54f0b1c6e38af6f79faaf2d916e2822a429315e
[INFO] running `Command { std: "docker" "start" "-a" "9309d88ba10b8acb9401a35ff54f0b1c6e38af6f79faaf2d916e2822a429315e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9309d88ba10b8acb9401a35ff54f0b1c6e38af6f79faaf2d916e2822a429315e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9309d88ba10b8acb9401a35ff54f0b1c6e38af6f79faaf2d916e2822a429315e", kill_on_drop: false }`
[INFO] [stdout] 9309d88ba10b8acb9401a35ff54f0b1c6e38af6f79faaf2d916e2822a429315e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc6a1c58789fdbc0017357f630b55ed7f6fe92ebcfa6fadb7384725ca0a539dd
[INFO] running `Command { std: "docker" "start" "-a" "dc6a1c58789fdbc0017357f630b55ed7f6fe92ebcfa6fadb7384725ca0a539dd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling syn v1.0.67
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.5
[INFO] [stderr]    Compiling anstyle v1.0.6
[INFO] [stderr]    Compiling anstyle-query v1.0.2
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling tokio v1.23.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling anyhow v1.0.59
[INFO] [stderr]    Compiling strsim v0.11.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.3
[INFO] [stderr]    Compiling clap_lex v0.7.0
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling anstream v0.6.13
[INFO] [stderr]    Compiling signal-hook-registry v1.2.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling clap_builder v4.5.2
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.53
[INFO] [stderr]    Compiling clap_derive v4.5.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling clap v4.5.3
[INFO] [stderr]    Compiling thiserror v1.0.32
[INFO] [stderr]    Compiling redis-starter-rust v0.1.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) 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<RespValues> {
[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<u8> {
[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
[INFO] [stdout]   --> src/main.rs:37:43
[INFO] [stdout]    |
[INFO] [stdout] 37 |         println!("Listening on port: {}", LISTENING_PORT);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:38:51
[INFO] [stdout]    |
[INFO] [stdout] 38 |         TcpListener::bind(format!("127.0.0.1:{}", LISTENING_PORT)).await?
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/commands/replconf.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...                   assert!(NEXT_SLAVE.capabilities.is_empty());
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/commands/replconf.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 | ...                   add_replication_slave(NEXT_SLAVE.clone());
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/commands/replconf.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...                   NEXT_SLAVE.capabilities.clear();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 41 |             if let Some(v) = &raw const REPLICATION_STATE {
[INFO] [stdout]    |                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/store.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if GLOBAL_STORE.is_none() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/store.rs:39:3
[INFO] [stdout]    |
[INFO] [stdout] 39 |         GLOBAL_STORE.as_mut().unwrap()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/replication.rs:38:47
[INFO] [stdout]    |
[INFO] [stdout] 38 |         writeln!(f, "connected_slaves:{}", unsafe { REPLICATION_CONFIGURATION.slaves.len() })?;
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |         match &raw const REPLICATION_STATE {
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/replication.rs:87:3
[INFO] [stdout]    |
[INFO] [stdout] 87 |         REPLICATION_CONFIGURATION.slaves.push(slave);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/replication.rs:89:58
[INFO] [stdout]    |
[INFO] [stdout] 89 |         println!("Added replication slave! Now got {} slaves", REPLICATION_CONFIGURATION.slaves.len());
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/replication.rs:91:3
[INFO] [stdout]    |
[INFO] [stdout] 91 |         REPLICATION_CONFIGURATION.slaves.iter().for_each(|s| println!("{s}"));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/replication.rs:158:60
[INFO] [stdout]     |
[INFO] [stdout] 158 |         RespValues::BulkString(RespBulkString::from_raw(unsafe { LISTENING_PORT.to_string() }.into_bytes())),
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 209 |                                 if let Some(v) = &raw mut REPLICATION_STATE {
[INFO] [stdout]     |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.51s
[INFO] running `Command { std: "docker" "inspect" "dc6a1c58789fdbc0017357f630b55ed7f6fe92ebcfa6fadb7384725ca0a539dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc6a1c58789fdbc0017357f630b55ed7f6fe92ebcfa6fadb7384725ca0a539dd", kill_on_drop: false }`
[INFO] [stdout] dc6a1c58789fdbc0017357f630b55ed7f6fe92ebcfa6fadb7384725ca0a539dd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f68418470abf163e8512d17cfa10867478140563de93b2fdf703abec26a3a50d
[INFO] running `Command { std: "docker" "start" "-a" "f68418470abf163e8512d17cfa10867478140563de93b2fdf703abec26a3a50d", kill_on_drop: false }`
[INFO] [stderr]    Compiling redis-starter-rust v0.1.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) 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<RespValues> {
[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<u8> {
[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
[INFO] [stdout]   --> src/main.rs:37:43
[INFO] [stdout]    |
[INFO] [stdout] 37 |         println!("Listening on port: {}", LISTENING_PORT);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:38:51
[INFO] [stdout]    |
[INFO] [stdout] 38 |         TcpListener::bind(format!("127.0.0.1:{}", LISTENING_PORT)).await?
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/commands/replconf.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...                   assert!(NEXT_SLAVE.capabilities.is_empty());
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/commands/replconf.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 | ...                   add_replication_slave(NEXT_SLAVE.clone());
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/commands/replconf.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...                   NEXT_SLAVE.capabilities.clear();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 41 |             if let Some(v) = &raw const REPLICATION_STATE {
[INFO] [stdout]    |                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/store.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if GLOBAL_STORE.is_none() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/store.rs:39:3
[INFO] [stdout]    |
[INFO] [stdout] 39 |         GLOBAL_STORE.as_mut().unwrap()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/replication.rs:38:47
[INFO] [stdout]    |
[INFO] [stdout] 38 |         writeln!(f, "connected_slaves:{}", unsafe { REPLICATION_CONFIGURATION.slaves.len() })?;
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |         match &raw const REPLICATION_STATE {
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/replication.rs:87:3
[INFO] [stdout]    |
[INFO] [stdout] 87 |         REPLICATION_CONFIGURATION.slaves.push(slave);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/replication.rs:89:58
[INFO] [stdout]    |
[INFO] [stdout] 89 |         println!("Added replication slave! Now got {} slaves", REPLICATION_CONFIGURATION.slaves.len());
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/replication.rs:91:3
[INFO] [stdout]    |
[INFO] [stdout] 91 |         REPLICATION_CONFIGURATION.slaves.iter().for_each(|s| println!("{s}"));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/replication.rs:158:60
[INFO] [stdout]     |
[INFO] [stdout] 158 |         RespValues::BulkString(RespBulkString::from_raw(unsafe { LISTENING_PORT.to_string() }.into_bytes())),
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 209 |                                 if let Some(v) = &raw mut REPLICATION_STATE {
[INFO] [stdout]     |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s
[INFO] running `Command { std: "docker" "inspect" "f68418470abf163e8512d17cfa10867478140563de93b2fdf703abec26a3a50d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f68418470abf163e8512d17cfa10867478140563de93b2fdf703abec26a3a50d", kill_on_drop: false }`
[INFO] [stdout] f68418470abf163e8512d17cfa10867478140563de93b2fdf703abec26a3a50d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 29e96686762c7f39a5eda23fd278bc031132ab3e1056dd985a958bd1b0c090ba
[INFO] running `Command { std: "docker" "start" "-a" "29e96686762c7f39a5eda23fd278bc031132ab3e1056dd985a958bd1b0c090ba", kill_on_drop: false }`
[INFO] [stderr] warning: multiple variants are never constructed
[INFO] [stderr]   --> src/commands.rs:16:2
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub enum Commands {
[INFO] [stderr]    |          -------- variants in this enum
[INFO] [stderr] 16 |     Ping(CommandPing),
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 17 |     Echo(CommandEcho),
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 18 |     Set(CommandSet),
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 19 |     Get(CommandGet),
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 20 |     Info(CommandInfo),
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 21 |     Replconf(CommandReplconf),
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 22 |     Psync(CommandPsync),
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `inner` and `set` are never used
[INFO] [stderr]   --> src/resp/array.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl RespArray {
[INFO] [stderr]    | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub fn inner(&self) -> &Vec<RespValues> {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub fn set(&mut self, index: usize, element: RespValues) {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `inner`, `get`, and `set` are never used
[INFO] [stderr]   --> src/resp/bulk_string.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl RespBulkString {
[INFO] [stderr]    | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub fn inner(&self) -> &Vec<u8> {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub fn get(&self, index: usize) -> Option<&u8> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub fn set(&mut self, index: usize, element: u8) {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `len` is never used
[INFO] [stderr]   --> src/resp/simple_string.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl RespSimpleString {
[INFO] [stderr]    | --------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 21 |     pub fn len(&self) -> usize {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `has` is never used
[INFO] [stderr]   --> src/store.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 43 | impl Store {
[INFO] [stderr]    | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 64 |     pub fn has(&self, key: String) -> bool {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/main.rs:37:43
[INFO] [stderr]    |
[INFO] [stderr] 37 |         println!("Listening on port: {}", LISTENING_PORT);
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/main.rs:38:51
[INFO] [stderr]    |
[INFO] [stderr] 38 |         TcpListener::bind(format!("127.0.0.1:{}", LISTENING_PORT)).await?
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/commands/replconf.rs:37:16
[INFO] [stderr]    |
[INFO] [stderr] 37 | ...                   assert!(NEXT_SLAVE.capabilities.is_empty());
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/commands/replconf.rs:63:30
[INFO] [stderr]    |
[INFO] [stderr] 63 | ...                   add_replication_slave(NEXT_SLAVE.clone());
[INFO] [stderr]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/commands/replconf.rs:65:8
[INFO] [stderr]    |
[INFO] [stderr] 65 | ...                   NEXT_SLAVE.capabilities.clear();
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/commands/psync.rs:41:21
[INFO] [stderr]    |
[INFO] [stderr] 41 |             if let Some(v) = &REPLICATION_STATE {
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 41 |             if let Some(v) = &raw const REPLICATION_STATE {
[INFO] [stderr]    |                               +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/store.rs:36:6
[INFO] [stderr]    |
[INFO] [stderr] 36 |         if GLOBAL_STORE.is_none() {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/store.rs:39:3
[INFO] [stderr]    |
[INFO] [stderr] 39 |         GLOBAL_STORE.as_mut().unwrap()
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/replication.rs:38:47
[INFO] [stderr]    |
[INFO] [stderr] 38 |         writeln!(f, "connected_slaves:{}", unsafe { REPLICATION_CONFIGURATION.slaves.len() })?;
[INFO] [stderr]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/replication.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 57 |         match &REPLICATION_STATE {
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 57 |         match &raw const REPLICATION_STATE {
[INFO] [stderr]    |                +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/replication.rs:87:3
[INFO] [stderr]    |
[INFO] [stderr] 87 |         REPLICATION_CONFIGURATION.slaves.push(slave);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/replication.rs:89:58
[INFO] [stderr]    |
[INFO] [stderr] 89 |         println!("Added replication slave! Now got {} slaves", REPLICATION_CONFIGURATION.slaves.len());
[INFO] [stderr]    |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/replication.rs:91:3
[INFO] [stderr]    |
[INFO] [stderr] 91 |         REPLICATION_CONFIGURATION.slaves.iter().for_each(|s| println!("{s}"));
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/replication.rs:158:60
[INFO] [stderr]     |
[INFO] [stderr] 158 |         RespValues::BulkString(RespBulkString::from_raw(unsafe { LISTENING_PORT.to_string() }.into_bytes())),
[INFO] [stderr]     |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/replication.rs:209:26
[INFO] [stderr]     |
[INFO] [stderr] 209 | ...                   if let Some(v) = &mut REPLICATION_STATE {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 209 |                                 if let Some(v) = &raw mut REPLICATION_STATE {
[INFO] [stderr]     |                                                   +++
[INFO] [stderr] 
[INFO] [stderr] warning: `redis-starter-rust` (bin "redis-starter-rust" test) generated 20 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/redis_starter_rust-e0e63f74c5e0d192)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "29e96686762c7f39a5eda23fd278bc031132ab3e1056dd985a958bd1b0c090ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29e96686762c7f39a5eda23fd278bc031132ab3e1056dd985a958bd1b0c090ba", kill_on_drop: false }`
[INFO] [stdout] 29e96686762c7f39a5eda23fd278bc031132ab3e1056dd985a958bd1b0c090ba
