[INFO] cloning repository https://github.com/CharlieLoong/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/CharlieLoong/codecrafters-redis-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlieLoong%2Fcodecrafters-redis-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlieLoong%2Fcodecrafters-redis-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 869a7d621097da9f29d0699d81a87468f7f0b708 [INFO] checking CharlieLoong/codecrafters-redis-rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlieLoong%2Fcodecrafters-redis-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CharlieLoong/codecrafters-redis-rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CharlieLoong/codecrafters-redis-rust [INFO] finished tweaking git repo https://github.com/CharlieLoong/codecrafters-redis-rust [INFO] tweaked toml for git repo https://github.com/CharlieLoong/codecrafters-redis-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CharlieLoong/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.3.8 [INFO] [stderr] Downloaded syn v2.0.51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be76f57aaf8d4e44fa01c0cdd3e7c9fa1343b176c14e02cd0d23552d9a25f851 [INFO] running `Command { std: "docker" "start" "-a" "be76f57aaf8d4e44fa01c0cdd3e7c9fa1343b176c14e02cd0d23552d9a25f851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be76f57aaf8d4e44fa01c0cdd3e7c9fa1343b176c14e02cd0d23552d9a25f851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be76f57aaf8d4e44fa01c0cdd3e7c9fa1343b176c14e02cd0d23552d9a25f851", kill_on_drop: false }` [INFO] [stdout] be76f57aaf8d4e44fa01c0cdd3e7c9fa1343b176c14e02cd0d23552d9a25f851 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d14ea1f314bb855f40e16fad2077d7590b11fea7473679c3c6e6f49c097c9cd0 [INFO] running `Command { std: "docker" "start" "-a" "d14ea1f314bb855f40e16fad2077d7590b11fea7473679c3c6e6f49c097c9cd0", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/redis.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::sleep` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | time::sleep, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/redis.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::sleep` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | time::sleep, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/resp.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/resp.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 35 | Value::SimpleString(s) => format!("+{}\r\n", s).as_bytes().into(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 36 | Value::BulkString(s) => match s.len() { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 42 | Value::Array(a) => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Value::File(f) => [format!("${}\r\n", f.len()).as_bytes(), f].concat()[..].into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 64 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/resp.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/resp.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 35 | Value::SimpleString(s) => format!("+{}\r\n", s).as_bytes().into(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 36 | Value::BulkString(s) => match s.len() { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 42 | Value::Array(a) => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Value::File(f) => [format!("${}\r\n", f.len()).as_bytes(), f].concat()[..].into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 64 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `master_host`, `master_port`, `master_repl_offset`, and `processed` are never read [INFO] [stdout] --> src/redis.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Redis { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub master_host: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | pub master_port: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | master_repl_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub processed: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `slaves_count`, `check_processed`, and `reset_processed` are never used [INFO] [stdout] --> src/redis.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Redis { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn slaves_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn check_processed(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn reset_processed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Multiple` and `SYNC` are never constructed [INFO] [stdout] --> src/resp.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Multiple(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | SYNC(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: methods `read_bytes`, `read_file`, and `write_bytes` are never used [INFO] [stdout] --> src/resp.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 77 | impl RespHandler { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn read_bytes(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn read_file(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn write_bytes(&mut self, bytes: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `master_host`, `master_port`, `master_repl_offset`, and `processed` are never read [INFO] [stdout] --> src/redis.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Redis { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub master_host: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | pub master_port: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | master_repl_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub processed: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `slaves_count`, `check_processed`, and `reset_processed` are never used [INFO] [stdout] --> src/redis.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Redis { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn slaves_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn check_processed(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn reset_processed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Multiple` and `SYNC` are never constructed [INFO] [stdout] --> src/resp.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Multiple(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | SYNC(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: methods `read_bytes`, `read_file`, and `write_bytes` are never used [INFO] [stdout] --> src/resp.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 77 | impl RespHandler { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn read_bytes(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn read_file(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn write_bytes(&mut self, bytes: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.16s [INFO] running `Command { std: "docker" "inspect" "d14ea1f314bb855f40e16fad2077d7590b11fea7473679c3c6e6f49c097c9cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d14ea1f314bb855f40e16fad2077d7590b11fea7473679c3c6e6f49c097c9cd0", kill_on_drop: false }` [INFO] [stdout] d14ea1f314bb855f40e16fad2077d7590b11fea7473679c3c6e6f49c097c9cd0 [INFO] checking CharlieLoong/codecrafters-redis-rust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlieLoong%2Fcodecrafters-redis-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CharlieLoong/codecrafters-redis-rust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CharlieLoong/codecrafters-redis-rust [INFO] finished tweaking git repo https://github.com/CharlieLoong/codecrafters-redis-rust [INFO] tweaked toml for git repo https://github.com/CharlieLoong/codecrafters-redis-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CharlieLoong/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ff4442afeb3eca33a2367af22b9c2bc1d589081d5e1050492871fb6364700e1 [INFO] running `Command { std: "docker" "start" "-a" "2ff4442afeb3eca33a2367af22b9c2bc1d589081d5e1050492871fb6364700e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ff4442afeb3eca33a2367af22b9c2bc1d589081d5e1050492871fb6364700e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ff4442afeb3eca33a2367af22b9c2bc1d589081d5e1050492871fb6364700e1", kill_on_drop: false }` [INFO] [stdout] 2ff4442afeb3eca33a2367af22b9c2bc1d589081d5e1050492871fb6364700e1 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eb361e474a0bc1757cab10d9855a3d9b9e62d0f8905bc699ac67c62ab393009 [INFO] running `Command { std: "docker" "start" "-a" "4eb361e474a0bc1757cab10d9855a3d9b9e62d0f8905bc699ac67c62ab393009", kill_on_drop: false }` [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/redis.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::sleep` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | time::sleep, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/redis.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::sleep` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | time::sleep, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/resp.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/resp.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 35 | Value::SimpleString(s) => format!("+{}\r\n", s).as_bytes().into(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 36 | Value::BulkString(s) => match s.len() { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 42 | Value::Array(a) => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Value::File(f) => [format!("${}\r\n", f.len()).as_bytes(), f].concat()[..].into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 64 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/resp.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/resp.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 35 | Value::SimpleString(s) => format!("+{}\r\n", s).as_bytes().into(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 36 | Value::BulkString(s) => match s.len() { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 42 | Value::Array(a) => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Value::File(f) => [format!("${}\r\n", f.len()).as_bytes(), f].concat()[..].into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 64 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `master_host`, `master_port`, `master_repl_offset`, and `processed` are never read [INFO] [stdout] --> src/redis.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Redis { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub master_host: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | pub master_port: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | master_repl_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub processed: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `slaves_count`, `check_processed`, and `reset_processed` are never used [INFO] [stdout] --> src/redis.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Redis { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn slaves_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn check_processed(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn reset_processed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `master_host`, `master_port`, `master_repl_offset`, and `processed` are never read [INFO] [stdout] --> src/redis.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Redis { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub master_host: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | pub master_port: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | master_repl_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub processed: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `slaves_count`, `check_processed`, and `reset_processed` are never used [INFO] [stdout] --> src/redis.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Redis { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn slaves_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn check_processed(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn reset_processed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Multiple` and `SYNC` are never constructed [INFO] [stdout] --> src/resp.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Multiple(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | SYNC(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: variants `Multiple` and `SYNC` are never constructed [INFO] [stdout] --> src/resp.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Multiple(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | SYNC(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: methods `read_bytes`, `read_file`, and `write_bytes` are never used [INFO] [stdout] --> src/resp.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 77 | impl RespHandler { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn read_bytes(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn read_file(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn write_bytes(&mut self, bytes: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_bytes`, `read_file`, and `write_bytes` are never used [INFO] [stdout] --> src/resp.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 77 | impl RespHandler { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn read_bytes(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn read_file(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn write_bytes(&mut self, bytes: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:156:78 [INFO] [stdout] | [INFO] [stdout] 119 | if let Ok(master_stream) = TcpStream::connect(SocketAddrV4::new( [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let redis_clone = Arc::clone(&redis); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let state_clone = Arc::clone(&shared_state); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | handle_stream(master_stream, redis_clone, state_clone, true).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:156:78 [INFO] [stdout] | [INFO] [stdout] 119 | if let Ok(master_stream) = TcpStream::connect(SocketAddrV4::new( [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let redis_clone = Arc::clone(&redis); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let state_clone = Arc::clone(&shared_state); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | handle_stream(master_stream, redis_clone, state_clone, true).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:179:77 [INFO] [stdout] | [INFO] [stdout] 168 | Ok((mut _stream, _addr)) => { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | let redis_clone = Arc::clone(&redis); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | let state_clone = Arc::clone(&shared_state); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | handle_stream(_stream, redis_clone, state_clone, false).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:179:77 [INFO] [stdout] | [INFO] [stdout] 168 | Ok((mut _stream, _addr)) => { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | let redis_clone = Arc::clone(&redis); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | let state_clone = Arc::clone(&shared_state); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | handle_stream(_stream, redis_clone, state_clone, false).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resp.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(stream: TcpStream) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | buffer: BytesMut::with_capacity(512), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resp.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(stream: TcpStream) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | buffer: BytesMut::with_capacity(512), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resp.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn _parse_file(buffer: BytesMut) -> Result<(BytesMut, usize)> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 275 | return Err(anyhow!("Invalid file format".to_string())); [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 279 | | buffer[bytes_consumed..bytes_consumed + file_len as usize].into(), [INFO] [stdout] 280 | | file_len as usize, [INFO] [stdout] 281 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resp.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn _parse_file(buffer: BytesMut) -> Result<(BytesMut, usize)> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 275 | return Err(anyhow!("Invalid file format".to_string())); [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 279 | | buffer[bytes_consumed..bytes_consumed + file_len as usize].into(), [INFO] [stdout] 280 | | file_len as usize, [INFO] [stdout] 281 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-starter-rust` (bin "redis-starter-rust" test) due to 5 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `redis-starter-rust` (bin "redis-starter-rust") due to 5 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4eb361e474a0bc1757cab10d9855a3d9b9e62d0f8905bc699ac67c62ab393009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eb361e474a0bc1757cab10d9855a3d9b9e62d0f8905bc699ac67c62ab393009", kill_on_drop: false }` [INFO] [stdout] 4eb361e474a0bc1757cab10d9855a3d9b9e62d0f8905bc699ac67c62ab393009