[INFO] cloning repository https://github.com/bradyjoestar/rust-native-rustls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bradyjoestar/rust-native-rustls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradyjoestar%2Frust-native-rustls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradyjoestar%2Frust-native-rustls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8412496462a44e5ea0d22fab4c3aa0b677db1ea [INFO] checking bradyjoestar/rust-native-rustls against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradyjoestar%2Frust-native-rustls" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bradyjoestar/rust-native-rustls on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bradyjoestar/rust-native-rustls [INFO] finished tweaking git repo https://github.com/bradyjoestar/rust-native-rustls [INFO] tweaked toml for git repo https://github.com/bradyjoestar/rust-native-rustls written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/bradyjoestar/rust-native-rustls already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.49 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.49 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.49 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.49 [INFO] [stderr] Downloaded js-sys v0.3.26 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.49 [INFO] [stderr] Downloaded wasm-bindgen v0.2.49 [INFO] [stderr] Downloaded web-sys v0.3.26 [INFO] [stderr] Downloaded ring v0.16.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1cd630ffb522e8a9aaa1eae24dffaf2f74ec6751f91141baeb78e2d27aa82cc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a1cd630ffb522e8a9aaa1eae24dffaf2f74ec6751f91141baeb78e2d27aa82cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1cd630ffb522e8a9aaa1eae24dffaf2f74ec6751f91141baeb78e2d27aa82cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1cd630ffb522e8a9aaa1eae24dffaf2f74ec6751f91141baeb78e2d27aa82cc", kill_on_drop: false }` [INFO] [stdout] a1cd630ffb522e8a9aaa1eae24dffaf2f74ec6751f91141baeb78e2d27aa82cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a8b07643d731f1333f54b4384b88cb8d6d16e72f42600b58ef488851fed1c8da [INFO] running `Command { std: "docker" "start" "-a" "a8b07643d731f1333f54b4384b88cb8d6d16e72f42600b58ef488851fed1c8da", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking spin v0.5.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling ring v0.16.7 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking webpki v0.21.0 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking rust-native-rustls v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0255]: the name `Error` is defined multiple times [INFO] [stdout] --> src/imp/rustls-sync.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ----- previous import of the type `Error` here [INFO] [stdout] ... [INFO] [stdout] 18 | pub struct Error(io::Error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Error` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Error` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Error as OtherError, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Error` is defined multiple times [INFO] [stdout] --> src/imp/rustls-sync.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ----- previous import of the type `Error` here [INFO] [stdout] ... [INFO] [stdout] 18 | pub struct Error(io::Error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Error` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Error` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Error as OtherError, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/imp/rustls-sync.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | Identity::Client(s) => Ok(TlsConnector { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/imp/rustls-sync.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | Identity::Server(s) => Ok(TlsAcceptor { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `imp` [INFO] [stdout] --> src/imp/rustls-sync.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct TlsStream(imp::TlsStream); [INFO] [stdout] | ^^^ use of undeclared crate or module `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `imp` [INFO] [stdout] --> src/imp/rustls-sync.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct TlsSession(imp::TlsSession); [INFO] [stdout] | ^^^ use of undeclared crate or module `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identity` in this scope [INFO] [stdout] --> src/imp/rustls-sync.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new(identity: Identity) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identity` in this scope [INFO] [stdout] --> src/imp/rustls-sync.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(identity: Identity) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stdout] --> src/lib.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Identity(imp::Identity); [INFO] [stdout] | ^^^^^^^^ not found in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stdout] --> src/lib.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new(identity: imp::Identity) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stdout] --> src/lib.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn new(identity: imp::Identity) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tokio_tls` [INFO] [stdout] --> src/imp/rustls-sync.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::tokio_tls; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Pointer` [INFO] [stdout] --> src/imp/rustls-sync.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::fmt::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Async` [INFO] [stdout] --> src/imp/rustls-sync.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{Async, Future, Poll}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientConfig`, `ServerConfig` [INFO] [stdout] --> src/imp/rustls-sync.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use rustls::{ClientConfig, ClientSession, ServerConfig, ServerSession}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/imp/rustls-sync.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/imp/rustls-sync.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webpki::DNSNameRef` [INFO] [stdout] --> src/imp/rustls-sync.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use webpki::DNSNameRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imp/rustls-sync.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientConfig`, `ServerConfig`, `ServerSession` [INFO] [stdout] --> src/tokio_tls/client.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use rustls::{ClientConfig, ClientSession, ServerConfig, ServerSession}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tokio_tls/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webpki::DNSNameRef` [INFO] [stdout] --> src/tokio_tls/client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use webpki::DNSNameRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::common::Stream` [INFO] [stdout] --> src/tokio_tls/entry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Async` [INFO] [stdout] --> src/tokio_tls/entry.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{Async, Future, Poll}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_nb` [INFO] [stdout] --> src/tokio_tls/entry.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_io::{try_nb, AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientConfig`, `ClientSession`, `ServerConfig` [INFO] [stdout] --> src/tokio_tls/server.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use rustls::{ClientConfig, ClientSession, ServerConfig, ServerSession}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tokio_tls/server.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webpki::DNSNameRef` [INFO] [stdout] --> src/tokio_tls/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use webpki::DNSNameRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_nb` [INFO] [stdout] --> src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::{try_nb, AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/lib.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{Future, Poll}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tls::client` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio_tls::client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tls::server` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio_tls::server; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webpki::DNSNameRef` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use webpki::DNSNameRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | error::Error::description(&self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | error::Error::cause(&self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/imp/rustls-sync.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | error::Error::description(&self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/imp/rustls-sync.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | error::Error::cause(&self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/imp/rustls-sync.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | Identity::Client(s) => Ok(TlsConnector { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/imp/rustls-sync.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | Identity::Server(s) => Ok(TlsAcceptor { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `imp` [INFO] [stdout] --> src/imp/rustls-sync.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct TlsStream(imp::TlsStream); [INFO] [stdout] | ^^^ use of undeclared crate or module `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `imp` [INFO] [stdout] --> src/imp/rustls-sync.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct TlsSession(imp::TlsSession); [INFO] [stdout] | ^^^ use of undeclared crate or module `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identity` in this scope [INFO] [stdout] --> src/imp/rustls-sync.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new(identity: Identity) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identity` in this scope [INFO] [stdout] --> src/imp/rustls-sync.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(identity: Identity) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stdout] --> src/lib.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Identity(imp::Identity); [INFO] [stdout] | ^^^^^^^^ not found in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stdout] --> src/lib.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new(identity: imp::Identity) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stdout] --> src/lib.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn new(identity: imp::Identity) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tokio_tls` [INFO] [stdout] --> src/imp/rustls-sync.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::tokio_tls; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Pointer` [INFO] [stdout] --> src/imp/rustls-sync.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::fmt::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Async` [INFO] [stdout] --> src/imp/rustls-sync.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{Async, Future, Poll}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientConfig`, `ServerConfig` [INFO] [stdout] --> src/imp/rustls-sync.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use rustls::{ClientConfig, ClientSession, ServerConfig, ServerSession}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/imp/rustls-sync.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/imp/rustls-sync.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webpki::DNSNameRef` [INFO] [stdout] --> src/imp/rustls-sync.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use webpki::DNSNameRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imp/rustls-sync.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientConfig`, `ServerConfig`, `ServerSession` [INFO] [stdout] --> src/tokio_tls/client.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use rustls::{ClientConfig, ClientSession, ServerConfig, ServerSession}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tokio_tls/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webpki::DNSNameRef` [INFO] [stdout] --> src/tokio_tls/client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use webpki::DNSNameRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::common::Stream` [INFO] [stdout] --> src/tokio_tls/entry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Async` [INFO] [stdout] --> src/tokio_tls/entry.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{Async, Future, Poll}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_nb` [INFO] [stdout] --> src/tokio_tls/entry.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_io::{try_nb, AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientConfig`, `ClientSession`, `ServerConfig` [INFO] [stdout] --> src/tokio_tls/server.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use rustls::{ClientConfig, ClientSession, ServerConfig, ServerSession}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tokio_tls/server.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webpki::DNSNameRef` [INFO] [stdout] --> src/tokio_tls/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use webpki::DNSNameRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_nb` [INFO] [stdout] --> src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::{try_nb, AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/lib.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{Future, Poll}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tls::client` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio_tls::client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tls::server` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio_tls::server; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webpki::DNSNameRef` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use webpki::DNSNameRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | error::Error::description(&self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | error::Error::cause(&self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/imp/rustls-sync.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | error::Error::description(&self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/imp/rustls-sync.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | error::Error::cause(&self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `S` is never used [INFO] [stdout] --> src/lib.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct TlsStream(imp::TlsStream); [INFO] [stdout] | ^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `S`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0392, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-native-rustls` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0392]: parameter `S` is never used [INFO] [stdout] --> src/lib.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct TlsStream(imp::TlsStream); [INFO] [stdout] | ^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `S`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0392, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a8b07643d731f1333f54b4384b88cb8d6d16e72f42600b58ef488851fed1c8da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b07643d731f1333f54b4384b88cb8d6d16e72f42600b58ef488851fed1c8da", kill_on_drop: false }` [INFO] [stdout] a8b07643d731f1333f54b4384b88cb8d6d16e72f42600b58ef488851fed1c8da