[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 fa2e5c134b37481738d46002dfb836237332dd9a for pr-164277
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradyjoestar%2Frust-native-rustls" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bradyjoestar/rust-native-rustls on toolchain fa2e5c134b37481738d46002dfb836237332dd9a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bradyjoestar/rust-native-rustls already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-webidl v0.2.49
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.49
[INFO] [stderr]   Downloaded untrusted v0.7.0
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.49
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.49
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.49
[INFO] [stderr]   Downloaded spin v0.5.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.1
[INFO] [stderr]   Downloaded webpki v0.21.0
[INFO] [stderr]   Downloaded backtrace v0.3.34
[INFO] [stderr]   Downloaded js-sys v0.3.26
[INFO] [stderr]   Downloaded cc v1.0.40
[INFO] [stderr]   Downloaded web-sys v0.3.26
[INFO] [stderr]   Downloaded bumpalo v2.5.0
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.49
[INFO] [stderr]   Downloaded webpki-roots v0.17.0
[INFO] [stderr]   Downloaded syn v1.0.3
[INFO] [stderr]   Downloaded rustls v0.16.0
[INFO] [stderr]   Downloaded ring v0.16.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 97a5a61ca7b65d671447fa840f3c5c6e082bf4c1c79dd2a5bc8bd78cc8fc4d3c
[INFO] running `Command { std: "docker" "start" "97a5a61ca7b65d671447fa840f3c5c6e082bf4c1c79dd2a5bc8bd78cc8fc4d3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97a5a61ca7b65d671447fa840f3c5c6e082bf4c1c79dd2a5bc8bd78cc8fc4d3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97a5a61ca7b65d671447fa840f3c5c6e082bf4c1c79dd2a5bc8bd78cc8fc4d3c" "/opt/rustwide/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97a5a61ca7b65d671447fa840f3c5c6e082bf4c1c79dd2a5bc8bd78cc8fc4d3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97a5a61ca7b65d671447fa840f3c5c6e082bf4c1c79dd2a5bc8bd78cc8fc4d3c" "/opt/rustwide/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling cc v1.0.40
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]     Checking untrusted v0.7.0
[INFO] [stderr]     Checking spin v0.5.1
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]     Checking futures v0.1.28
[INFO] [stderr]    Compiling ring v0.16.7
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]     Checking iovec v0.1.2
[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[E0425]: 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<TlsConnector, Error> {
[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[E0433]: cannot find type `Identity` in this scope
[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] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Identity;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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<TlsAcceptor, Error> {
[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[E0433]: cannot find type `Identity` in this scope
[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] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Identity;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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[E0425]: 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<TlsConnector> {
[INFO] [stdout]     |                               ^^^^^^^^ not found in `imp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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<TlsAcceptor> {
[INFO] [stdout]     |                               ^^^^^^^^ not found in `imp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `imp` in this scope
[INFO] [stdout]    --> src/imp/rustls-sync.rs:216:25
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct TlsStream<S>(imp::TlsStream<S>);
[INFO] [stdout]     |                         ^^^ use of unresolved module or unlinked crate `imp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `imp`, use `cargo add imp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `imp` in this scope
[INFO] [stdout]    --> src/imp/rustls-sync.rs:218:23
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub struct TlsSession(imp::TlsSession);
[INFO] [stdout]     |                       ^^^ use of unresolved module or unlinked crate `imp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `imp`, use `cargo add imp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0255, E0425, 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` (lib) due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: 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<TlsConnector, Error> {
[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[E0433]: cannot find type `Identity` in this scope
[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] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Identity;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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<TlsAcceptor, Error> {
[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[E0433]: cannot find type `Identity` in this scope
[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] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Identity;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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[E0425]: 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<TlsConnector> {
[INFO] [stdout]     |                               ^^^^^^^^ not found in `imp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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<TlsAcceptor> {
[INFO] [stdout]     |                               ^^^^^^^^ not found in `imp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `imp` in this scope
[INFO] [stdout]    --> src/imp/rustls-sync.rs:216:25
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct TlsStream<S>(imp::TlsStream<S>);
[INFO] [stdout]     |                         ^^^ use of unresolved module or unlinked crate `imp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `imp`, use `cargo add imp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `imp` in this scope
[INFO] [stdout]    --> src/imp/rustls-sync.rs:218:23
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub struct TlsSession(imp::TlsSession);
[INFO] [stdout]     |                       ^^^ use of unresolved module or unlinked crate `imp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `imp`, use `cargo add imp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0255, E0425, 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` (lib test) due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "97a5a61ca7b65d671447fa840f3c5c6e082bf4c1c79dd2a5bc8bd78cc8fc4d3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97a5a61ca7b65d671447fa840f3c5c6e082bf4c1c79dd2a5bc8bd78cc8fc4d3c", kill_on_drop: false }`
[INFO] [stdout] 97a5a61ca7b65d671447fa840f3c5c6e082bf4c1c79dd2a5bc8bd78cc8fc4d3c
