[INFO] fetching crate basement 0.0.1... [INFO] testing basement-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate basement 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate basement 0.0.1 [INFO] finished tweaking crates.io crate basement 0.0.1 [INFO] tweaked toml for crates.io crate basement 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate basement 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate basement 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.96 [INFO] [stderr] Downloaded mockall_derive v0.12.1 [INFO] [stderr] Downloaded basement-macros v0.0.1 [INFO] [stderr] Downloaded mockall v0.12.1 [INFO] [stderr] Downloaded toml v0.8.13 [INFO] [stderr] Downloaded toml_edit v0.22.13 [INFO] [stderr] Downloaded winnow v0.6.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04cec5989da199637bb6991c27c5636ba75b611101fc56be3925cd8c5c286565 [INFO] running `Command { std: "docker" "start" "-a" "04cec5989da199637bb6991c27c5636ba75b611101fc56be3925cd8c5c286565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04cec5989da199637bb6991c27c5636ba75b611101fc56be3925cd8c5c286565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04cec5989da199637bb6991c27c5636ba75b611101fc56be3925cd8c5c286565", kill_on_drop: false }` [INFO] [stdout] 04cec5989da199637bb6991c27c5636ba75b611101fc56be3925cd8c5c286565 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cb537994c3572bbf62a08c997a9dc835288dce89251d7be69929765d319818b0 [INFO] running `Command { std: "docker" "start" "-a" "cb537994c3572bbf62a08c997a9dc835288dce89251d7be69929765d319818b0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [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] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling basement-macros v0.0.1 [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 basement v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/util/wait.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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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/device.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [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/util/wait.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/device.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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::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::*`, `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/wait.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/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:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | core::GUID, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | Win32::{Foundation::*, System::LibraryLoader::GetModuleHandleW, UI::WindowsAndMessaging::*}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 782 | 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:179:39 [INFO] [stdout] | [INFO] [stdout] 179 | 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 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 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:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | 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:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | 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:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | 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:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | 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 { [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 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 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:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | 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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | 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:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | 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:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | ) -> 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:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | let ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const 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:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | 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:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | 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:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | 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:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | 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:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | 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:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | 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:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | _ 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:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | 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:188:41 [INFO] [stdout] | [INFO] [stdout] 188 | 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] 183 | fn get_window_class() -> u16 { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/device.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | 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:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | 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:364:22 [INFO] [stdout] | [INFO] [stdout] 364 | 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:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | 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:460:56 [INFO] [stdout] | [INFO] [stdout] 460 | 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] 401 | impl 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:461:59 [INFO] [stdout] | [INFO] [stdout] 461 | 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] 401 | impl 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:463:45 [INFO] [stdout] | [INFO] [stdout] 463 | 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:572:45 [INFO] [stdout] | [INFO] [stdout] 572 | 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] warning: unexpected `cfg` condition value: `bin` [INFO] [stdout] --> src/util/guid.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(feature = "bin")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `serde` [INFO] [stdout] = help: consider adding `bin` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | let ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const 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:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | _ => 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:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | _ => 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:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | 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:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | 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:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | 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:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | 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:119:37 [INFO] [stdout] | [INFO] [stdout] 119 | 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:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | 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:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | 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:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | 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:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | 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:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | 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:337:26 [INFO] [stdout] | [INFO] [stdout] 337 | 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:355:26 [INFO] [stdout] | [INFO] [stdout] 355 | 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:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | 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:563:26 [INFO] [stdout] | [INFO] [stdout] 563 | 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:572:26 [INFO] [stdout] | [INFO] [stdout] 572 | 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 `basement` (lib) due to 155 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cb537994c3572bbf62a08c997a9dc835288dce89251d7be69929765d319818b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb537994c3572bbf62a08c997a9dc835288dce89251d7be69929765d319818b0", kill_on_drop: false }` [INFO] [stdout] cb537994c3572bbf62a08c997a9dc835288dce89251d7be69929765d319818b0