[INFO] fetching crate comport 0.0.7...
[INFO] testing comport-0.0.7 against 1.90.0 for beta-1.91-3
[INFO] extracting crate comport 0.0.7 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate comport 0.0.7
[INFO] finished tweaking crates.io crate comport 0.0.7
[INFO] tweaked toml for crates.io crate comport 0.0.7 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate comport 0.0.7 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 comport 0.0.7 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]  Downloading crates ...
[INFO] [stderr]   Downloaded trybuild v1.0.96
[INFO] [stderr]   Downloaded predicates-tree v1.0.9
[INFO] [stderr]   Downloaded predicates-core v1.0.6
[INFO] [stderr]   Downloaded predicates v3.1.0
[INFO] [stderr]   Downloaded mockall v0.12.1
[INFO] [stderr]   Downloaded toml v0.8.13
[INFO] [stderr]   Downloaded proc-macro2 v1.0.83
[INFO] [stderr]   Downloaded mockall_derive v0.12.1
[INFO] [stderr]   Downloaded serde v1.0.202
[INFO] [stderr]   Downloaded toml_edit v0.22.13
[INFO] [stderr]   Downloaded serde_derive v1.0.202
[INFO] [stderr]   Downloaded winnow v0.6.8
[INFO] [stderr]   Downloaded syn v2.0.65
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 926977108dc4050e1a7df300a88bb63d1df18d415e4b192a4d44593ae45785cf
[INFO] running `Command { std: "docker" "start" "-a" "926977108dc4050e1a7df300a88bb63d1df18d415e4b192a4d44593ae45785cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "926977108dc4050e1a7df300a88bb63d1df18d415e4b192a4d44593ae45785cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "926977108dc4050e1a7df300a88bb63d1df18d415e4b192a4d44593ae45785cf", kill_on_drop: false }`
[INFO] [stdout] 926977108dc4050e1a7df300a88bb63d1df18d415e4b192a4d44593ae45785cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e6e451e3fae95ea8b64d1d8c631bb72214cc9931cc823b08ceb40bd82649dde7
[INFO] running `Command { std: "docker" "start" "-a" "e6e451e3fae95ea8b64d1d8c631bb72214cc9931cc823b08ceb40bd82649dde7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling syn v2.0.65
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling parking_lot v0.12.2
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling num-derive v0.4.2
[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 comport v0.0.7 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/channel.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     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/event.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     os::windows::{
[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/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/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/wm.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     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: use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   --> src/channel.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows_sys::Win32::{Foundation::FALSE, System::IO::CancelIoEx};
[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/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/hkey.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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/event.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | 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/wm.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | 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[E0432]: unresolved imports `windows_sys::Win32::Foundation::FALSE`, `windows_sys::Win32::Foundation::FILETIME`, `windows_sys::Win32::Foundation::TRUE`, `windows_sys::Win32::Foundation::WAIT_ABANDONED`, `windows_sys::Win32::Foundation::WAIT_FAILED`, `windows_sys::Win32::Foundation::WAIT_OBJECT_0`, `windows_sys::Win32::Foundation::WAIT_TIMEOUT`, `windows_sys::Win32::System::Threading::CloseThreadpoolWait`, `windows_sys::Win32::System::Threading::CreateEventW`, `windows_sys::Win32::System::Threading::CreateThreadpoolWait`, `windows_sys::Win32::System::Threading::ResetEvent`, `windows_sys::Win32::System::Threading::SetEvent`, `windows_sys::Win32::System::Threading::SetThreadpoolWait`, `windows_sys::Win32::System::Threading::WaitForSingleObject`, `windows_sys::Win32::System::Threading::WaitForThreadpoolWaitCallbacks`, `windows_sys::Win32::System::Threading::INFINITE`, `windows_sys::Win32::System::Threading::PTP_CALLBACK_INSTANCE`, `windows_sys::Win32::System::Threading::PTP_WAIT`, `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::*`
[INFO] [stdout]   --> src/event.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Foundation::{FALSE, FILETIME, TRUE, WAIT_ABANDONED, WAIT_FAILED, WAIT_OBJECT_0, WAIT_TIMEOUT},
[INFO] [stdout]    |                  ^^^^^  ^^^^^^^^  ^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 19 |     System::Threading::{
[INFO] [stdout] 20 |         CloseThreadpoolWait, CreateEventW, CreateThreadpoolWait, ResetEvent, SetEvent,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 21 |         SetThreadpoolWait, WaitForSingleObject, WaitForThreadpoolWaitCallbacks, INFINITE,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 22 |         PTP_CALLBACK_INSTANCE, PTP_WAIT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/hkey.rs:6:26
[INFO] [stdout]    |
[INFO] [stdout]  6 | use windows_sys::Win32::{Foundation::ERROR_SUCCESS, System::Registry::*};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/wm.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     core::GUID,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 27 |     Win32::{Foundation::*, System::LibraryLoader::GetModuleHandleW, UI::WindowsAndMessaging::*},
[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/wm.rs:493:39
[INFO] [stdout]     |
[INFO] [stdout] 493 | 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/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/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/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/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/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/hkey.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             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/hkey.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |             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/hkey.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |             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/hkey.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             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/guid.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         windows_sys::core::GUID {
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/wm.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |         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/guid.rs:91:9
[INFO] [stdout]     |
[INFO] [stdout]  91 |         windows_sys::core::GUID {
[INFO] [stdout]     |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/wm.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         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/guid.rs:91:9
[INFO] [stdout]     |
[INFO] [stdout]  91 |         windows_sys::core::GUID {
[INFO] [stdout]     |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/wm.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         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/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/wm.rs:344:37
[INFO] [stdout]     |
[INFO] [stdout] 344 |                 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[E0425]: cannot find value `REG_EXPAND_SZ` in this scope
[INFO] [stdout]   --> src/hkey.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 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/hkey.rs:84:25
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 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/hkey.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 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/hkey.rs:122:25
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 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/hkey.rs:130:27
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct PredefinedHkey(HKEY);
[INFO] [stdout]     |                           ^^^^ help: a struct with a similar name exists: `Hkey`
[INFO] [stdout] ...
[INFO] [stdout] 156 | 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/hkey.rs:132:52
[INFO] [stdout]     |
[INFO] [stdout] 132 |     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/hkey.rs:134:31
[INFO] [stdout]     |
[INFO] [stdout] 134 | impl From<PredefinedHkey> for HKEY {
[INFO] [stdout]     |                               ^^^^ help: a struct with a similar name exists: `Hkey`
[INFO] [stdout] ...
[INFO] [stdout] 156 | 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/hkey.rs:211:21
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub struct Hkey(isize);
[INFO] [stdout]     | ----------------------- similarly named struct `Hkey` defined here
[INFO] [stdout] ...
[INFO] [stdout] 211 | 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/hkey.rs:333:22
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub struct Hkey(isize);
[INFO] [stdout]     | ----------------------- similarly named struct `Hkey` defined here
[INFO] [stdout] ...
[INFO] [stdout] 333 |         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/hkey.rs:338:13
[INFO] [stdout]     |
[INFO] [stdout] 338 |             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/wm.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 | 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/wm.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 | 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/wm.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     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/wm.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 |     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/wm.rs:158:56
[INFO] [stdout]     |
[INFO] [stdout] 158 |                     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]  95 | impl<DEV_BROADCAST_DEVICEINTERFACE_W> Registry {
[INFO] [stdout]     |     +++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DEV_BROADCAST_DEVICEINTERFACE_W` in this scope
[INFO] [stdout]    --> src/wm.rs:159:59
[INFO] [stdout]     |
[INFO] [stdout] 159 |                     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]  95 | impl<DEV_BROADCAST_DEVICEINTERFACE_W> Registry {
[INFO] [stdout]     |     +++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBT_DEVTYP_DEVICEINTERFACE` in this scope
[INFO] [stdout]    --> src/wm.rs:161:45
[INFO] [stdout]     |
[INFO] [stdout] 161 |                     iface.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
[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/wm.rs:180:35
[INFO] [stdout]     |
[INFO] [stdout] 180 |     Arrival(OsString, PortMeta) = 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/wm.rs:181:32
[INFO] [stdout]     |
[INFO] [stdout] 181 |     RemoveComplete(OsString) = DBT_DEVICEREMOVECOMPLETE,
[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/wm.rs:260:45
[INFO] [stdout]     |
[INFO] [stdout] 260 |             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 value `WM_USER` in this scope
[INFO] [stdout]    --> src/wm.rs:316:41
[INFO] [stdout]     |
[INFO] [stdout] 316 |         let result = PostMessageW(hwnd, WM_USER, 0, 0);
[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/wm.rs:326:11
[INFO] [stdout]     |
[INFO] [stdout] 326 |     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/wm.rs:328:13
[INFO] [stdout]     |
[INFO] [stdout] 328 |     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/wm.rs:329:13
[INFO] [stdout]     |
[INFO] [stdout] 329 |     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/wm.rs:330:6
[INFO] [stdout]     |
[INFO] [stdout] 330 | ) -> 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/wm.rs:331:39
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const SharedQueue;
[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/wm.rs:390:41
[INFO] [stdout]     |
[INFO] [stdout] 390 |     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/wm.rs:393:42
[INFO] [stdout]     |
[INFO] [stdout] 393 |             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 `WS_EX_APPWINDOW` in this scope
[INFO] [stdout]    --> src/wm.rs:409:9
[INFO] [stdout]     |
[INFO] [stdout] 409 |         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/wm.rs:412:9
[INFO] [stdout]     |
[INFO] [stdout] 412 |         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/wm.rs:415:9
[INFO] [stdout]     |
[INFO] [stdout] 415 |         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/wm.rs:416:9
[INFO] [stdout]     |
[INFO] [stdout] 416 |         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/wm.rs:430:43
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 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/wm.rs:465:18
[INFO] [stdout]     |
[INFO] [stdout] 465 |     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/wm.rs:477:33
[INFO] [stdout]     |
[INFO] [stdout] 477 |             _ if msg.message == WM_CLOSE => {
[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/wm.rs:499:21
[INFO] [stdout]     |
[INFO] [stdout] 499 |         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/wm.rs:502:41
[INFO] [stdout]     |
[INFO] [stdout] 502 |             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] 497 | fn get_window_class<WNDCLASSEXW>() -> u16 {
[INFO] [stdout]     |                    +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryInfoKeyW` in this scope
[INFO] [stdout]    --> src/hkey.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |             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/hkey.rs:219:26
[INFO] [stdout]     |
[INFO] [stdout] 219 |         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/hkey.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 247 |             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/hkey.rs:334:15
[INFO] [stdout]     |
[INFO] [stdout] 334 |         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 `DestroyWindow` in this scope
[INFO] [stdout]   --> src/wm.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 |         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/wm.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |         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/wm.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 |                     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/wm.rs:251:26
[INFO] [stdout]     |
[INFO] [stdout] 251 |             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/wm.rs:260:26
[INFO] [stdout]     |
[INFO] [stdout] 260 |             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 `FindWindowW` in this scope
[INFO] [stdout]    --> src/wm.rs:309:22
[INFO] [stdout]     |
[INFO] [stdout] 309 |         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/wm.rs:316:22
[INFO] [stdout]     |
[INFO] [stdout] 316 |         let result = PostMessageW(hwnd, WM_USER, 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 `GetWindowLongPtrW` in this scope
[INFO] [stdout]    --> src/wm.rs:331:15
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const SharedQueue;
[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/wm.rs:341:25
[INFO] [stdout]     |
[INFO] [stdout] 341 |                 None => 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/wm.rs:368:18
[INFO] [stdout]     |
[INFO] [stdout] 368 |             _ => 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/wm.rs:371:9
[INFO] [stdout]     |
[INFO] [stdout] 371 |         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/wm.rs:408:18
[INFO] [stdout]     |
[INFO] [stdout] 408 |     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/wm.rs:429:17
[INFO] [stdout]     |
[INFO] [stdout] 429 |                 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/wm.rs:430:17
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 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/wm.rs:433:37
[INFO] [stdout]     |
[INFO] [stdout] 433 |                 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/wm.rs:467:15
[INFO] [stdout]     |
[INFO] [stdout] 467 |         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/wm.rs:479:17
[INFO] [stdout]     |
[INFO] [stdout] 479 |                 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/wm.rs:480:17
[INFO] [stdout]     |
[INFO] [stdout] 480 |                 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/wm.rs:484:17
[INFO] [stdout]     |
[INFO] [stdout] 484 |                 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/wm.rs:485:17
[INFO] [stdout]     |
[INFO] [stdout] 485 |                 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/wm.rs:513:24
[INFO] [stdout]     |
[INFO] [stdout] 513 |         match unsafe { RegisterClassExW(&class 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 `comport` (lib) due to 85 previous errors
[INFO] running `Command { std: "docker" "inspect" "e6e451e3fae95ea8b64d1d8c631bb72214cc9931cc823b08ceb40bd82649dde7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6e451e3fae95ea8b64d1d8c631bb72214cc9931cc823b08ceb40bd82649dde7", kill_on_drop: false }`
[INFO] [stdout] e6e451e3fae95ea8b64d1d8c631bb72214cc9931cc823b08ceb40bd82649dde7
