[INFO] fetching crate async-smtp-lite 0.1.2... [INFO] checking async-smtp-lite-0.1.2 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate async-smtp-lite 0.1.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate async-smtp-lite 0.1.2 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 132 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.21.0 (latest: v0.23.0) [INFO] [stderr] Adding async-channel v1.9.0 (latest: v2.3.1) [INFO] [stderr] Adding async-lock v2.8.0 (latest: v3.3.0) [INFO] [stderr] Adding async-native-tls v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding async-stream-packed v0.1.16 (latest: v0.2.2) [INFO] [stderr] Adding async-tls v0.9.0 (latest: v0.13.0) [INFO] [stderr] Adding base64 v0.12.3 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding email-encoding v0.2.1 (latest: v0.3.0) [INFO] [stderr] Adding event-listener v2.5.3 (latest: v5.3.0) [INFO] [stderr] Adding fastrand v1.9.0 (latest: v2.1.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding gimli v0.28.1 (latest: v0.30.0) [INFO] [stderr] Adding idna v0.3.0 (latest: v0.5.0) [INFO] [stderr] Adding lettre v0.10.4 (latest: v0.11.7) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.4) [INFO] [stderr] Adding nom v5.1.3 (latest: v7.1.3) [INFO] [stderr] Adding object v0.32.2 (latest: v0.36.0) [INFO] [stderr] Adding quoted_printable v0.4.8 (latest: v0.5.0) [INFO] [stderr] Adding ring v0.16.20 (latest: v0.17.8) [INFO] [stderr] Adding rustls v0.18.1 (latest: v0.23.8) [INFO] [stderr] Adding sct v0.6.1 (latest: v0.7.1) [INFO] [stderr] Adding socket2 v0.4.10 (latest: v0.5.7) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding untrusted v0.7.1 (latest: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding webpki v0.21.4 (latest: v0.22.4) [INFO] [stderr] Adding webpki-roots v0.20.0 (latest: v0.26.1) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lettre v0.10.4 [INFO] [stderr] Downloaded email-encoding v0.2.1 [INFO] [stderr] Downloaded quoted_printable v0.4.8 [INFO] [stderr] Downloaded webpki-roots v0.20.0 [INFO] [stderr] Downloaded async-native-tls v0.3.3 [INFO] [stderr] Downloaded async-tls v0.9.0 [INFO] [stderr] Downloaded async-stream-packed v0.1.16 [INFO] [stderr] Downloaded async-stream-tls-upgrader v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b914a39a5d039a4a0eea4da9650c10df600631a53761939010127a7b7a85e27 [INFO] running `Command { std: "docker" "start" "-a" "2b914a39a5d039a4a0eea4da9650c10df600631a53761939010127a7b7a85e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b914a39a5d039a4a0eea4da9650c10df600631a53761939010127a7b7a85e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b914a39a5d039a4a0eea4da9650c10df600631a53761939010127a7b7a85e27", kill_on_drop: false }` [INFO] [stdout] 2b914a39a5d039a4a0eea4da9650c10df600631a53761939010127a7b7a85e27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c521698532701fcafe8b63b1731e35917ebb4e3ce3a54493329c146e0e983553 [INFO] running `Command { std: "docker" "start" "-a" "c521698532701fcafe8b63b1731e35917ebb4e3ce3a54493329c146e0e983553", kill_on_drop: false }` [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking email_address v0.2.4 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking email-encoding v0.2.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking lettre v0.10.4 [INFO] [stderr] Compiling async-trait v0.1.80 [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-6f17d22bba15001f/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/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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[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-6f17d22bba15001f/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-6f17d22bba15001f/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`, which is required by `(): TlsClientUpgrader` [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 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`, which is required by `(): TlsClientUpgrader` [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 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`, which is required by `(): TlsClientUpgrader` [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 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:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl AsyncConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncRead` is not implemented for `S`, which is required by `(): TlsClientUpgrader` [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 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`, which is required by `(): TlsClientUpgrader` [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 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`, which is required by `(): TlsClientUpgrader` [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 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`, which is required by `(): TlsClientUpgrader` [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 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`, which is required by `(): TlsClientUpgrader` [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 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`, which is required by `(): TlsClientUpgrader` [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 this bound [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 one of the following associated functions: [INFO] [stdout] AsyncConnection::::from_parts [INFO] [stdout] AsyncConnection::::new [INFO] [stdout] AsyncConnection::::with_tls_stream [INFO] [stdout] --> src/connection.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn from_parts(stream: AsyncStream) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn new(stream: S, upgrader: STU) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: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`, which is required by `(): TlsClientUpgrader` [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 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: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`, which is required by `(): TlsClientUpgrader` [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 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: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`, which is required by `(): TlsClientUpgrader` [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 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`, which is required by `(): TlsClientUpgrader` [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 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: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`, which is required by `(): TlsClientUpgrader` [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 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`, which is required by `(): TlsClientUpgrader` [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 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: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-6f17d22bba15001f/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 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: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-6f17d22bba15001f/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 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: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-6f17d22bba15001f/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 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: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`, which is required by `(): Upgrader` [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-6f17d22bba15001f/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 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: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`, which is required by `(): Upgrader` [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-6f17d22bba15001f/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 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: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`, which is required by `(): Upgrader` [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-6f17d22bba15001f/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 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 21 previous errors [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] [stderr] error: could not compile `async-smtp-lite` (lib test) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 one of the following associated functions: [INFO] [stdout] AsyncConnection::::from_parts [INFO] [stdout] AsyncConnection::::new [INFO] [stdout] AsyncConnection::::with_tls_stream [INFO] [stdout] --> src/connection.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn from_parts(stream: AsyncStream) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn new(stream: S, upgrader: STU) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:9 [INFO] [stdout] | [INFO] [stdout] 63 | Self::from_parts(AsyncStream::with_upgraded_stream(stream)) [INFO] [stdout] | ^^^^ the trait `AsyncRead` is not implemented for `S`, which is required by `(): TlsClientUpgrader` [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 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: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`, which is required by `(): TlsClientUpgrader` [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 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: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`, which is required by `(): TlsClientUpgrader` [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 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: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-6f17d22bba15001f/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 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: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-6f17d22bba15001f/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 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: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-6f17d22bba15001f/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 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: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`, which is required by `(): Upgrader` [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-6f17d22bba15001f/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 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: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`, which is required by `(): Upgrader` [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-6f17d22bba15001f/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 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: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`, which is required by `(): Upgrader` [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-6f17d22bba15001f/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 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 21 previous errors [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] [stderr] error: could not compile `async-smtp-lite` (lib) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "c521698532701fcafe8b63b1731e35917ebb4e3ce3a54493329c146e0e983553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c521698532701fcafe8b63b1731e35917ebb4e3ce3a54493329c146e0e983553", kill_on_drop: false }` [INFO] [stdout] c521698532701fcafe8b63b1731e35917ebb4e3ce3a54493329c146e0e983553