[INFO] cloning repository https://github.com/portal-co/embedded-io-convert [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/portal-co/embedded-io-convert" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fembedded-io-convert", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fembedded-io-convert'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d97c1c8379865dfe33afa1ec5b7a60fd8a4510e [INFO] building portal-co/embedded-io-convert against try#334963c956d25708feab489a3816ae63f639355d for pr-135216-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fembedded-io-convert" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/portal-co/embedded-io-convert on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/portal-co/embedded-io-convert [INFO] finished tweaking git repo https://github.com/portal-co/embedded-io-convert [INFO] tweaked toml for git repo https://github.com/portal-co/embedded-io-convert written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/portal-co/embedded-io-convert 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f625ad72d3e7e64cfe93af9ae655297abf977b66ad1102dad783c4d0df3d1652 [INFO] running `Command { std: "docker" "start" "-a" "f625ad72d3e7e64cfe93af9ae655297abf977b66ad1102dad783c4d0df3d1652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f625ad72d3e7e64cfe93af9ae655297abf977b66ad1102dad783c4d0df3d1652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f625ad72d3e7e64cfe93af9ae655297abf977b66ad1102dad783c4d0df3d1652", kill_on_drop: false }` [INFO] [stdout] f625ad72d3e7e64cfe93af9ae655297abf977b66ad1102dad783c4d0df3d1652 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b12beec3533d984631b2d15c173ff29c5c58f31ae6cf1eac5f4bfb2d2ff307b [INFO] running `Command { std: "docker" "start" "-a" "6b12beec3533d984631b2d15c173ff29c5c58f31ae6cf1eac5f4bfb2d2ff307b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling embedded-io-adapters v0.6.1 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling merge-io v0.3.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling embedded-io-convert v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sync::Mutex` [INFO] [stdout] --> src/lib.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{pin::Pin, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/lib.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{AsyncRead, AsyncSeek, AsyncWrite, Future}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/read.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/seek.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/seek.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_io_async::{Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stdout] --> src/seek.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{AsyncRead, AsyncSeek, AsyncWrite, Future}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/write.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncRead` [INFO] [stdout] --> src/write.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{AsyncRead, AsyncWrite, Future}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/read.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut fut = match state { [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/write.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut fut = match state { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/seek.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut fut = match state { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/write.rs:148:45 [INFO] [stdout] | [INFO] [stdout] 148 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DidRead` is more private than the item `read::internals::State::Pending::0` [INFO] [stdout] --> src/read.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | Pending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `read::internals::State::Pending::0` is reachable at visibility `pub(read)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `DidRead` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/read.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | type DidRead>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Seeked` is more private than the item `seek::internals::State::Pending::0` [INFO] [stdout] --> src/seek.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Pending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `seek::internals::State::Pending::0` is reachable at visibility `pub(seek)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `Seeked` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/seek.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | type Seeked>> = impl Future)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Written` is more private than the item `write::internals::State::Pending::0` [INFO] [stdout] --> src/write.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | Pending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `write::internals::State::Pending::0` is reachable at visibility `pub(write)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `Written` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/write.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | type Written>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Flushed` is more private than the item `write::internals::State::FPending::0` [INFO] [stdout] --> src/write.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | FPending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `write::internals::State::FPending::0` is reachable at visibility `pub(write)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `Flushed` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/write.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | type Flushed>> = impl Future)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFut` is never used [INFO] [stdout] --> src/read.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | type BoxFut = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFut` is never used [INFO] [stdout] --> src/seek.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type BoxFut = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFut` is never used [INFO] [stdout] --> src/write.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type BoxFut = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.37s [INFO] running `Command { std: "docker" "inspect" "6b12beec3533d984631b2d15c173ff29c5c58f31ae6cf1eac5f4bfb2d2ff307b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b12beec3533d984631b2d15c173ff29c5c58f31ae6cf1eac5f4bfb2d2ff307b", kill_on_drop: false }` [INFO] [stdout] 6b12beec3533d984631b2d15c173ff29c5c58f31ae6cf1eac5f4bfb2d2ff307b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c37e219f2a07077091687ef829e9f2e3d33e4f8d37958c7be823f99c7b2f3465 [INFO] running `Command { std: "docker" "start" "-a" "c37e219f2a07077091687ef829e9f2e3d33e4f8d37958c7be823f99c7b2f3465", kill_on_drop: false }` [INFO] [stderr] Compiling embedded-io-convert v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sync::Mutex` [INFO] [stdout] --> src/lib.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{pin::Pin, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/lib.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{AsyncRead, AsyncSeek, AsyncWrite, Future}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/read.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/seek.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/seek.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_io_async::{Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stdout] --> src/seek.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{AsyncRead, AsyncSeek, AsyncWrite, Future}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/write.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncRead` [INFO] [stdout] --> src/write.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{AsyncRead, AsyncWrite, Future}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/read.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut fut = match state { [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/write.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut fut = match state { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/seek.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut fut = match state { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/write.rs:148:45 [INFO] [stdout] | [INFO] [stdout] 148 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DidRead` is more private than the item `read::internals::State::Pending::0` [INFO] [stdout] --> src/read.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | Pending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `read::internals::State::Pending::0` is reachable at visibility `pub(read)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `DidRead` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/read.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | type DidRead>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Seeked` is more private than the item `seek::internals::State::Pending::0` [INFO] [stdout] --> src/seek.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Pending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `seek::internals::State::Pending::0` is reachable at visibility `pub(seek)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `Seeked` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/seek.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | type Seeked>> = impl Future)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Written` is more private than the item `write::internals::State::Pending::0` [INFO] [stdout] --> src/write.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | Pending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `write::internals::State::Pending::0` is reachable at visibility `pub(write)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `Written` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/write.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | type Written>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Flushed` is more private than the item `write::internals::State::FPending::0` [INFO] [stdout] --> src/write.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | FPending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `write::internals::State::FPending::0` is reachable at visibility `pub(write)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `Flushed` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/write.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | type Flushed>> = impl Future)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFut` is never used [INFO] [stdout] --> src/read.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | type BoxFut = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFut` is never used [INFO] [stdout] --> src/seek.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type BoxFut = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFut` is never used [INFO] [stdout] --> src/write.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type BoxFut = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Mutex` [INFO] [stdout] --> src/lib.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{pin::Pin, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/lib.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{AsyncRead, AsyncSeek, AsyncWrite, Future}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/read.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/seek.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/seek.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_io_async::{Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stdout] --> src/seek.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{AsyncRead, AsyncSeek, AsyncWrite, Future}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/write.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncRead` [INFO] [stdout] --> src/write.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{AsyncRead, AsyncWrite, Future}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/read.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut fut = match state { [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/write.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut fut = match state { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/seek.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut fut = match state { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/write.rs:148:45 [INFO] [stdout] | [INFO] [stdout] 148 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DidRead` is more private than the item `read::internals::State::Pending::0` [INFO] [stdout] --> src/read.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | Pending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `read::internals::State::Pending::0` is reachable at visibility `pub(read)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `DidRead` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/read.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | type DidRead>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Seeked` is more private than the item `seek::internals::State::Pending::0` [INFO] [stdout] --> src/seek.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Pending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `seek::internals::State::Pending::0` is reachable at visibility `pub(seek)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `Seeked` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/seek.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | type Seeked>> = impl Future)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Written` is more private than the item `write::internals::State::Pending::0` [INFO] [stdout] --> src/write.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | Pending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `write::internals::State::Pending::0` is reachable at visibility `pub(write)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `Written` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/write.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | type Written>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Flushed` is more private than the item `write::internals::State::FPending::0` [INFO] [stdout] --> src/write.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | FPending(Pin>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `write::internals::State::FPending::0` is reachable at visibility `pub(write)` [INFO] [stdout] | [INFO] [stdout] note: but type alias `Flushed` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/write.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | type Flushed>> = impl Future)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFut` is never used [INFO] [stdout] --> src/read.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | type BoxFut = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFut` is never used [INFO] [stdout] --> src/seek.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type BoxFut = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFut` is never used [INFO] [stdout] --> src/write.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type BoxFut = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "c37e219f2a07077091687ef829e9f2e3d33e4f8d37958c7be823f99c7b2f3465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37e219f2a07077091687ef829e9f2e3d33e4f8d37958c7be823f99c7b2f3465", kill_on_drop: false }` [INFO] [stdout] c37e219f2a07077091687ef829e9f2e3d33e4f8d37958c7be823f99c7b2f3465