[INFO] fetching crate comport 0.0.7... [INFO] checking comport-0.0.7 against try#173780a87744406b7489b28349c0176f14bb3881 for pr-135841 [INFO] extracting crate comport 0.0.7 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate comport 0.0.7 on toolchain 173780a87744406b7489b28349c0176f14bb3881 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+173780a87744406b7489b28349c0176f14bb3881" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94ef9ee3aa2b16c8b13afff274d1917530b27aae7ae1b9e6b91147d67eba2bf6 [INFO] running `Command { std: "docker" "start" "-a" "94ef9ee3aa2b16c8b13afff274d1917530b27aae7ae1b9e6b91147d67eba2bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94ef9ee3aa2b16c8b13afff274d1917530b27aae7ae1b9e6b91147d67eba2bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94ef9ee3aa2b16c8b13afff274d1917530b27aae7ae1b9e6b91147d67eba2bf6", kill_on_drop: false }` [INFO] [stdout] 94ef9ee3aa2b16c8b13afff274d1917530b27aae7ae1b9e6b91147d67eba2bf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b55cc96c99e4fae426c30ff63d4bfcb776538b7c2e31afbf7d42d62014ea1922 [INFO] running `Command { std: "docker" "start" "-a" "b55cc96c99e4fae426c30ff63d4bfcb776538b7c2e31afbf7d42d62014ea1922", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling trybuild v1.0.96 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking toml v0.8.13 [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 tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking 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/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:120:1 [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/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:120:1 [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/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:120:1 [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/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:120:1 [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/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/event.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/wm.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use windows_sys::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [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 undeclared crate or module `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 undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/guid.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | impl From for Guid { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/guid.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | impl From for windows_sys::core::GUID { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [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 undeclared crate or module `windows_sys` [INFO] [stdout] --> src/guid.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | windows_sys::core::GUID { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `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] = 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 undeclared crate or module `windows_sys` [INFO] [stdout] --> src/guid.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | windows_sys::core::GUID { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `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] = 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 undeclared crate or module `windows_sys` [INFO] [stdout] --> src/guid.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | windows_sys::core::GUID { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `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] = 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 undeclared crate or module `windows_sys` [INFO] [stdout] --> src/wchar.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | windows_sys::Win32::UI::WindowsAndMessaging::GetWindowTextW( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `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] = 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 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 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::(); [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 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::() 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 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::() 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() -> 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b55cc96c99e4fae426c30ff63d4bfcb776538b7c2e31afbf7d42d62014ea1922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b55cc96c99e4fae426c30ff63d4bfcb776538b7c2e31afbf7d42d62014ea1922", kill_on_drop: false }` [INFO] [stdout] b55cc96c99e4fae426c30ff63d4bfcb776538b7c2e31afbf7d42d62014ea1922