[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] checking focusedride/rust_hello_tokio against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffocusedride%2Frust_hello_tokio" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/focusedride/rust_hello_tokio on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-13/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d863903756e4ef135986516bb6c5040ba2544afb6aecd4bc8a9869a56a8ad88f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d863903756e4ef135986516bb6c5040ba2544afb6aecd4bc8a9869a56a8ad88f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d863903756e4ef135986516bb6c5040ba2544afb6aecd4bc8a9869a56a8ad88f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d863903756e4ef135986516bb6c5040ba2544afb6aecd4bc8a9869a56a8ad88f", kill_on_drop: false }` [INFO] [stdout] d863903756e4ef135986516bb6c5040ba2544afb6aecd4bc8a9869a56a8ad88f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 268927ca81596f0478e0b4b7ac4cf84bc61c5e1bcbabaef9847b8ffee932e049 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "268927ca81596f0478e0b4b7ac4cf84bc61c5e1bcbabaef9847b8ffee932e049", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [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] Checking async-stream v0.3.0 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking mini-redis v0.4.0 [INFO] [stderr] Checking 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] warning: unused variable: `write_task` [INFO] [stdout] --> examples/io_tcp.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let write_task = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_task` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/tcp-bundle.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut listener = TcpListener::bind("127.0.0.1:6142").await.unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [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] warning: unused variable: `write_task` [INFO] [stdout] --> examples/tcp-bundle.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let write_task = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_task` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tcp-bundle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | e.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/echo.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut listener = TcpListener::bind("127.0.0.1:6142").await.unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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] warning: 1 warning emitted [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 `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 `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 `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 `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[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: 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] [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] [stderr] error: could not compile `hello_tokio` due to 18 previous errors; 1 warning emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "268927ca81596f0478e0b4b7ac4cf84bc61c5e1bcbabaef9847b8ffee932e049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "268927ca81596f0478e0b4b7ac4cf84bc61c5e1bcbabaef9847b8ffee932e049", kill_on_drop: false }` [INFO] [stdout] 268927ca81596f0478e0b4b7ac4cf84bc61c5e1bcbabaef9847b8ffee932e049