[INFO] fetching crate ddc-winapi 0.2.1... [INFO] checking ddc-winapi-0.2.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate ddc-winapi 0.2.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate ddc-winapi 0.2.1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ddc-winapi 0.2.1 [INFO] finished tweaking crates.io crate ddc-winapi 0.2.1 [INFO] tweaked toml for crates.io crate ddc-winapi 0.2.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate ddc-winapi 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mccs v0.1.3 [INFO] [stderr] Downloaded ddc v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bff51b0959d2f286f617050709fee758b5d97b877f47e40203345886bab0ebc2 [INFO] running `Command { std: "docker" "start" "-a" "bff51b0959d2f286f617050709fee758b5d97b877f47e40203345886bab0ebc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bff51b0959d2f286f617050709fee758b5d97b877f47e40203345886bab0ebc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff51b0959d2f286f617050709fee758b5d97b877f47e40203345886bab0ebc2", kill_on_drop: false }` [INFO] [stdout] bff51b0959d2f286f617050709fee758b5d97b877f47e40203345886bab0ebc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eef117ee24cde771cea96b29fbcf9a72dcd73e4335618f06b6bf4a0e6afd904 [INFO] running `Command { std: "docker" "start" "-a" "1eef117ee24cde771cea96b29fbcf9a72dcd73e4335618f06b6bf4a0e6afd904", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Checking mccs v0.1.3 [INFO] [stderr] Checking ddc v0.2.2 [INFO] [stderr] Checking ddc-winapi v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::physicalmonitorenumerationapi::*; [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/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::um::lowlevelmonitorconfigurationapi::*; [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/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | 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 `um` in `winapi` [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::physicalmonitorenumerationapi::*; [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/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::um::lowlevelmonitorconfigurationapi::*; [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/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | 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:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 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 `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 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:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | 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 `um` in `winapi` [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | 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 `um` in `winapi` [INFO] [stdout] --> src/lib.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | winapi::um::winuser::EnumDisplayMonitors(ptr::null_mut(), ptr::null(), Some(callback), userdata as _) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/lib.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | monitor: PHYSICAL_MONITOR, [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:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn new(monitor: PHYSICAL_MONITOR) -> Self { [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:81:58 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn winapi_get_timing_report(&self) -> 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] 43 | impl Monitor { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTimingReport` in this scope [INFO] [stdout] --> src/lib.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | if GetTimingReport(self.handle(), &mut report) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 26 + use ddc::commands::GetTimingReport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SaveCurrentSettings` in this scope [INFO] [stdout] --> src/lib.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | if SaveCurrentSettings(self.handle()) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 26 + use ddc::commands::SaveCurrentSettings; [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:118:91 [INFO] [stdout] | [INFO] [stdout] 118 | 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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 43 | impl Monitor { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/lib.rs:226:81 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> 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] 226 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/lib.rs:233:47 [INFO] [stdout] | [INFO] [stdout] 233 | let mut monitors = vec![mem::zeroed::(); len as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 226 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | winapi::um::winuser::EnumDisplayMonitors(ptr::null_mut(), ptr::null(), Some(callback), userdata as _) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/lib.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | monitor: PHYSICAL_MONITOR, [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:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn new(monitor: PHYSICAL_MONITOR) -> Self { [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:81:58 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn winapi_get_timing_report(&self) -> 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] 43 | impl Monitor { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTimingReport` in this scope [INFO] [stdout] --> src/lib.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | if GetTimingReport(self.handle(), &mut report) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 26 + use ddc::commands::GetTimingReport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SaveCurrentSettings` in this scope [INFO] [stdout] --> src/lib.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | if SaveCurrentSettings(self.handle()) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 26 + use ddc::commands::SaveCurrentSettings; [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:118:91 [INFO] [stdout] | [INFO] [stdout] 118 | 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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 43 | impl Monitor { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/lib.rs:226:81 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> 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] 226 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stdout] --> src/lib.rs:233:47 [INFO] [stdout] | [INFO] [stdout] 233 | let mut monitors = vec![mem::zeroed::(); len as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 226 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result> { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetVCPFeature` in this scope [INFO] [stdout] --> src/lib.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | if SetVCPFeature(self.handle(), code, value) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetVCPFeatureAndVCPFeatureReply` in this scope [INFO] [stdout] --> src/lib.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | if GetVCPFeatureAndVCPFeatureReply(self.handle(), code, &mut ty, &mut current, &mut max) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCapabilitiesStringLength` in this scope [INFO] [stdout] --> src/lib.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | if GetCapabilitiesStringLength(self.handle(), &mut len) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CapabilitiesRequestAndCapabilitiesReply` in this scope [INFO] [stdout] --> src/lib.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | if CapabilitiesRequestAndCapabilitiesReply(self.handle(), string.as_mut_ptr() as *mut _, string.len() as _) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyPhysicalMonitor` in this scope [INFO] [stdout] --> src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | DestroyPhysicalMonitor(self.handle()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stdout] --> src/lib.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | if GetNumberOfPhysicalMonitorsFromHMONITOR(monitor, &mut len) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stdout] --> src/lib.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | if GetPhysicalMonitorsFromHMONITOR(monitor, len, monitors.as_mut_ptr()) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetVCPFeature` in this scope [INFO] [stdout] --> src/lib.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | if SetVCPFeature(self.handle(), code, value) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetVCPFeatureAndVCPFeatureReply` in this scope [INFO] [stdout] --> src/lib.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | if GetVCPFeatureAndVCPFeatureReply(self.handle(), code, &mut ty, &mut current, &mut max) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCapabilitiesStringLength` in this scope [INFO] [stdout] --> src/lib.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | if GetCapabilitiesStringLength(self.handle(), &mut len) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CapabilitiesRequestAndCapabilitiesReply` in this scope [INFO] [stdout] --> src/lib.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | if CapabilitiesRequestAndCapabilitiesReply(self.handle(), string.as_mut_ptr() as *mut _, string.len() as _) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ddc-winapi` (lib) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyPhysicalMonitor` in this scope [INFO] [stdout] --> src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | DestroyPhysicalMonitor(self.handle()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stdout] --> src/lib.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | if GetNumberOfPhysicalMonitorsFromHMONITOR(monitor, &mut len) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stdout] --> src/lib.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | if GetPhysicalMonitorsFromHMONITOR(monitor, len, monitors.as_mut_ptr()) != TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ddc-winapi` (lib test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "1eef117ee24cde771cea96b29fbcf9a72dcd73e4335618f06b6bf4a0e6afd904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eef117ee24cde771cea96b29fbcf9a72dcd73e4335618f06b6bf4a0e6afd904", kill_on_drop: false }` [INFO] [stdout] 1eef117ee24cde771cea96b29fbcf9a72dcd73e4335618f06b6bf4a0e6afd904