[INFO] cloning repository https://github.com/ahmedaminkhaled/mini-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/ahmedaminkhaled/mini-redis-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmedaminkhaled%2Fmini-redis-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmedaminkhaled%2Fmini-redis-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 25802b7517889f4142f84b7fa0fcb5f286fc25d8
[INFO] testing ahmedaminkhaled/mini-redis-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmedaminkhaled%2Fmini-redis-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ahmedaminkhaled/mini-redis-rust
[INFO] finished tweaking git repo https://github.com/ahmedaminkhaled/mini-redis-rust
[INFO] tweaked toml for git repo https://github.com/ahmedaminkhaled/mini-redis-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ahmedaminkhaled/mini-redis-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ahmedaminkhaled/mini-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded slab v0.4.11
[INFO] [stderr] Downloaded tracing-serde v0.1.3
[INFO] [stderr] Downloaded hash v0.3.0
[INFO] [stderr] Downloaded atoi v0.3.3
[INFO] [stderr] Downloaded socket2 v0.6.0
[INFO] [stderr] Downloaded structopt-derive v0.4.18
[INFO] [stderr] Downloaded mini-redis v0.4.1
[INFO] [stderr] Downloaded structopt v0.3.26
[INFO] [stderr] Downloaded bitflags v2.9.2
[INFO] [stderr] Downloaded cc v1.2.33
[INFO] [stderr] Downloaded tracing-subscriber v0.2.25
[INFO] [stderr] Downloaded tokio v1.47.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6fec321e94d13d93fec90c4f1100c56c8001940f25036e70bedf62a14e307259
[INFO] running `Command { std: "docker" "start" "-a" "6fec321e94d13d93fec90c4f1100c56c8001940f25036e70bedf62a14e307259", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6fec321e94d13d93fec90c4f1100c56c8001940f25036e70bedf62a14e307259", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fec321e94d13d93fec90c4f1100c56c8001940f25036e70bedf62a14e307259", kill_on_drop: false }`
[INFO] [stdout] 6fec321e94d13d93fec90c4f1100c56c8001940f25036e70bedf62a14e307259
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98785c772cdf0b06d21ea50477887fdc5938fc1bdffff302d6626abd8b4b608d
[INFO] running `Command { std: "docker" "start" "-a" "98785c772cdf0b06d21ea50477887fdc5938fc1bdffff302d6626abd8b4b608d", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.175
[INFO] [stderr] Compiling autocfg v1.5.0
[INFO] [stderr] Compiling once_cell v1.21.3
[INFO] [stderr] Compiling cfg-if v1.0.3
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling smallvec v1.15.1
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling parking_lot_core v0.9.11
[INFO] [stderr] Compiling regex-syntax v0.8.5
[INFO] [stderr] Compiling regex-syntax v0.6.29
[INFO] [stderr] Compiling ansi_term v0.12.1
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Compiling unicode-width v0.1.14
[INFO] [stderr] Compiling serde_json v1.0.143
[INFO] [stderr] Compiling syn v2.0.106
[INFO] [stderr] Compiling unicode-segmentation v1.12.0
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling iana-time-zone v0.1.63
[INFO] [stderr] Compiling log v0.4.27
[INFO] [stderr] Compiling tracing-core v0.1.34
[INFO] [stderr] Compiling heck v0.3.3
[INFO] [stderr] Compiling memchr v2.7.5
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling lock_api v0.4.13
[INFO] [stderr] Compiling textwrap v0.11.0
[INFO] [stderr] Compiling strsim v0.8.0
[INFO] [stderr] Compiling vec_map v0.8.2
[INFO] [stderr] Compiling sharded-slab v0.1.7
[INFO] [stderr] Compiling thread_local v1.1.9
[INFO] [stderr] Compiling hash v0.3.0
[INFO] [stderr] Compiling tracing-log v0.1.4
[INFO] [stderr] Compiling chrono v0.4.41
[INFO] [stderr] Compiling atoi v0.3.3
[INFO] [stderr] Compiling signal-hook-registry v1.4.6
[INFO] [stderr] Compiling mio v1.0.4
[INFO] [stderr] Compiling socket2 v0.6.0
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling clap v2.34.0
[INFO] [stderr] Compiling regex-automata v0.4.9
[INFO] [stderr] Compiling parking_lot v0.12.4
[INFO] [stderr] Compiling regex-automata v0.1.10
[INFO] [stderr] Compiling tracing-serde v0.1.3
[INFO] [stderr] Compiling matchers v0.0.1
[INFO] [stderr] Compiling structopt-derive v0.4.18
[INFO] [stderr] Compiling tracing-attributes v0.1.30
[INFO] [stderr] Compiling tokio-macros v2.5.0
[INFO] [stderr] Compiling pin-project-internal v1.1.10
[INFO] [stderr] Compiling async-stream-impl v0.3.6
[INFO] [stderr] Compiling regex v1.11.1
[INFO] [stderr] Compiling async-stream v0.3.6
[INFO] [stderr] Compiling structopt v0.3.26
[INFO] [stderr] Compiling pin-project v1.1.10
[INFO] [stderr] Compiling tokio v1.47.1
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling tracing-subscriber v0.2.25
[INFO] [stderr] Compiling tracing-futures v0.2.5
[INFO] [stderr] Compiling tokio-stream v0.1.17
[INFO] [stderr] Compiling mini-redis v0.4.1
[INFO] [stderr] Compiling mini_redis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `frame`
[INFO] [stdout] --> src/main.rs:6:18
[INFO] [stdout] |
[INFO] [stdout] 6 | use mini_redis::{frame, Connection, Frame};
[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: `Bytes`
[INFO] [stdout] --> src/connection.rs:1:13
[INFO] [stdout] |
[INFO] [stdout] 1 | use bytes::{Bytes, BytesMut,Buf};
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `TcpListener`
[INFO] [stdout] --> src/connection.rs:3:18
[INFO] [stdout] |
[INFO] [stdout] 3 | use tokio::net::{TcpListener,TcpStream};
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Connection` is never constructed
[INFO] [stdout] --> src/connection.rs:10:12
[INFO] [stdout] |
[INFO] [stdout] 10 | pub struct Connection{
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new`, `read_frame`, `parse_frame`, `write_frame`, and `write_decimal` are never used
[INFO] [stdout] --> src/connection.rs:15:13
[INFO] [stdout] |
[INFO] [stdout] 14 | impl Connection{
[INFO] [stdout] | --------------- associated items in this implementation
[INFO] [stdout] 15 | pub fn new(stream:TcpStream)->Self{
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 | pub async fn read_frame(&mut self)->Result