[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 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR030t1%2Fwinrecord" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/R030t1/winrecord on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "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-25/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" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7811aad66de6ae339525bb5481c45aa08b1a230cffe63870cebc00bb1fb576f6 [INFO] running `Command { std: "docker" "start" "-a" "7811aad66de6ae339525bb5481c45aa08b1a230cffe63870cebc00bb1fb576f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7811aad66de6ae339525bb5481c45aa08b1a230cffe63870cebc00bb1fb576f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7811aad66de6ae339525bb5481c45aa08b1a230cffe63870cebc00bb1fb576f6", kill_on_drop: false }` [INFO] [stdout] 7811aad66de6ae339525bb5481c45aa08b1a230cffe63870cebc00bb1fb576f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bffe3d78a86157ac7db6d52bfd76e0369b5981c714da206016d95161d28029d0 [INFO] running `Command { std: "docker" "start" "-a" "bffe3d78a86157ac7db6d52bfd76e0369b5981c714da206016d95161d28029d0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling tokio v1.6.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 `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: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[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[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: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: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: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[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[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: 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[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 `DWORD` in this scope [INFO] [stdout] --> src/payload/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | reason: DWORD, [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: 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 `DWORD` in this scope [INFO] [stdout] --> src/payload/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | reason: DWORD, [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[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/payload/lib.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/payload/lib.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/payload/lib.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | _ => TRUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/payload/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::*` [INFO] [stdout] --> src/payload/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::*` [INFO] [stdout] --> src/payload/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::*` [INFO] [stdout] --> src/payload/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::*` [INFO] [stdout] --> src/payload/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::*` [INFO] [stdout] --> src/payload/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use lazy_static::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widestring::*` [INFO] [stdout] --> src/payload/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use widestring::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kernel32::*` [INFO] [stdout] --> src/payload/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use kernel32::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/payload/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 9 warnings emitted [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 compile `winrecord` due to 19 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 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] [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=9bb90070da8f6e5c -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-4f0fb14dc5578963.rmeta --extern kernel32=/opt/rustwide/target/debug/deps/libkernel32-2c3a5385defc67f1.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-1479f2b7adeaa2b6.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-988b8f3f591f7c55.rmeta --extern user32=/opt/rustwide/target/debug/deps/libuser32-bb637980fefc59f7.rmeta --extern widestring=/opt/rustwide/target/debug/deps/libwidestring-6478d4e51c39bfd4.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-57cc6e6120b2927a.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "bffe3d78a86157ac7db6d52bfd76e0369b5981c714da206016d95161d28029d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bffe3d78a86157ac7db6d52bfd76e0369b5981c714da206016d95161d28029d0", kill_on_drop: false }` [INFO] [stdout] bffe3d78a86157ac7db6d52bfd76e0369b5981c714da206016d95161d28029d0