[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 1.40.0 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-13/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bradyjoestar/rust-native-rustls on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "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-13/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" "+1.40.0" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.40.0" "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] 6ad8bba114b7b8e5c76e831a2d2f25d67925f2121c1a618f11614296e79f7abe
[INFO] running `"docker" "start" "-a" "6ad8bba114b7b8e5c76e831a2d2f25d67925f2121c1a618f11614296e79f7abe"`
[INFO] [stderr]     Checking untrusted v0.7.0
[INFO] [stderr]    Compiling ring v0.16.7
[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]  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-dbcaf41b96044a70.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-bff65daf06c7fc0d.rmeta --extern iovec=/opt/rustwide/target/debug/deps/libiovec-3d3448e6106c4d69.rmeta --extern rustls=/opt/rustwide/target/debug/deps/librustls-f700dd3b898ee374.rmeta --extern tokio_io=/opt/rustwide/target/debug/deps/libtokio_io-425c945893e99feb.rmeta --extern webpki=/opt/rustwide/target/debug/deps/libwebpki-80e188c3e8a219ae.rmeta --extern webpki_roots=/opt/rustwide/target/debug/deps/libwebpki_roots-ad8d5561ded6099e.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "6ad8bba114b7b8e5c76e831a2d2f25d67925f2121c1a618f11614296e79f7abe"`
[INFO] running `"docker" "rm" "-f" "6ad8bba114b7b8e5c76e831a2d2f25d67925f2121c1a618f11614296e79f7abe"`
[INFO] [stdout] 6ad8bba114b7b8e5c76e831a2d2f25d67925f2121c1a618f11614296e79f7abe
