[INFO] updating cached repository https://github.com/matt-thomson/github-sweep
[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] 558cafddfc46f8ae7352a5895553cc7c3562d6f0
[INFO] documenting matt-thomson/github-sweep against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-thomson%2Fgithub-sweep" "/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/matt-thomson/github-sweep 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/matt-thomson/github-sweep
[INFO] finished tweaking git repo https://github.com/matt-thomson/github-sweep
[INFO] tweaked toml for git repo https://github.com/matt-thomson/github-sweep written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/matt-thomson/github-sweep 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] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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" "+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] f0f210839b9c13547d4451dfb501df25ff1b2d1feae278e4df0686611d0a0f7d
[INFO] running `"docker" "start" "-a" "f0f210839b9c13547d4451dfb501df25ff1b2d1feae278e4df0686611d0a0f7d"`
[INFO] [stderr]     Checking http v0.2.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]     Checking tokio v0.2.6
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking tokio-util v0.2.0
[INFO] [stderr]     Checking h2 v0.2.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.6
[INFO] [stderr]     Checking pin-project v0.4.6
[INFO] [stderr]     Checking hyper v0.13.1
[INFO] [stderr]  Documenting github-sweep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `hyper::header::Authorization`, `hyper::header::Basic`, `hyper::header::Headers`, `hyper::header::UserAgent`
[INFO] [stderr]  --> src/http.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | use hyper::header::{Authorization, Basic, Headers, UserAgent};
[INFO] [stderr]   |                     ^^^^^^^^^^^^^  ^^^^^  ^^^^^^^  ^^^^^^^^^ no `UserAgent` in `header`
[INFO] [stderr]   |                     |              |      |
[INFO] [stderr]   |                     |              |      no `Headers` in `header`
[INFO] [stderr]   |                     |              no `Basic` in `header`
[INFO] [stderr]   |                     no `Authorization` in `header`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `status` in `hyper`
[INFO] [stderr]  --> src/error.rs:9:30
[INFO] [stderr]   |
[INFO] [stderr] 9 |     Request { status: hyper::status::StatusCode }
[INFO] [stderr]   |                              ^^^^^^ could not find `status` in `hyper`
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `Response` is private
[INFO] [stderr]  --> src/http.rs:2:20
[INFO] [stderr]   |
[INFO] [stderr] 2 | use hyper::client::Response;
[INFO] [stderr]   |                    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0432`.
[INFO] [stderr] error: Could not document `github-sweep`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name github_sweep src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern hyper=/opt/rustwide/target/debug/deps/libhyper-c40559465a6b9bbf.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "f0f210839b9c13547d4451dfb501df25ff1b2d1feae278e4df0686611d0a0f7d"`
[INFO] running `"docker" "rm" "-f" "f0f210839b9c13547d4451dfb501df25ff1b2d1feae278e4df0686611d0a0f7d"`
[INFO] [stdout] f0f210839b9c13547d4451dfb501df25ff1b2d1feae278e4df0686611d0a0f7d
