[INFO] cloning repository https://github.com/holgertkey/ccaps
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/holgertkey/ccaps" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholgertkey%2Fccaps", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholgertkey%2Fccaps'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3abb129c46648c544d1377c44ec35ef7fc1d0334
[INFO] testing holgertkey/ccaps against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholgertkey%2Fccaps" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/holgertkey/ccaps
[INFO] finished tweaking git repo https://github.com/holgertkey/ccaps
[INFO] tweaked toml for git repo https://github.com/holgertkey/ccaps written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/holgertkey/ccaps on toolchain 1.98.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/holgertkey/ccaps already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ctrlc v3.4.7
[INFO] [stderr]   Downloaded serde_json v1.0.143
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 159c138842f9adfd5aa45a2d86d481d799f7ae9a55f3cf7573275bc3e5a67b61
[INFO] running `Command { std: "docker" "start" "159c138842f9adfd5aa45a2d86d481d799f7ae9a55f3cf7573275bc3e5a67b61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "159c138842f9adfd5aa45a2d86d481d799f7ae9a55f3cf7573275bc3e5a67b61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "159c138842f9adfd5aa45a2d86d481d799f7ae9a55f3cf7573275bc3e5a67b61" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "159c138842f9adfd5aa45a2d86d481d799f7ae9a55f3cf7573275bc3e5a67b61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "159c138842f9adfd5aa45a2d86d481d799f7ae9a55f3cf7573275bc3e5a67b61" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling ccaps v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling ctrlc v3.4.7
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/keyboard_hook.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::winuser::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/keyboard_hook.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::libloaderapi::GetModuleHandleW;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/keyboard_hook.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::minwindef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/keyboard_hook.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::windef::HHOOK;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/layout_indicator.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winuser::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/layout_indicator.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::minwindef::HKL;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/layout_manager.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winuser::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/layout_manager.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::minwindef::{HKL, LPARAM};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/cli.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/cli.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::winuser::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/cli.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::winreg::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/cli.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/cli.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::synchapi::CreateMutexW;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/cli.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/cli.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winnt::{KEY_SET_VALUE, KEY_QUERY_VALUE, REG_SZ, HANDLE};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/cli.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::minwindef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/cli.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::shared::winerror::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]    --> src/cli.rs:598:18
[INFO] [stdout]     |
[INFO] [stdout] 598 |     use std::os::windows::process::CommandExt;
[INFO] [stdout]     |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::wincon::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::shared::minwindef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::shared::windef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]    --> src/main.rs:247:17
[INFO] [stdout]     |
[INFO] [stdout] 247 |     use winapi::um::libloaderapi::GetModuleHandleW;
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::layout_indicator`, `crate::layout_manager`, `crate::config`, `crate::layout_manager`
[INFO] [stdout]   --> src/keyboard_hook.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | use crate::layout_indicator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/cli.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::layout_manager;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 | use crate::config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/interactive_menu.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | use crate::layout_manager;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `ctypes` in `winapi`
[INFO] [stdout]   --> src/main.rs:24:40
[INFO] [stdout]    |
[INFO] [stdout] 24 | static MUTEX_HANDLE: AtomicPtr<winapi::ctypes::c_void> = AtomicPtr::new(ptr::null_mut());
[INFO] [stdout]    |                                        ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]    --> src/main.rs:100:38
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if GetLastError() == winapi::shared::winerror::ERROR_ALREADY_EXISTS {
[INFO] [stdout]     |                                      ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `WM_ENDSESSION` is not bound in all patterns
[INFO] [stdout]    --> src/main.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 263 |             WM_QUERYENDSESSION | WM_ENDSESSION => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^   ------------- variable not in all patterns
[INFO] [stdout]     |             |
[INFO] [stdout]     |             pattern doesn't bind `WM_ENDSESSION`
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to match on a unit struct, unit variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_ENDSESSION`
[INFO] [stdout]    --> src/main.rs:263:34
[INFO] [stdout]     |
[INFO] [stdout] 263 |             WM_QUERYENDSESSION | WM_ENDSESSION => {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `WM_QUERYENDSESSION` is not bound in all patterns
[INFO] [stdout]    --> src/main.rs:263:34
[INFO] [stdout]     |
[INFO] [stdout] 263 |             WM_QUERYENDSESSION | WM_ENDSESSION => {
[INFO] [stdout]     |             ------------------   ^^^^^^^^^^^^^ pattern doesn't bind `WM_QUERYENDSESSION`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             variable not in all patterns
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to match on a unit struct, unit variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_QUERYENDSESSION`
[INFO] [stdout]    --> src/main.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 263 |             WM_QUERYENDSESSION | WM_ENDSESSION => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope
[INFO] [stdout]   --> src/keyboard_hook.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 |     w_param: WPARAM,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/keyboard_hook.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 |     l_param: LPARAM,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LRESULT` in this scope
[INFO] [stdout]   --> src/keyboard_hook.rs:81:6
[INFO] [stdout]    |
[INFO] [stdout] 81 | ) -> LRESULT {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `KBDLLHOOKSTRUCT` in this scope
[INFO] [stdout]   --> src/keyboard_hook.rs:84:49
[INFO] [stdout]    |
[INFO] [stdout] 84 |             let kb_struct = *(l_param as *const KBDLLHOOKSTRUCT);
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_CAPITAL` in this scope
[INFO] [stdout]   --> src/keyboard_hook.rs:88:27
[INFO] [stdout]    |
[INFO] [stdout] 88 |             if vk_code == VK_CAPITAL as u32 {
[INFO] [stdout]    |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_KEYDOWN` in this scope
[INFO] [stdout]   --> src/keyboard_hook.rs:99:31
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 if w_param == WM_KEYDOWN as usize || w_param == WM_SYSKEYDOWN as usize {
[INFO] [stdout]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SYSKEYDOWN` in this scope
[INFO] [stdout]   --> src/keyboard_hook.rs:99:65
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 if w_param == WM_KEYDOWN as usize || w_param == WM_SYSKEYDOWN as usize {
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_SHIFT` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:102:56
[INFO] [stdout]     |
[INFO] [stdout] 102 |                     let shift_state = GetAsyncKeyState(VK_SHIFT);
[INFO] [stdout]     |                                                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_KEYUP` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:119:31
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 if w_param == WM_KEYUP as usize || w_param == WM_SYSKEYUP as usize {
[INFO] [stdout]     |                               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SYSKEYUP` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:119:63
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 if w_param == WM_KEYUP as usize || w_param == WM_SYSKEYUP as usize {
[INFO] [stdout]     |                                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:164:26
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let mut inputs: [INPUT; 2] = mem::zeroed();
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:167:27
[INFO] [stdout]     |
[INFO] [stdout] 167 |         inputs[0].type_ = INPUT_KEYBOARD;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_CAPITAL` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:168:36
[INFO] [stdout]     |
[INFO] [stdout] 168 |         inputs[0].u.ki_mut().wVk = VK_CAPITAL as u16;
[INFO] [stdout]     |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:173:27
[INFO] [stdout]     |
[INFO] [stdout] 173 |         inputs[1].type_ = INPUT_KEYBOARD;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_CAPITAL` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:174:36
[INFO] [stdout]     |
[INFO] [stdout] 174 |         inputs[1].u.ki_mut().wVk = VK_CAPITAL as u16;
[INFO] [stdout]     |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:175:40
[INFO] [stdout]     |
[INFO] [stdout] 175 |         inputs[1].u.ki_mut().dwFlags = KEYEVENTF_KEYUP;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:179:58
[INFO] [stdout]     |
[INFO] [stdout] 179 |         SendInput(2, inputs.as_mut_ptr(), mem::size_of::<INPUT>() as i32);
[INFO] [stdout]     |                                                          ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 161 | unsafe fn toggle_caps_lock<INPUT>() {
[INFO] [stdout]     |                           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WH_KEYBOARD_LL` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |             WH_KEYBOARD_LL,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_SCROLL` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:39:41
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let current_state = GetKeyState(VK_SCROLL) & 1;
[INFO] [stdout]    |                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:45:30
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let mut inputs: [INPUT; 2] = mem::zeroed();
[INFO] [stdout]    |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |             inputs[0].type_ = INPUT_KEYBOARD;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_SCROLL` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:49:40
[INFO] [stdout]    |
[INFO] [stdout] 49 |             inputs[0].u.ki_mut().wVk = VK_SCROLL as u16;
[INFO] [stdout]    |                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |             inputs[1].type_ = INPUT_KEYBOARD;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_SCROLL` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:54:40
[INFO] [stdout]    |
[INFO] [stdout] 54 |             inputs[1].u.ki_mut().wVk = VK_SCROLL as u16;
[INFO] [stdout]    |                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:55:44
[INFO] [stdout]    |
[INFO] [stdout] 55 |             inputs[1].u.ki_mut().dwFlags = KEYEVENTF_KEYUP;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:58:62
[INFO] [stdout]    |
[INFO] [stdout] 58 |             SendInput(2, inputs.as_mut_ptr(), mem::size_of::<INPUT>() as i32);
[INFO] [stdout]    |                                                              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 36 | unsafe fn set_scroll_lock_state<INPUT>(enabled: bool) {
[INFO] [stdout]    |                                +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_CAPITAL` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:125:38
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let caps_state = GetKeyState(VK_CAPITAL) & 1;
[INFO] [stdout]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:128:30
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let mut inputs: [INPUT; 2] = std::mem::zeroed();
[INFO] [stdout]     |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:130:31
[INFO] [stdout]     |
[INFO] [stdout] 130 |             inputs[0].type_ = INPUT_KEYBOARD;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_CAPITAL` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:131:40
[INFO] [stdout]     |
[INFO] [stdout] 131 |             inputs[0].u.ki_mut().wVk = VK_CAPITAL as u16;
[INFO] [stdout]     |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:135:31
[INFO] [stdout]     |
[INFO] [stdout] 135 |             inputs[1].type_ = INPUT_KEYBOARD;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_CAPITAL` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:136:40
[INFO] [stdout]     |
[INFO] [stdout] 136 |             inputs[1].u.ki_mut().wVk = VK_CAPITAL as u16;
[INFO] [stdout]     |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:137:44
[INFO] [stdout]     |
[INFO] [stdout] 137 |             inputs[1].u.ki_mut().dwFlags = KEYEVENTF_KEYUP;
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:140:67
[INFO] [stdout]     |
[INFO] [stdout] 140 |             SendInput(2, inputs.as_mut_ptr(), std::mem::size_of::<INPUT>() as i32);
[INFO] [stdout]     |                                                                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub unsafe fn ensure_caps_lock_off<INPUT>() {
[INFO] [stdout]     |                                   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HWND_BROADCAST` in this scope
[INFO] [stdout]    --> src/layout_manager.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |             HWND_BROADCAST,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_INPUTLANGCHANGEREQUEST` in this scope
[INFO] [stdout]    --> src/layout_manager.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |             WM_INPUTLANGCHANGEREQUEST,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/cli.rs:378:13
[INFO] [stdout]     |
[INFO] [stdout] 378 |             FALSE,
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 378 -             FALSE,
[INFO] [stdout] 378 +             false,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_ALREADY_EXISTS` in this scope
[INFO] [stdout]    --> src/cli.rs:389:18
[INFO] [stdout]     |
[INFO] [stdout] 389 |         error == ERROR_ALREADY_EXISTS
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/cli.rs:395:22
[INFO] [stdout]     |
[INFO] [stdout] 395 |         let mut key: HKEY = ptr::null_mut();
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope
[INFO] [stdout]    --> src/cli.rs:402:13
[INFO] [stdout]     |
[INFO] [stdout] 402 |             HKEY_CURRENT_USER,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> src/cli.rs:409:22
[INFO] [stdout]     |
[INFO] [stdout] 409 |         if result != ERROR_SUCCESS as i32 {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/cli.rs:417:29
[INFO] [stdout]     |
[INFO] [stdout] 417 |         let mut value_type: DWORD = 0;
[INFO] [stdout]     |                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/cli.rs:418:28
[INFO] [stdout]     |
[INFO] [stdout] 418 |         let mut data_size: DWORD = 0;
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> src/cli.rs:431:19
[INFO] [stdout]     |
[INFO] [stdout] 431 |         result == ERROR_SUCCESS as i32 && value_type == REG_SZ && data_size > 0
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/cli.rs:437:22
[INFO] [stdout]     |
[INFO] [stdout] 437 |         let mut key: HKEY = ptr::null_mut();
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope
[INFO] [stdout]    --> src/cli.rs:444:13
[INFO] [stdout]     |
[INFO] [stdout] 444 |             HKEY_CURRENT_USER,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> src/cli.rs:451:22
[INFO] [stdout]     |
[INFO] [stdout] 451 |         if result != ERROR_SUCCESS as i32 {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/cli.rs:459:29
[INFO] [stdout]     |
[INFO] [stdout] 459 |         let mut value_type: DWORD = 0;
[INFO] [stdout]     |                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/cli.rs:460:28
[INFO] [stdout]     |
[INFO] [stdout] 460 |         let mut data_size: DWORD = 0;
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> src/cli.rs:472:22
[INFO] [stdout]     |
[INFO] [stdout] 472 |         if result != ERROR_SUCCESS as i32 {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> src/cli.rs:490:22
[INFO] [stdout]     |
[INFO] [stdout] 490 |         if result == ERROR_SUCCESS as i32 && value_type == REG_SZ {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/cli.rs:504:22
[INFO] [stdout]     |
[INFO] [stdout] 504 |         let mut key: HKEY = ptr::null_mut();
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope
[INFO] [stdout]    --> src/cli.rs:511:13
[INFO] [stdout]     |
[INFO] [stdout] 511 |             HKEY_CURRENT_USER,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> src/cli.rs:518:22
[INFO] [stdout]     |
[INFO] [stdout] 518 |         if result != ERROR_SUCCESS as i32 {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> src/cli.rs:553:22
[INFO] [stdout]     |
[INFO] [stdout] 553 |         if result == ERROR_SUCCESS as i32 {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/cli.rs:563:22
[INFO] [stdout]     |
[INFO] [stdout] 563 |         let mut key: HKEY = ptr::null_mut();
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope
[INFO] [stdout]    --> src/cli.rs:570:13
[INFO] [stdout]     |
[INFO] [stdout] 570 |             HKEY_CURRENT_USER,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> src/cli.rs:577:22
[INFO] [stdout]     |
[INFO] [stdout] 577 |         if result != ERROR_SUCCESS as i32 {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> src/cli.rs:588:22
[INFO] [stdout]     |
[INFO] [stdout] 588 |         if result == ERROR_SUCCESS as i32 || result == ERROR_FILE_NOT_FOUND as i32 {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_FILE_NOT_FOUND` in this scope
[INFO] [stdout]    --> src/cli.rs:588:56
[INFO] [stdout]     |
[INFO] [stdout] 588 |         if result == ERROR_SUCCESS as i32 || result == ERROR_FILE_NOT_FOUND as i32 {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stdout]    --> src/cli.rs:634:34
[INFO] [stdout]     |
[INFO] [stdout] 634 |             PostMessageA(window, WM_QUIT, 0, 0);
[INFO] [stdout]     |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/cli.rs:650:13
[INFO] [stdout]     |
[INFO] [stdout] 650 |             TRUE,
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 650 -             TRUE,
[INFO] [stdout] 650 +             true,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MSG` in this scope
[INFO] [stdout]    --> src/main.rs:199:22
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let mut msg: MSG = mem::zeroed();
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stdout]    --> src/main.rs:207:31
[INFO] [stdout]     |
[INFO] [stdout] 207 |             if msg.message == WM_QUIT {
[INFO] [stdout]     |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_QUERYENDSESSION` in this scope
[INFO] [stdout]    --> src/main.rs:212:31
[INFO] [stdout]     |
[INFO] [stdout] 212 |             if msg.message == WM_QUERYENDSESSION || msg.message == WM_ENDSESSION {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_ENDSESSION` in this scope
[INFO] [stdout]    --> src/main.rs:212:68
[INFO] [stdout]     |
[INFO] [stdout] 212 |             if msg.message == WM_QUERYENDSESSION || msg.message == WM_ENDSESSION {
[INFO] [stdout]     |                                                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:257:15
[INFO] [stdout]     |
[INFO] [stdout] 257 |         hwnd: HWND,
[INFO] [stdout]     |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `UINT` in this scope
[INFO] [stdout]    --> src/main.rs:258:14
[INFO] [stdout]     |
[INFO] [stdout] 258 |         msg: UINT,
[INFO] [stdout]     |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:259:17
[INFO] [stdout]     |
[INFO] [stdout] 259 |         wparam: WPARAM,
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:260:17
[INFO] [stdout]     |
[INFO] [stdout] 260 |         lparam: LPARAM,
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:261:10
[INFO] [stdout]     |
[INFO] [stdout] 261 |     ) -> LRESULT {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]    --> src/main.rs:277:14
[INFO] [stdout]     |
[INFO] [stdout] 277 |     let wc = WNDCLASSW {
[INFO] [stdout]     |              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HWND_MESSAGE` in this scope
[INFO] [stdout]    --> src/main.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 |         HWND_MESSAGE, // Message-only window (not displayed in UI)
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]    --> src/main.rs:311:13
[INFO] [stdout]     |
[INFO] [stdout] 311 |             WS_OVERLAPPEDWINDOW,
[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/main.rs:312:13
[INFO] [stdout]     |
[INFO] [stdout] 312 |             CW_USEDEFAULT,
[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/main.rs:313:13
[INFO] [stdout]     |
[INFO] [stdout] 313 |             CW_USEDEFAULT,
[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/main.rs:314:13
[INFO] [stdout]     |
[INFO] [stdout] 314 |             CW_USEDEFAULT,
[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/main.rs:315:13
[INFO] [stdout]     |
[INFO] [stdout] 315 |             CW_USEDEFAULT,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallNextHookEx` in this scope
[INFO] [stdout]   --> src/keyboard_hook.rs:93:28
[INFO] [stdout]    |
[INFO] [stdout] 93 |                     return CallNextHookEx(HOOK, n_code, w_param, l_param);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:102:39
[INFO] [stdout]     |
[INFO] [stdout] 102 |                     let shift_state = GetAsyncKeyState(VK_SHIFT);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallNextHookEx` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         CallNextHookEx(HOOK, n_code, w_param, l_param)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |         SendInput(2, inputs.as_mut_ptr(), mem::size_of::<INPUT>() as i32);
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowsHookExW` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:191:16
[INFO] [stdout]     |
[INFO] [stdout] 191 |         HOOK = SetWindowsHookExW(
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWindowsHookEx` in this scope
[INFO] [stdout]    --> src/keyboard_hook.rs:210:13
[INFO] [stdout]     |
[INFO] [stdout] 210 |             UnhookWindowsHookEx(HOOK);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:39:29
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let current_state = GetKeyState(VK_SCROLL) & 1;
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             SendInput(2, inputs.as_mut_ptr(), mem::size_of::<INPUT>() as i32);
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let hwnd = GetForegroundWindow();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardLayout` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |             GetKeyboardLayout(0)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |             let thread_id = GetWindowThreadProcessId(hwnd, ptr::null_mut());
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardLayout` in this scope
[INFO] [stdout]   --> src/layout_indicator.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             GetKeyboardLayout(thread_id)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardState` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         GetKeyboardState(key_state.as_mut_ptr());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:125:26
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let caps_state = GetKeyState(VK_CAPITAL) & 1;
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |             SendInput(2, inputs.as_mut_ptr(), std::mem::size_of::<INPUT>() as i32);
[INFO] [stdout]     |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:149:20
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let hwnd = GetForegroundWindow();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:154:25
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let thread_id = GetWindowThreadProcessId(hwnd, ptr::null_mut());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardLayout` in this scope
[INFO] [stdout]    --> src/layout_indicator.rs:155:30
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let current_layout = GetKeyboardLayout(thread_id);
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardLayoutList` in this scope
[INFO] [stdout]   --> src/layout_manager.rs:38:28
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let layout_count = GetKeyboardLayoutList(20, layouts.as_mut_ptr());
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]   --> src/layout_manager.rs:60:20
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let hwnd = GetForegroundWindow();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope
[INFO] [stdout]   --> src/layout_manager.rs:66:25
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let thread_id = GetWindowThreadProcessId(hwnd, ptr::null_mut());
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardLayout` in this scope
[INFO] [stdout]   --> src/layout_manager.rs:67:30
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let current_layout = GetKeyboardLayout(thread_id);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardLayout` in this scope
[INFO] [stdout]   --> src/layout_manager.rs:77:30
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let current_layout = GetKeyboardLayout(0);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/layout_manager.rs:106:20
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let hwnd = GetForegroundWindow();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ActivateKeyboardLayout` in this scope
[INFO] [stdout]    --> src/layout_manager.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |         ActivateKeyboardLayout(hkl, 0);
[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/layout_manager.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         PostMessageW(
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:373:14
[INFO] [stdout]     |
[INFO] [stdout] 372 |           let mutex_name_wide: Vec<u16> = OsString::from(mutex_name)
[INFO] [stdout]     |  _________________________________________-
[INFO] [stdout] 373 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:398:14
[INFO] [stdout]     |
[INFO] [stdout] 397 |           let key_name_wide: Vec<u16> = OsString::from(key_name)
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 398 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExW` in this scope
[INFO] [stdout]    --> src/cli.rs:401:22
[INFO] [stdout]     |
[INFO] [stdout] 401 |         let result = RegOpenKeyExW(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:414:14
[INFO] [stdout]     |
[INFO] [stdout] 413 |           let app_name_wide: Vec<u16> = OsString::from(format!("{}\0", APP_NAME))
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 414 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope
[INFO] [stdout]    --> src/cli.rs:420:22
[INFO] [stdout]     |
[INFO] [stdout] 420 |         let result = RegQueryValueExW(
[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/cli.rs:429:9
[INFO] [stdout]     |
[INFO] [stdout] 429 |         RegCloseKey(key);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:440:14
[INFO] [stdout]     |
[INFO] [stdout] 439 |           let key_name_wide: Vec<u16> = OsString::from(key_name)
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 440 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExW` in this scope
[INFO] [stdout]    --> src/cli.rs:443:22
[INFO] [stdout]     |
[INFO] [stdout] 443 |         let result = RegOpenKeyExW(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:456:14
[INFO] [stdout]     |
[INFO] [stdout] 455 |           let app_name_wide: Vec<u16> = OsString::from(format!("{}\0", APP_NAME))
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 456 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope
[INFO] [stdout]    --> src/cli.rs:463:22
[INFO] [stdout]     |
[INFO] [stdout] 463 |         let result = RegQueryValueExW(
[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/cli.rs:473:13
[INFO] [stdout]     |
[INFO] [stdout] 473 |             RegCloseKey(key);
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope
[INFO] [stdout]    --> src/cli.rs:479:22
[INFO] [stdout]     |
[INFO] [stdout] 479 |         let result = RegQueryValueExW(
[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/cli.rs:488:9
[INFO] [stdout]     |
[INFO] [stdout] 488 |         RegCloseKey(key);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:507:14
[INFO] [stdout]     |
[INFO] [stdout] 506 |           let key_name_wide: Vec<u16> = OsString::from(key_name)
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 507 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExW` in this scope
[INFO] [stdout]    --> src/cli.rs:510:22
[INFO] [stdout]     |
[INFO] [stdout] 510 |         let result = RegOpenKeyExW(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:535:14
[INFO] [stdout]     |
[INFO] [stdout] 534 |           let exe_path_wide: Vec<u16> = OsString::from(exe_path_str)
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 535 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:539:14
[INFO] [stdout]     |
[INFO] [stdout] 538 |           let app_name_wide: Vec<u16> = OsString::from(format!("{}\0", APP_NAME))
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 539 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExW` in this scope
[INFO] [stdout]    --> src/cli.rs:542:22
[INFO] [stdout]     |
[INFO] [stdout] 542 |         let result = RegSetValueExW(
[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/cli.rs:551:9
[INFO] [stdout]     |
[INFO] [stdout] 551 |         RegCloseKey(key);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:566:14
[INFO] [stdout]     |
[INFO] [stdout] 565 |           let key_name_wide: Vec<u16> = OsString::from(key_name)
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 566 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExW` in this scope
[INFO] [stdout]    --> src/cli.rs:569:22
[INFO] [stdout]     |
[INFO] [stdout] 569 |         let result = RegOpenKeyExW(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:582:14
[INFO] [stdout]     |
[INFO] [stdout] 581 |           let app_name_wide: Vec<u16> = OsString::from(format!("{}\0", APP_NAME))
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 582 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegDeleteValueW` in this scope
[INFO] [stdout]    --> src/cli.rs:585:22
[INFO] [stdout]     |
[INFO] [stdout] 585 |         let result = RegDeleteValueW(key, app_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 `RegCloseKey` in this scope
[INFO] [stdout]    --> src/cli.rs:586:9
[INFO] [stdout]     |
[INFO] [stdout] 586 |         RegCloseKey(key);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `creation_flags` found for struct `Command` in the current scope
[INFO] [stdout]    --> src/cli.rs:614:13
[INFO] [stdout]     |
[INFO] [stdout] 614 |     command.creation_flags(CREATE_NO_WINDOW);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ method not found in `Command`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope
[INFO] [stdout]    --> src/cli.rs:632:22
[INFO] [stdout]     |
[INFO] [stdout] 632 |         let window = FindWindowA(ptr::null(), b"CCaps Layout Switcher\0".as_ptr() as *const i8);
[INFO] [stdout]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope
[INFO] [stdout]    --> src/cli.rs:634:13
[INFO] [stdout]     |
[INFO] [stdout] 634 |             PostMessageA(window, WM_QUIT, 0, 0);
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/cli.rs:645:14
[INFO] [stdout]     |
[INFO] [stdout] 644 |           let mutex_name_wide: Vec<u16> = OsString::from(mutex_name)
[INFO] [stdout]     |  _________________________________________-
[INFO] [stdout] 645 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:201:26
[INFO] [stdout]     |
[INFO] [stdout] 201 |             let result = GetMessageW(&mut msg, ptr::null_mut(), 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/main.rs:217:13
[INFO] [stdout]     |
[INFO] [stdout] 217 |             TranslateMessage(&msg);
[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/main.rs:218:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |             DispatchMessageW(&msg);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeConsole` in this scope
[INFO] [stdout]    --> src/main.rs:231:5
[INFO] [stdout]     |
[INFO] [stdout] 231 |     FreeConsole();
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:250:64
[INFO] [stdout]     |
[INFO] [stdout] 250 |     let class_name_wide: Vec<u16> = OsString::from(class_name).encode_wide().collect();
[INFO] [stdout]     |                                                                ^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:253:66
[INFO] [stdout]     |
[INFO] [stdout] 253 |     let window_name_wide: Vec<u16> = OsString::from(window_name).encode_wide().collect();
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]    --> src/main.rs:290:5
[INFO] [stdout]     |
[INFO] [stdout] 290 |     RegisterClassW(&wc);
[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/main.rs:293:16
[INFO] [stdout]     |
[INFO] [stdout] 293 |     let hwnd = CreateWindowExW(
[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/main.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |         CreateWindowExW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]    --> src/main.rs:265:17
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 PostQuitMessage(0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]    --> src/main.rs:269:17
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 PostQuitMessage(0);
[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/main.rs:272:25
[INFO] [stdout]     |
[INFO] [stdout] 272 |             _ => return DefWindowProcW(hwnd, msg, wparam, lparam),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0408, E0422, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0408`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ccaps` (bin "ccaps") due to 175 previous errors
[INFO] running `Command { std: "docker" "inspect" "159c138842f9adfd5aa45a2d86d481d799f7ae9a55f3cf7573275bc3e5a67b61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "159c138842f9adfd5aa45a2d86d481d799f7ae9a55f3cf7573275bc3e5a67b61", kill_on_drop: false }`
[INFO] [stdout] 159c138842f9adfd5aa45a2d86d481d799f7ae9a55f3cf7573275bc3e5a67b61
