[INFO] cloning repository https://github.com/hasali19/mona [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hasali19/mona" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasali19%2Fmona", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasali19%2Fmona'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9f9afe3660985582c524c3f0c9659e2237cb280 [INFO] checking hasali19/mona against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasali19%2Fmona" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hasali19/mona on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/hasali19/mona [INFO] finished tweaking git repo https://github.com/hasali19/mona [INFO] tweaked toml for git repo https://github.com/hasali19/mona written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/hasali19/mona already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ac9d69cd433197a63845508f48b785b98705040c6e00b4a79c49915ba58f60c [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" "3ac9d69cd433197a63845508f48b785b98705040c6e00b4a79c49915ba58f60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ac9d69cd433197a63845508f48b785b98705040c6e00b4a79c49915ba58f60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ac9d69cd433197a63845508f48b785b98705040c6e00b4a79c49915ba58f60c", kill_on_drop: false }` [INFO] [stdout] 3ac9d69cd433197a63845508f48b785b98705040c6e00b4a79c49915ba58f60c [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" "RUSTFLAGS=--cap-lints=forbid" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eff2a8d84d6880e990884a37df78a08bc0d9a439b0df71d2f33918f6c411bae6 [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" "eff2a8d84d6880e990884a37df78a08bc0d9a439b0df71d2f33918f6c411bae6", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking mona v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/monitors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::{ [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/monitors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | um::{ [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/win/bstr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | shared::wtypes::BSTR, [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/win/bstr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | um::oleauto::{SysAllocStringLen, SysFreeString}, [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/win/variant.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::wtypes::{VARENUM, VT_BSTR, VT_NULL}, [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/win/variant.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::oaidl::{VARIANT_n3, VARIANT}, [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/win/taskschd.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::{ [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/win/taskschd.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::{ [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/win/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::{shared::winerror::FAILED, um::winbase::GetUserNameW}; [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/win/mod.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::{shared::winerror::FAILED, um::winbase::GetUserNameW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::Class`, `winapi::Interface` [INFO] [stdout] --> src/win/taskschd.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Class, Interface, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Class` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/monitors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::{ [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/monitors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | um::{ [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/win/bstr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | shared::wtypes::BSTR, [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/win/bstr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | um::oleauto::{SysAllocStringLen, SysFreeString}, [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/win/variant.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::wtypes::{VARENUM, VT_BSTR, VT_NULL}, [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/win/variant.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::oaidl::{VARIANT_n3, VARIANT}, [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/win/taskschd.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::{ [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/win/taskschd.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::{ [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/win/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::{shared::winerror::FAILED, um::winbase::GetUserNameW}; [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/win/mod.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::{shared::winerror::FAILED, um::winbase::GetUserNameW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::Class`, `winapi::Interface` [INFO] [stdout] --> src/win/taskschd.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Class, Interface, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Class` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VARIANT` [INFO] [stdout] --> src/win/variant.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | Variant(VARIANT::default(), PhantomData::default()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `VARIANT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TaskScheduler` [INFO] [stdout] --> src/win/taskschd.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | &TaskScheduler::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TaskScheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ITaskService` [INFO] [stdout] --> src/win/taskschd.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | &ITaskService::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ITaskService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VARIANT` [INFO] [stdout] --> src/win/variant.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | Variant(VARIANT::default(), PhantomData::default()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `VARIANT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TaskScheduler` [INFO] [stdout] --> src/win/taskschd.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | &TaskScheduler::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TaskScheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/monitors.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | handle: HANDLE, [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/monitors.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | GetVCPFeatureAndVCPFeatureReply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetVCPFeature` in this scope [INFO] [stdout] --> src/monitors.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | let res = unsafe { SetVCPFeature(self.handle, VCP_POWER_MODE, mode.vcp_code()) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `QDC_ALL_PATHS` in this scope [INFO] [stdout] --> src/monitors.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | GetDisplayConfigBufferSizes(QDC_ALL_PATHS, &mut num_paths, &mut num_modes); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `QDC_ALL_PATHS` in this scope [INFO] [stdout] --> src/monitors.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | QDC_ALL_PATHS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DISPLAYCONFIG_MODE_INFO_TYPE_TARGET` in this scope [INFO] [stdout] --> src/monitors.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | if mode.infoType == DISPLAYCONFIG_MODE_INFO_TYPE_TARGET { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_TARGET_DEVICE_NAME` in this scope [INFO] [stdout] --> src/monitors.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let mut name: DISPLAYCONFIG_TARGET_DEVICE_NAME = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DISPLAYCONFIG_DEVICE_INFO_HEADER` in this scope [INFO] [stdout] --> src/monitors.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | name.header = DISPLAYCONFIG_DEVICE_INFO_HEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME` in this scope [INFO] [stdout] --> src/monitors.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | _type: DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_TARGET_DEVICE_NAME` in this scope [INFO] [stdout] --> src/monitors.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 122 | fn get_display_devices() -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 157 | size: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_TARGET_DEVICE_NAME` in this scope [INFO] [stdout] --> src/monitors.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | (&mut name as *mut DISPLAYCONFIG_TARGET_DEVICE_NAME).cast(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ITaskService` [INFO] [stdout] --> src/win/taskschd.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | &ITaskService::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ITaskService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAY_DEVICEW` in this scope [INFO] [stdout] --> src/monitors.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | let mut device: DISPLAY_DEVICEW = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAY_DEVICEW` in this scope [INFO] [stdout] --> src/monitors.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 189 | fn get_device_map() -> DeviceMap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 194 | device.cb = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayDevicesW` in this scope [INFO] [stdout] --> src/monitors.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | while EnumDisplayDevicesW(ptr::null(), i, &mut device, 0) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayDevicesW` in this scope [INFO] [stdout] --> src/monitors.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | if EnumDisplayDevicesW(name.as_ptr(), 0, &mut device, 1) != 0 { [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/monitors.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stdout] --> src/monitors.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | EnumDisplayMonitors( [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/monitors.rs:235:15 [INFO] [stdout] | [INFO] [stdout] 235 | hmonitor: HMONITOR, [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/monitors.rs:236:11 [INFO] [stdout] | [INFO] [stdout] 236 | _hdc: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/monitors.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | _rect: *mut RECT, [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/monitors.rs:268:31 [INFO] [stdout] | [INFO] [stdout] 268 | fn get_monitor_info(hmonitor: HMONITOR) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/monitors.rs:268:51 [INFO] [stdout] | [INFO] [stdout] 268 | fn get_monitor_info(hmonitor: HMONITOR) -> Option { [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 `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/monitors.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | let mut info: MONITORINFOEXW = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/monitors.rs:270:34 [INFO] [stdout] | [INFO] [stdout] 268 | fn get_monitor_info(hmonitor: HMONITOR) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 269 | let mut info: MONITORINFOEXW = unsafe { mem::zeroed() }; [INFO] [stdout] 270 | info.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/monitors.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | if GetMonitorInfoW(hmonitor, (&mut info as *mut MONITORINFOEXW).cast()) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/monitors.rs:273:57 [INFO] [stdout] | [INFO] [stdout] 273 | if GetMonitorInfoW(hmonitor, (&mut info as *mut MONITORINFOEXW).cast()) == 0 { [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/monitors.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | fn get_physical_monitors(hmonitor: HMONITOR) -> Option> { [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/monitors.rs:281:60 [INFO] [stdout] | [INFO] [stdout] 281 | fn get_physical_monitors(hmonitor: HMONITOR) -> Option> { [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[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stdout] --> src/monitors.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | if GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor, &mut count) == 0 { [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/monitors.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | if GetPhysicalMonitorsFromHMONITOR(hmonitor, count, monitors.as_mut_ptr()) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 308 | flags: UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:309:36 [INFO] [stdout] | [INFO] [stdout] 309 | numPathArrayElements: *mut UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:310:40 [INFO] [stdout] | [INFO] [stdout] 310 | numModeInfoArrayElements: *mut UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/monitors.rs:311:10 [INFO] [stdout] | [INFO] [stdout] 311 | ) -> LONG; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:314:16 [INFO] [stdout] | [INFO] [stdout] 314 | flags: UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:315:36 [INFO] [stdout] | [INFO] [stdout] 315 | numPathArrayElements: *mut UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_PATH_INFO` in this scope [INFO] [stdout] --> src/monitors.rs:316:25 [INFO] [stdout] | [INFO] [stdout] 316 | pathArray: *mut DISPLAYCONFIG_PATH_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:317:40 [INFO] [stdout] | [INFO] [stdout] 317 | numModeInfoArrayElements: *mut UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_MODE_INFO` in this scope [INFO] [stdout] --> src/monitors.rs:318:29 [INFO] [stdout] | [INFO] [stdout] 318 | modeInfoArray: *mut DISPLAYCONFIG_MODE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_TOPOLOGY_ID` in this scope [INFO] [stdout] --> src/monitors.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | currentTopologyId: *mut DISPLAYCONFIG_TOPOLOGY_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/monitors.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | ) -> LONG; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_DEVICE_INFO_HEADER` in this scope [INFO] [stdout] --> src/monitors.rs:322:59 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn DisplayConfigGetDeviceInfo(requestPacket: *mut DISPLAYCONFIG_DEVICE_INFO_HEADER) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/monitors.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | -> LONG; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/win/bstr.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BStr(BSTR); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SysAllocStringLen` in this scope [INFO] [stdout] --> src/win/bstr.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let ptr = unsafe { SysAllocStringLen(chars.as_ptr(), chars.len() as _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/win/bstr.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn inner(&self) -> BSTR { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/win/bstr.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | impl From for BSTR { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SysFreeString` in this scope [INFO] [stdout] --> src/win/bstr.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { SysFreeString(self.0) } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VARIANT` in this scope [INFO] [stdout] --> src/win/variant.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Variant<'a, T: 'a>(VARIANT, PhantomData<&'a T>); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VARIANT` in this scope [INFO] [stdout] --> src/win/variant.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub unsafe fn inner(&self) -> VARIANT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VARENUM` in this scope [INFO] [stdout] --> src/win/variant.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe fn with_type(mut self, t: VARENUM) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VARIANT_n3` in this scope [INFO] [stdout] --> src/win/variant.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe fn with_value(mut self, f: impl Fn(&mut VARIANT_n3) -> &mut U, v: U) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VT_NULL` in this scope [INFO] [stdout] --> src/win/variant.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Variant::new().with_type(VT_NULL) } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VT_BSTR` in this scope [INFO] [stdout] --> src/win/variant.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | .with_type(VT_BSTR) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITaskService` in this scope [INFO] [stdout] --> src/win/taskschd.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TaskService(*const ITaskService); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/win/taskschd.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let hr = unsafe { CoInitializeEx(ptr::null_mut(), COINIT_MULTITHREADED) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_MULTITHREADED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | let hr = unsafe { CoInitializeEx(ptr::null_mut(), COINIT_MULTITHREADED) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeSecurity` in this scope [INFO] [stdout] --> src/win/taskschd.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | CoInitializeSecurity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RPC_C_AUTHN_LEVEL_PKT_PRIVACY` in this scope [INFO] [stdout] --> src/win/taskschd.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | RPC_C_AUTHN_LEVEL_PKT_PRIVACY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RPC_C_IMP_LEVEL_IMPERSONATE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | RPC_C_IMP_LEVEL_IMPERSONATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/win/taskschd.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { CoUninitialize() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITaskService` in this scope [INFO] [stdout] --> src/win/taskschd.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TaskService(*const ITaskService); [INFO] [stdout] | -------------------------------------------- similarly named struct `TaskService` defined here [INFO] [stdout] ... [INFO] [stdout] 57 | let mut service: *const ITaskService = ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `TaskService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/win/taskschd.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_INPROC_SERVER` in this scope [INFO] [stdout] --> src/win/taskschd.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | CLSCTX_INPROC_SERVER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/win/taskschd.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { CoUninitialize() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/win/taskschd.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/win/taskschd.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITaskFolder` in this scope [INFO] [stdout] --> src/win/taskschd.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct TaskFolder(*const ITaskFolder); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IRegisteredTask` in this scope [INFO] [stdout] --> src/win/taskschd.rs:141:41 [INFO] [stdout] | [INFO] [stdout] 141 | let mut registered_task: *const IRegisteredTask = ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_CREATE_OR_UPDATE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | TASK_CREATE_OR_UPDATE as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_LOGON_INTERACTIVE_TOKEN` in this scope [INFO] [stdout] --> src/win/taskschd.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | TASK_LOGON_INTERACTIVE_TOKEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITaskDefinition` in this scope [INFO] [stdout] --> src/win/taskschd.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct TaskDefinition(*const ITaskDefinition); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IRegistrationInfo` in this scope [INFO] [stdout] --> src/win/taskschd.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct RegistrationInfo(*const IRegistrationInfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITaskSettings` in this scope [INFO] [stdout] --> src/win/taskschd.rs:231:32 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct TaskSettings(*const ITaskSettings); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VARIANT_TRUE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:236:57 [INFO] [stdout] | [INFO] [stdout] 236 | (*self.0).put_StartWhenAvailable(if value { VARIANT_TRUE } else { VARIANT_FALSE }) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VARIANT_FALSE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:236:79 [INFO] [stdout] | [INFO] [stdout] 236 | (*self.0).put_StartWhenAvailable(if value { VARIANT_TRUE } else { VARIANT_FALSE }) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITriggerCollection` in this scope [INFO] [stdout] --> src/win/taskschd.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct TriggerCollection(*const ITriggerCollection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | let mut trigger: *const ITrigger = ptr::null(); [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Trigger` [INFO] [stdout] ... [INFO] [stdout] 273 | pub trait Trigger { [INFO] [stdout] | ----------------- similarly named trait `Trigger` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | if FAILED(res) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Interface` in crate `winapi` [INFO] [stdout] --> src/win/taskschd.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | type Interface: winapi::Interface; [INFO] [stdout] | ^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASK_TRIGGER_TYPE2` in this scope [INFO] [stdout] --> src/win/taskschd.rs:276:26 [INFO] [stdout] | [INFO] [stdout] 276 | fn trigger_type() -> TASK_TRIGGER_TYPE2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:279:33 [INFO] [stdout] | [INFO] [stdout] 279 | fn get_ptr(&self) -> *const ITrigger; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ILogonTrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct LogonTrigger(*const ILogonTrigger); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ILogonTrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct LogonTrigger(*const ILogonTrigger); [INFO] [stdout] | ---------------------------------------------- similarly named struct `LogonTrigger` defined here [INFO] [stdout] ... [INFO] [stdout] 307 | type Interface = ILogonTrigger; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a struct with a similar name exists: `LogonTrigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 273 | pub trait Trigger { [INFO] [stdout] | ----------------- similarly named trait `Trigger` defined here [INFO] [stdout] ... [INFO] [stdout] 313 | fn get_ptr(&self) -> *const ITrigger { [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASK_TRIGGER_TYPE2` in this scope [INFO] [stdout] --> src/win/taskschd.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | fn trigger_type() -> TASK_TRIGGER_TYPE2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_TRIGGER_LOGON` in this scope [INFO] [stdout] --> src/win/taskschd.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | TASK_TRIGGER_LOGON [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IRegistrationTrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:322:39 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct RegistrationTrigger(*const IRegistrationTrigger); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IRegistrationTrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct RegistrationTrigger(*const IRegistrationTrigger); [INFO] [stdout] | ------------------------------------------------------------ similarly named struct `RegistrationTrigger` defined here [INFO] [stdout] ... [INFO] [stdout] 325 | type Interface = IRegistrationTrigger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RegistrationTrigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 273 | pub trait Trigger { [INFO] [stdout] | ----------------- similarly named trait `Trigger` defined here [INFO] [stdout] ... [INFO] [stdout] 331 | fn get_ptr(&self) -> *const ITrigger { [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASK_TRIGGER_TYPE2` in this scope [INFO] [stdout] --> src/win/taskschd.rs:335:26 [INFO] [stdout] | [INFO] [stdout] 335 | fn trigger_type() -> TASK_TRIGGER_TYPE2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_TRIGGER_REGISTRATION` in this scope [INFO] [stdout] --> src/win/taskschd.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | TASK_TRIGGER_REGISTRATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IActionCollection` in this scope [INFO] [stdout] --> src/win/taskschd.rs:340:36 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct ActionCollection(*const IActionCollection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAction` in this scope [INFO] [stdout] --> src/win/taskschd.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | let mut action: *const IAction = ptr::null(); [INFO] [stdout] | ^^^^^^^ help: a trait with a similar name exists: `Action` [INFO] [stdout] ... [INFO] [stdout] 364 | pub trait Action { [INFO] [stdout] | ---------------- similarly named trait `Action` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Interface` in crate `winapi` [INFO] [stdout] --> src/win/taskschd.rs:365:29 [INFO] [stdout] | [INFO] [stdout] 365 | type Interface: winapi::Interface; [INFO] [stdout] | ^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASK_ACTION_TYPE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:367:25 [INFO] [stdout] | [INFO] [stdout] 367 | fn action_type() -> TASK_ACTION_TYPE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:370:33 [INFO] [stdout] | [INFO] [stdout] 273 | pub trait Trigger { [INFO] [stdout] | ----------------- similarly named trait `Trigger` defined here [INFO] [stdout] ... [INFO] [stdout] 370 | fn get_ptr(&self) -> *const ITrigger; [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IExecAction` in this scope [INFO] [stdout] --> src/win/taskschd.rs:373:30 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ExecAction(*const IExecAction); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 379 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 389 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IExecAction` in this scope [INFO] [stdout] --> src/win/taskschd.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ExecAction(*const IExecAction); [INFO] [stdout] | ------------------------------------------ similarly named struct `ExecAction` defined here [INFO] [stdout] ... [INFO] [stdout] 398 | type Interface = IExecAction; [INFO] [stdout] | ^^^^^^^^^^^ help: a struct with a similar name exists: `ExecAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASK_ACTION_TYPE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:400:25 [INFO] [stdout] | [INFO] [stdout] 400 | fn action_type() -> TASK_ACTION_TYPE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_ACTION_EXEC` in this scope [INFO] [stdout] --> src/win/taskschd.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | TASK_ACTION_EXEC [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:408:33 [INFO] [stdout] | [INFO] [stdout] 273 | pub trait Trigger { [INFO] [stdout] | ----------------- similarly named trait `Trigger` defined here [INFO] [stdout] ... [INFO] [stdout] 408 | fn get_ptr(&self) -> *const ITrigger { [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/win/taskschd.rs:413:28 [INFO] [stdout] | [INFO] [stdout] 413 | fn win_error_result(hr: HRESULT) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope [INFO] [stdout] --> src/win/taskschd.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | FormatMessageW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stdout] --> src/win/taskschd.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope [INFO] [stdout] --> src/win/taskschd.rs:417:42 [INFO] [stdout] | [INFO] [stdout] 417 | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if FAILED(unsafe { GetUserNameW(buf.as_mut_ptr(), &mut len) }) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetUserNameW` in this scope [INFO] [stdout] --> src/win/mod.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | if FAILED(unsafe { GetUserNameW(buf.as_mut_ptr(), &mut len) }) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 143 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mona` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/monitors.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | handle: HANDLE, [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/monitors.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | GetVCPFeatureAndVCPFeatureReply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetVCPFeature` in this scope [INFO] [stdout] --> src/monitors.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | let res = unsafe { SetVCPFeature(self.handle, VCP_POWER_MODE, mode.vcp_code()) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `QDC_ALL_PATHS` in this scope [INFO] [stdout] --> src/monitors.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | GetDisplayConfigBufferSizes(QDC_ALL_PATHS, &mut num_paths, &mut num_modes); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `QDC_ALL_PATHS` in this scope [INFO] [stdout] --> src/monitors.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | QDC_ALL_PATHS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DISPLAYCONFIG_MODE_INFO_TYPE_TARGET` in this scope [INFO] [stdout] --> src/monitors.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | if mode.infoType == DISPLAYCONFIG_MODE_INFO_TYPE_TARGET { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_TARGET_DEVICE_NAME` in this scope [INFO] [stdout] --> src/monitors.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let mut name: DISPLAYCONFIG_TARGET_DEVICE_NAME = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DISPLAYCONFIG_DEVICE_INFO_HEADER` in this scope [INFO] [stdout] --> src/monitors.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | name.header = DISPLAYCONFIG_DEVICE_INFO_HEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME` in this scope [INFO] [stdout] --> src/monitors.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | _type: DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_TARGET_DEVICE_NAME` in this scope [INFO] [stdout] --> src/monitors.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 122 | fn get_display_devices() -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 157 | size: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_TARGET_DEVICE_NAME` in this scope [INFO] [stdout] --> src/monitors.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | (&mut name as *mut DISPLAYCONFIG_TARGET_DEVICE_NAME).cast(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAY_DEVICEW` in this scope [INFO] [stdout] --> src/monitors.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | let mut device: DISPLAY_DEVICEW = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAY_DEVICEW` in this scope [INFO] [stdout] --> src/monitors.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 189 | fn get_device_map() -> DeviceMap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 194 | device.cb = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayDevicesW` in this scope [INFO] [stdout] --> src/monitors.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | while EnumDisplayDevicesW(ptr::null(), i, &mut device, 0) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayDevicesW` in this scope [INFO] [stdout] --> src/monitors.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | if EnumDisplayDevicesW(name.as_ptr(), 0, &mut device, 1) != 0 { [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/monitors.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stdout] --> src/monitors.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | EnumDisplayMonitors( [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/monitors.rs:235:15 [INFO] [stdout] | [INFO] [stdout] 235 | hmonitor: HMONITOR, [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/monitors.rs:236:11 [INFO] [stdout] | [INFO] [stdout] 236 | _hdc: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/monitors.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | _rect: *mut RECT, [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/monitors.rs:268:31 [INFO] [stdout] | [INFO] [stdout] 268 | fn get_monitor_info(hmonitor: HMONITOR) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/monitors.rs:268:51 [INFO] [stdout] | [INFO] [stdout] 268 | fn get_monitor_info(hmonitor: HMONITOR) -> Option { [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 `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/monitors.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | let mut info: MONITORINFOEXW = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/monitors.rs:270:34 [INFO] [stdout] | [INFO] [stdout] 268 | fn get_monitor_info(hmonitor: HMONITOR) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 269 | let mut info: MONITORINFOEXW = unsafe { mem::zeroed() }; [INFO] [stdout] 270 | info.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/monitors.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | if GetMonitorInfoW(hmonitor, (&mut info as *mut MONITORINFOEXW).cast()) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/monitors.rs:273:57 [INFO] [stdout] | [INFO] [stdout] 273 | if GetMonitorInfoW(hmonitor, (&mut info as *mut MONITORINFOEXW).cast()) == 0 { [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/monitors.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | fn get_physical_monitors(hmonitor: HMONITOR) -> Option> { [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/monitors.rs:281:60 [INFO] [stdout] | [INFO] [stdout] 281 | fn get_physical_monitors(hmonitor: HMONITOR) -> Option> { [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[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stdout] --> src/monitors.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | if GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor, &mut count) == 0 { [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/monitors.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | if GetPhysicalMonitorsFromHMONITOR(hmonitor, count, monitors.as_mut_ptr()) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 308 | flags: UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:309:36 [INFO] [stdout] | [INFO] [stdout] 309 | numPathArrayElements: *mut UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:310:40 [INFO] [stdout] | [INFO] [stdout] 310 | numModeInfoArrayElements: *mut UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/monitors.rs:311:10 [INFO] [stdout] | [INFO] [stdout] 311 | ) -> LONG; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:314:16 [INFO] [stdout] | [INFO] [stdout] 314 | flags: UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:315:36 [INFO] [stdout] | [INFO] [stdout] 315 | numPathArrayElements: *mut UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_PATH_INFO` in this scope [INFO] [stdout] --> src/monitors.rs:316:25 [INFO] [stdout] | [INFO] [stdout] 316 | pathArray: *mut DISPLAYCONFIG_PATH_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/monitors.rs:317:40 [INFO] [stdout] | [INFO] [stdout] 317 | numModeInfoArrayElements: *mut UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_MODE_INFO` in this scope [INFO] [stdout] --> src/monitors.rs:318:29 [INFO] [stdout] | [INFO] [stdout] 318 | modeInfoArray: *mut DISPLAYCONFIG_MODE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_TOPOLOGY_ID` in this scope [INFO] [stdout] --> src/monitors.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | currentTopologyId: *mut DISPLAYCONFIG_TOPOLOGY_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/monitors.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | ) -> LONG; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISPLAYCONFIG_DEVICE_INFO_HEADER` in this scope [INFO] [stdout] --> src/monitors.rs:322:59 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn DisplayConfigGetDeviceInfo(requestPacket: *mut DISPLAYCONFIG_DEVICE_INFO_HEADER) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/monitors.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | -> LONG; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/win/bstr.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BStr(BSTR); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SysAllocStringLen` in this scope [INFO] [stdout] --> src/win/bstr.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let ptr = unsafe { SysAllocStringLen(chars.as_ptr(), chars.len() as _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/win/bstr.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn inner(&self) -> BSTR { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/win/bstr.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | impl From for BSTR { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SysFreeString` in this scope [INFO] [stdout] --> src/win/bstr.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { SysFreeString(self.0) } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VARIANT` in this scope [INFO] [stdout] --> src/win/variant.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Variant<'a, T: 'a>(VARIANT, PhantomData<&'a T>); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VARIANT` in this scope [INFO] [stdout] --> src/win/variant.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub unsafe fn inner(&self) -> VARIANT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VARENUM` in this scope [INFO] [stdout] --> src/win/variant.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe fn with_type(mut self, t: VARENUM) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VARIANT_n3` in this scope [INFO] [stdout] --> src/win/variant.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe fn with_value(mut self, f: impl Fn(&mut VARIANT_n3) -> &mut U, v: U) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VT_NULL` in this scope [INFO] [stdout] --> src/win/variant.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Variant::new().with_type(VT_NULL) } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VT_BSTR` in this scope [INFO] [stdout] --> src/win/variant.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | .with_type(VT_BSTR) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITaskService` in this scope [INFO] [stdout] --> src/win/taskschd.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TaskService(*const ITaskService); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/win/taskschd.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let hr = unsafe { CoInitializeEx(ptr::null_mut(), COINIT_MULTITHREADED) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_MULTITHREADED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | let hr = unsafe { CoInitializeEx(ptr::null_mut(), COINIT_MULTITHREADED) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeSecurity` in this scope [INFO] [stdout] --> src/win/taskschd.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | CoInitializeSecurity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RPC_C_AUTHN_LEVEL_PKT_PRIVACY` in this scope [INFO] [stdout] --> src/win/taskschd.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | RPC_C_AUTHN_LEVEL_PKT_PRIVACY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RPC_C_IMP_LEVEL_IMPERSONATE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | RPC_C_IMP_LEVEL_IMPERSONATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/win/taskschd.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { CoUninitialize() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITaskService` in this scope [INFO] [stdout] --> src/win/taskschd.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TaskService(*const ITaskService); [INFO] [stdout] | -------------------------------------------- similarly named struct `TaskService` defined here [INFO] [stdout] ... [INFO] [stdout] 57 | let mut service: *const ITaskService = ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `TaskService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/win/taskschd.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_INPROC_SERVER` in this scope [INFO] [stdout] --> src/win/taskschd.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | CLSCTX_INPROC_SERVER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/win/taskschd.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { CoUninitialize() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/win/taskschd.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/win/taskschd.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITaskFolder` in this scope [INFO] [stdout] --> src/win/taskschd.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct TaskFolder(*const ITaskFolder); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IRegisteredTask` in this scope [INFO] [stdout] --> src/win/taskschd.rs:141:41 [INFO] [stdout] | [INFO] [stdout] 141 | let mut registered_task: *const IRegisteredTask = ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_CREATE_OR_UPDATE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | TASK_CREATE_OR_UPDATE as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_LOGON_INTERACTIVE_TOKEN` in this scope [INFO] [stdout] --> src/win/taskschd.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | TASK_LOGON_INTERACTIVE_TOKEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITaskDefinition` in this scope [INFO] [stdout] --> src/win/taskschd.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct TaskDefinition(*const ITaskDefinition); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IRegistrationInfo` in this scope [INFO] [stdout] --> src/win/taskschd.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct RegistrationInfo(*const IRegistrationInfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITaskSettings` in this scope [INFO] [stdout] --> src/win/taskschd.rs:231:32 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct TaskSettings(*const ITaskSettings); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VARIANT_TRUE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:236:57 [INFO] [stdout] | [INFO] [stdout] 236 | (*self.0).put_StartWhenAvailable(if value { VARIANT_TRUE } else { VARIANT_FALSE }) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VARIANT_FALSE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:236:79 [INFO] [stdout] | [INFO] [stdout] 236 | (*self.0).put_StartWhenAvailable(if value { VARIANT_TRUE } else { VARIANT_FALSE }) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITriggerCollection` in this scope [INFO] [stdout] --> src/win/taskschd.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct TriggerCollection(*const ITriggerCollection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | let mut trigger: *const ITrigger = ptr::null(); [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Trigger` [INFO] [stdout] ... [INFO] [stdout] 273 | pub trait Trigger { [INFO] [stdout] | ----------------- similarly named trait `Trigger` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | if FAILED(res) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Interface` in crate `winapi` [INFO] [stdout] --> src/win/taskschd.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | type Interface: winapi::Interface; [INFO] [stdout] | ^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASK_TRIGGER_TYPE2` in this scope [INFO] [stdout] --> src/win/taskschd.rs:276:26 [INFO] [stdout] | [INFO] [stdout] 276 | fn trigger_type() -> TASK_TRIGGER_TYPE2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:279:33 [INFO] [stdout] | [INFO] [stdout] 279 | fn get_ptr(&self) -> *const ITrigger; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ILogonTrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct LogonTrigger(*const ILogonTrigger); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ILogonTrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct LogonTrigger(*const ILogonTrigger); [INFO] [stdout] | ---------------------------------------------- similarly named struct `LogonTrigger` defined here [INFO] [stdout] ... [INFO] [stdout] 307 | type Interface = ILogonTrigger; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a struct with a similar name exists: `LogonTrigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 273 | pub trait Trigger { [INFO] [stdout] | ----------------- similarly named trait `Trigger` defined here [INFO] [stdout] ... [INFO] [stdout] 313 | fn get_ptr(&self) -> *const ITrigger { [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASK_TRIGGER_TYPE2` in this scope [INFO] [stdout] --> src/win/taskschd.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | fn trigger_type() -> TASK_TRIGGER_TYPE2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_TRIGGER_LOGON` in this scope [INFO] [stdout] --> src/win/taskschd.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | TASK_TRIGGER_LOGON [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IRegistrationTrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:322:39 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct RegistrationTrigger(*const IRegistrationTrigger); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IRegistrationTrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct RegistrationTrigger(*const IRegistrationTrigger); [INFO] [stdout] | ------------------------------------------------------------ similarly named struct `RegistrationTrigger` defined here [INFO] [stdout] ... [INFO] [stdout] 325 | type Interface = IRegistrationTrigger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RegistrationTrigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 273 | pub trait Trigger { [INFO] [stdout] | ----------------- similarly named trait `Trigger` defined here [INFO] [stdout] ... [INFO] [stdout] 331 | fn get_ptr(&self) -> *const ITrigger { [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASK_TRIGGER_TYPE2` in this scope [INFO] [stdout] --> src/win/taskschd.rs:335:26 [INFO] [stdout] | [INFO] [stdout] 335 | fn trigger_type() -> TASK_TRIGGER_TYPE2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_TRIGGER_REGISTRATION` in this scope [INFO] [stdout] --> src/win/taskschd.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | TASK_TRIGGER_REGISTRATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IActionCollection` in this scope [INFO] [stdout] --> src/win/taskschd.rs:340:36 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct ActionCollection(*const IActionCollection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAction` in this scope [INFO] [stdout] --> src/win/taskschd.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | let mut action: *const IAction = ptr::null(); [INFO] [stdout] | ^^^^^^^ help: a trait with a similar name exists: `Action` [INFO] [stdout] ... [INFO] [stdout] 364 | pub trait Action { [INFO] [stdout] | ---------------- similarly named trait `Action` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Interface` in crate `winapi` [INFO] [stdout] --> src/win/taskschd.rs:365:29 [INFO] [stdout] | [INFO] [stdout] 365 | type Interface: winapi::Interface; [INFO] [stdout] | ^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASK_ACTION_TYPE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:367:25 [INFO] [stdout] | [INFO] [stdout] 367 | fn action_type() -> TASK_ACTION_TYPE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:370:33 [INFO] [stdout] | [INFO] [stdout] 273 | pub trait Trigger { [INFO] [stdout] | ----------------- similarly named trait `Trigger` defined here [INFO] [stdout] ... [INFO] [stdout] 370 | fn get_ptr(&self) -> *const ITrigger; [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IExecAction` in this scope [INFO] [stdout] --> src/win/taskschd.rs:373:30 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ExecAction(*const IExecAction); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 379 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/taskschd.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 389 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IExecAction` in this scope [INFO] [stdout] --> src/win/taskschd.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ExecAction(*const IExecAction); [INFO] [stdout] | ------------------------------------------ similarly named struct `ExecAction` defined here [INFO] [stdout] ... [INFO] [stdout] 398 | type Interface = IExecAction; [INFO] [stdout] | ^^^^^^^^^^^ help: a struct with a similar name exists: `ExecAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASK_ACTION_TYPE` in this scope [INFO] [stdout] --> src/win/taskschd.rs:400:25 [INFO] [stdout] | [INFO] [stdout] 400 | fn action_type() -> TASK_ACTION_TYPE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_ACTION_EXEC` in this scope [INFO] [stdout] --> src/win/taskschd.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | TASK_ACTION_EXEC [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ITrigger` in this scope [INFO] [stdout] --> src/win/taskschd.rs:408:33 [INFO] [stdout] | [INFO] [stdout] 273 | pub trait Trigger { [INFO] [stdout] | ----------------- similarly named trait `Trigger` defined here [INFO] [stdout] ... [INFO] [stdout] 408 | fn get_ptr(&self) -> *const ITrigger { [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/win/taskschd.rs:413:28 [INFO] [stdout] | [INFO] [stdout] 413 | fn win_error_result(hr: HRESULT) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope [INFO] [stdout] --> src/win/taskschd.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | FormatMessageW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stdout] --> src/win/taskschd.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope [INFO] [stdout] --> src/win/taskschd.rs:417:42 [INFO] [stdout] | [INFO] [stdout] 417 | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/win/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if FAILED(unsafe { GetUserNameW(buf.as_mut_ptr(), &mut len) }) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetUserNameW` in this scope [INFO] [stdout] --> src/win/mod.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | if FAILED(unsafe { GetUserNameW(buf.as_mut_ptr(), &mut len) }) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 143 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eff2a8d84d6880e990884a37df78a08bc0d9a439b0df71d2f33918f6c411bae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eff2a8d84d6880e990884a37df78a08bc0d9a439b0df71d2f33918f6c411bae6", kill_on_drop: false }` [INFO] [stdout] eff2a8d84d6880e990884a37df78a08bc0d9a439b0df71d2f33918f6c411bae6