[INFO] cloning repository https://github.com/Gleiphir2769/my-redis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gleiphir2769/my-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGleiphir2769%2Fmy-redis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGleiphir2769%2Fmy-redis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7697768c12b9e9634b145c655ba8d54911d587dd
[INFO] checking Gleiphir2769/my-redis against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGleiphir2769%2Fmy-redis" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Gleiphir2769/my-redis
[INFO] finished tweaking git repo https://github.com/Gleiphir2769/my-redis
[INFO] tweaked toml for git repo https://github.com/Gleiphir2769/my-redis written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Gleiphir2769/my-redis on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Gleiphir2769/my-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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9cae8dfdd29df6b72f47e136028477ed0d151f8a3710d5627ca496cf66671e39
[INFO] running `Command { std: "docker" "start" "-a" "9cae8dfdd29df6b72f47e136028477ed0d151f8a3710d5627ca496cf66671e39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9cae8dfdd29df6b72f47e136028477ed0d151f8a3710d5627ca496cf66671e39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cae8dfdd29df6b72f47e136028477ed0d151f8a3710d5627ca496cf66671e39", kill_on_drop: false }`
[INFO] [stdout] 9cae8dfdd29df6b72f47e136028477ed0d151f8a3710d5627ca496cf66671e39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 08b4d05574054dc333099a1328e375f0696d2e578bb09edfdbdf34fafd89963b
[INFO] running `Command { std: "docker" "start" "-a" "08b4d05574054dc333099a1328e375f0696d2e578bb09edfdbdf34fafd89963b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.117
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking atoi v0.3.3
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]     Checking tokio v1.16.1
[INFO] [stderr]     Checking my-redis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `dict` should have an upper camel case name
[INFO] [stdout]  --> src/data_struct/dict.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait dict {
[INFO] [stdout]   |           ^^^^ help: convert the identifier to upper camel case: `Dict`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/tcp/server.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/tcp/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `dict` should have an upper camel case name
[INFO] [stdout]  --> src/data_struct/dict.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait dict {
[INFO] [stdout]   |           ^^^^ help: convert the identifier to upper camel case: `Dict`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/tcp/server.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/tcp/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]   --> src/redis/connect.rs:29:41
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn write_frame(&mut self, frame: &Frame) -> Result<()> {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/redis/connect.rs:87:26
[INFO] [stdout]    |
[INFO] [stdout] 87 |             Frame::Array(val) => {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]   --> src/redis/connect.rs:29:41
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn write_frame(&mut self, frame: &Frame) -> Result<()> {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/redis/connect.rs:87:26
[INFO] [stdout]    |
[INFO] [stdout] 87 |             Frame::Array(val) => {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `array` is never used
[INFO] [stdout]   --> src/redis/frame.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Frame {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 30 |     pub(crate) fn array() -> Frame {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Connection` is never constructed
[INFO] [stdout]  --> src/redis/connect.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Connection {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_frame`, `write_frame`, `new`, `parse_frame`, `write_value`, and `write_decimal` are never used
[INFO] [stdout]   --> src/redis/connect.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Connection {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 14 |     pub async fn read_frame(&mut self) -> Result<Option<Frame>> {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub async fn write_frame(&mut self, frame: &Frame) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn new(stream: TcpStream) -> Connection {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn parse_frame(&mut self) -> crate::Result<Option<Frame>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub async fn write_value(&mut self, frame: &Frame) -> io::Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub async fn write_decimal(&mut self, val: u64) -> io::Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `Put` should have a snake case name
[INFO] [stdout]  --> src/data_struct/dict.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn Put<T>(key: String, val: T) -> i32;
[INFO] [stdout]   |        ^^^ help: convert the identifier to snake case: `put`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `Get` should have a snake case name
[INFO] [stdout]  --> src/data_struct/dict.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn Get<T>(key: String) -> (T, bool);
[INFO] [stdout]   |        ^^^ help: convert the identifier to snake case: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]  --> src/bin/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use mini_redis::{client, blocking_client::Message};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 - use mini_redis::{client, blocking_client::Message};
[INFO] [stdout] 1 + use my_redis::{client, blocking_client::Message};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mini_redis`
[INFO] [stdout]  --> src/bin/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use mini_redis::{client, blocking_client::Message};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 - use mini_redis::{client, blocking_client::Message};
[INFO] [stdout] 1 + use my_redis::{client, blocking_client::Message};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mini_redis`
[INFO] [stdout]  --> examples/hello-redis.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use mini_redis::{client, Result};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 - use mini_redis::{client, Result};
[INFO] [stdout] 1 + use my_redis::{client, Result};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use my_redis::redis::frame::{self, Frame};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `array` is never used
[INFO] [stdout]   --> src/redis/frame.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Frame {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 30 |     pub(crate) fn array() -> Frame {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Connection` is never constructed
[INFO] [stdout]  --> src/redis/connect.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Connection {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_frame`, `write_frame`, `new`, `parse_frame`, `write_value`, and `write_decimal` are never used
[INFO] [stdout]   --> src/redis/connect.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Connection {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 14 |     pub async fn read_frame(&mut self) -> Result<Option<Frame>> {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub async fn write_frame(&mut self, frame: &Frame) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn new(stream: TcpStream) -> Connection {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn parse_frame(&mut self) -> crate::Result<Option<Frame>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub async fn write_value(&mut self, frame: &Frame) -> io::Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub async fn write_decimal(&mut self, val: u64) -> io::Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `Put` should have a snake case name
[INFO] [stdout]  --> src/data_struct/dict.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn Put<T>(key: String, val: T) -> i32;
[INFO] [stdout]   |        ^^^ help: convert the identifier to snake case: `put`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `Get` should have a snake case name
[INFO] [stdout]  --> src/data_struct/dict.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn Get<T>(key: String) -> (T, bool);
[INFO] [stdout]   |        ^^^ help: convert the identifier to snake case: `get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/bin/echo_server.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::net::{TcpStream, TcpListener};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-redis` (example "hello-redis") due to 1 previous error
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use my_redis::redis::frame::{self, Frame};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/bin/echo_server.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::net::{TcpStream, TcpListener};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Mutex` is defined multiple times
[INFO] [stdout]  --> src/bin/server.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::Mutex;
[INFO] [stdout]   |     ------------------ previous import of the type `Mutex` here
[INFO] [stdout] ...
[INFO] [stdout] 8 | use std::sync::{Mutex, MutexGuard};
[INFO] [stdout]   |                 ^^^^^ `Mutex` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Mutex` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::{Mutex as OtherMutex, MutexGuard};
[INFO] [stdout]   |                       +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]  --> src/bin/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use mini_redis::{client, blocking_client::Message};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 - use mini_redis::{client, blocking_client::Message};
[INFO] [stdout] 1 + use my_redis::{client, blocking_client::Message};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mini_redis`
[INFO] [stdout]  --> src/bin/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use mini_redis::{client, blocking_client::Message};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 - use mini_redis::{client, blocking_client::Message};
[INFO] [stdout] 1 + use my_redis::{client, blocking_client::Message};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mini_redis`
[INFO] [stdout]  --> src/bin/server.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mini_redis::{Connection, Frame};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use mini_redis::{Connection, Frame};
[INFO] [stdout] 3 + use my_redis::{Connection, Frame};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]  --> src/bin/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mini_redis::Command::{self, Get, Set};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 - use mini_redis::Command::{self, Get, Set};
[INFO] [stdout] 4 + use my_redis::Command::{self, Get, Set};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mini_redis`
[INFO] [stdout]  --> src/bin/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mini_redis::Command::{self, Get, Set};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 - use mini_redis::Command::{self, Get, Set};
[INFO] [stdout] 4 + use my_redis::Command::{self, Get, Set};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MutexGuard` and `Mutex`
[INFO] [stdout]  --> src/bin/server.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::{Mutex, MutexGuard};
[INFO] [stdout]   |                 ^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Mutex` is defined multiple times
[INFO] [stdout]  --> src/bin/server.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::Mutex;
[INFO] [stdout]   |     ------------------ previous import of the type `Mutex` here
[INFO] [stdout] ...
[INFO] [stdout] 8 | use std::sync::{Mutex, MutexGuard};
[INFO] [stdout]   |                 ^^^^^ `Mutex` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Mutex` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::{Mutex as OtherMutex, MutexGuard};
[INFO] [stdout]   |                       +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mini_redis`
[INFO] [stdout]  --> src/bin/server.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mini_redis::{Connection, Frame};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use mini_redis::{Connection, Frame};
[INFO] [stdout] 3 + use my_redis::{Connection, Frame};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]  --> src/bin/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mini_redis::Command::{self, Get, Set};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 - use mini_redis::Command::{self, Get, Set};
[INFO] [stdout] 4 + use my_redis::Command::{self, Get, Set};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mini_redis`
[INFO] [stdout]  --> src/bin/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mini_redis::Command::{self, Get, Set};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 - use mini_redis::Command::{self, Get, Set};
[INFO] [stdout] 4 + use my_redis::Command::{self, Get, Set};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MutexGuard` and `Mutex`
[INFO] [stdout]  --> src/bin/server.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::{Mutex, MutexGuard};
[INFO] [stdout]   |                 ^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   --> src/bin/client.rs:18:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | type Responder<T> = oneshot::Sender<mini_redis::Result<T>>;
[INFO] [stdout]    |                                     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 - type Responder<T> = oneshot::Sender<mini_redis::Result<T>>;
[INFO] [stdout] 18 + type Responder<T> = oneshot::Sender<my_redis::Result<T>>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-redis` (bin "client") due to 3 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]   --> src/bin/client.rs:18:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | type Responder<T> = oneshot::Sender<mini_redis::Result<T>>;
[INFO] [stdout]    |                                     ^^^^^^^^^^ use of unresolved module or unlinked crate `mini_redis`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 - type Responder<T> = oneshot::Sender<mini_redis::Result<T>>;
[INFO] [stdout] 18 + type Responder<T> = oneshot::Sender<my_redis::Result<T>>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future<Output = tokio::sync::MutexGuard<'_, HashMap<String, Vec<u8>>>>` in the current scope
[INFO] [stdout]   --> src/bin/server.rs:30:78
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut shard = self.db[calculate_hash(&key) % self.db.len()].lock().unwrap();
[INFO] [stdout]    |                                                                              ^^^^^^ method not found in `impl Future<Output = tokio::sync::MutexGuard<'_, HashMap<String, Vec<u8>>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future<Output = tokio::sync::MutexGuard<'_, HashMap<String, Vec<u8>>>>` in the current scope
[INFO] [stdout]   --> src/bin/server.rs:30:78
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut shard = self.db[calculate_hash(&key) % self.db.len()].lock().unwrap();
[INFO] [stdout]    |                                                                              ^^^^^^ method not found in `impl Future<Output = tokio::sync::MutexGuard<'_, HashMap<String, Vec<u8>>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future<Output = tokio::sync::MutexGuard<'_, HashMap<String, Vec<u8>>>>` in the current scope
[INFO] [stdout]   --> src/bin/server.rs:35:74
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let shard = self.db[calculate_hash(&key) % self.db.len()].lock().unwrap();
[INFO] [stdout]    |                                                                          ^^^^^^ method not found in `impl Future<Output = tokio::sync::MutexGuard<'_, HashMap<String, Vec<u8>>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future<Output = tokio::sync::MutexGuard<'_, HashMap<String, Vec<u8>>>>` in the current scope
[INFO] [stdout]   --> src/bin/server.rs:35:74
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let shard = self.db[calculate_hash(&key) % self.db.len()].lock().unwrap();
[INFO] [stdout]    |                                                                          ^^^^^^ method not found in `impl Future<Output = tokio::sync::MutexGuard<'_, HashMap<String, Vec<u8>>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-redis` (bin "client" test) due to 3 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0252, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-redis` (bin "server") due to 6 previous errors; 1 warning emitted
[INFO] [stdout] Some errors have detailed explanations: E0252, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-redis` (bin "server" test) due to 6 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "08b4d05574054dc333099a1328e375f0696d2e578bb09edfdbdf34fafd89963b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08b4d05574054dc333099a1328e375f0696d2e578bb09edfdbdf34fafd89963b", kill_on_drop: false }`
[INFO] [stdout] 08b4d05574054dc333099a1328e375f0696d2e578bb09edfdbdf34fafd89963b
