[INFO] updating cached repository https://github.com/LachlanArthur/TimeTrackerRust
[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] 9f0a334abd18d7430220ca14976c5f9e961c0273
[INFO] documenting LachlanArthur/TimeTrackerRust against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanArthur%2FTimeTrackerRust" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LachlanArthur/TimeTrackerRust 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/LachlanArthur/TimeTrackerRust
[INFO] finished tweaking git repo https://github.com/LachlanArthur/TimeTrackerRust
[INFO] tweaked toml for git repo https://github.com/LachlanArthur/TimeTrackerRust written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/LachlanArthur/TimeTrackerRust 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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 52056bbc9172ef8231ac8712e6d4e9d840a8dc7faed40300884bd4871b9a8dbb
[INFO] running `"docker" "start" "-a" "52056bbc9172ef8231ac8712e6d4e9d840a8dc7faed40300884bd4871b9a8dbb"`
[INFO] [stderr]  Documenting time_tracker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/active_window.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::{
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/active_window.rs:39:15
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use std::os::windows::ffi::OsStringExt;
[INFO] [stderr]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/idle_time.rs:3:6
[INFO] [stderr]   |
[INFO] [stderr] 3 |     use winapi::um::{
[INFO] [stderr]   |         ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/active_window.rs:30:10
[INFO] [stderr]    |
[INFO] [stderr] 30 |     pub id: winapi::shared::minwindef::DWORD,
[INFO] [stderr]    |             ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/active_window.rs:33:35
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub fn get_foreground_window() -> HWND {
[INFO] [stderr]    |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/active_window.rs:37:34
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub fn get_window_title( window: HWND ) -> String {
[INFO] [stderr]    |                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not document `time_tracker`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name time_tracker 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 --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "52056bbc9172ef8231ac8712e6d4e9d840a8dc7faed40300884bd4871b9a8dbb"`
[INFO] running `"docker" "rm" "-f" "52056bbc9172ef8231ac8712e6d4e9d840a8dc7faed40300884bd4871b9a8dbb"`
[INFO] [stdout] 52056bbc9172ef8231ac8712e6d4e9d840a8dc7faed40300884bd4871b9a8dbb
