[INFO] fetching crate msft-service 0.0.24...
[INFO] testing msft-service-0.0.24 against 1.90.0 for beta-1.91-3
[INFO] extracting crate msft-service 0.0.24 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate msft-service 0.0.24
[INFO] finished tweaking crates.io crate msft-service 0.0.24
[INFO] tweaked toml for crates.io crate msft-service 0.0.24 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate msft-service 0.0.24 on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate msft-service 0.0.24 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded win_etw_provider v0.1.9
[INFO] [stderr]   Downloaded msft-service-macros v0.0.24
[INFO] [stderr]   Downloaded tracing-log v0.1.4
[INFO] [stderr]   Downloaded predicates-core v1.0.6
[INFO] [stderr]   Downloaded mockall v0.12.1
[INFO] [stderr]   Downloaded predicates v3.1.0
[INFO] [stderr]   Downloaded mockall_derive v0.12.1
[INFO] [stderr]   Downloaded toml v0.8.12
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.12
[INFO] [stderr]   Downloaded trybuild v1.0.90
[INFO] [stderr]   Downloaded toml_edit v0.22.9
[INFO] [stderr]   Downloaded chrono v0.4.37
[INFO] [stderr]   Downloaded serde_json v1.0.115
[INFO] [stderr]   Downloaded winnow v0.6.5
[INFO] [stderr]   Downloaded win_etw_macros v0.1.9
[INFO] [stderr]   Downloaded predicates-tree v1.0.9
[INFO] [stderr]   Downloaded syn v2.0.55
[INFO] [stderr]   Downloaded time-macros v0.2.17
[INFO] [stderr]   Downloaded w32-error v1.0.0
[INFO] [stderr]   Downloaded win_etw_tracing v0.1.1
[INFO] [stderr]   Downloaded win_etw_metadata v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ddf13dd1f51c4fcfad0fb4d60b187fe94030bdd765ce7d366e5319404c647d0
[INFO] running `Command { std: "docker" "start" "-a" "1ddf13dd1f51c4fcfad0fb4d60b187fe94030bdd765ce7d366e5319404c647d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ddf13dd1f51c4fcfad0fb4d60b187fe94030bdd765ce7d366e5319404c647d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ddf13dd1f51c4fcfad0fb4d60b187fe94030bdd765ce7d366e5319404c647d0", kill_on_drop: false }`
[INFO] [stdout] 1ddf13dd1f51c4fcfad0fb4d60b187fe94030bdd765ce7d366e5319404c647d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6c832cf8965ef0f16fb2f3c5fe8f73b5aa1dd40d6d01427c3e0561f0fce7da2c
[INFO] running `Command { std: "docker" "start" "-a" "6c832cf8965ef0f16fb2f3c5fe8f73b5aa1dd40d6d01427c3e0561f0fce7da2c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-channel v0.5.12
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling syn v2.0.55
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling msft-service-macros v0.0.24
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling msft-service v0.0.24 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/util/wchar.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/os/mod.rs:56:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/os/mod.rs:120:10
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/util/wchar.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     use std::os::windows::prelude::*;
[INFO] [stdout]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/os/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/os/mod.rs:120:10
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/device.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     os::windows::io::{AsRawHandle, RawHandle},
[INFO] [stdout]    |         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/os/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/os/mod.rs:120:10
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/status.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::windows::prelude::{AsRawHandle, RawHandle};
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/os/mod.rs:56:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/os/mod.rs:120:10
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]  --> src/util/guid.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows_sys::Win32::System::Rpc::{UuidFromStringW, RPC_S_INVALID_STRING_UUID};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]  --> src/util/hkey.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows_sys::Win32::{Foundation::ERROR_SUCCESS, System::Registry::*};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   --> src/device.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use windows_sys::{
[INFO] [stdout]    |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   --> src/message.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use windows_sys::Win32::{
[INFO] [stdout]    |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]  --> src/status.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows_sys::Win32::System::{Services::*, SystemServices::*};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_sys::Win32::Foundation::ERROR_SUCCESS`, `windows_sys::core::GUID`, `windows_sys::Win32::Foundation::*`, `windows_sys::Win32::System::LibraryLoader::GetModuleHandleW`, `windows_sys::Win32::UI::WindowsAndMessaging::*`, `super::DeviceStreamExt`, `windows_sys::Win32::Foundation::NO_ERROR`, `windows_sys::Win32::System::Power::*`, `windows_sys::Win32::System::RemoteDesktop::*`, `windows_sys::Win32::System::Services::*`, `windows_sys::Win32::System::SystemServices::*`, `windows_sys::Win32::UI::WindowsAndMessaging::*`, `windows_sys::Win32::System::Services::*`, `windows_sys::Win32::System::SystemServices::*`
[INFO] [stdout]    --> src/util/hkey.rs:5:26
[INFO] [stdout]     |
[INFO] [stdout]   5 | use windows_sys::Win32::{Foundation::ERROR_SUCCESS, System::Registry::*};
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/device.rs:34:5
[INFO] [stdout]     |
[INFO] [stdout]  34 |     core::GUID,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]  35 |     Win32::{Foundation::*, System::LibraryLoader::GetModuleHandleW, UI::WindowsAndMessaging::*},
[INFO] [stdout]     |             ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 723 |     pub use super::DeviceStreamExt;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/message.rs:21:5
[INFO] [stdout]     |
[INFO] [stdout]  21 |     Foundation::NO_ERROR,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  22 |     System::{Power::*, RemoteDesktop::*, Services::*, SystemServices::*},
[INFO] [stdout]     |              ^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  23 |     UI::WindowsAndMessaging::*,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/status.rs:8:34
[INFO] [stdout]     |
[INFO] [stdout]   8 | use windows_sys::Win32::System::{Services::*, SystemServices::*};
[INFO] [stdout]     |                                  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    --> src/device.rs:173:39
[INFO] [stdout]     |
[INFO] [stdout] 173 | const WINDOW_CLASS_NAME: *const u16 = windows_sys::w!("DeviceNotifier");
[INFO] [stdout]     |                                       ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   --> src/util/guid.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Guid(pub windows_sys::core::GUID);
[INFO] [stdout]    |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   --> src/util/guid.rs:35:32
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn into_inner(self) -> windows_sys::core::GUID {
[INFO] [stdout]    |                                ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   --> src/util/guid.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl From<windows_sys::core::GUID> for Guid {
[INFO] [stdout]    |           ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   --> src/util/guid.rs:50:20
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn from(value: windows_sys::core::GUID) -> Self {
[INFO] [stdout]    |                    ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   --> src/util/guid.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl From<Guid> for windows_sys::core::GUID {
[INFO] [stdout]    |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `REG_SZ` is not bound in all patterns
[INFO] [stdout]   --> src/util/hkey.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             REG_EXPAND_SZ | REG_SZ => unsafe { Ok(from_wide(self.data.as_ptr() as _)) },
[INFO] [stdout]    |             ^^^^^^^^^^^^^   ------ variable not in all patterns
[INFO] [stdout]    |             |
[INFO] [stdout]    |             pattern doesn't bind `REG_SZ`
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::REG_SZ`
[INFO] [stdout]   --> src/util/hkey.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |             REG_EXPAND_SZ | REG_SZ => unsafe { Ok(from_wide(self.data.as_ptr() as _)) },
[INFO] [stdout]    |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `REG_EXPAND_SZ` is not bound in all patterns
[INFO] [stdout]   --> src/util/hkey.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |             REG_EXPAND_SZ | REG_SZ => unsafe { Ok(from_wide(self.data.as_ptr() as _)) },
[INFO] [stdout]    |             -------------   ^^^^^^ pattern doesn't bind `REG_EXPAND_SZ`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             variable not in all patterns
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::REG_EXPAND_SZ`
[INFO] [stdout]   --> src/util/hkey.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             REG_EXPAND_SZ | REG_SZ => unsafe { Ok(from_wide(self.data.as_ptr() as _)) },
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   --> src/util/wchar.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             windows_sys::Win32::UI::WindowsAndMessaging::GetWindowTextW(
[INFO] [stdout]    |             ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/device.rs:66:37
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 if let Ok(window) = crate::get_window_text!(hwnd, 128) {
[INFO] [stdout]    |                                     ---------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout]    = note: this error originates in the macro `crate::get_window_text` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    --> src/util/guid.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         windows_sys::core::GUID {
[INFO] [stdout]     |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/device.rs:442:9
[INFO] [stdout]     |
[INFO] [stdout] 442 |         guid!(0x25dbce51, 0x6c8f, 0x4a72, 0x8a, 0x6d, 0xb5, 0x4c, 0x2b, 0x4f, 0xc8, 0x35);
[INFO] [stdout]     |         --------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout]     = note: this error originates in the macro `guid` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    --> src/util/guid.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         windows_sys::core::GUID {
[INFO] [stdout]     |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/device.rs:444:9
[INFO] [stdout]     |
[INFO] [stdout] 444 |         guid!(0x88BAE032, 0x5A81, 0x49f0, 0xBC, 0x3D, 0xA4, 0xFF, 0x13, 0x82, 0x16, 0xD6);
[INFO] [stdout]     |         --------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout]     = note: this error originates in the macro `guid` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    --> src/util/guid.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         windows_sys::core::GUID {
[INFO] [stdout]     |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/device.rs:446:9
[INFO] [stdout]     |
[INFO] [stdout] 446 |         guid!(0x4d36e978, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18);
[INFO] [stdout]     |         --------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout]     = note: this error originates in the macro `guid` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    --> src/message.rs:399:64
[INFO] [stdout]     |
[INFO] [stdout] 399 |                 let guid = *(broadcast.Data.as_ptr() as *const windows_sys::core::GUID);
[INFO] [stdout]     |                                                                ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    --> src/message.rs:505:28
[INFO] [stdout]     |
[INFO] [stdout] 505 |     fn try_from_guid(guid: windows_sys::core::GUID) -> Option<Self> {
[INFO] [stdout]     |                            ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REG_EXPAND_SZ` in this scope
[INFO] [stdout]   --> src/util/hkey.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 expect: REG_EXPAND_SZ,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope
[INFO] [stdout]   --> src/util/hkey.rs:83:25
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 expect: REG_SZ,
[INFO] [stdout]    |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:102:25
[INFO] [stdout]     |
[INFO] [stdout] 102 |                 expect: REG_DWORD,
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REG_QWORD` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:121:25
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 expect: REG_QWORD,
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:129:27
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct PredefinedHkey(HKEY);
[INFO] [stdout]     |                           ^^^^ help: a struct with a similar name exists: `Hkey`
[INFO] [stdout] ...
[INFO] [stdout] 155 | pub struct Hkey(isize);
[INFO] [stdout]     | ----------------------- similarly named struct `Hkey` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HKEY_LOCAL_MACHINE` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:131:52
[INFO] [stdout]     |
[INFO] [stdout] 131 |     pub const LOCAL_MACHINE: PredefinedHkey = Self(HKEY_LOCAL_MACHINE);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:133:31
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl From<PredefinedHkey> for HKEY {
[INFO] [stdout]     |                               ^^^^ help: a struct with a similar name exists: `Hkey`
[INFO] [stdout] ...
[INFO] [stdout] 155 | pub struct Hkey(isize);
[INFO] [stdout]     | ----------------------- similarly named struct `Hkey` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:210:21
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub struct Hkey(isize);
[INFO] [stdout]     | ----------------------- similarly named struct `Hkey` defined here
[INFO] [stdout] ...
[INFO] [stdout] 210 | impl From<Hkey> for HKEY {
[INFO] [stdout]     |                     ^^^^ help: a struct with a similar name exists: `Hkey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:282:22
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub struct Hkey(isize);
[INFO] [stdout]     | ----------------------- similarly named struct `Hkey` defined here
[INFO] [stdout] ...
[INFO] [stdout] 282 |         let mut key: HKEY = 0;
[INFO] [stdout]     |                      ^^^^ help: a struct with a similar name exists: `Hkey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEY_READ` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:287:13
[INFO] [stdout]     |
[INFO] [stdout] 287 |             KEY_READ as _,
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/device.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |     hwnd: HWND,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]   --> src/device.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |     wparam: WPARAM,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/device.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |     lparam: LPARAM,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout]   --> src/device.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 | ) -> LRESULT {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope
[INFO] [stdout]   --> src/device.rs:53:39
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Mutex<DeviceNotificationData>;
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_APPWINDOW` in this scope
[INFO] [stdout]   --> src/device.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         WS_EX_APPWINDOW,   // styleEx
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZE` in this scope
[INFO] [stdout]   --> src/device.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         WS_MINIMIZE,       // style
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/device.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         CW_USEDEFAULT,     // width
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/device.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         CW_USEDEFAULT,     // hight
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope
[INFO] [stdout]    --> src/device.rs:110:43
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 SetWindowLongPtrW(handle, GWLP_USERDATA, user_data)
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout]    --> src/device.rs:145:18
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let mut msg: MSG = std::mem::zeroed();
[INFO] [stdout]     |                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope
[INFO] [stdout]    --> src/device.rs:157:33
[INFO] [stdout]     |
[INFO] [stdout] 157 |             _ if msg.message == WM_CLOSE as _ => {
[INFO] [stdout]     |                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stdout]    --> src/device.rs:179:21
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let class = WNDCLASSEXW {
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stdout]    --> src/device.rs:182:41
[INFO] [stdout]     |
[INFO] [stdout] 182 |             cbSize: std::mem::size_of::<WNDCLASSEXW>() as _,
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn get_window_class<WNDCLASSEXW>() -> u16 {
[INFO] [stdout]     |                    +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/device.rs:372:19
[INFO] [stdout]     |
[INFO] [stdout] 372 | pub struct Window(HWND);
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVNOTIFY` in this scope
[INFO] [stdout]    --> src/device.rs:390:31
[INFO] [stdout]     |
[INFO] [stdout] 390 | pub struct RegistrationHandle(HDEVNOTIFY);
[INFO] [stdout]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DEVICE_NOTIFY_WINDOW_HANDLE` in this scope
[INFO] [stdout]    --> src/device.rs:402:22
[INFO] [stdout]     |
[INFO] [stdout] 402 |     Window(Window) = DEVICE_NOTIFY_WINDOW_HANDLE,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DEVICE_NOTIFY_SERVICE_HANDLE` in this scope
[INFO] [stdout]    --> src/device.rs:404:22
[INFO] [stdout]     |
[INFO] [stdout] 404 |     Service(isize) = DEVICE_NOTIFY_SERVICE_HANDLE,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DEV_BROADCAST_DEVICEINTERFACE_W` in this scope
[INFO] [stdout]    --> src/device.rs:491:56
[INFO] [stdout]     |
[INFO] [stdout] 491 |                     let mut iface = std::mem::zeroed::<DEV_BROADCAST_DEVICEINTERFACE_W>();
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 439 | impl<DEV_BROADCAST_DEVICEINTERFACE_W> NotificationRegistry {
[INFO] [stdout]     |     +++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DEV_BROADCAST_DEVICEINTERFACE_W` in this scope
[INFO] [stdout]    --> src/device.rs:492:59
[INFO] [stdout]     |
[INFO] [stdout] 492 |                     iface.dbcc_size = std::mem::size_of::<DEV_BROADCAST_DEVICEINTERFACE_W>() as _;
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 439 | impl<DEV_BROADCAST_DEVICEINTERFACE_W> NotificationRegistry {
[INFO] [stdout]     |     +++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_DEVTYP_DEVICEINTERFACE` in this scope
[INFO] [stdout]    --> src/device.rs:494:45
[INFO] [stdout]     |
[INFO] [stdout] 494 |                     iface.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope
[INFO] [stdout]    --> src/device.rs:583:45
[INFO] [stdout]     |
[INFO] [stdout] 583 |             let result = PostMessageW(hwnd, WM_CLOSE, 0, 0);
[INFO] [stdout]     |                                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WTSSESSION_NOTIFICATION` in this scope
[INFO] [stdout]   --> src/message.rs:77:38
[INFO] [stdout]    |
[INFO] [stdout] 77 |     SessionChange(SessionChangeType, WTSSESSION_NOTIFICATION),
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SERVICE_TIMECHANGE_INFO` in this scope
[INFO] [stdout]   --> src/message.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 79 |     TimeChange(SERVICE_TIMECHANGE_INFO),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_DEVICEARRIVAL` in this scope
[INFO] [stdout]    --> src/message.rs:121:15
[INFO] [stdout]     |
[INFO] [stdout] 121 |     Arrival = DBT_DEVICEARRIVAL,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_DEVICEREMOVECOMPLETE` in this scope
[INFO] [stdout]    --> src/message.rs:122:22
[INFO] [stdout]     |
[INFO] [stdout] 122 |     RemoveComplete = DBT_DEVICEREMOVECOMPLETE,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_DEVICEQUERYREMOVE` in this scope
[INFO] [stdout]    --> src/message.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 |     QueryRemove = DBT_DEVICEQUERYREMOVE,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_DEVICEQUERYREMOVEFAILED` in this scope
[INFO] [stdout]    --> src/message.rs:124:27
[INFO] [stdout]     |
[INFO] [stdout] 124 |     QueryRemoveComplete = DBT_DEVICEQUERYREMOVEFAILED,
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_DEVICEREMOVEPENDING` in this scope
[INFO] [stdout]    --> src/message.rs:125:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |     RemovePending = DBT_DEVICEREMOVEPENDING,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_CUSTOMEVENT` in this scope
[INFO] [stdout]    --> src/message.rs:126:19
[INFO] [stdout]     |
[INFO] [stdout] 126 |     CustomEvent = DBT_CUSTOMEVENT,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DEV_BROADCAST_OEM` in this scope
[INFO] [stdout]    --> src/message.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     Oem(DEV_BROADCAST_OEM),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DEV_BROADCAST_VOLUME` in this scope
[INFO] [stdout]    --> src/message.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |     Volume(DEV_BROADCAST_VOLUME),
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DEV_BROADCAST_HDR` in this scope
[INFO] [stdout]    --> src/message.rs:188:45
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let broadcast = &mut *(data as *mut DEV_BROADCAST_HDR);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DEV_BROADCAST_PORT_W` in this scope
[INFO] [stdout]    --> src/message.rs:195:46
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 let port = &*(data as *const DEV_BROADCAST_PORT_W);
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_CONFIGCHANGED` in this scope
[INFO] [stdout]    --> src/message.rs:242:21
[INFO] [stdout]     |
[INFO] [stdout] 242 |     ConfigChanged = DBT_CONFIGCHANGED,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_QUERYCHANGECONFIG` in this scope
[INFO] [stdout]    --> src/message.rs:244:25
[INFO] [stdout]     |
[INFO] [stdout] 244 |     QueryChangeConfig = DBT_QUERYCHANGECONFIG,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_CONFIGCHANGECANCELED` in this scope
[INFO] [stdout]    --> src/message.rs:246:28
[INFO] [stdout]     |
[INFO] [stdout] 246 |     ConfigChangeCanceled = DBT_CONFIGCHANGECANCELED,
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PBT_APMPOWERSTATUSCHANGE` in this scope
[INFO] [stdout]    --> src/message.rs:266:25
[INFO] [stdout]     |
[INFO] [stdout] 266 |     PowerStatusChange = PBT_APMPOWERSTATUSCHANGE,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PBT_APMRESUMEAUTOMATIC` in this scope
[INFO] [stdout]    --> src/message.rs:269:23
[INFO] [stdout]     |
[INFO] [stdout] 269 |     ResumeAutomatic = PBT_APMRESUMEAUTOMATIC,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PBT_APMRESUMESUSPEND` in this scope
[INFO] [stdout]    --> src/message.rs:272:21
[INFO] [stdout]     |
[INFO] [stdout] 272 |     ResumeSuspend = PBT_APMRESUMESUSPEND,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PBT_APMSUSPEND` in this scope
[INFO] [stdout]    --> src/message.rs:275:15
[INFO] [stdout]     |
[INFO] [stdout] 275 |     Suspend = PBT_APMSUSPEND,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `POWERBROADCAST_SETTING` in this scope
[INFO] [stdout]    --> src/message.rs:362:43
[INFO] [stdout]     |
[INFO] [stdout] 362 |         let broadcast = &*(data as *const POWERBROADCAST_SETTING);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_ACDC_POWER_SOURCE` in this scope
[INFO] [stdout]    --> src/message.rs:364:46
[INFO] [stdout]     |
[INFO] [stdout] 364 |             guid if Guid::from(guid) == Guid(GUID_ACDC_POWER_SOURCE) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_BATTERY_PERCENTAGE_REMAINING` in this scope
[INFO] [stdout]    --> src/message.rs:368:46
[INFO] [stdout]     |
[INFO] [stdout] 368 |             guid if Guid::from(guid) == Guid(GUID_BATTERY_PERCENTAGE_REMAINING) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_CONSOLE_DISPLAY_STATE` in this scope
[INFO] [stdout]    --> src/message.rs:372:46
[INFO] [stdout]     |
[INFO] [stdout] 372 |             guid if Guid::from(guid) == Guid(GUID_CONSOLE_DISPLAY_STATE) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_GLOBAL_USER_PRESENCE` in this scope
[INFO] [stdout]    --> src/message.rs:376:46
[INFO] [stdout]     |
[INFO] [stdout] 376 |             guid if Guid::from(guid) == Guid(GUID_GLOBAL_USER_PRESENCE) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_IDLE_BACKGROUND_TASK` in this scope
[INFO] [stdout]    --> src/message.rs:380:46
[INFO] [stdout]     |
[INFO] [stdout] 380 |             guid if Guid::from(guid) == Guid(GUID_IDLE_BACKGROUND_TASK) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_LIDSWITCH_STATE_CHANGE` in this scope
[INFO] [stdout]    --> src/message.rs:383:46
[INFO] [stdout]     |
[INFO] [stdout] 383 |             guid if Guid::from(guid) == Guid(GUID_LIDSWITCH_STATE_CHANGE) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_MONITOR_POWER_ON` in this scope
[INFO] [stdout]    --> src/message.rs:387:46
[INFO] [stdout]     |
[INFO] [stdout] 387 |             guid if Guid::from(guid) == Guid(GUID_MONITOR_POWER_ON) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_POWER_SAVING_STATUS` in this scope
[INFO] [stdout]    --> src/message.rs:392:46
[INFO] [stdout]     |
[INFO] [stdout] 392 |             guid if Guid::from(guid) == Guid(GUID_POWER_SAVING_STATUS) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_POWERSCHEME_PERSONALITY` in this scope
[INFO] [stdout]    --> src/message.rs:398:46
[INFO] [stdout]     |
[INFO] [stdout] 398 |             guid if Guid::from(guid) == Guid(GUID_POWERSCHEME_PERSONALITY) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_SESSION_DISPLAY_STATUS` in this scope
[INFO] [stdout]    --> src/message.rs:402:46
[INFO] [stdout]     |
[INFO] [stdout] 402 |             guid if Guid::from(guid) == Guid(GUID_SESSION_DISPLAY_STATUS) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_SESSION_USER_PRESENCE` in this scope
[INFO] [stdout]    --> src/message.rs:406:46
[INFO] [stdout]     |
[INFO] [stdout] 406 |             guid if Guid::from(guid) == Guid(GUID_SESSION_USER_PRESENCE) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_SYSTEM_AWAYMODE` in this scope
[INFO] [stdout]    --> src/message.rs:410:46
[INFO] [stdout]     |
[INFO] [stdout] 410 |             guid if Guid::from(guid) == Guid(GUID_SYSTEM_AWAYMODE) => {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_MIN_POWER_SAVINGS` in this scope
[INFO] [stdout]    --> src/message.rs:508:40
[INFO] [stdout]     |
[INFO] [stdout] 508 |             guid if guid == Guid::from(GUID_MIN_POWER_SAVINGS) => Some(PowerschemePersonality::Min),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_MAX_POWER_SAVINGS` in this scope
[INFO] [stdout]    --> src/message.rs:509:40
[INFO] [stdout]     |
[INFO] [stdout] 509 |             guid if guid == Guid::from(GUID_MAX_POWER_SAVINGS) => Some(PowerschemePersonality::Max),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_TYPICAL_POWER_SAVINGS` in this scope
[INFO] [stdout]    --> src/message.rs:510:40
[INFO] [stdout]     |
[INFO] [stdout] 510 |             guid if guid == Guid::from(GUID_TYPICAL_POWER_SAVINGS) => {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_CONSOLE_CONNECT` in this scope
[INFO] [stdout]    --> src/message.rs:550:22
[INFO] [stdout]     |
[INFO] [stdout] 550 |     ConsoleConnect = WTS_CONSOLE_CONNECT,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_CONSOLE_DISCONNECT` in this scope
[INFO] [stdout]    --> src/message.rs:552:25
[INFO] [stdout]     |
[INFO] [stdout] 552 |     ConsoleDisconnect = WTS_CONSOLE_DISCONNECT,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_REMOTE_CONNECT` in this scope
[INFO] [stdout]    --> src/message.rs:554:21
[INFO] [stdout]     |
[INFO] [stdout] 554 |     RemoteConnect = WTS_REMOTE_CONNECT,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_REMOTE_DISCONNECT` in this scope
[INFO] [stdout]    --> src/message.rs:556:24
[INFO] [stdout]     |
[INFO] [stdout] 556 |     RemoteDisconnect = WTS_REMOTE_DISCONNECT,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_SESSION_LOGON` in this scope
[INFO] [stdout]    --> src/message.rs:558:20
[INFO] [stdout]     |
[INFO] [stdout] 558 |     SessionLogon = WTS_SESSION_LOGON,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_SESSION_LOGOFF` in this scope
[INFO] [stdout]    --> src/message.rs:560:21
[INFO] [stdout]     |
[INFO] [stdout] 560 |     SessionLogoff = WTS_SESSION_LOGOFF,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_SESSION_LOCK` in this scope
[INFO] [stdout]    --> src/message.rs:562:19
[INFO] [stdout]     |
[INFO] [stdout] 562 |     SessionLock = WTS_SESSION_LOCK,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_SESSION_UNLOCK` in this scope
[INFO] [stdout]    --> src/message.rs:564:21
[INFO] [stdout]     |
[INFO] [stdout] 564 |     SessionUnlock = WTS_SESSION_UNLOCK,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_SESSION_REMOTE_CONTROL` in this scope
[INFO] [stdout]    --> src/message.rs:566:28
[INFO] [stdout]     |
[INFO] [stdout] 566 |     SessionRemoteControl = WTS_SESSION_REMOTE_CONTROL,
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_SESSION_CREATE` in this scope
[INFO] [stdout]    --> src/message.rs:568:21
[INFO] [stdout]     |
[INFO] [stdout] 568 |     SessionCreate = WTS_SESSION_CREATE,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WTS_SESSION_TERMINATE` in this scope
[INFO] [stdout]    --> src/message.rs:570:24
[INFO] [stdout]     |
[INFO] [stdout] 570 |     SessionTerminate = WTS_SESSION_TERMINATE,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_FILE_SYSTEM_DRIVER` in this scope
[INFO] [stdout]   --> src/status.rs:18:34
[INFO] [stdout]    |
[INFO] [stdout] 18 |         const FileSystemDriver = SERVICE_FILE_SYSTEM_DRIVER;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_KERNEL_DRIVER` in this scope
[INFO] [stdout]   --> src/status.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |         const KernelDriver = SERVICE_KERNEL_DRIVER;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_WIN32_OWN_PROCESS` in this scope
[INFO] [stdout]   --> src/status.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 |         const Win32OwnProcess = SERVICE_WIN32_OWN_PROCESS;
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_WIN32_SHARE_PROCESS` in this scope
[INFO] [stdout]   --> src/status.rs:24:35
[INFO] [stdout]    |
[INFO] [stdout] 24 |         const Win32ShareProcess = SERVICE_WIN32_SHARE_PROCESS;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_USER_OWN_PROCESS` in this scope
[INFO] [stdout]   --> src/status.rs:26:32
[INFO] [stdout]    |
[INFO] [stdout] 26 |         const UserOwnProcess = SERVICE_USER_OWN_PROCESS;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_USER_SHARE_PROCESS` in this scope
[INFO] [stdout]   --> src/status.rs:29:34
[INFO] [stdout]    |
[INFO] [stdout] 29 |         const UserShareProcess = SERVICE_USER_SHARE_PROCESS;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_INTERACTIVE_PROCESS` in this scope
[INFO] [stdout]   --> src/status.rs:31:36
[INFO] [stdout]    |
[INFO] [stdout] 31 |         const InteractiveProcess = SERVICE_INTERACTIVE_PROCESS;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTINUE_PENDING` in this scope
[INFO] [stdout]   --> src/status.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         const ContinuePending = SERVICE_CONTINUE_PENDING;
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_PAUSE_PENDING` in this scope
[INFO] [stdout]   --> src/status.rs:45:37
[INFO] [stdout]    |
[INFO] [stdout] 45 |         const ServicePausePending = SERVICE_PAUSE_PENDING;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_PAUSED` in this scope
[INFO] [stdout]   --> src/status.rs:47:31
[INFO] [stdout]    |
[INFO] [stdout] 47 |         const ServicePaused = SERVICE_PAUSED;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_RUNNING` in this scope
[INFO] [stdout]   --> src/status.rs:49:32
[INFO] [stdout]    |
[INFO] [stdout] 49 |         const ServiceRunning = SERVICE_RUNNING;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_START_PENDING` in this scope
[INFO] [stdout]   --> src/status.rs:51:37
[INFO] [stdout]    |
[INFO] [stdout] 51 |         const ServiceStartPending = SERVICE_START_PENDING;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOP_PENDING` in this scope
[INFO] [stdout]   --> src/status.rs:53:36
[INFO] [stdout]    |
[INFO] [stdout] 53 |         const ServiceStopPending = SERVICE_STOP_PENDING;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOPPED` in this scope
[INFO] [stdout]   --> src/status.rs:55:32
[INFO] [stdout]    |
[INFO] [stdout] 55 |         const ServiceStopped = SERVICE_STOPPED;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_NETBINDCHANGE` in this scope
[INFO] [stdout]   --> src/status.rs:69:31
[INFO] [stdout]    |
[INFO] [stdout] 69 |         const NETBINDCHANGE = SERVICE_ACCEPT_NETBINDCHANGE;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_PARAMCHANGE` in this scope
[INFO] [stdout]   --> src/status.rs:71:29
[INFO] [stdout]    |
[INFO] [stdout] 71 |         const PARAMCHANGE = SERVICE_ACCEPT_PARAMCHANGE;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_PAUSE_CONTINUE` in this scope
[INFO] [stdout]   --> src/status.rs:73:32
[INFO] [stdout]    |
[INFO] [stdout] 73 |         const PAUSE_CONTINUE = SERVICE_ACCEPT_PAUSE_CONTINUE;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_PRESHUTDOWN` in this scope
[INFO] [stdout]   --> src/status.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |         const PRESHUTDOWN = SERVICE_ACCEPT_PRESHUTDOWN;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_SHUTDOWN` in this scope
[INFO] [stdout]   --> src/status.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 |         const SHUTDOWN = SERVICE_ACCEPT_SHUTDOWN;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_STOP` in this scope
[INFO] [stdout]   --> src/status.rs:79:22
[INFO] [stdout]    |
[INFO] [stdout] 79 |         const STOP = SERVICE_ACCEPT_STOP;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_HARDWAREPROFILECHANGE` in this scope
[INFO] [stdout]   --> src/status.rs:82:39
[INFO] [stdout]    |
[INFO] [stdout] 82 |         const HARDWAREPROFILECHANGE = SERVICE_ACCEPT_HARDWAREPROFILECHANGE;
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_POWEREVENT` in this scope
[INFO] [stdout]   --> src/status.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 |         const POWEREVENT = SERVICE_ACCEPT_POWEREVENT;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_SESSIONCHANGE` in this scope
[INFO] [stdout]   --> src/status.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |         const SESSIONCHANGE = SERVICE_ACCEPT_SESSIONCHANGE;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_TIMECHANGE` in this scope
[INFO] [stdout]   --> src/status.rs:88:28
[INFO] [stdout]    |
[INFO] [stdout] 88 |         const TIMECHANGE = SERVICE_ACCEPT_TIMECHANGE;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACCEPT_TRIGGEREVENT` in this scope
[INFO] [stdout]   --> src/status.rs:90:30
[INFO] [stdout]    |
[INFO] [stdout] 90 |         const TRIGGEREVENT = SERVICE_ACCEPT_TRIGGEREVENT;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SERVICE_STATUS` in this scope
[INFO] [stdout]   --> src/status.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |     status: SERVICE_STATUS,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryInfoKeyW` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             RegQueryInfoKeyW(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:218:26
[INFO] [stdout]     |
[INFO] [stdout] 218 |         let _ = unsafe { RegCloseKey(self.0) };
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegEnumValueW` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:246:13
[INFO] [stdout]     |
[INFO] [stdout] 246 |             RegEnumValueW(
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExW` in this scope
[INFO] [stdout]    --> src/util/hkey.rs:283:15
[INFO] [stdout]     |
[INFO] [stdout] 283 |         match RegOpenKeyExW(
[INFO] [stdout]     |               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope
[INFO] [stdout]   --> src/device.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Mutex<DeviceNotificationData>;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]   --> src/device.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 _ => DefWindowProcW(hwnd, msg, wparam, lparam),
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]   --> src/device.rs:73:18
[INFO] [stdout]    |
[INFO] [stdout] 73 |             _ => DefWindowProcW(hwnd, msg, wparam, lparam),
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]   --> src/device.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         DefWindowProcW(hwnd, msg, wparam, lparam)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/device.rs:88:18
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let handle = CreateWindowExW(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope
[INFO] [stdout]    --> src/device.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 SetLastError(0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope
[INFO] [stdout]    --> src/device.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 SetWindowLongPtrW(handle, GWLP_USERDATA, user_data)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/device.rs:113:37
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 0 => match unsafe { GetLastError() } as _ {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]    --> src/device.rs:147:15
[INFO] [stdout]     |
[INFO] [stdout] 147 |         match GetMessageW(&mut msg as *mut _, 0, 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 `TranslateMessage` in this scope
[INFO] [stdout]    --> src/device.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 TranslateMessage(&msg as *const _);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]    --> src/device.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |                 DispatchMessageW(&msg as *const _);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]    --> src/device.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 TranslateMessage(&msg as *const _);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]    --> src/device.rs:165:17
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 DispatchMessageW(&msg as *const _);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stdout]    --> src/device.rs:193:24
[INFO] [stdout]     |
[INFO] [stdout] 193 |         match unsafe { RegisterClassExW(&class as *const _) } {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]    --> src/device.rs:375:26
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let _ = unsafe { DestroyWindow(self.0) };
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterDeviceNotification` in this scope
[INFO] [stdout]    --> src/device.rs:393:26
[INFO] [stdout]     |
[INFO] [stdout] 393 |         let _ = unsafe { UnregisterDeviceNotification(self.0) };
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterDeviceNotificationW` in this scope
[INFO] [stdout]    --> src/device.rs:495:21
[INFO] [stdout]     |
[INFO] [stdout] 495 |                     RegisterDeviceNotificationW(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope
[INFO] [stdout]    --> src/device.rs:574:26
[INFO] [stdout]     |
[INFO] [stdout] 574 |             let result = FindWindowW(WINDOW_CLASS_NAME, wide.as_ptr());
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]    --> src/device.rs:583:26
[INFO] [stdout]     |
[INFO] [stdout] 583 |             let result = PostMessageW(hwnd, WM_CLOSE, 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 `RegisterServiceCtrlHandlerExW` in this scope
[INFO] [stdout]    --> src/status.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             RegisterServiceCtrlHandlerExW(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetServiceStatus` in this scope
[INFO] [stdout]    --> src/status.rs:171:24
[INFO] [stdout]     |
[INFO] [stdout] 171 |         match unsafe { SetServiceStatus(self.handle as _, &self.status as *const _) } {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0408`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `msft-service` (lib) due to 153 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "6c832cf8965ef0f16fb2f3c5fe8f73b5aa1dd40d6d01427c3e0561f0fce7da2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c832cf8965ef0f16fb2f3c5fe8f73b5aa1dd40d6d01427c3e0561f0fce7da2c", kill_on_drop: false }`
[INFO] [stdout] 6c832cf8965ef0f16fb2f3c5fe8f73b5aa1dd40d6d01427c3e0561f0fce7da2c
