[INFO] cloning repository https://github.com/seasona/tiny-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seasona/tiny-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseasona%2Ftiny-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseasona%2Ftiny-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08c34a55a1d4f341db0b7fccd88249016690a604 [INFO] checking seasona/tiny-redis against try#a611f2a14e38407ec6717a86a01424ee6fc80762 for pr-154992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseasona%2Ftiny-redis" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/seasona/tiny-redis [INFO] finished tweaking git repo https://github.com/seasona/tiny-redis [INFO] tweaked toml for git repo https://github.com/seasona/tiny-redis written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/seasona/tiny-redis on toolchain a611f2a14e38407ec6717a86a01424ee6fc80762 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/seasona/tiny-redis already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_filter v0.1.3 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f0d9054744e3a8637030b0616965f125312a0cde0f105a39368c8c76aaa868d [INFO] running `Command { std: "docker" "start" "-a" "5f0d9054744e3a8637030b0616965f125312a0cde0f105a39368c8c76aaa868d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f0d9054744e3a8637030b0616965f125312a0cde0f105a39368c8c76aaa868d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f0d9054744e3a8637030b0616965f125312a0cde0f105a39368c8c76aaa868d", kill_on_drop: false }` [INFO] [stdout] 5f0d9054744e3a8637030b0616965f125312a0cde0f105a39368c8c76aaa868d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e0174d72f62f5a51b8f06c397dd6fc66d33ffcc2e7d60d0a8da25d274dcee81 [INFO] running `Command { std: "docker" "start" "-a" "3e0174d72f62f5a51b8f06c397dd6fc66d33ffcc2e7d60d0a8da25d274dcee81", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking clap_builder v4.5.43 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking clap v4.5.43 [INFO] [stderr] Checking tiny-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/connection.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/connection.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/client.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::connection::{self, Connection}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/cmd/ping.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError::EndOfStream` [INFO] [stdout] --> src/cmd/set.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use ParseError::EndOfStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/client.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::connection::{self, Connection}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/cmd/ping.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/cmd/get.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Parse, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError::EndOfStream` [INFO] [stdout] --> src/cmd/set.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use ParseError::EndOfStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/cmd/get.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Parse, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/cmd/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Unknown(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `key` and `value` are never used [INFO] [stdout] --> src/cmd/set.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Set { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn key(&self) -> &str { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn value(&self) -> &Bytes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `key` is never used [INFO] [stdout] --> src/cmd/get.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Get { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn key(&self) -> &str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/cmd/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Unknown(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `key` and `value` are never used [INFO] [stdout] --> src/cmd/set.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Set { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn key(&self) -> &str { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn value(&self) -> &Bytes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `key` is never used [INFO] [stdout] --> src/cmd/get.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Get { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn key(&self) -> &str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/cli.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | _ => 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/bin/cli.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 58 | Command::Ping { msg } => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | Command::Set { key, value } => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 67 | Command::Get { key } => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 78 | _ => unimplemented!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/cli.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | _ => 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/bin/cli.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 58 | Command::Ping { msg } => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | Command::Set { key, value } => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 67 | Command::Get { key } => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 78 | _ => unimplemented!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.27s [INFO] running `Command { std: "docker" "inspect" "3e0174d72f62f5a51b8f06c397dd6fc66d33ffcc2e7d60d0a8da25d274dcee81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0174d72f62f5a51b8f06c397dd6fc66d33ffcc2e7d60d0a8da25d274dcee81", kill_on_drop: false }` [INFO] [stdout] 3e0174d72f62f5a51b8f06c397dd6fc66d33ffcc2e7d60d0a8da25d274dcee81