[INFO] crate ddc-winapi 0.2.0 is already in cache [INFO] extracting crate ddc-winapi 0.2.0 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/ddc-winapi/0.2.0 [INFO] extracting crate ddc-winapi 0.2.0 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/ddc-winapi/0.2.0 [INFO] validating manifest of ddc-winapi-0.2.0 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of ddc-winapi-0.2.0 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing ddc-winapi-0.2.0 [INFO] finished frobbing ddc-winapi-0.2.0 [INFO] frobbed toml for ddc-winapi-0.2.0 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/ddc-winapi/0.2.0/Cargo.toml [INFO] started frobbing ddc-winapi-0.2.0 [INFO] finished frobbing ddc-winapi-0.2.0 [INFO] frobbed toml for ddc-winapi-0.2.0 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/ddc-winapi/0.2.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking ddc-winapi-0.2.0 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/ddc-winapi/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 05d2f30feb706b609581e2db5bd4aa060f75d22db04e57491d9ef03f6eeff7aa [INFO] running `"docker" "start" "-a" "05d2f30feb706b609581e2db5bd4aa060f75d22db04e57491d9ef03f6eeff7aa"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking widestring v0.3.0 [INFO] [stderr] Checking mccs v0.1.0 [INFO] [stderr] Checking ddc v0.2.1 [INFO] [stderr] Checking ddc-winapi v0.2.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/lib.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::shared::windef::{HMONITOR, HDC, LPRECT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/lib.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::minwindef::{LPARAM, BYTE, DWORD, BOOL, TRUE}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::um::winnt::HANDLE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{BOOL, DWORD, LPDWORD}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::windef::HMONITOR; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winnt::{HANDLE, WCHAR}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{BYTE, DWORD, LPDWORD}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winnt::{HANDLE, LPSTR}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `STRUCT!` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | STRUCT!{struct PHYSICAL_MONITOR { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/lib.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::shared::windef::{HMONITOR, HDC, LPRECT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/lib.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::minwindef::{LPARAM, BYTE, DWORD, BOOL, TRUE}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::um::winnt::HANDLE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{BOOL, DWORD, LPDWORD}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::windef::HMONITOR; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winnt::{HANDLE, WCHAR}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{BYTE, DWORD, LPDWORD}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winnt::{HANDLE, LPSTR}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `STRUCT!` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | STRUCT!{struct PHYSICAL_MONITOR { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `STRUCT!` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | STRUCT!{struct MC_TIMING_REPORT { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `ENUM!` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | ENUM!{enum MC_VCP_CODE_TYPE { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `STRUCT!` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | STRUCT!{struct MC_TIMING_REPORT { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `ENUM!` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | ENUM!{enum MC_VCP_CODE_TYPE { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:254:17 [INFO] [stderr] | [INFO] [stderr] 254 | winapi::um::winuser::EnumDisplayMonitors(ptr::null_mut(), ptr::null(), Some(callback), userdata as _) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | pub type _BOOL = BOOL; [INFO] [stderr] | ^^^^ help: a type alias with a similar name exists: `_BOOL` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:17:36 [INFO] [stderr] | [INFO] [stderr] 17 | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 21 | hMonitor: HMONITOR, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:22:37 [INFO] [stderr] | [INFO] [stderr] 22 | pdwNumberOfPhysicalMonitor: LPDWORD, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | hMonitor: HMONITOR, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:26:37 [INFO] [stderr] | [INFO] [stderr] 26 | dwPhysicalMonitorArraySize: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:33:37 [INFO] [stderr] | [INFO] [stderr] 33 | dwPhysicalMonitorArraySize: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MC_TIMING_REPORT` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:16:36 [INFO] [stderr] | [INFO] [stderr] 16 | pub type LPMC_TIMING_REPORT = *mut MC_TIMING_REPORT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPMC_TIMING_REPORT` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MC_VCP_CODE_TYPE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:21:36 [INFO] [stderr] | [INFO] [stderr] 21 | pub type LPMC_VCP_CODE_TYPE = *mut MC_VCP_CODE_TYPE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPMC_VCP_CODE_TYPE` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | bVCPCode: BYTE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | pdwCurrentValue: LPDWORD, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:29:26 [INFO] [stderr] | [INFO] [stderr] 29 | pdwMaximumValue: LPDWORD, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:32:19 [INFO] [stderr] | [INFO] [stderr] 32 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | bVCPCode: BYTE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | dwNewValue: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:41:50 [INFO] [stderr] | [INFO] [stderr] 41 | pdwCapabilitiesStringLengthInCharacters: LPDWORD, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:45:37 [INFO] [stderr] | [INFO] [stderr] 45 | pszASCIICapabilitiesString: LPSTR, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:46:49 [INFO] [stderr] | [INFO] [stderr] 46 | dwCapabilitiesStringLengthInCharacters: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:49:19 [INFO] [stderr] | [INFO] [stderr] 49 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/lib.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | monitor: PHYSICAL_MONITOR, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/lib.rs:51:32 [INFO] [stderr] | [INFO] [stderr] 51 | pub unsafe fn new(monitor: PHYSICAL_MONITOR) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/lib.rs:77:29 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn handle(&self) -> HANDLE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MC_TIMING_REPORT` in this scope [INFO] [stderr] --> src/lib.rs:82:58 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn winapi_get_timing_report(&self) -> io::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPMC_TIMING_REPORT` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:85:63 [INFO] [stderr] | [INFO] [stderr] 85 | if GetTimingReport(self.handle(), &mut report) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stderr] --> src/lib.rs:94:48 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn winapi_set_vcp_feature(&self, code: BYTE, value: DWORD) -> io::Result<()> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:94:61 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn winapi_set_vcp_feature(&self, code: BYTE, value: DWORD) -> io::Result<()> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:96:61 [INFO] [stderr] | [INFO] [stderr] 96 | if SetVCPFeature(self.handle(), code, value) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:107:54 [INFO] [stderr] | [INFO] [stderr] 107 | if SaveCurrentSettings(self.handle()) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stderr] --> src/lib.rs:119:70 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MC_VCP_CODE_TYPE` in this scope [INFO] [stderr] --> src/lib.rs:119:91 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPMC_VCP_CODE_TYPE` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:119:109 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:119:116 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:124:105 [INFO] [stderr] | [INFO] [stderr] 124 | if GetVCPFeatureAndVCPFeatureReply(self.handle(), code, &mut ty, &mut current, &mut max) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:134:71 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn winapi_get_capabilities_string_length(&self) -> io::Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:137:72 [INFO] [stderr] | [INFO] [stderr] 137 | if GetCapabilitiesStringLength(self.handle(), &mut len) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:150:124 [INFO] [stderr] | [INFO] [stderr] 150 | if CapabilitiesRequestAndCapabilitiesReply(self.handle(), string.as_mut_ptr() as *mut _, string.len() as _) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/lib.rs:227:53 [INFO] [stderr] | [INFO] [stderr] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/lib.rs:227:81 [INFO] [stderr] | [INFO] [stderr] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:230:74 [INFO] [stderr] | [INFO] [stderr] 230 | if GetNumberOfPhysicalMonitorsFromHMONITOR(monitor, &mut len) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/lib.rs:234:47 [INFO] [stderr] | [INFO] [stderr] 234 | let mut monitors = vec![mem::zeroed::(); len as usize]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:235:84 [INFO] [stderr] | [INFO] [stderr] 235 | if GetPhysicalMonitorsFromHMONITOR(monitor, len, monitors.as_mut_ptr()) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/lib.rs:244:47 [INFO] [stderr] | [INFO] [stderr] 244 | pub fn enumerate_monitors() -> io::Result> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/lib.rs:245:49 [INFO] [stderr] | [INFO] [stderr] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/lib.rs:245:73 [INFO] [stderr] | [INFO] [stderr] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stderr] --> src/lib.rs:245:85 [INFO] [stderr] | [INFO] [stderr] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/lib.rs:245:103 [INFO] [stderr] | [INFO] [stderr] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/lib.rs:245:114 [INFO] [stderr] | [INFO] [stderr] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^ help: a type alias with a similar name exists: `_BOOL` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/lib.rs:246:32 [INFO] [stderr] | [INFO] [stderr] 246 | let monitors: &mut Vec = mem::transmute(userdata); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:248:9 [INFO] [stderr] | [INFO] [stderr] 248 | TRUE [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/lib.rs:251:30 [INFO] [stderr] | [INFO] [stderr] 251 | let mut monitors = Vec::::new(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:255:10 [INFO] [stderr] | [INFO] [stderr] 255 | } != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HDC`, `HMONITOR`, `LPRECT` [INFO] [stderr] --> src/lib.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::shared::windef::{HMONITOR, HDC, LPRECT}; [INFO] [stderr] | ^^^^^^^^ ^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BOOL`, `BYTE`, `DWORD`, `LPARAM`, `TRUE` [INFO] [stderr] --> src/lib.rs:29:33 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::minwindef::{LPARAM, BYTE, DWORD, BOOL, TRUE}; [INFO] [stderr] | ^^^^^^ ^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::HANDLE` [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::um::winnt::HANDLE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BOOL`, `DWORD`, `LPDWORD` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{BOOL, DWORD, LPDWORD}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::HMONITOR` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::windef::HMONITOR; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HANDLE`, `WCHAR` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winnt::{HANDLE, WCHAR}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BYTE`, `DWORD`, `LPDWORD` [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{BYTE, DWORD, LPDWORD}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HANDLE`, `LPSTR` [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winnt::{HANDLE, LPSTR}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:254:17 [INFO] [stderr] | [INFO] [stderr] 254 | winapi::um::winuser::EnumDisplayMonitors(ptr::null_mut(), ptr::null(), Some(callback), userdata as _) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | pub type _BOOL = BOOL; [INFO] [stderr] | ^^^^ help: a type alias with a similar name exists: `_BOOL` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:17:36 [INFO] [stderr] | [INFO] [stderr] 17 | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 21 | hMonitor: HMONITOR, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:22:37 [INFO] [stderr] | [INFO] [stderr] 22 | pdwNumberOfPhysicalMonitor: LPDWORD, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | hMonitor: HMONITOR, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:26:37 [INFO] [stderr] | [INFO] [stderr] 26 | dwPhysicalMonitorArraySize: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:33:37 [INFO] [stderr] | [INFO] [stderr] 33 | dwPhysicalMonitorArraySize: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MC_TIMING_REPORT` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:16:36 [INFO] [stderr] | [INFO] [stderr] 16 | pub type LPMC_TIMING_REPORT = *mut MC_TIMING_REPORT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPMC_TIMING_REPORT` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MC_VCP_CODE_TYPE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:21:36 [INFO] [stderr] | [INFO] [stderr] 21 | pub type LPMC_VCP_CODE_TYPE = *mut MC_VCP_CODE_TYPE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPMC_VCP_CODE_TYPE` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | bVCPCode: BYTE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | pdwCurrentValue: LPDWORD, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:29:26 [INFO] [stderr] | [INFO] [stderr] 29 | pdwMaximumValue: LPDWORD, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:32:19 [INFO] [stderr] | [INFO] [stderr] 32 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | bVCPCode: BYTE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | dwNewValue: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:41:50 [INFO] [stderr] | [INFO] [stderr] 41 | pdwCapabilitiesStringLengthInCharacters: LPDWORD, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:45:37 [INFO] [stderr] | [INFO] [stderr] 45 | pszASCIICapabilitiesString: LPSTR, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:46:49 [INFO] [stderr] | [INFO] [stderr] 46 | dwCapabilitiesStringLengthInCharacters: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:49:19 [INFO] [stderr] | [INFO] [stderr] 49 | hMonitor: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/lib.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | monitor: PHYSICAL_MONITOR, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/lib.rs:51:32 [INFO] [stderr] | [INFO] [stderr] 51 | pub unsafe fn new(monitor: PHYSICAL_MONITOR) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/lib.rs:77:29 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn handle(&self) -> HANDLE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MC_TIMING_REPORT` in this scope [INFO] [stderr] --> src/lib.rs:82:58 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn winapi_get_timing_report(&self) -> io::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPMC_TIMING_REPORT` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:85:63 [INFO] [stderr] | [INFO] [stderr] 85 | if GetTimingReport(self.handle(), &mut report) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stderr] --> src/lib.rs:94:48 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn winapi_set_vcp_feature(&self, code: BYTE, value: DWORD) -> io::Result<()> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:94:61 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn winapi_set_vcp_feature(&self, code: BYTE, value: DWORD) -> io::Result<()> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:96:61 [INFO] [stderr] | [INFO] [stderr] 96 | if SetVCPFeature(self.handle(), code, value) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:107:54 [INFO] [stderr] | [INFO] [stderr] 107 | if SaveCurrentSettings(self.handle()) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stderr] --> src/lib.rs:119:70 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MC_VCP_CODE_TYPE` in this scope [INFO] [stderr] --> src/lib.rs:119:91 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPMC_VCP_CODE_TYPE` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:119:109 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:119:116 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:124:105 [INFO] [stderr] | [INFO] [stderr] 124 | if GetVCPFeatureAndVCPFeatureReply(self.handle(), code, &mut ty, &mut current, &mut max) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:134:71 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn winapi_get_capabilities_string_length(&self) -> io::Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:137:72 [INFO] [stderr] | [INFO] [stderr] 137 | if GetCapabilitiesStringLength(self.handle(), &mut len) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:150:124 [INFO] [stderr] | [INFO] [stderr] 150 | if CapabilitiesRequestAndCapabilitiesReply(self.handle(), string.as_mut_ptr() as *mut _, string.len() as _) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/lib.rs:227:53 [INFO] [stderr] | [INFO] [stderr] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/lib.rs:227:81 [INFO] [stderr] | [INFO] [stderr] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:230:74 [INFO] [stderr] | [INFO] [stderr] 230 | if GetNumberOfPhysicalMonitorsFromHMONITOR(monitor, &mut len) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/lib.rs:234:47 [INFO] [stderr] | [INFO] [stderr] 234 | let mut monitors = vec![mem::zeroed::(); len as usize]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:235:84 [INFO] [stderr] | [INFO] [stderr] 235 | if GetPhysicalMonitorsFromHMONITOR(monitor, len, monitors.as_mut_ptr()) != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/lib.rs:244:47 [INFO] [stderr] | [INFO] [stderr] 244 | pub fn enumerate_monitors() -> io::Result> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/lib.rs:245:49 [INFO] [stderr] | [INFO] [stderr] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/lib.rs:245:73 [INFO] [stderr] | [INFO] [stderr] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stderr] --> src/lib.rs:245:85 [INFO] [stderr] | [INFO] [stderr] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/lib.rs:245:103 [INFO] [stderr] | [INFO] [stderr] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/lib.rs:245:114 [INFO] [stderr] | [INFO] [stderr] 245 | unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^ help: a type alias with a similar name exists: `_BOOL` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/lib.rs:246:32 [INFO] [stderr] | [INFO] [stderr] 246 | let monitors: &mut Vec = mem::transmute(userdata); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:248:9 [INFO] [stderr] | [INFO] [stderr] 248 | TRUE [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/lib.rs:251:30 [INFO] [stderr] | [INFO] [stderr] 251 | let mut monitors = Vec::::new(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/lib.rs:255:10 [INFO] [stderr] | [INFO] [stderr] 255 | } != TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HDC`, `HMONITOR`, `LPRECT` [INFO] [stderr] --> src/lib.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::shared::windef::{HMONITOR, HDC, LPRECT}; [INFO] [stderr] | ^^^^^^^^ ^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BOOL`, `BYTE`, `DWORD`, `LPARAM`, `TRUE` [INFO] [stderr] --> src/lib.rs:29:33 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::minwindef::{LPARAM, BYTE, DWORD, BOOL, TRUE}; [INFO] [stderr] | ^^^^^^ ^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::HANDLE` [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::um::winnt::HANDLE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BOOL`, `DWORD`, `LPDWORD` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{BOOL, DWORD, LPDWORD}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::HMONITOR` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::windef::HMONITOR; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HANDLE`, `WCHAR` [INFO] [stderr] --> src/winapi/physicalmonitorenumerationapi.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winnt::{HANDLE, WCHAR}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BYTE`, `DWORD`, `LPDWORD` [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{BYTE, DWORD, LPDWORD}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HANDLE`, `LPSTR` [INFO] [stderr] --> src/winapi/lowlevelmonitorconfigurationapi.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winnt::{HANDLE, LPSTR}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 68 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: aborting due to 68 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `ddc-winapi`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `ddc-winapi`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "05d2f30feb706b609581e2db5bd4aa060f75d22db04e57491d9ef03f6eeff7aa"` [INFO] running `"docker" "rm" "-f" "05d2f30feb706b609581e2db5bd4aa060f75d22db04e57491d9ef03f6eeff7aa"` [INFO] [stdout] 05d2f30feb706b609581e2db5bd4aa060f75d22db04e57491d9ef03f6eeff7aa