[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] documenting bradyjoestar/rust-native-rustls against beta-2019-12-18 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradyjoestar%2Frust-native-rustls" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bradyjoestar/rust-native-rustls on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "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-6/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-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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-12-18" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e2d50bf5ab4874a948255048f04836179b4e781e623ac447d908d841c45afcfe
[INFO] running `"docker" "start" "-a" "e2d50bf5ab4874a948255048f04836179b4e781e623ac447d908d841c45afcfe"`
[INFO] [stderr]     Checking spin v0.5.1
[INFO] [stderr]    Compiling ring v0.16.7
[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]  Documenting 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 `imp`
[INFO] [stderr]    --> src/imp/rustls-sync.rs:216:25
[INFO] [stderr]     |
[INFO] [stderr] 216 | pub struct TlsStream<S>(imp::TlsStream<S>);
[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<TlsConnector, Error> {
[INFO] [stderr]     |                          ^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[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<TlsAcceptor, Error> {
[INFO] [stderr]     |                          ^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[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]    |
[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<TlsConnector> {
[INFO] [stderr]     |                               ^^^^^^^^ not found in `imp`
[INFO] [stderr]     |
[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<TlsAcceptor> {
[INFO] [stderr]     |                               ^^^^^^^^ not found in `imp`
[INFO] [stderr]     |
[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: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 9 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0255, E0412, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0255`.
[INFO] [stderr] error: Could not document `rust-native-rustls`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name rust_native_rustls src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-06f2b96625426680.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-3db7e744b2427038.rmeta --extern iovec=/opt/rustwide/target/debug/deps/libiovec-0e075fa5153d80fb.rmeta --extern rustls=/opt/rustwide/target/debug/deps/librustls-a4db015eac10147c.rmeta --extern tokio_io=/opt/rustwide/target/debug/deps/libtokio_io-82c5d5d3d306a3db.rmeta --extern webpki=/opt/rustwide/target/debug/deps/libwebpki-0f8bd778a494d68e.rmeta --extern webpki_roots=/opt/rustwide/target/debug/deps/libwebpki_roots-5fcecf453e6227fa.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "e2d50bf5ab4874a948255048f04836179b4e781e623ac447d908d841c45afcfe"`
[INFO] running `"docker" "rm" "-f" "e2d50bf5ab4874a948255048f04836179b4e781e623ac447d908d841c45afcfe"`
[INFO] [stdout] e2d50bf5ab4874a948255048f04836179b4e781e623ac447d908d841c45afcfe
