[INFO] cloning repository https://github.com/brianobot/learning-tokio-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brianobot/learning-tokio-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianobot%2Flearning-tokio-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianobot%2Flearning-tokio-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6ed27bf96f386dc7424cd5064ae5b7919d9589c0
[INFO] checking brianobot/learning-tokio-rs against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianobot%2Flearning-tokio-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/brianobot/learning-tokio-rs
[INFO] finished tweaking git repo https://github.com/brianobot/learning-tokio-rs
[INFO] tweaked toml for git repo https://github.com/brianobot/learning-tokio-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/brianobot/learning-tokio-rs on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/brianobot/learning-tokio-rs 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" "+011c518242557d21690f7936b5812318dc2fec47" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded atoi v0.3.3
[INFO] [stderr]   Downloaded mini-redis v0.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 503b5107e195aef4001d22a69b4d36d52c69a1937c2635add9c7d11c6f36df13
[INFO] running `Command { std: "docker" "start" "503b5107e195aef4001d22a69b4d36d52c69a1937c2635add9c7d11c6f36df13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "503b5107e195aef4001d22a69b4d36d52c69a1937c2635add9c7d11c6f36df13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "503b5107e195aef4001d22a69b4d36d52c69a1937c2635add9c7d11c6f36df13" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "503b5107e195aef4001d22a69b4d36d52c69a1937c2635add9c7d11c6f36df13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "503b5107e195aef4001d22a69b4d36d52c69a1937c2635add9c7d11c6f36df13" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking log v0.4.30
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking tracing-log v0.1.4
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking pin-project v1.1.13
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking atoi v0.3.3
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking mini-redis v0.4.1
[INFO] [stderr]     Checking learning-tokio v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `thread` and `time::Duration`
[INFO] [stdout]  --> src/bin/server.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, panic, thread, time::Duration};
[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 imports: `TcpListener` and `time::Sleep`
[INFO] [stdout]   --> src/bin/server.rs:7:11
[INFO] [stdout]    |
[INFO] [stdout]  7 |     net::{TcpListener, TcpStream},
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     time::Sleep,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time::Duration`
[INFO] [stdout]  --> src/bin/server.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, panic, thread, time::Duration};
[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 imports: `TcpListener` and `time::Sleep`
[INFO] [stdout]   --> src/bin/server.rs:7:11
[INFO] [stdout]    |
[INFO] [stdout]  7 |     net::{TcpListener, TcpStream},
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     time::Sleep,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: async block may outlive the current function, but it borrows `client`, which is owned by the current function
[INFO] [stdout]   --> src/bin/client.rs:9:27
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let t1 = tokio::spawn(async {
[INFO] [stdout]    |                           ^^^^^ may outlive borrowed value `client`
[INFO] [stdout] 10 |        let res = client.get("foo").await; 
[INFO] [stdout]    |                  ------ `client` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout]    = note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
[INFO] [stdout] help: to force the async block to take ownership of `client` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let t1 = tokio::spawn(async move {
[INFO] [stdout]    |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `client` as mutable more than once at a time
[INFO] [stdout]    --> src/bin/client.rs:13:27
[INFO] [stdout]     |
[INFO] [stdout]   9 |       let t1 = tokio::spawn(async {
[INFO] [stdout]     |                -            ----- first mutable borrow occurs here
[INFO] [stdout]     |  ______________|
[INFO] [stdout]     | |
[INFO] [stdout]  10 | |        let res = client.get("foo").await; 
[INFO] [stdout]     | |                  ------ first borrow occurs due to use of `client` in coroutine
[INFO] [stdout]  11 | |     });
[INFO] [stdout]     | |______- argument requires that `client` is borrowed for `'static`
[INFO] [stdout]  12 |
[INFO] [stdout]  13 |       let t2 = tokio::spawn(async {
[INFO] [stdout]     |                             ^^^^^ second mutable borrow occurs here
[INFO] [stdout]  14 |           client.set("foo", "bar".into()).await;
[INFO] [stdout]     |           ------ second borrow occurs due to use of `client` in coroutine
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/task/spawn.rs:176:28
[INFO] [stdout]     |
[INFO] [stdout] 176 |         F: Future + Send + 'static,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/bin/client.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |        let res = client.get("foo").await; 
[INFO] [stdout]    |            ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learning-tokio` (bin "client") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0373]: async block may outlive the current function, but it borrows `client`, which is owned by the current function
[INFO] [stdout]   --> src/bin/client.rs:9:27
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let t1 = tokio::spawn(async {
[INFO] [stdout]    |                           ^^^^^ may outlive borrowed value `client`
[INFO] [stdout] 10 |        let res = client.get("foo").await; 
[INFO] [stdout]    |                  ------ `client` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout]    = note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
[INFO] [stdout] help: to force the async block to take ownership of `client` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let t1 = tokio::spawn(async move {
[INFO] [stdout]    |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `client` as mutable more than once at a time
[INFO] [stdout]    --> src/bin/client.rs:13:27
[INFO] [stdout]     |
[INFO] [stdout]   9 |       let t1 = tokio::spawn(async {
[INFO] [stdout]     |                -            ----- first mutable borrow occurs here
[INFO] [stdout]     |  ______________|
[INFO] [stdout]     | |
[INFO] [stdout]  10 | |        let res = client.get("foo").await; 
[INFO] [stdout]     | |                  ------ first borrow occurs due to use of `client` in coroutine
[INFO] [stdout]  11 | |     });
[INFO] [stdout]     | |______- argument requires that `client` is borrowed for `'static`
[INFO] [stdout]  12 |
[INFO] [stdout]  13 |       let t2 = tokio::spawn(async {
[INFO] [stdout]     |                             ^^^^^ second mutable borrow occurs here
[INFO] [stdout]  14 |           client.set("foo", "bar".into()).await;
[INFO] [stdout]     |           ------ second borrow occurs due to use of `client` in coroutine
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/task/spawn.rs:176:28
[INFO] [stdout]     |
[INFO] [stdout] 176 |         F: Future + Send + 'static,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/bin/client.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |        let res = client.get("foo").await; 
[INFO] [stdout]    |            ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learning-tokio` (bin "client" test) due to 2 previous errors; 1 warning emitted
[INFO] [stdout] error[E0271]: expected `{async block@metrics.rs:3:1}` to be a future that resolves to `()`, but it resolves to `RuntimeMetrics`
[INFO] [stdout]  --> src/bin/metrics.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[tokio::main]
[INFO] [stdout]   | ^^^^^^^^^^^^^^ expected `()`, found `RuntimeMetrics`
[INFO] [stdout]   |
[INFO] [stdout]   = note: required for the cast from `&{async block@src/bin/metrics.rs:3:1: 3:15}` to `&dyn Future<Output = ()>`
[INFO] [stdout]   = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/metrics.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | async fn main() {
[INFO] [stdout]    |                - expected `()` because of default return type
[INFO] [stdout] ...
[INFO] [stdout] 20 |     metrics
[INFO] [stdout]    |     ^^^^^^^ expected `()`, found `RuntimeMetrics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learning-tokio` (bin "metrics") due to 2 previous errors
[INFO] [stdout] warning: unused variable: `t1`
[INFO] [stdout]   --> src/bin/server.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let t1 = tokio::spawn(async move {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_t1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t2`
[INFO] [stdout]   --> src/bin/server.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let t2 = tokio::spawn(async move {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_t2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DB` is never used
[INFO] [stdout]   --> src/bin/server.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | type DB = Arc<Mutex<HashMap<String, Bytes>>>;
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_v1` is never used
[INFO] [stdout]   --> src/bin/server.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 | async fn process_v1(socket: TcpStream, db: DB) {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t1`
[INFO] [stdout]   --> src/bin/server.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let t1 = tokio::spawn(async move {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_t1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t2`
[INFO] [stdout]   --> src/bin/server.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let t2 = tokio::spawn(async move {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_t2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DB` is never used
[INFO] [stdout]   --> src/bin/server.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | type DB = Arc<Mutex<HashMap<String, Bytes>>>;
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_v1` is never used
[INFO] [stdout]   --> src/bin/server.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 | async fn process_v1(socket: TcpStream, db: DB) {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_decimal` found for mutable reference `&mut Connection` in the current scope
[INFO] [stdout]   --> src/bin/connection.rs:70:22
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 self.write_decimal(*val).await?;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ method not found in `&mut Connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> src/bin/connection.rs:70:36
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 self.write_decimal(*val).await?;
[INFO] [stdout]    |                                    ^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_decimal` found for mutable reference `&mut Connection` in the current scope
[INFO] [stdout]   --> src/bin/connection.rs:79:22
[INFO] [stdout]    |
[INFO] [stdout] 79 |                 self.write_decimal(len as u64).await?;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ method not found in `&mut Connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bin/connection.rs:80:39
[INFO] [stdout]     |
[INFO] [stdout]  80 |                 self.stream.write_all(val).await?;
[INFO] [stdout]     |                             --------- ^^^ expected `&[u8]`, found `Bytes`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/io/util/async_write_ext.rs:387:12
[INFO] [stdout]     |
[INFO] [stdout] 387 |         fn write_all<'a>(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout]  80 |                 self.stream.write_all(&val).await?;
[INFO] [stdout]     |                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learning-tokio` (bin "connection") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "503b5107e195aef4001d22a69b4d36d52c69a1937c2635add9c7d11c6f36df13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "503b5107e195aef4001d22a69b4d36d52c69a1937c2635add9c7d11c6f36df13", kill_on_drop: false }`
[INFO] [stdout] 503b5107e195aef4001d22a69b4d36d52c69a1937c2635add9c7d11c6f36df13
