[INFO] fetching crate async-smtp-lite 0.1.2... [INFO] checking async-smtp-lite-0.1.2 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate async-smtp-lite 0.1.2 into /workspace/builds/worker-74/source [INFO] validating manifest of crates.io crate async-smtp-lite 0.1.2 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate async-smtp-lite 0.1.2 [INFO] finished tweaking crates.io crate async-smtp-lite 0.1.2 [INFO] tweaked toml for crates.io crate async-smtp-lite 0.1.2 written to /workspace/builds/worker-74/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quoted_printable v0.4.3 [INFO] [stderr] Downloaded lettre v0.10.0-rc.4 [INFO] [stderr] Downloaded async-stream-tls-upgrader v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a596a5eeb295f2ae1bb52711e45f80c5f43c476d379a3d7df2cc873c8ebfbf15 [INFO] running `Command { std: "docker" "start" "-a" "a596a5eeb295f2ae1bb52711e45f80c5f43c476d379a3d7df2cc873c8ebfbf15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a596a5eeb295f2ae1bb52711e45f80c5f43c476d379a3d7df2cc873c8ebfbf15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a596a5eeb295f2ae1bb52711e45f80c5f43c476d379a3d7df2cc873c8ebfbf15", kill_on_drop: false }` [INFO] [stdout] a596a5eeb295f2ae1bb52711e45f80c5f43c476d379a3d7df2cc873c8ebfbf15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b7c049e8604ccc4958a8d95834a22fdd96afda9f815af5a69467daa3e86446d [INFO] running `Command { std: "docker" "start" "-a" "8b7c049e8604ccc4958a8d95834a22fdd96afda9f815af5a69467daa3e86446d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking quoted_printable v0.4.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking lettre v0.10.0-rc.4 [INFO] [stderr] Checking async-stream-packed v0.1.16 [INFO] [stderr] Checking async-stream-tls-upgrader v0.1.10 [INFO] [stderr] Checking async-smtp-lite v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | error::Error, [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lettre-0.10.0-rc.4/src/transport/smtp/mod.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/connection.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | error::Error, [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lettre-0.10.0-rc.4/src/transport/smtp/mod.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Envelope` is private [INFO] [stdout] --> src/connection.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use lettre::Envelope; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Envelope` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lettre-0.10.0-rc.4/src/lib.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | use crate::{address::Envelope, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/session.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use lettre::transport::smtp::error::Error; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lettre-0.10.0-rc.4/src/transport/smtp/mod.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | error::Error, [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lettre-0.10.0-rc.4/src/transport/smtp/mod.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Envelope` is private [INFO] [stdout] --> src/session.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use lettre::Envelope; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Envelope` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lettre-0.10.0-rc.4/src/lib.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | use crate::{address::Envelope, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/connection.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | error::Error, [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lettre-0.10.0-rc.4/src/transport/smtp/mod.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Envelope` is private [INFO] [stdout] --> src/connection.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use lettre::Envelope; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Envelope` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lettre-0.10.0-rc.4/src/lib.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | use crate::{address::Envelope, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/session.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use lettre::transport::smtp::error::Error; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lettre-0.10.0-rc.4/src/transport/smtp/mod.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Envelope` is private [INFO] [stdout] --> src/session.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use lettre::Envelope; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Envelope` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lettre-0.10.0-rc.4/src/lib.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | use crate::{address::Envelope, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncRead` is not satisfied [INFO] [stdout] --> src/connection.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl AsyncConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncRead` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + futures_util::AsyncRead, [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncRead` is not satisfied [INFO] [stdout] --> src/connection.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl AsyncConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncRead` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + futures_util::AsyncRead, [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncWrite` is not satisfied [INFO] [stdout] --> src/connection.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl AsyncConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncWrite` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + futures_util::AsyncWrite, [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncWrite` is not satisfied [INFO] [stdout] --> src/connection.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl AsyncConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncWrite` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + futures_util::AsyncWrite, [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be unpinned [INFO] [stdout] --> src/connection.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl AsyncConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Unpin` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: consider using `Box::pin` [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + std::marker::Unpin, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be unpinned [INFO] [stdout] --> src/connection.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl AsyncConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Unpin` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: consider using `Box::pin` [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + std::marker::Unpin, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncRead` is not satisfied [INFO] [stdout] --> src/connection.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn with_tls_stream(stream: S) -> Self { [INFO] [stdout] | ^^^^ the trait `AsyncRead` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + futures_util::AsyncRead, [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncRead` is not satisfied [INFO] [stdout] --> src/connection.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn with_tls_stream(stream: S) -> Self { [INFO] [stdout] | ^^^^ the trait `AsyncRead` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + futures_util::AsyncRead, [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncWrite` is not satisfied [INFO] [stdout] --> src/connection.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn with_tls_stream(stream: S) -> Self { [INFO] [stdout] | ^^^^ the trait `AsyncWrite` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + futures_util::AsyncWrite, [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncWrite` is not satisfied [INFO] [stdout] --> src/connection.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn with_tls_stream(stream: S) -> Self { [INFO] [stdout] | ^^^^ the trait `AsyncWrite` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + futures_util::AsyncWrite, [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be unpinned [INFO] [stdout] --> src/connection.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn with_tls_stream(stream: S) -> Self { [INFO] [stdout] | ^^^^ the trait `Unpin` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: consider using `Box::pin` [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + std::marker::Unpin, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be unpinned [INFO] [stdout] --> src/connection.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn with_tls_stream(stream: S) -> Self { [INFO] [stdout] | ^^^^ the trait `Unpin` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: consider using `Box::pin` [INFO] [stdout] = note: required because of the requirements on the impl of `TlsClientUpgrader` for `()` [INFO] [stdout] note: required by a bound in `AsyncConnection` [INFO] [stdout] --> src/connection.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | --------------- required by a bound in this [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + std::marker::Unpin, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0603. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-smtp-lite` due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8b7c049e8604ccc4958a8d95834a22fdd96afda9f815af5a69467daa3e86446d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7c049e8604ccc4958a8d95834a22fdd96afda9f815af5a69467daa3e86446d", kill_on_drop: false }` [INFO] [stdout] 8b7c049e8604ccc4958a8d95834a22fdd96afda9f815af5a69467daa3e86446d