[INFO] updating cached repository https://github.com/bradyjoestar/rust-native-rustls [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b8412496462a44e5ea0d22fab4c3aa0b677db1ea [INFO] checking bradyjoestar/rust-native-rustls against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradyjoestar%2Frust-native-rustls" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bradyjoestar/rust-native-rustls on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/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 `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d967af0b270f4c2b0b53cb3df28f45afd0c2e10576e3fca2cfd6779a6951d83a [INFO] running `"docker" "start" "-a" "d967af0b270f4c2b0b53cb3df28f45afd0c2e10576e3fca2cfd6779a6951d83a"` [INFO] [stderr] Compiling ring v0.16.7 [INFO] [stderr] Checking webpki v0.21.0 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Checking rust-native-rustls v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0255]: the name `Error` is defined multiple times [INFO] [stderr] --> src/imp/rustls-sync.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::{Error, ErrorKind}; [INFO] [stderr] | ----- previous import of the type `Error` here [INFO] [stderr] ... [INFO] [stderr] 18 | pub struct Error(io::Error); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Error` redefined here [INFO] [stderr] | [INFO] [stderr] = note: `Error` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::{Error as OtherError, ErrorKind}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Identity` [INFO] [stderr] --> src/imp/rustls-sync.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | Identity::Client(s) => Ok(TlsConnector { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Identity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Identity` [INFO] [stderr] --> src/imp/rustls-sync.rs:207:13 [INFO] [stderr] | [INFO] [stderr] 207 | Identity::Server(s) => Ok(TlsAcceptor { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Identity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `imp` [INFO] [stderr] --> src/imp/rustls-sync.rs:216:25 [INFO] [stderr] | [INFO] [stderr] 216 | pub struct TlsStream(imp::TlsStream); [INFO] [stderr] | ^^^ use of undeclared type or module `imp` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `imp` [INFO] [stderr] --> src/imp/rustls-sync.rs:218:23 [INFO] [stderr] | [INFO] [stderr] 218 | pub struct TlsSession(imp::TlsSession); [INFO] [stderr] | ^^^ use of undeclared type or module `imp` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Identity` in this scope [INFO] [stderr] --> src/imp/rustls-sync.rs:147:26 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn new(identity: Identity) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::Identity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Identity` in this scope [INFO] [stderr] --> src/imp/rustls-sync.rs:205:26 [INFO] [stderr] | [INFO] [stderr] 205 | pub fn new(identity: Identity) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::Identity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stderr] --> src/lib.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Identity(imp::Identity); [INFO] [stderr] | ^^^^^^^^ not found in `imp` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 10 | use crate::Identity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stderr] --> src/lib.rs:145:31 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn new(identity: imp::Identity) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in `imp` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 10 | use crate::Identity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stderr] --> src/lib.rs:179:31 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn new(identity: imp::Identity) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in `imp` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 10 | use crate::Identity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0392]: parameter `S` is never used [INFO] [stderr] --> src/lib.rs:192:22 [INFO] [stderr] | [INFO] [stderr] 192 | pub struct TlsStream(imp::TlsStream); [INFO] [stderr] | ^ unused parameter [INFO] [stderr] | [INFO] [stderr] = help: consider removing `S` or using a marker such as `std::marker::PhantomData` [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0255, E0392, E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0255`. [INFO] [stderr] error[E0255]: the name `Error` is defined multiple times [INFO] [stderr] --> src/imp/rustls-sync.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::{Error, ErrorKind}; [INFO] [stderr] | ----- previous import of the type `Error` here [INFO] [stderr] ... [INFO] [stderr] 18 | pub struct Error(io::Error); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Error` redefined here [INFO] [stderr] | [INFO] [stderr] = note: `Error` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::{Error as OtherError, ErrorKind}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: could not compile `rust-native-rustls`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Identity` [INFO] [stderr] --> src/imp/rustls-sync.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | Identity::Client(s) => Ok(TlsConnector { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Identity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Identity` [INFO] [stderr] --> src/imp/rustls-sync.rs:207:13 [INFO] [stderr] | [INFO] [stderr] 207 | Identity::Server(s) => Ok(TlsAcceptor { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Identity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `imp` [INFO] [stderr] --> src/imp/rustls-sync.rs:216:25 [INFO] [stderr] | [INFO] [stderr] 216 | pub struct TlsStream(imp::TlsStream); [INFO] [stderr] | ^^^ use of undeclared type or module `imp` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `imp` [INFO] [stderr] --> src/imp/rustls-sync.rs:218:23 [INFO] [stderr] | [INFO] [stderr] 218 | pub struct TlsSession(imp::TlsSession); [INFO] [stderr] | ^^^ use of undeclared type or module `imp` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Identity` in this scope [INFO] [stderr] --> src/imp/rustls-sync.rs:147:26 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn new(identity: Identity) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::Identity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Identity` in this scope [INFO] [stderr] --> src/imp/rustls-sync.rs:205:26 [INFO] [stderr] | [INFO] [stderr] 205 | pub fn new(identity: Identity) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::Identity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stderr] --> src/lib.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Identity(imp::Identity); [INFO] [stderr] | ^^^^^^^^ not found in `imp` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 10 | use crate::Identity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stderr] --> src/lib.rs:145:31 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn new(identity: imp::Identity) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in `imp` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 10 | use crate::Identity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Identity` in module `imp` [INFO] [stderr] --> src/lib.rs:179:31 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn new(identity: imp::Identity) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in `imp` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 10 | use crate::Identity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0392]: parameter `S` is never used [INFO] [stderr] --> src/lib.rs:192:22 [INFO] [stderr] | [INFO] [stderr] 192 | pub struct TlsStream(imp::TlsStream); [INFO] [stderr] | ^ unused parameter [INFO] [stderr] | [INFO] [stderr] = help: consider removing `S` or using a marker such as `std::marker::PhantomData` [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0255, E0392, E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0255`. [INFO] [stderr] error: could not compile `rust-native-rustls`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d967af0b270f4c2b0b53cb3df28f45afd0c2e10576e3fca2cfd6779a6951d83a"` [INFO] running `"docker" "rm" "-f" "d967af0b270f4c2b0b53cb3df28f45afd0c2e10576e3fca2cfd6779a6951d83a"` [INFO] [stdout] d967af0b270f4c2b0b53cb3df28f45afd0c2e10576e3fca2cfd6779a6951d83a