[INFO] fetching crate async-smtp-lite 0.1.2... [INFO] checking async-smtp-lite-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate async-smtp-lite 0.1.2 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate async-smtp-lite 0.1.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 166 packages to latest compatible versions [INFO] [stderr] Adding async-stream-packed v0.1.16 (available: v0.2.2) [INFO] [stderr] Adding lettre v0.10.4 (available: v0.11.18) [INFO] [stderr] Adding nom v5.1.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 async-stream-packed v0.1.16 [INFO] [stderr] Downloaded quoted_printable v0.4.8 [INFO] [stderr] Downloaded async-tls v0.9.0 [INFO] [stderr] Downloaded async-stream-tls-upgrader v0.1.10 [INFO] [stderr] Downloaded email-encoding v0.2.1 [INFO] [stderr] Downloaded lettre v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab4d0b6f8043b62899906429855237e4dd4bfa4912e4fbd80e6b40163dc43857 [INFO] running `Command { std: "docker" "start" "-a" "ab4d0b6f8043b62899906429855237e4dd4bfa4912e4fbd80e6b40163dc43857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab4d0b6f8043b62899906429855237e4dd4bfa4912e4fbd80e6b40163dc43857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4d0b6f8043b62899906429855237e4dd4bfa4912e4fbd80e6b40163dc43857", kill_on_drop: false }` [INFO] [stdout] ab4d0b6f8043b62899906429855237e4dd4bfa4912e4fbd80e6b40163dc43857 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b616e4aff594a598d0e2cc57233c1e4e68af42c7753b9a00ef29a2498b299554 [INFO] running `Command { std: "docker" "start" "-a" "b616e4aff594a598d0e2cc57233c1e4e68af42c7753b9a00ef29a2498b299554", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking email-encoding v0.2.1 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking lettre v0.10.4 [INFO] [stderr] Compiling async-trait v0.1.89 [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/index.crates.io-1949cf8c6b5b557f/lettre-0.10.4/src/transport/smtp/mod.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | 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/index.crates.io-1949cf8c6b5b557f/lettre-0.10.4/src/transport/smtp/mod.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | 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/index.crates.io-1949cf8c6b5b557f/lettre-0.10.4/src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | use crate::{address::Envelope, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `Envelope` directly [INFO] [stdout] | [INFO] [stdout] 15 | use lettre::address::envelope::Envelope; [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/index.crates.io-1949cf8c6b5b557f/lettre-0.10.4/src/transport/smtp/mod.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | 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/index.crates.io-1949cf8c6b5b557f/lettre-0.10.4/src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | use crate::{address::Envelope, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `Envelope` directly [INFO] [stdout] | [INFO] [stdout] 7 | use lettre::address::envelope::Envelope; [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 for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncRead` [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 for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncWrite` [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 the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] = note: required for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Unpin` [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + std::marker::Unpin, [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/index.crates.io-1949cf8c6b5b557f/lettre-0.10.4/src/transport/smtp/mod.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | 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/index.crates.io-1949cf8c6b5b557f/lettre-0.10.4/src/transport/smtp/mod.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | 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/index.crates.io-1949cf8c6b5b557f/lettre-0.10.4/src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | use crate::{address::Envelope, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `Envelope` directly [INFO] [stdout] | [INFO] [stdout] 15 | use lettre::address::envelope::Envelope; [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/index.crates.io-1949cf8c6b5b557f/lettre-0.10.4/src/transport/smtp/mod.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | 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/index.crates.io-1949cf8c6b5b557f/lettre-0.10.4/src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | use crate::{address::Envelope, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `Envelope` directly [INFO] [stdout] | [INFO] [stdout] 7 | use lettre::address::envelope::Envelope; [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 for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncRead` [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 for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncWrite` [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 the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] = note: required for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Unpin` [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: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 for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncRead` [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 for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncWrite` [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 the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] = note: required for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Unpin` [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + std::marker::Unpin, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `lettre::transport::smtp::extension::ClientId::new`: Please use ClientId::Domain(domain) instead [INFO] [stdout] --> src/connection.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | self.command(Ehlo::new(ClientId::new(hello_name.to_string()))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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 for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncRead` [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 for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncWrite` [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 the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] = note: required for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Unpin` [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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^ the trait `AsyncRead` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncRead` [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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^ the trait `AsyncWrite` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncWrite` [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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^ the trait `Unpin` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] = note: required for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Unpin` [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + std::marker::Unpin, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_parts` exists for struct `AsyncConnection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/connection.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | ---------------------------------- function or associated item `from_parts` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `AsyncConnection` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `AsyncConnection`, consider using `AsyncConnection::::with_tls_stream` which returns `AsyncConnection<_, ()>` [INFO] [stdout] --> src/connection.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn with_tls_stream(stream: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `S: AsyncRead` [INFO] [stdout] which is required by `(): TlsClientUpgrader` [INFO] [stdout] `S: AsyncWrite` [INFO] [stdout] which is required by `(): TlsClientUpgrader` [INFO] [stdout] `S: Unpin` [INFO] [stdout] which is required by `(): TlsClientUpgrader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncRead` is not satisfied [INFO] [stdout] --> src/connection.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | --------------------------------- ^^^^^^ the trait `AsyncRead` is not implemented for `S` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | S: AsyncRead + AsyncWrite + Unpin + Send + 'static, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_upgraded_stream(stream: S) -> Self { [INFO] [stdout] | -------------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncRead` [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:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | --------------------------------- ^^^^^^ the trait `AsyncWrite` is not implemented for `S` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | S: AsyncRead + AsyncWrite + Unpin + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_upgraded_stream(stream: S) -> Self { [INFO] [stdout] | -------------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncWrite` [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:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | --------------------------------- ^^^^^^ the trait `Unpin` is not implemented for `S` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | S: AsyncRead + AsyncWrite + Unpin + Send + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_upgraded_stream(stream: S) -> Self { [INFO] [stdout] | -------------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Unpin` [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:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncRead` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `()` to implement `Upgrader` [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UpgradableAsyncStream [INFO] [stdout] | --------------------- required by a bound in this struct [INFO] [stdout] 10 | where [INFO] [stdout] 11 | SU: Upgrader, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `UpgradableAsyncStream` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncRead` [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:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncWrite` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `()` to implement `Upgrader` [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UpgradableAsyncStream [INFO] [stdout] | --------------------- required by a bound in this struct [INFO] [stdout] 10 | where [INFO] [stdout] 11 | SU: Upgrader, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `UpgradableAsyncStream` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncWrite` [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + futures_util::AsyncWrite, [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `lettre::transport::smtp::extension::ClientId::new`: Please use ClientId::Domain(domain) instead [INFO] [stdout] --> src/connection.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | self.command(Ehlo::new(ClientId::new(hello_name.to_string()))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be unpinned [INFO] [stdout] --> src/connection.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unpin` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] = note: required for `()` to implement `Upgrader` [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UpgradableAsyncStream [INFO] [stdout] | --------------------- required by a bound in this struct [INFO] [stdout] 10 | where [INFO] [stdout] 11 | SU: Upgrader, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `UpgradableAsyncStream` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Unpin` [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + std::marker::Unpin, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncRead` is not satisfied [INFO] [stdout] --> src/connection.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^ the trait `AsyncRead` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncRead` [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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^ the trait `AsyncWrite` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncWrite` [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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^ the trait `Unpin` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] = note: required for `()` to implement `TlsClientUpgrader` [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 struct [INFO] [stdout] 28 | where [INFO] [stdout] 29 | STU: TlsClientUpgrader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncConnection` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Unpin` [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + std::marker::Unpin, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_parts` exists for struct `AsyncConnection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/connection.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AsyncConnection [INFO] [stdout] | ---------------------------------- function or associated item `from_parts` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `AsyncConnection` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `AsyncConnection`, consider using `AsyncConnection::::with_tls_stream` which returns `AsyncConnection<_, ()>` [INFO] [stdout] --> src/connection.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn with_tls_stream(stream: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `S: AsyncRead` [INFO] [stdout] which is required by `(): TlsClientUpgrader` [INFO] [stdout] `S: AsyncWrite` [INFO] [stdout] which is required by `(): TlsClientUpgrader` [INFO] [stdout] `S: Unpin` [INFO] [stdout] which is required by `(): TlsClientUpgrader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: AsyncRead` is not satisfied [INFO] [stdout] --> src/connection.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | --------------------------------- ^^^^^^ the trait `AsyncRead` is not implemented for `S` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | S: AsyncRead + AsyncWrite + Unpin + Send + 'static, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_upgraded_stream(stream: S) -> Self { [INFO] [stdout] | -------------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncRead` [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:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | --------------------------------- ^^^^^^ the trait `AsyncWrite` is not implemented for `S` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | S: AsyncRead + AsyncWrite + Unpin + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_upgraded_stream(stream: S) -> Self { [INFO] [stdout] | -------------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncWrite` [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:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | --------------------------------- ^^^^^^ the trait `Unpin` is not implemented for `S` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | S: AsyncRead + AsyncWrite + Unpin + Send + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `UpgradableAsyncStream::::with_upgraded_stream` [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_upgraded_stream(stream: S) -> Self { [INFO] [stdout] | -------------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Unpin` [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:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncRead` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `()` to implement `Upgrader` [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UpgradableAsyncStream [INFO] [stdout] | --------------------- required by a bound in this struct [INFO] [stdout] 10 | where [INFO] [stdout] 11 | SU: Upgrader, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `UpgradableAsyncStream` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncRead` [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:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncWrite` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `()` to implement `Upgrader` [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UpgradableAsyncStream [INFO] [stdout] | --------------------- required by a bound in this struct [INFO] [stdout] 10 | where [INFO] [stdout] 11 | SU: Upgrader, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `UpgradableAsyncStream` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `AsyncWrite` [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:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unpin` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: consider using the `pin!` macro [INFO] [stdout] consider using `Box::pin` if you need to access the pinned value outside of the current scope [INFO] [stdout] = note: required for `()` to implement `Upgrader` [INFO] [stdout] note: required by a bound in `UpgradableAsyncStream` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-packed-0.1.16/src/upgradable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UpgradableAsyncStream [INFO] [stdout] | --------------------- required by a bound in this struct [INFO] [stdout] 10 | where [INFO] [stdout] 11 | SU: Upgrader, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `UpgradableAsyncStream` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Unpin` [INFO] [stdout] | [INFO] [stdout] 60 | S: Send + 'static + std::marker::Unpin, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-smtp-lite` (lib test) due to 21 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0603. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-smtp-lite` (lib) due to 21 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b616e4aff594a598d0e2cc57233c1e4e68af42c7753b9a00ef29a2498b299554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b616e4aff594a598d0e2cc57233c1e4e68af42c7753b9a00ef29a2498b299554", kill_on_drop: false }` [INFO] [stdout] b616e4aff594a598d0e2cc57233c1e4e68af42c7753b9a00ef29a2498b299554