[INFO] cloning repository https://github.com/focusedride/rust_hello_tokio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/focusedride/rust_hello_tokio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffocusedride%2Frust_hello_tokio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffocusedride%2Frust_hello_tokio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a14a31ff195cb55cec1b8d4c512cfe445838932d [INFO] testing focusedride/rust_hello_tokio against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffocusedride%2Frust_hello_tokio" "/workspace/builds/worker-68/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-68/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/focusedride/rust_hello_tokio on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/focusedride/rust_hello_tokio [INFO] finished tweaking git repo https://github.com/focusedride/rust_hello_tokio [INFO] tweaked toml for git repo https://github.com/focusedride/rust_hello_tokio written to /workspace/builds/worker-68/source/Cargo.toml [INFO] crate git repo https://github.com/focusedride/rust_hello_tokio already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8f49ac0b346c49434c851377fed8b5860a70e1cbe3302f96d6344bbbb54fe60 [INFO] running `Command { std: "docker" "start" "-a" "a8f49ac0b346c49434c851377fed8b5860a70e1cbe3302f96d6344bbbb54fe60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8f49ac0b346c49434c851377fed8b5860a70e1cbe3302f96d6344bbbb54fe60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f49ac0b346c49434c851377fed8b5860a70e1cbe3302f96d6344bbbb54fe60", kill_on_drop: false }` [INFO] [stdout] a8f49ac0b346c49434c851377fed8b5860a70e1cbe3302f96d6344bbbb54fe60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2986f4b72b92b8c73f10903b74d6b97de3354fd34321d82b25a3d9ae763a4f7 [INFO] running `Command { std: "docker" "start" "-a" "d2986f4b72b92b8c73f10903b74d6b97de3354fd34321d82b25a3d9ae763a4f7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-subscriber v0.2.17 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling mini-redis v0.4.0 [INFO] [stderr] Compiling hello_tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/main.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | let mut buf = Cursor::new(&self.buffer[..]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_buf` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | if 0 == self.stream.read_buf(&mut self.buffer).await? { [INFO] [stdout] | ^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_read_ext.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | fn read_buf<'a, B>(&'a mut self, buf: &'a mut B) -> ReadBuf<'a, Self, B> [INFO] [stdout] | -------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncReadExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_u8` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | self.stream.write_u8(b'+').await?; [INFO] [stdout] | ^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | fn write_u8(&mut self, n: u8) -> WriteU8; [INFO] [stdout] | -------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | self.stream.write_all(val.as_bytes()).await?; [INFO] [stdout] | ^^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | fn write_all<'a>(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self> [INFO] [stdout] | --------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | self.stream.write_all(b"\r\n").await?; [INFO] [stdout] | ^^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | fn write_all<'a>(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self> [INFO] [stdout] | --------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_u8` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | self.stream.write_u8(b'-').await?; [INFO] [stdout] | ^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | fn write_u8(&mut self, n: u8) -> WriteU8; [INFO] [stdout] | -------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | self.stream.write_all(val.as_bytes()).await?; [INFO] [stdout] | ^^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | fn write_all<'a>(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self> [INFO] [stdout] | --------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | self.stream.write_all(b"\r\n").await?; [INFO] [stdout] | ^^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | fn write_all<'a>(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self> [INFO] [stdout] | --------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_u8` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | self.stream.write_u8(b':').await?; [INFO] [stdout] | ^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | fn write_u8(&mut self, n: u8) -> WriteU8; [INFO] [stdout] | -------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [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/main.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | self.write_decimal(*val).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | self.stream.write_all(b"$-1\r\n").await?; [INFO] [stdout] | ^^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | fn write_all<'a>(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self> [INFO] [stdout] | --------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_u8` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | self.stream.write_u8(b'$').await?; [INFO] [stdout] | ^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | fn write_u8(&mut self, n: u8) -> WriteU8; [INFO] [stdout] | -------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [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/main.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | self.write_decimal(len as u64).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | self.stream.write_all(val).await?; [INFO] [stdout] | ^^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | fn write_all<'a>(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self> [INFO] [stdout] | --------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | self.stream.write_all(b"\r\n").await?; [INFO] [stdout] | ^^^^^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | fn write_all<'a>(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self> [INFO] [stdout] | --------- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `tokio::io::BufWriter` in the current scope [INFO] [stdout] --> src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | self.stream.flush().await; [INFO] [stdout] | ^^^^^ method not found in `tokio::io::BufWriter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/io/util/async_write_ext.rs:999:12 [INFO] [stdout] | [INFO] [stdout] 999 | fn flush(&mut self) -> Flush<'_, Self> [INFO] [stdout] | ----- the method is available for `tokio::io::BufWriter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `advance` found for struct `BytesMut` in the current scope [INFO] [stdout] --> src/main.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | self.buffer.advance(len); [INFO] [stdout] | ^^^^^^^ method not found in `BytesMut` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bytes-1.0.1/src/buf/buf_impl.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | fn advance(&mut self, cnt: usize); [INFO] [stdout] | ------- the method is available for `BytesMut` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::Buf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_tokio` due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d2986f4b72b92b8c73f10903b74d6b97de3354fd34321d82b25a3d9ae763a4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2986f4b72b92b8c73f10903b74d6b97de3354fd34321d82b25a3d9ae763a4f7", kill_on_drop: false }` [INFO] [stdout] d2986f4b72b92b8c73f10903b74d6b97de3354fd34321d82b25a3d9ae763a4f7