[INFO] fetching crate ddc-winapi 0.2.0...
[INFO] documenting ddc-winapi-0.2.0 against beta-2022-07-10 for beta-1.63-rustdoc-1
[INFO] extracting crate ddc-winapi 0.2.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate ddc-winapi 0.2.0 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ddc-winapi 0.2.0
[INFO] finished tweaking crates.io crate ddc-winapi 0.2.0
[INFO] tweaked toml for crates.io crate ddc-winapi 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] db2844dda944af9694d0b7a8d9e229a96589ec3a66b5da8ed0f345d6c82333f3
[INFO] running `Command { std: "docker" "start" "-a" "db2844dda944af9694d0b7a8d9e229a96589ec3a66b5da8ed0f345d6c82333f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "db2844dda944af9694d0b7a8d9e229a96589ec3a66b5da8ed0f345d6c82333f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db2844dda944af9694d0b7a8d9e229a96589ec3a66b5da8ed0f345d6c82333f3", kill_on_drop: false }`
[INFO] [stdout] db2844dda944af9694d0b7a8d9e229a96589ec3a66b5da8ed0f345d6c82333f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8fa574543cfab3a76641fc94e06751afd0534106f39c2efbef3565a744f5a0fe
[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" "8fa574543cfab3a76641fc94e06751afd0534106f39c2efbef3565a744f5a0fe", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking widestring v0.3.0
[INFO] [stderr]     Checking mccs v0.1.0
[INFO] [stderr]     Checking ddc v0.2.2
[INFO] [stderr]  Documenting ddc-winapi v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | use winapi::shared::windef::{HMONITOR, HDC, LPRECT};
[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/lib.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 | use winapi::shared::minwindef::{LPARAM, BYTE, DWORD, BOOL, TRUE};
[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/lib.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 | use winapi::um::winnt::HANDLE;
[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/winapi/physicalmonitorenumerationapi.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::minwindef::{BOOL, DWORD, LPDWORD};
[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/winapi/physicalmonitorenumerationapi.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::windef::HMONITOR;
[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/winapi/physicalmonitorenumerationapi.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winnt::{HANDLE, WCHAR};
[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/winapi/lowlevelmonitorconfigurationapi.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::minwindef::{BYTE, DWORD, LPDWORD};
[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/winapi/lowlevelmonitorconfigurationapi.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winnt::{HANDLE, LPSTR};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `STRUCT` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | STRUCT!{struct PHYSICAL_MONITOR {
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `STRUCT` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | STRUCT!{struct MC_TIMING_REPORT {
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `ENUM` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | ENUM!{enum MC_VCP_CODE_TYPE {
[INFO] [stdout]    | ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:17:36
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MC_TIMING_REPORT` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type LPMC_TIMING_REPORT = *mut MC_TIMING_REPORT;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MC_VCP_CODE_TYPE` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:21:36
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub type LPMC_VCP_CODE_TYPE = *mut MC_VCP_CODE_TYPE;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope
[INFO] [stdout]   --> src/lib.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |     monitor: PHYSICAL_MONITOR,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/winapi/physicalmonitorenumerationapi.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR;
[INFO] [stdout]    | ---------------------------------------------------- similarly named type alias `LPPHYSICAL_MONITOR` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope
[INFO] [stdout]   --> src/lib.rs:51:32
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub unsafe fn new(monitor: PHYSICAL_MONITOR) -> Self {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/winapi/physicalmonitorenumerationapi.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR;
[INFO] [stdout]    | ---------------------------------------------------- similarly named type alias `LPPHYSICAL_MONITOR` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MC_TIMING_REPORT` in this scope
[INFO] [stdout]   --> src/lib.rs:82:58
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn winapi_get_timing_report(&self) -> io::Result<MC_TIMING_REPORT> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/winapi/lowlevelmonitorconfigurationapi.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type LPMC_TIMING_REPORT = *mut MC_TIMING_REPORT;
[INFO] [stdout]    | ---------------------------------------------------- similarly named type alias `LPMC_TIMING_REPORT` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn winapi_get_timing_report(&self) -> io::Result<LPMC_TIMING_REPORT> {
[INFO] [stdout]    |                                                          ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<MC_TIMING_REPORT> Monitor {
[INFO] [stdout]    |     ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MC_VCP_CODE_TYPE` in this scope
[INFO] [stdout]    --> src/lib.rs:119:91
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> {
[INFO] [stdout]     |                                                                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/winapi/lowlevelmonitorconfigurationapi.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  | pub type LPMC_VCP_CODE_TYPE = *mut MC_VCP_CODE_TYPE;
[INFO] [stdout]     | ---------------------------------------------------- similarly named type alias `LPMC_VCP_CODE_TYPE` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(LPMC_VCP_CODE_TYPE, DWORD, DWORD)> {
[INFO] [stdout]     |                                                                                           ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 49  | impl<MC_VCP_CODE_TYPE> Monitor {
[INFO] [stdout]     |     ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope
[INFO] [stdout]    --> src/lib.rs:227:81
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result<Vec<PHYSICAL_MONITOR>> {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/winapi/physicalmonitorenumerationapi.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR;
[INFO] [stdout]     | ---------------------------------------------------- similarly named type alias `LPPHYSICAL_MONITOR` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result<Vec<LPPHYSICAL_MONITOR>> {
[INFO] [stdout]     |                                                                                 ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor<PHYSICAL_MONITOR>(monitor: HMONITOR) -> io::Result<Vec<PHYSICAL_MONITOR>> {
[INFO] [stdout]     |                                           ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `ddc-winapi`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type lib --crate-name ddc_winapi src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=7b8b015cff094cb5 -L dependency=/opt/rustwide/target/debug/deps --extern ddc=/opt/rustwide/target/debug/deps/libddc-c00b0e5d77d64e1a.rmeta --extern widestring=/opt/rustwide/target/debug/deps/libwidestring-d9c7eca6f1645d51.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-af494d881bb05700.rmeta --cap-lints=warn --crate-version 0.2.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "8fa574543cfab3a76641fc94e06751afd0534106f39c2efbef3565a744f5a0fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fa574543cfab3a76641fc94e06751afd0534106f39c2efbef3565a744f5a0fe", kill_on_drop: false }`
[INFO] [stdout] 8fa574543cfab3a76641fc94e06751afd0534106f39c2efbef3565a744f5a0fe
