[INFO] cloning repository https://github.com/MichaelJHodge/tokio-tutorial
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MichaelJHodge/tokio-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelJHodge%2Ftokio-tutorial", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelJHodge%2Ftokio-tutorial'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 708696f564c0b550fd0428d5d44e187d2a59fbc2
[INFO] checking MichaelJHodge/tokio-tutorial/708696f564c0b550fd0428d5d44e187d2a59fbc2 against 1.94.0 for beta-1.95-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelJHodge%2Ftokio-tutorial" "/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/MichaelJHodge/tokio-tutorial
[INFO] finished tweaking git repo https://github.com/MichaelJHodge/tokio-tutorial
[INFO] tweaked toml for git repo https://github.com/MichaelJHodge/tokio-tutorial written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MichaelJHodge/tokio-tutorial on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MichaelJHodge/tokio-tutorial 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" "+1.94.0" "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 tokio v1.21.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6979d6cc007e4ae0001e91ed91f9d1994858432beea6dbf3ba2c9d9b08fa33c9
[INFO] running `Command { std: "docker" "start" "-a" "6979d6cc007e4ae0001e91ed91f9d1994858432beea6dbf3ba2c9d9b08fa33c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6979d6cc007e4ae0001e91ed91f9d1994858432beea6dbf3ba2c9d9b08fa33c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6979d6cc007e4ae0001e91ed91f9d1994858432beea6dbf3ba2c9d9b08fa33c9", kill_on_drop: false }`
[INFO] [stdout] 6979d6cc007e4ae0001e91ed91f9d1994858432beea6dbf3ba2c9d9b08fa33c9
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.94.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 913a33cd7ad8da3d38f767eb15262e003234cd8fdf90c806a67921dedf9d90da
[INFO] running `Command { std: "docker" "start" "-a" "913a33cd7ad8da3d38f767eb15262e003234cd8fdf90c806a67921dedf9d90da", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]     Checking once_cell v1.14.0
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling tokio v1.21.0
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]     Checking iana-time-zone v0.1.47
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking tracing-log v0.1.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking atoi v0.3.3
[INFO] [stderr]     Checking chrono v0.4.22
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking tokio-stream v0.1.9
[INFO] [stderr]     Checking mini-redis v0.4.1
[INFO] [stderr]     Checking tokio-redis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0252]: the name `Frame` is defined multiple times
[INFO] [stdout]  --> src/bin/server.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mini_redis::{Connection, Frame};
[INFO] [stdout]   |                              ----- previous import of the type `Frame` here
[INFO] [stdout] 4 | use mini_redis::{Frame, Result};
[INFO] [stdout]   |                  ^^^^^--
[INFO] [stdout]   |                  |
[INFO] [stdout]   |                  `Frame` reimported here
[INFO] [stdout]   |                  help: remove unnecessary import
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Frame` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `mpsc` is defined multiple times
[INFO] [stdout]  --> src/bin/server.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::{mpsc, Arc, Mutex};
[INFO] [stdout]   |                 ---- previous import of the module `mpsc` here
[INFO] [stdout] ...
[INFO] [stdout] 9 | use tokio::sync::{mpsc, oneshot};
[INFO] [stdout]   |                   ^^^^ `mpsc` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `mpsc` 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] 9 | use tokio::sync::{mpsc as other_mpsc, oneshot};
[INFO] [stdout]   |                        +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Frame` is defined multiple times
[INFO] [stdout]  --> src/bin/server.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mini_redis::{Connection, Frame};
[INFO] [stdout]   |                              ----- previous import of the type `Frame` here
[INFO] [stdout] 4 | use mini_redis::{Frame, Result};
[INFO] [stdout]   |                  ^^^^^--
[INFO] [stdout]   |                  |
[INFO] [stdout]   |                  `Frame` reimported here
[INFO] [stdout]   |                  help: remove unnecessary import
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Frame` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `mpsc` is defined multiple times
[INFO] [stdout]  --> src/bin/server.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::{mpsc, Arc, Mutex};
[INFO] [stdout]   |                 ---- previous import of the module `mpsc` here
[INFO] [stdout] ...
[INFO] [stdout] 9 | use tokio::sync::{mpsc, oneshot};
[INFO] [stdout]   |                   ^^^^ `mpsc` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `mpsc` 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] 9 | use tokio::sync::{mpsc as other_mpsc, oneshot};
[INFO] [stdout]   |                        +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Frame` and `Result`
[INFO] [stdout]  --> src/bin/server.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mini_redis::{Frame, Result};
[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: `TcpListener`
[INFO] [stdout]  --> src/bin/server.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mpsc`
[INFO] [stdout]  --> src/bin/server.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::{mpsc, oneshot};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `db` should have an upper camel case name
[INFO] [stdout]   --> src/bin/server.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | type db = Arc<Mutex<HashMap<String, Bytes>>>;
[INFO] [stdout]    |      ^^ help: convert the identifier to upper camel case: `Db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> src/bin/server.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use std::collections::HashMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Frame` and `Result`
[INFO] [stdout]  --> src/bin/server.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mini_redis::{Frame, Result};
[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: `TcpListener`
[INFO] [stdout]  --> src/bin/server.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mpsc`
[INFO] [stdout]  --> src/bin/server.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::{mpsc, oneshot};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `db` should have an upper camel case name
[INFO] [stdout]   --> src/bin/server.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | type db = Arc<Mutex<HashMap<String, Bytes>>>;
[INFO] [stdout]    |      ^^ help: convert the identifier to upper camel case: `Db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> src/bin/server.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use std::collections::HashMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/bin/server.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let (tx, mut rx) = mpsc::channel(32);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ -- unexpected argument of type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sync/mpsc.rs:519:7
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 34 -     let (tx, mut rx) = mpsc::channel(32);
[INFO] [stdout] 34 +     let (tx, mut rx) = mpsc::channel();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<_, std::sync::mpmc::RecvError>` is not a future
[INFO] [stdout]   --> src/bin/server.rs:42:41
[INFO] [stdout]    |
[INFO] [stdout] 42 |         while let Some(cmd) = rx.recv().await {
[INFO] [stdout]    |                                         ^^^^^ `Result<_, std::sync::mpmc::RecvError>` is not a future
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for `Result<_, std::sync::mpmc::RecvError>`
[INFO] [stdout]    = note: Result<_, std::sync::mpmc::RecvError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]    = note: required for `Result<_, std::sync::mpmc::RecvError>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 42 -         while let Some(cmd) = rx.recv().await {
[INFO] [stdout] 42 +         while let Some(cmd) = rx.recv() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<(), std::sync::mpmc::SendError<Command>>` is not a future
[INFO] [stdout]   --> src/bin/server.rs:68:25
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if tx.send(cmd).await.is_err() {
[INFO] [stdout]    |                         ^^^^^ `Result<(), std::sync::mpmc::SendError<Command>>` is not a future
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for `Result<(), std::sync::mpmc::SendError<Command>>`
[INFO] [stdout]    = note: Result<(), std::sync::mpmc::SendError<Command>> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]    = note: required for `Result<(), std::sync::mpmc::SendError<Command>>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 68 -         if tx.send(cmd).await.is_err() {
[INFO] [stdout] 68 +         if tx.send(cmd).is_err() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/bin/server.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if tx.send(cmd).await.is_err() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<(), std::sync::mpmc::SendError<Command>>` is not a future
[INFO] [stdout]   --> src/bin/server.rs:87:26
[INFO] [stdout]    |
[INFO] [stdout] 87 |         if tx2.send(cmd).await.is_err() {
[INFO] [stdout]    |                          ^^^^^ `Result<(), std::sync::mpmc::SendError<Command>>` is not a future
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for `Result<(), std::sync::mpmc::SendError<Command>>`
[INFO] [stdout]    = note: Result<(), std::sync::mpmc::SendError<Command>> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]    = note: required for `Result<(), std::sync::mpmc::SendError<Command>>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 87 -         if tx2.send(cmd).await.is_err() {
[INFO] [stdout] 87 +         if tx2.send(cmd).is_err() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/bin/server.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |         if tx2.send(cmd).await.is_err() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0252, E0277, E0282.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `client`
[INFO] [stdout]  --> src/bin/client.rs:1:2
[INFO] [stdout]   |
[INFO] [stdout] 1 |
[INFO] [stdout]   | ^ consider adding a `main` function to `src/bin/client.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio-redis` (bin "client") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `tokio-redis` (bin "server") due to 8 previous errors; 5 warnings emitted
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/bin/server.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let (tx, mut rx) = mpsc::channel(32);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ -- unexpected argument of type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sync/mpsc.rs:519:7
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 34 -     let (tx, mut rx) = mpsc::channel(32);
[INFO] [stdout] 34 +     let (tx, mut rx) = mpsc::channel();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<_, std::sync::mpmc::RecvError>` is not a future
[INFO] [stdout]   --> src/bin/server.rs:42:41
[INFO] [stdout]    |
[INFO] [stdout] 42 |         while let Some(cmd) = rx.recv().await {
[INFO] [stdout]    |                                         ^^^^^ `Result<_, std::sync::mpmc::RecvError>` is not a future
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for `Result<_, std::sync::mpmc::RecvError>`
[INFO] [stdout]    = note: Result<_, std::sync::mpmc::RecvError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]    = note: required for `Result<_, std::sync::mpmc::RecvError>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 42 -         while let Some(cmd) = rx.recv().await {
[INFO] [stdout] 42 +         while let Some(cmd) = rx.recv() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<(), std::sync::mpmc::SendError<Command>>` is not a future
[INFO] [stdout]   --> src/bin/server.rs:68:25
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if tx.send(cmd).await.is_err() {
[INFO] [stdout]    |                         ^^^^^ `Result<(), std::sync::mpmc::SendError<Command>>` is not a future
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for `Result<(), std::sync::mpmc::SendError<Command>>`
[INFO] [stdout]    = note: Result<(), std::sync::mpmc::SendError<Command>> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]    = note: required for `Result<(), std::sync::mpmc::SendError<Command>>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 68 -         if tx.send(cmd).await.is_err() {
[INFO] [stdout] 68 +         if tx.send(cmd).is_err() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/bin/server.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if tx.send(cmd).await.is_err() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<(), std::sync::mpmc::SendError<Command>>` is not a future
[INFO] [stdout]   --> src/bin/server.rs:87:26
[INFO] [stdout]    |
[INFO] [stdout] 87 |         if tx2.send(cmd).await.is_err() {
[INFO] [stdout]    |                          ^^^^^ `Result<(), std::sync::mpmc::SendError<Command>>` is not a future
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for `Result<(), std::sync::mpmc::SendError<Command>>`
[INFO] [stdout]    = note: Result<(), std::sync::mpmc::SendError<Command>> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]    = note: required for `Result<(), std::sync::mpmc::SendError<Command>>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 87 -         if tx2.send(cmd).await.is_err() {
[INFO] [stdout] 87 +         if tx2.send(cmd).is_err() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/bin/server.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |         if tx2.send(cmd).await.is_err() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0252, E0277, E0282.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio-redis` (bin "server" test) due to 8 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "913a33cd7ad8da3d38f767eb15262e003234cd8fdf90c806a67921dedf9d90da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "913a33cd7ad8da3d38f767eb15262e003234cd8fdf90c806a67921dedf9d90da", kill_on_drop: false }`
[INFO] [stdout] 913a33cd7ad8da3d38f767eb15262e003234cd8fdf90c806a67921dedf9d90da
