[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] building ahmedaminkhaled/mini-redis-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmedaminkhaled%2Fmini-redis-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-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 windows-interface v0.59.1 [INFO] [stderr] Downloaded matchers v0.0.1 [INFO] [stderr] Downloaded ansi_term v0.12.1 [INFO] [stderr] Downloaded mini-redis v0.4.1 [INFO] [stderr] Downloaded hash v0.3.0 [INFO] [stderr] Downloaded strsim v0.8.0 [INFO] [stderr] Downloaded windows-core v0.61.2 [INFO] [stderr] Downloaded textwrap v0.11.0 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded tracing-subscriber v0.2.25 [INFO] [stderr] Downloaded iana-time-zone v0.1.63 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] [stderr] Downloaded atoi v0.3.3 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded windows-implement v0.60.0 [INFO] [stderr] Downloaded chrono v0.4.41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7028c690babdec4c4052ceff3dbffd2dda1fc1d79edd59b7d4218f995f9136b9 [INFO] running `Command { std: "docker" "start" "-a" "7028c690babdec4c4052ceff3dbffd2dda1fc1d79edd59b7d4218f995f9136b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7028c690babdec4c4052ceff3dbffd2dda1fc1d79edd59b7d4218f995f9136b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7028c690babdec4c4052ceff3dbffd2dda1fc1d79edd59b7d4218f995f9136b9", kill_on_drop: false }` [INFO] [stdout] 7028c690babdec4c4052ceff3dbffd2dda1fc1d79edd59b7d4218f995f9136b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7460fc2bede2fdac0287f63d07199fdc09d91acfcc1120576654601069bd79e [INFO] running `Command { std: "docker" "start" "-a" "a7460fc2bede2fdac0287f63d07199fdc09d91acfcc1120576654601069bd79e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [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 num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [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>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn parse_frame(&mut self)->Result>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn write_frame(&mut self,frame:&Frame)->io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | async fn write_decimal(&mut self, val: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.73s [INFO] running `Command { std: "docker" "inspect" "a7460fc2bede2fdac0287f63d07199fdc09d91acfcc1120576654601069bd79e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7460fc2bede2fdac0287f63d07199fdc09d91acfcc1120576654601069bd79e", kill_on_drop: false }` [INFO] [stdout] a7460fc2bede2fdac0287f63d07199fdc09d91acfcc1120576654601069bd79e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5eb962a8b4e60e981ba61cc0d9c33ad8cae5b40eb9bd00b986101a8aede0624 [INFO] running `Command { std: "docker" "start" "-a" "a5eb962a8b4e60e981ba61cc0d9c33ad8cae5b40eb9bd00b986101a8aede0624", kill_on_drop: false }` [INFO] [stderr] Compiling mini_redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/client-redis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 8 | / loop { [INFO] [stdout] 9 | | // set{value:key} [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | let mut input=String::new(); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 26 | //to make sure the return type is satisfied [INFO] [stdout] 27 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.17s [INFO] running `Command { std: "docker" "inspect" "a5eb962a8b4e60e981ba61cc0d9c33ad8cae5b40eb9bd00b986101a8aede0624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5eb962a8b4e60e981ba61cc0d9c33ad8cae5b40eb9bd00b986101a8aede0624", kill_on_drop: false }` [INFO] [stdout] a5eb962a8b4e60e981ba61cc0d9c33ad8cae5b40eb9bd00b986101a8aede0624