[INFO] fetching crate ddc-winapi 0.2.0... [INFO] documenting ddc-winapi-0.2.0 against 1.46.0 for beta-1.47-rustdoc-1 [INFO] extracting crate ddc-winapi 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ddc-winapi 0.2.0 on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a754056ae8f42ed9a36b74524c9568611e0cc6223350c63b7cc19430c770c0c1 [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" "a754056ae8f42ed9a36b74524c9568611e0cc6223350c63b7cc19430c770c0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a754056ae8f42ed9a36b74524c9568611e0cc6223350c63b7cc19430c770c0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a754056ae8f42ed9a36b74524c9568611e0cc6223350c63b7cc19430c770c0c1", kill_on_drop: false }` [INFO] [stdout] a754056ae8f42ed9a36b74524c9568611e0cc6223350c63b7cc19430c770c0c1 [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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f847456f3020deff3d215a8251e13670d7d5743c99390a4f0234bab7783aadf6 [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" "f847456f3020deff3d215a8251e13670d7d5743c99390a4f0234bab7783aadf6", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [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 `BOOL` in this scope [INFO] [stdout] --> src/winapi/physicalmonitorenumerationapi.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub type _BOOL = BOOL; [INFO] [stdout] | -----------------^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | help: a type alias with a similar name exists: `_BOOL` [INFO] [stdout] | similarly named type alias `_BOOL` defined here [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] | -----------------------------------^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stdout] | similarly named type alias `LPPHYSICAL_MONITOR` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/winapi/physicalmonitorenumerationapi.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | hMonitor: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/winapi/physicalmonitorenumerationapi.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | pdwNumberOfPhysicalMonitor: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/winapi/physicalmonitorenumerationapi.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | hMonitor: HMONITOR, [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/winapi/physicalmonitorenumerationapi.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | dwPhysicalMonitorArraySize: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapi/physicalmonitorenumerationapi.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | hMonitor: HANDLE, [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/winapi/physicalmonitorenumerationapi.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | dwPhysicalMonitorArraySize: DWORD, [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] | -----------------------------------^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | help: a type alias with a similar name exists: `LPMC_TIMING_REPORT` [INFO] [stdout] | similarly named type alias `LPMC_TIMING_REPORT` defined here [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] | -----------------------------------^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | help: a type alias with a similar name exists: `LPMC_VCP_CODE_TYPE` [INFO] [stdout] | similarly named type alias `LPMC_VCP_CODE_TYPE` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | hMonitor: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | bVCPCode: BYTE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | pdwCurrentValue: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | pdwMaximumValue: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | hMonitor: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | bVCPCode: BYTE, [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/winapi/lowlevelmonitorconfigurationapi.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | dwNewValue: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | hMonitor: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | hMonitor: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | pdwCapabilitiesStringLengthInCharacters: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | hMonitor: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | pszASCIICapabilitiesString: LPSTR, [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/winapi/lowlevelmonitorconfigurationapi.rs:46:49 [INFO] [stdout] | [INFO] [stdout] 46 | dwCapabilitiesStringLengthInCharacters: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapi/lowlevelmonitorconfigurationapi.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | hMonitor: HANDLE, [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 `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn handle(&self) -> HANDLE { [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/lib.rs:82:58 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn winapi_get_timing_report(&self) -> io::Result { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 49 | impl Monitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/lib.rs:94:48 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn winapi_set_vcp_feature(&self, code: BYTE, value: DWORD) -> io::Result<()> { [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/lib.rs:94:61 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn winapi_set_vcp_feature(&self, code: BYTE, value: DWORD) -> io::Result<()> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/lib.rs:119:70 [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] | ^^^^ 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/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 Monitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:119:109 [INFO] [stdout] | [INFO] [stdout] 49 | impl Monitor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:119:116 [INFO] [stdout] | [INFO] [stdout] 49 | impl Monitor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:134:71 [INFO] [stdout] | [INFO] [stdout] 49 | impl Monitor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn winapi_get_capabilities_string_length(&self) -> io::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/lib.rs:227:53 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [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:227:81 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/lib.rs:244:47 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn enumerate_monitors() -> io::Result> { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/lib.rs:245:49 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:245:73 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/lib.rs:245:85 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/lib.rs:245:103 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [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/lib.rs:245:114 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ help: a type alias with a similar name exists: `_BOOL` [INFO] [stdout] | [INFO] [stdout] ::: src/winapi/physicalmonitorenumerationapi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub type _BOOL = BOOL; [INFO] [stdout] | ---------------------- similarly named type alias `_BOOL` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 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 --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern ddc=/opt/rustwide/target/debug/deps/libddc-6092b280f064ecf9.rmeta --extern widestring=/opt/rustwide/target/debug/deps/libwidestring-9e29e83a3881f668.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-8c0eeba5c93bf337.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "f847456f3020deff3d215a8251e13670d7d5743c99390a4f0234bab7783aadf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f847456f3020deff3d215a8251e13670d7d5743c99390a4f0234bab7783aadf6", kill_on_drop: false }` [INFO] [stdout] f847456f3020deff3d215a8251e13670d7d5743c99390a4f0234bab7783aadf6