[INFO] updating cached repository https://github.com/LachlanArthur/TimeTrackerRust [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6986d452be4fb7e34cfe0d424fca7e1d59c6e743 [INFO] documenting LachlanArthur/TimeTrackerRust against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanArthur%2FTimeTrackerRust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LachlanArthur/TimeTrackerRust on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/LachlanArthur/TimeTrackerRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be48ba54a8837fd1e34c56fc3c1fd7506b145ab803895b549d1cd171f06a0bfc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "be48ba54a8837fd1e34c56fc3c1fd7506b145ab803895b549d1cd171f06a0bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be48ba54a8837fd1e34c56fc3c1fd7506b145ab803895b549d1cd171f06a0bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be48ba54a8837fd1e34c56fc3c1fd7506b145ab803895b549d1cd171f06a0bfc", kill_on_drop: false }` [INFO] [stdout] be48ba54a8837fd1e34c56fc3c1fd7506b145ab803895b549d1cd171f06a0bfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=forbid" "-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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11f0e20f8c434233e1be54b07b6d86a7e5400b7459af62f6fb5afcfa7ade4ac3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "11f0e20f8c434233e1be54b07b6d86a7e5400b7459af62f6fb5afcfa7ade4ac3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking signal-hook v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Documenting time_tracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/active_window.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/idle_time.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/active_window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `minwindef` [INFO] [stdout] --> src/active_window.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub id: minwindef::DWORD, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `minwindef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `windef` [INFO] [stdout] --> src/active_window.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_foreground_window() -> windef::HWND { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `windef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `windef` [INFO] [stdout] --> src/active_window.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_window_title( window: windef::HWND ) -> String { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `windef` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `time_tracker`. [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [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 --extern chrono=/opt/rustwide/target/debug/deps/libchrono-ab11fcc934b1c37b.rmeta --extern dirs=/opt/rustwide/target/debug/deps/libdirs-a2e19651563871f2.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-e1c45a5e78f70bfa.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-26f8ace03cfbd888.rmeta --extern signal_hook=/opt/rustwide/target/debug/deps/libsignal_hook-5a72f6ab105ea25e.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "11f0e20f8c434233e1be54b07b6d86a7e5400b7459af62f6fb5afcfa7ade4ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f0e20f8c434233e1be54b07b6d86a7e5400b7459af62f6fb5afcfa7ade4ac3", kill_on_drop: false }` [INFO] [stdout] 11f0e20f8c434233e1be54b07b6d86a7e5400b7459af62f6fb5afcfa7ade4ac3