[INFO] cloning repository https://github.com/krishna4040/BYO-redis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krishna4040/BYO-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishna4040%2FBYO-redis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishna4040%2FBYO-redis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c6d4488c679a977a0a30b3213d54a7453229c689
[INFO] checking krishna4040/BYO-redis against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishna4040%2FBYO-redis" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/krishna4040/BYO-redis
[INFO] finished tweaking git repo https://github.com/krishna4040/BYO-redis
[INFO] tweaked toml for git repo https://github.com/krishna4040/BYO-redis written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/krishna4040/BYO-redis on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/krishna4040/BYO-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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 307c3336dfcd71d6f865b7fa7f4be61d9e0af8e91900dc6cbb634eb04a258f35
[INFO] running `Command { std: "docker" "start" "-a" "307c3336dfcd71d6f865b7fa7f4be61d9e0af8e91900dc6cbb634eb04a258f35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "307c3336dfcd71d6f865b7fa7f4be61d9e0af8e91900dc6cbb634eb04a258f35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "307c3336dfcd71d6f865b7fa7f4be61d9e0af8e91900dc6cbb634eb04a258f35", kill_on_drop: false }`
[INFO] [stdout] 307c3336dfcd71d6f865b7fa7f4be61d9e0af8e91900dc6cbb634eb04a258f35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c900588d347ee4ba84d2f4e7a926707bc242aef7a2efbcd49c73d71787c0ec13
[INFO] running `Command { std: "docker" "start" "-a" "c900588d347ee4ba84d2f4e7a926707bc242aef7a2efbcd49c73d71787c0ec13", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking clap_builder v4.5.40
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.40
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking tokio v1.45.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking clap v4.5.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking redis v0.23.3
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking redis-server-rust v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Connection`
[INFO] [stdout]  --> examples/basic_usage.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use redis::{Commands, Connection};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_to_file` is never used
[INFO] [stdout]   --> src/config.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn save_to_file(&self, path: &PathBuf) -> Result<()> {
[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 `as_integer` and `as_array` are never used
[INFO] [stdout]   --> src/protocol.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl RespValue {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn as_integer(&self) -> Option<i64> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn as_array(&self) -> Option<&Vec<RespValue>> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `aof_writer` is never read
[INFO] [stdout]   --> src/persistence.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct PersistenceManager {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 |     aof_writer: Option<BufWriter<File>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `append_to_aof` is never used
[INFO] [stdout]    --> src/persistence.rs:257:18
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl PersistenceManager {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub async fn append_to_aof(&mut self, command: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `KeyNotFound`, `OutOfMemory`, and `Internal` are never constructed
[INFO] [stdout]   --> src/error.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum RedisError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |     KeyNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     OutOfMemory,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     Internal(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RedisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protocol.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let mut buf = BytesMut::from("+OK\r\n");
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protocol.rs:276:13
[INFO] [stdout]     |
[INFO] [stdout] 276 |         let mut buf = BytesMut::from("$5\r\nhello\r\n");
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protocol.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let mut buf = BytesMut::from("*2\r\n$3\r\nfoo\r\n$3\r\nbar\r\n");
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `consumed`
[INFO] [stdout]    --> src/protocol.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let (value, consumed) = parse_resp_value(&buf).unwrap();
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_consumed`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_to_file` is never used
[INFO] [stdout]   --> src/config.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn save_to_file(&self, path: &PathBuf) -> Result<()> {
[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 `as_integer` and `as_array` are never used
[INFO] [stdout]   --> src/protocol.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl RespValue {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn as_integer(&self) -> Option<i64> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn as_array(&self) -> Option<&Vec<RespValue>> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `aof_writer` is never read
[INFO] [stdout]   --> src/persistence.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct PersistenceManager {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 |     aof_writer: Option<BufWriter<File>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `append_to_aof` is never used
[INFO] [stdout]    --> src/persistence.rs:257:18
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl PersistenceManager {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub async fn append_to_aof(&mut self, command: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `KeyNotFound`, `OutOfMemory`, and `Internal` are never constructed
[INFO] [stdout]   --> src/error.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum RedisError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |     KeyNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     OutOfMemory,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     Internal(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RedisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.36s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.23.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "c900588d347ee4ba84d2f4e7a926707bc242aef7a2efbcd49c73d71787c0ec13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c900588d347ee4ba84d2f4e7a926707bc242aef7a2efbcd49c73d71787c0ec13", kill_on_drop: false }`
[INFO] [stdout] c900588d347ee4ba84d2f4e7a926707bc242aef7a2efbcd49c73d71787c0ec13
