[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmedaminkhaled%2Fmini-redis-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ahmedaminkhaled/mini-redis-rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atoi v0.3.3 [INFO] [stderr] Downloaded mini-redis v0.4.1 [INFO] [stderr] Downloaded tracing-subscriber v0.2.25 [INFO] [stderr] Downloaded hash v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e48f8bea29d770ba96616b91d52aabf12efec265c7d378174da6abb55e81ea1 [INFO] running `Command { std: "docker" "start" "-a" "1e48f8bea29d770ba96616b91d52aabf12efec265c7d378174da6abb55e81ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e48f8bea29d770ba96616b91d52aabf12efec265c7d378174da6abb55e81ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e48f8bea29d770ba96616b91d52aabf12efec265c7d378174da6abb55e81ea1", kill_on_drop: false }` [INFO] [stdout] 1e48f8bea29d770ba96616b91d52aabf12efec265c7d378174da6abb55e81ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 392b2e7b7d377c8d5f3f2b57a16756abe06824f8970f72857bf8425394dc91c0 [INFO] running `Command { std: "docker" "start" "-a" "392b2e7b7d377c8d5f3f2b57a16756abe06824f8970f72857bf8425394dc91c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling syn v1.0.109 [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 regex-automata v0.4.9 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling hash v0.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling regex v1.11.1 [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 structopt-derive v0.4.18 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling structopt v0.3.26 [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 28.43s [INFO] running `Command { std: "docker" "inspect" "392b2e7b7d377c8d5f3f2b57a16756abe06824f8970f72857bf8425394dc91c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392b2e7b7d377c8d5f3f2b57a16756abe06824f8970f72857bf8425394dc91c0", kill_on_drop: false }` [INFO] [stdout] 392b2e7b7d377c8d5f3f2b57a16756abe06824f8970f72857bf8425394dc91c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0174f15a3a977593f99da52eba0e8eaad1bd7301967f2edf0de2cb963b45d148 [INFO] running `Command { std: "docker" "start" "-a" "0174f15a3a977593f99da52eba0e8eaad1bd7301967f2edf0de2cb963b45d148", 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.00s [INFO] running `Command { std: "docker" "inspect" "0174f15a3a977593f99da52eba0e8eaad1bd7301967f2edf0de2cb963b45d148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0174f15a3a977593f99da52eba0e8eaad1bd7301967f2edf0de2cb963b45d148", kill_on_drop: false }` [INFO] [stdout] 0174f15a3a977593f99da52eba0e8eaad1bd7301967f2edf0de2cb963b45d148