[INFO] cloning repository https://github.com/R030t1/winrecord
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/R030t1/winrecord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR030t1%2Fwinrecord", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR030t1%2Fwinrecord'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a100e83f549aaf08a50efdf2f85c0f24b74a2468
[INFO] documenting R030t1/winrecord against nightly for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR030t1%2Fwinrecord" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/R030t1/winrecord on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/R030t1/winrecord
[INFO] finished tweaking git repo https://github.com/R030t1/winrecord
[INFO] tweaked toml for git repo https://github.com/R030t1/winrecord written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/R030t1/winrecord already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be8ed3aee9dd7d44298dc054a8d44a722ced6becc7ed6b0252edd49bf6182036
[INFO] running `Command { std: "docker" "start" "-a" "be8ed3aee9dd7d44298dc054a8d44a722ced6becc7ed6b0252edd49bf6182036", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be8ed3aee9dd7d44298dc054a8d44a722ced6becc7ed6b0252edd49bf6182036", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be8ed3aee9dd7d44298dc054a8d44a722ced6becc7ed6b0252edd49bf6182036", kill_on_drop: false }`
[INFO] [stdout] be8ed3aee9dd7d44298dc054a8d44a722ced6becc7ed6b0252edd49bf6182036
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3173cafedfa9cea6206121d370436dfc22950742a51087e83ae651c2811850c0
[INFO] running `Command { std: "docker" "start" "-a" "3173cafedfa9cea6206121d370436dfc22950742a51087e83ae651c2811850c0", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]     Checking widestring v0.4.3
[INFO] [stderr]    Compiling tokio v1.6.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking winrecord v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting winrecord v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/payload/lib.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::shared::windef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::shared::minwindef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]   --> src/payload/lib.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::ctypes::*;
[INFO] [stdout]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | use winapi::um::minwinbase::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use winapi::um::winnt::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | use winapi::shared::minwindef::{TRUE, DWORD};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/payload/lib.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use winapi::um::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/payload/lib.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     hinst: HINSTANCE,
[INFO] [stdout]    |            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/payload/lib.rs:45:6
[INFO] [stdout]    |
[INFO] [stdout] 45 | ) -> BOOL {
[INFO] [stdout]    |      ^^^^ help: a builtin type with a similar name exists: `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/payload/lib.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::shared::windef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::shared::minwindef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]   --> src/payload/lib.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::ctypes::*;
[INFO] [stdout]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | use winapi::um::minwinbase::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use winapi::um::winnt::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/payload/lib.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | use winapi::shared::minwindef::{TRUE, DWORD};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/payload/lib.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use winapi::um::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winnt`
[INFO] [stdout]   --> src/payload/lib.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         winnt::DLL_PROCESS_ATTACH => {
[INFO] [stdout]    |         ^^^^^ use of undeclared crate or module `winnt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winnt`
[INFO] [stdout]   --> src/payload/lib.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         winnt::DLL_PROCESS_DETACH => {
[INFO] [stdout]    |         ^^^^^ use of undeclared crate or module `winnt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/payload/lib.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     hinst: HINSTANCE,
[INFO] [stdout]    |            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/payload/lib.rs:45:6
[INFO] [stdout]    |
[INFO] [stdout] 45 | ) -> BOOL {
[INFO] [stdout]    |      ^^^^ help: a builtin type with a similar name exists: `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope
[INFO] [stdout]   --> src/payload/lib.rs:52:34
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let t = unsafe { GetCurrentProcessId() };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `winrecord`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-type cdylib --crate-name payload src/payload/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=f3c1e3f783902764 -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-07031b3119c0d49b.rmeta --extern kernel32=/opt/rustwide/target/debug/deps/libkernel32-f3b60261ea36471b.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-3ab14ef94a1f89cf.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-f2b890105d8f9867.rmeta --extern user32=/opt/rustwide/target/debug/deps/libuser32-48999c6758b5e63a.rmeta --extern widestring=/opt/rustwide/target/debug/deps/libwidestring-1868db04997d076e.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-78f2bffef7013ebe.rmeta --cap-lints=allow --crate-version 0.1.0` (exit status: 1)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `winrecord` due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "3173cafedfa9cea6206121d370436dfc22950742a51087e83ae651c2811850c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3173cafedfa9cea6206121d370436dfc22950742a51087e83ae651c2811850c0", kill_on_drop: false }`
[INFO] [stdout] 3173cafedfa9cea6206121d370436dfc22950742a51087e83ae651c2811850c0
