[INFO] cloning repository https://github.com/2u841r/avro-in-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2u841r/avro-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2u841r%2Favro-in-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2u841r%2Favro-in-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e4e3e432415a32dd18b3256c6f2aec4073c5faf0
[INFO] checking 2u841r/avro-in-rust/e4e3e432415a32dd18b3256c6f2aec4073c5faf0 against master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2u841r%2Favro-in-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/2u841r/avro-in-rust
[INFO] finished tweaking git repo https://github.com/2u841r/avro-in-rust
[INFO] tweaked toml for git repo https://github.com/2u841r/avro-in-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/2u841r/avro-in-rust on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/2u841r/avro-in-rust 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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.5.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4b933e1ca126647972798f60fc8cf6091ee6dc9958fe7569296a0606c5736b51
[INFO] running `Command { std: "docker" "start" "-a" "4b933e1ca126647972798f60fc8cf6091ee6dc9958fe7569296a0606c5736b51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b933e1ca126647972798f60fc8cf6091ee6dc9958fe7569296a0606c5736b51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b933e1ca126647972798f60fc8cf6091ee6dc9958fe7569296a0606c5736b51", kill_on_drop: false }`
[INFO] [stdout] 4b933e1ca126647972798f60fc8cf6091ee6dc9958fe7569296a0606c5736b51
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f4d2db6fa646ea4064bceac5eca8d64f7a3149a72462c40573d28db388c64760
[INFO] running `Command { std: "docker" "start" "-a" "f4d2db6fa646ea4064bceac5eca8d64f7a3149a72462c40573d28db388c64760", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking windows-core v0.52.0
[INFO] [stderr]     Checking windows v0.52.0
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking bengali_keyboard v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::winuser::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::shellapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::libloaderapi::GetModuleHandleW;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::windef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::shared::minwindef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::winuser::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::shellapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::libloaderapi::GetModuleHandleW;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::windef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::shared::minwindef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope
[INFO] [stdout]   --> src/main.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 | const WM_TRAYICON: u32 = WM_USER + 1;
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_F10` in this scope
[INFO] [stdout]   --> src/main.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 27 | const TOGGLE_KEY: u32 = VK_F10 as u32;
[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:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let wc = WNDCLASSW {
[INFO] [stdout]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stdout]    --> src/main.rs:120:22
[INFO] [stdout]     |
[INFO] [stdout] 120 |             hCursor: LoadCursorW(ptr::null_mut(), IDC_ARROW),
[INFO] [stdout]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stdout]    --> src/main.rs:120:51
[INFO] [stdout]     |
[INFO] [stdout] 120 |             hCursor: LoadCursorW(ptr::null_mut(), IDC_ARROW),
[INFO] [stdout]     |                                                   ^^^^^^^^^ not found in this scope
[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:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |         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:128:20
[INFO] [stdout]     |
[INFO] [stdout] 128 |         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 `SetWindowsHookExW` in this scope
[INFO] [stdout]    --> src/main.rs:140:20
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let hook = SetWindowsHookExW(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WH_KEYBOARD_LL` in this scope
[INFO] [stdout]    --> src/main.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |             WH_KEYBOARD_LL,
[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/main.rs:154:15
[INFO] [stdout]     |
[INFO] [stdout] 154 |         while GetMessageW(&mut msg, ptr::null_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/main.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             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:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             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 `UnhookWindowsHookEx` in this scope
[INFO] [stdout]    --> src/main.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |         UnhookWindowsHookEx(hook);
[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/main.rs:164:11
[INFO] [stdout]     |
[INFO] [stdout] 164 |     hwnd: HWND,
[INFO] [stdout]     |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]    --> src/main.rs:165:10
[INFO] [stdout]     |
[INFO] [stdout] 165 |     msg: UINT,
[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/main.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 166 |     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/main.rs:167:13
[INFO] [stdout]     |
[INFO] [stdout] 167 |     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/main.rs:168:6
[INFO] [stdout]     |
[INFO] [stdout] 168 | ) -> LRESULT {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]    --> src/main.rs:171:26
[INFO] [stdout]     |
[INFO] [stdout] 171 |             if lparam as UINT == WM_RBUTTONUP {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_RBUTTONUP` in this scope
[INFO] [stdout]    --> src/main.rs:171:34
[INFO] [stdout]     |
[INFO] [stdout] 171 |             if lparam as UINT == WM_RBUTTONUP {
[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:183:21
[INFO] [stdout]     |
[INFO] [stdout] 183 |                     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:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |             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:194:14
[INFO] [stdout]     |
[INFO] [stdout] 194 |         _ => DefWindowProcW(hwnd, msg, wparam, lparam),
[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/main.rs:200:13
[INFO] [stdout]     |
[INFO] [stdout] 200 |     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/main.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |     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/main.rs:202:6
[INFO] [stdout]     |
[INFO] [stdout] 202 | ) -> LRESULT {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KBDLLHOOKSTRUCT` in this scope
[INFO] [stdout]    --> src/main.rs:204:45
[INFO] [stdout]     |
[INFO] [stdout] 204 |         let kbd_struct = *(lparam as *const KBDLLHOOKSTRUCT);
[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/main.rs:208:22
[INFO] [stdout]     |
[INFO] [stdout] 208 |         if wparam == WM_KEYDOWN as usize && vk_code == TOGGLE_KEY {
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope
[INFO] [stdout]    --> src/main.rs:214:46
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let ctrl_pressed = (GetAsyncKeyState(VK_CONTROL) & 0x8000u16 as i16) != 0;
[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/main.rs:215:38
[INFO] [stdout]     |
[INFO] [stdout] 215 |         if ctrl_pressed && wparam == WM_KEYDOWN as usize {
[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/main.rs:228:39
[INFO] [stdout]     |
[INFO] [stdout] 228 |         if state.enabled && wparam == WM_KEYDOWN as usize {
[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/main.rs:238:5
[INFO] [stdout]     |
[INFO] [stdout] 238 |     CallNextHookEx(ptr::null_mut(), code, wparam, lparam)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:357:21
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let mut input = INPUT {
[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/main.rs:358:16
[INFO] [stdout]     |
[INFO] [stdout] 358 |         type_: INPUT_KEYBOARD,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope
[INFO] [stdout]    --> src/main.rs:362:25
[INFO] [stdout]     |
[INFO] [stdout] 362 |     *input.u.ki_mut() = KEYBDINPUT {
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_BACK` in this scope
[INFO] [stdout]    --> src/main.rs:363:14
[INFO] [stdout]     |
[INFO] [stdout] 363 |         wVk: VK_BACK as u16,
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:370:45
[INFO] [stdout]     |
[INFO] [stdout] 370 |     SendInput(1, &mut input, 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] 356 | unsafe fn send_backspace<INPUT>() {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout]    --> src/main.rs:372:32
[INFO] [stdout]     |
[INFO] [stdout] 372 |     input.u.ki_mut().dwFlags = KEYEVENTF_KEYUP;
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:373:45
[INFO] [stdout]     |
[INFO] [stdout] 373 |     SendInput(1, &mut input, 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] 356 | unsafe fn send_backspace<INPUT>() {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:378:25
[INFO] [stdout]     |
[INFO] [stdout] 378 |         let mut input = INPUT {
[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/main.rs:379:20
[INFO] [stdout]     |
[INFO] [stdout] 379 |             type_: INPUT_KEYBOARD,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope
[INFO] [stdout]    --> src/main.rs:383:29
[INFO] [stdout]     |
[INFO] [stdout] 383 |         *input.u.ki_mut() = KEYBDINPUT {
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_UNICODE` in this scope
[INFO] [stdout]    --> src/main.rs:386:22
[INFO] [stdout]     |
[INFO] [stdout] 386 |             dwFlags: KEYEVENTF_UNICODE,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:391:49
[INFO] [stdout]     |
[INFO] [stdout] 391 |         SendInput(1, &mut input, 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] 376 | unsafe fn send_unicode_text<INPUT>(text: &str) {
[INFO] [stdout]     |                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_UNICODE` in this scope
[INFO] [stdout]    --> src/main.rs:393:36
[INFO] [stdout]     |
[INFO] [stdout] 393 |         input.u.ki_mut().dwFlags = KEYEVENTF_UNICODE | KEYEVENTF_KEYUP;
[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/main.rs:393:56
[INFO] [stdout]     |
[INFO] [stdout] 393 |         input.u.ki_mut().dwFlags = KEYEVENTF_UNICODE | KEYEVENTF_KEYUP;
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:394:49
[INFO] [stdout]     |
[INFO] [stdout] 394 |         SendInput(1, &mut input, 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] 376 | unsafe fn send_unicode_text<INPUT>(text: &str) {
[INFO] [stdout]     |                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:400:34
[INFO] [stdout]     |
[INFO] [stdout] 400 | unsafe fn create_tray_icon(hwnd: HWND) {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:401:18
[INFO] [stdout]     |
[INFO] [stdout] 401 |     let mut nid: NOTIFYICONDATAW = mem::zeroed();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:402:33
[INFO] [stdout]     |
[INFO] [stdout] 402 |     nid.cbSize = mem::size_of::<NOTIFYICONDATAW>() as u32;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope
[INFO] [stdout]    --> src/main.rs:405:18
[INFO] [stdout]     |
[INFO] [stdout] 405 |     nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
[INFO] [stdout]     |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope
[INFO] [stdout]    --> src/main.rs:405:29
[INFO] [stdout]     |
[INFO] [stdout] 405 |     nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope
[INFO] [stdout]    --> src/main.rs:405:43
[INFO] [stdout]     |
[INFO] [stdout] 405 |     nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
[INFO] [stdout]     |                                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stdout]    --> src/main.rs:409:17
[INFO] [stdout]     |
[INFO] [stdout] 409 |     nid.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION);
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stdout]    --> src/main.rs:409:44
[INFO] [stdout]     |
[INFO] [stdout] 409 |     nid.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]    --> src/main.rs:422:5
[INFO] [stdout]     |
[INFO] [stdout] 422 |     Shell_NotifyIconW(NIM_ADD, &mut nid);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_ADD` in this scope
[INFO] [stdout]    --> src/main.rs:422:23
[INFO] [stdout]     |
[INFO] [stdout] 422 |     Shell_NotifyIconW(NIM_ADD, &mut nid);
[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/main.rs:425:34
[INFO] [stdout]     |
[INFO] [stdout] 425 | unsafe fn update_tray_icon(hwnd: HWND) {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:426:18
[INFO] [stdout]     |
[INFO] [stdout] 426 |     let mut nid: NOTIFYICONDATAW = mem::zeroed();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:427:33
[INFO] [stdout]     |
[INFO] [stdout] 427 |     nid.cbSize = mem::size_of::<NOTIFYICONDATAW>() as u32;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope
[INFO] [stdout]    --> src/main.rs:430:18
[INFO] [stdout]     |
[INFO] [stdout] 430 |     nid.uFlags = NIF_ICON | NIF_TIP;
[INFO] [stdout]     |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope
[INFO] [stdout]    --> src/main.rs:430:29
[INFO] [stdout]     |
[INFO] [stdout] 430 |     nid.uFlags = NIF_ICON | NIF_TIP;
[INFO] [stdout]     |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stdout]    --> src/main.rs:435:17
[INFO] [stdout]     |
[INFO] [stdout] 435 |     nid.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION);
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stdout]    --> src/main.rs:435:44
[INFO] [stdout]     |
[INFO] [stdout] 435 |     nid.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]    --> src/main.rs:447:5
[INFO] [stdout]     |
[INFO] [stdout] 447 |     Shell_NotifyIconW(NIM_MODIFY, &mut nid);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_MODIFY` in this scope
[INFO] [stdout]    --> src/main.rs:447:23
[INFO] [stdout]     |
[INFO] [stdout] 447 |     Shell_NotifyIconW(NIM_MODIFY, &mut nid);
[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/main.rs:450:34
[INFO] [stdout]     |
[INFO] [stdout] 450 | unsafe fn remove_tray_icon(hwnd: HWND) {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:451:18
[INFO] [stdout]     |
[INFO] [stdout] 451 |     let mut nid: NOTIFYICONDATAW = mem::zeroed();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:452:33
[INFO] [stdout]     |
[INFO] [stdout] 452 |     nid.cbSize = mem::size_of::<NOTIFYICONDATAW>() as u32;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope
[INFO] [stdout]   --> src/main.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 | const WM_TRAYICON: u32 = WM_USER + 1;
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_F10` in this scope
[INFO] [stdout]   --> src/main.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 27 | const TOGGLE_KEY: u32 = VK_F10 as u32;
[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:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let wc = WNDCLASSW {
[INFO] [stdout]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stdout]    --> src/main.rs:120:22
[INFO] [stdout]     |
[INFO] [stdout] 120 |             hCursor: LoadCursorW(ptr::null_mut(), IDC_ARROW),
[INFO] [stdout]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stdout]    --> src/main.rs:120:51
[INFO] [stdout]     |
[INFO] [stdout] 120 |             hCursor: LoadCursorW(ptr::null_mut(), IDC_ARROW),
[INFO] [stdout]     |                                                   ^^^^^^^^^ not found in this scope
[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:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |         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:128:20
[INFO] [stdout]     |
[INFO] [stdout] 128 |         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 `SetWindowsHookExW` in this scope
[INFO] [stdout]    --> src/main.rs:140:20
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let hook = SetWindowsHookExW(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WH_KEYBOARD_LL` in this scope
[INFO] [stdout]    --> src/main.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |             WH_KEYBOARD_LL,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]    --> src/main.rs:456:5
[INFO] [stdout]     |
[INFO] [stdout] 456 |     Shell_NotifyIconW(NIM_DELETE, &mut nid);
[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/main.rs:154:15
[INFO] [stdout]     |
[INFO] [stdout] 154 |         while GetMessageW(&mut msg, ptr::null_mut(), 0, 0) > 0 {
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope
[INFO] [stdout]    --> src/main.rs:456:23
[INFO] [stdout]     |
[INFO] [stdout] 456 |     Shell_NotifyIconW(NIM_DELETE, &mut nid);
[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:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             TranslateMessage(&msg);
[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/main.rs:459:35
[INFO] [stdout]     |
[INFO] [stdout] 459 | unsafe fn show_context_menu(hwnd: HWND) {
[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:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             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 `CreatePopupMenu` in this scope
[INFO] [stdout]    --> src/main.rs:460:17
[INFO] [stdout]     |
[INFO] [stdout] 460 |     let hmenu = CreatePopupMenu();
[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/main.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |         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 `AppendMenuW` in this scope
[INFO] [stdout]    --> src/main.rs:470:5
[INFO] [stdout]     |
[INFO] [stdout] 470 |     AppendMenuW(hmenu, MF_STRING, ID_TOGGLE as usize, toggle_text.as_ptr());
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope
[INFO] [stdout]    --> src/main.rs:470:24
[INFO] [stdout]     |
[INFO] [stdout] 470 |     AppendMenuW(hmenu, MF_STRING, ID_TOGGLE as usize, toggle_text.as_ptr());
[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/main.rs:164:11
[INFO] [stdout]     |
[INFO] [stdout] 164 |     hwnd: HWND,
[INFO] [stdout]     |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]    --> src/main.rs:471:5
[INFO] [stdout]     |
[INFO] [stdout] 471 |     AppendMenuW(hmenu, MF_SEPARATOR, 0, ptr::null());
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]    --> src/main.rs:165:10
[INFO] [stdout]     |
[INFO] [stdout] 165 |     msg: UINT,
[INFO] [stdout]     |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_SEPARATOR` in this scope
[INFO] [stdout]    --> src/main.rs:471:24
[INFO] [stdout]     |
[INFO] [stdout] 471 |     AppendMenuW(hmenu, MF_SEPARATOR, 0, ptr::null());
[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/main.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 166 |     wparam: WPARAM,
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]    --> src/main.rs:472:5
[INFO] [stdout]     |
[INFO] [stdout] 472 |     AppendMenuW(hmenu, MF_STRING, ID_EXIT as usize, wide_string("Exit").as_ptr());
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope
[INFO] [stdout]    --> src/main.rs:472:24
[INFO] [stdout]     |
[INFO] [stdout] 472 |     AppendMenuW(hmenu, MF_STRING, ID_EXIT as usize, wide_string("Exit").as_ptr());
[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/main.rs:167:13
[INFO] [stdout]     |
[INFO] [stdout] 167 |     lparam: LPARAM,
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stdout]    --> src/main.rs:474:18
[INFO] [stdout]     |
[INFO] [stdout] 474 |     let mut pt = POINT { x: 0, y: 0 };
[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/main.rs:168:6
[INFO] [stdout]     |
[INFO] [stdout] 168 | ) -> LRESULT {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]    --> src/main.rs:475:5
[INFO] [stdout]     |
[INFO] [stdout] 475 |     GetCursorPos(&mut pt);
[INFO] [stdout]     |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]    --> src/main.rs:171:26
[INFO] [stdout]     |
[INFO] [stdout] 171 |             if lparam as UINT == WM_RBUTTONUP {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:477:5
[INFO] [stdout]     |
[INFO] [stdout] 477 |     SetForegroundWindow(hwnd);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope
[INFO] [stdout]    --> src/main.rs:478:5
[INFO] [stdout]     |
[INFO] [stdout] 478 |     TrackPopupMenu(
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TPM_RIGHTBUTTON` in this scope
[INFO] [stdout]    --> src/main.rs:480:9
[INFO] [stdout]     |
[INFO] [stdout] 480 |         TPM_RIGHTBUTTON,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope
[INFO] [stdout]    --> src/main.rs:488:5
[INFO] [stdout]     |
[INFO] [stdout] 488 |     DestroyMenu(hmenu);
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_RBUTTONUP` in this scope
[INFO] [stdout]    --> src/main.rs:171:34
[INFO] [stdout]     |
[INFO] [stdout] 171 |             if lparam as UINT == WM_RBUTTONUP {
[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:183:21
[INFO] [stdout]     |
[INFO] [stdout] 183 |                     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:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |             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:194:14
[INFO] [stdout]     |
[INFO] [stdout] 194 |         _ => DefWindowProcW(hwnd, msg, wparam, lparam),
[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/main.rs:200:13
[INFO] [stdout]     |
[INFO] [stdout] 200 |     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/main.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |     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/main.rs:202:6
[INFO] [stdout]     |
[INFO] [stdout] 202 | ) -> LRESULT {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KBDLLHOOKSTRUCT` in this scope
[INFO] [stdout]    --> src/main.rs:204:45
[INFO] [stdout]     |
[INFO] [stdout] 204 |         let kbd_struct = *(lparam as *const KBDLLHOOKSTRUCT);
[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/main.rs:208:22
[INFO] [stdout]     |
[INFO] [stdout] 208 |         if wparam == WM_KEYDOWN as usize && vk_code == TOGGLE_KEY {
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope
[INFO] [stdout]    --> src/main.rs:214:46
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let ctrl_pressed = (GetAsyncKeyState(VK_CONTROL) & 0x8000u16 as i16) != 0;
[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/main.rs:215:38
[INFO] [stdout]     |
[INFO] [stdout] 215 |         if ctrl_pressed && wparam == WM_KEYDOWN as usize {
[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/main.rs:228:39
[INFO] [stdout]     |
[INFO] [stdout] 228 |         if state.enabled && wparam == WM_KEYDOWN as usize {
[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/main.rs:238:5
[INFO] [stdout]     |
[INFO] [stdout] 238 |     CallNextHookEx(ptr::null_mut(), code, wparam, lparam)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:357:21
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let mut input = INPUT {
[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/main.rs:358:16
[INFO] [stdout]     |
[INFO] [stdout] 358 |         type_: INPUT_KEYBOARD,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope
[INFO] [stdout]    --> src/main.rs:362:25
[INFO] [stdout]     |
[INFO] [stdout] 362 |     *input.u.ki_mut() = KEYBDINPUT {
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_BACK` in this scope
[INFO] [stdout]    --> src/main.rs:363:14
[INFO] [stdout]     |
[INFO] [stdout] 363 |         wVk: VK_BACK as u16,
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:370:45
[INFO] [stdout]     |
[INFO] [stdout] 370 |     SendInput(1, &mut input, 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] 356 | unsafe fn send_backspace<INPUT>() {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout]    --> src/main.rs:372:32
[INFO] [stdout]     |
[INFO] [stdout] 372 |     input.u.ki_mut().dwFlags = KEYEVENTF_KEYUP;
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:373:45
[INFO] [stdout]     |
[INFO] [stdout] 373 |     SendInput(1, &mut input, 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] 356 | unsafe fn send_backspace<INPUT>() {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:378:25
[INFO] [stdout]     |
[INFO] [stdout] 378 |         let mut input = INPUT {
[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/main.rs:379:20
[INFO] [stdout]     |
[INFO] [stdout] 379 |             type_: INPUT_KEYBOARD,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope
[INFO] [stdout]    --> src/main.rs:383:29
[INFO] [stdout]     |
[INFO] [stdout] 383 |         *input.u.ki_mut() = KEYBDINPUT {
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_UNICODE` in this scope
[INFO] [stdout]    --> src/main.rs:386:22
[INFO] [stdout]     |
[INFO] [stdout] 386 |             dwFlags: KEYEVENTF_UNICODE,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:391:49
[INFO] [stdout]     |
[INFO] [stdout] 391 |         SendInput(1, &mut input, 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] 376 | unsafe fn send_unicode_text<INPUT>(text: &str) {
[INFO] [stdout]     |                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_UNICODE` in this scope
[INFO] [stdout]    --> src/main.rs:393:36
[INFO] [stdout]     |
[INFO] [stdout] 393 |         input.u.ki_mut().dwFlags = KEYEVENTF_UNICODE | KEYEVENTF_KEYUP;
[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/main.rs:393:56
[INFO] [stdout]     |
[INFO] [stdout] 393 |         input.u.ki_mut().dwFlags = KEYEVENTF_UNICODE | KEYEVENTF_KEYUP;
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:394:49
[INFO] [stdout]     |
[INFO] [stdout] 394 |         SendInput(1, &mut input, 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] 376 | unsafe fn send_unicode_text<INPUT>(text: &str) {
[INFO] [stdout]     |                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:400:34
[INFO] [stdout]     |
[INFO] [stdout] 400 | unsafe fn create_tray_icon(hwnd: HWND) {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:401:18
[INFO] [stdout]     |
[INFO] [stdout] 401 |     let mut nid: NOTIFYICONDATAW = mem::zeroed();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:402:33
[INFO] [stdout]     |
[INFO] [stdout] 402 |     nid.cbSize = mem::size_of::<NOTIFYICONDATAW>() as u32;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope
[INFO] [stdout]    --> src/main.rs:405:18
[INFO] [stdout]     |
[INFO] [stdout] 405 |     nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
[INFO] [stdout]     |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope
[INFO] [stdout]    --> src/main.rs:405:29
[INFO] [stdout]     |
[INFO] [stdout] 405 |     nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope
[INFO] [stdout]    --> src/main.rs:405:43
[INFO] [stdout]     |
[INFO] [stdout] 405 |     nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
[INFO] [stdout]     |                                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stdout]    --> src/main.rs:409:17
[INFO] [stdout]     |
[INFO] [stdout] 409 |     nid.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION);
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stdout]    --> src/main.rs:409:44
[INFO] [stdout]     |
[INFO] [stdout] 409 |     nid.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]    --> src/main.rs:422:5
[INFO] [stdout]     |
[INFO] [stdout] 422 |     Shell_NotifyIconW(NIM_ADD, &mut nid);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_ADD` in this scope
[INFO] [stdout]    --> src/main.rs:422:23
[INFO] [stdout]     |
[INFO] [stdout] 422 |     Shell_NotifyIconW(NIM_ADD, &mut nid);
[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/main.rs:425:34
[INFO] [stdout]     |
[INFO] [stdout] 425 | unsafe fn update_tray_icon(hwnd: HWND) {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:426:18
[INFO] [stdout]     |
[INFO] [stdout] 426 |     let mut nid: NOTIFYICONDATAW = mem::zeroed();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:427:33
[INFO] [stdout]     |
[INFO] [stdout] 427 |     nid.cbSize = mem::size_of::<NOTIFYICONDATAW>() as u32;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope
[INFO] [stdout]    --> src/main.rs:430:18
[INFO] [stdout]     |
[INFO] [stdout] 430 |     nid.uFlags = NIF_ICON | NIF_TIP;
[INFO] [stdout]     |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope
[INFO] [stdout]    --> src/main.rs:430:29
[INFO] [stdout]     |
[INFO] [stdout] 430 |     nid.uFlags = NIF_ICON | NIF_TIP;
[INFO] [stdout]     |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stdout]    --> src/main.rs:435:17
[INFO] [stdout]     |
[INFO] [stdout] 435 |     nid.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION);
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stdout]    --> src/main.rs:435:44
[INFO] [stdout]     |
[INFO] [stdout] 435 |     nid.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]    --> src/main.rs:447:5
[INFO] [stdout]     |
[INFO] [stdout] 447 |     Shell_NotifyIconW(NIM_MODIFY, &mut nid);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_MODIFY` in this scope
[INFO] [stdout]    --> src/main.rs:447:23
[INFO] [stdout]     |
[INFO] [stdout] 447 |     Shell_NotifyIconW(NIM_MODIFY, &mut nid);
[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/main.rs:450:34
[INFO] [stdout]     |
[INFO] [stdout] 450 | unsafe fn remove_tray_icon(hwnd: HWND) {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:451:18
[INFO] [stdout]     |
[INFO] [stdout] 451 |     let mut nid: NOTIFYICONDATAW = mem::zeroed();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:452:33
[INFO] [stdout]     |
[INFO] [stdout] 452 |     nid.cbSize = mem::size_of::<NOTIFYICONDATAW>() as u32;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]    --> src/main.rs:456:5
[INFO] [stdout]     |
[INFO] [stdout] 456 |     Shell_NotifyIconW(NIM_DELETE, &mut nid);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope
[INFO] [stdout]    --> src/main.rs:456:23
[INFO] [stdout]     |
[INFO] [stdout] 456 |     Shell_NotifyIconW(NIM_DELETE, &mut nid);
[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/main.rs:459:35
[INFO] [stdout]     |
[INFO] [stdout] 459 | unsafe fn show_context_menu(hwnd: HWND) {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope
[INFO] [stdout]    --> src/main.rs:460:17
[INFO] [stdout]     |
[INFO] [stdout] 460 |     let hmenu = CreatePopupMenu();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]    --> src/main.rs:470:5
[INFO] [stdout]     |
[INFO] [stdout] 470 |     AppendMenuW(hmenu, MF_STRING, ID_TOGGLE as usize, toggle_text.as_ptr());
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope
[INFO] [stdout]    --> src/main.rs:470:24
[INFO] [stdout]     |
[INFO] [stdout] 470 |     AppendMenuW(hmenu, MF_STRING, ID_TOGGLE as usize, toggle_text.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 `AppendMenuW` in this scope
[INFO] [stdout]    --> src/main.rs:471:5
[INFO] [stdout]     |
[INFO] [stdout] 471 |     AppendMenuW(hmenu, MF_SEPARATOR, 0, ptr::null());
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_SEPARATOR` in this scope
[INFO] [stdout]    --> src/main.rs:471:24
[INFO] [stdout]     |
[INFO] [stdout] 471 |     AppendMenuW(hmenu, MF_SEPARATOR, 0, ptr::null());
[INFO] [stdout]     |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]    --> src/main.rs:472:5
[INFO] [stdout]     |
[INFO] [stdout] 472 |     AppendMenuW(hmenu, MF_STRING, ID_EXIT as usize, wide_string("Exit").as_ptr());
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope
[INFO] [stdout]    --> src/main.rs:472:24
[INFO] [stdout]     |
[INFO] [stdout] 472 |     AppendMenuW(hmenu, MF_STRING, ID_EXIT as usize, wide_string("Exit").as_ptr());
[INFO] [stdout]     |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stdout]    --> src/main.rs:474:18
[INFO] [stdout]     |
[INFO] [stdout] 474 |     let mut pt = POINT { x: 0, y: 0 };
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]    --> src/main.rs:475:5
[INFO] [stdout]     |
[INFO] [stdout] 475 |     GetCursorPos(&mut pt);
[INFO] [stdout]     |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:477:5
[INFO] [stdout]     |
[INFO] [stdout] 477 |     SetForegroundWindow(hwnd);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope
[INFO] [stdout]    --> src/main.rs:478:5
[INFO] [stdout]     |
[INFO] [stdout] 478 |     TrackPopupMenu(
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TPM_RIGHTBUTTON` in this scope
[INFO] [stdout]    --> src/main.rs:480:9
[INFO] [stdout]     |
[INFO] [stdout] 480 |         TPM_RIGHTBUTTON,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope
[INFO] [stdout]    --> src/main.rs:488:5
[INFO] [stdout]     |
[INFO] [stdout] 488 |     DestroyMenu(hmenu);
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bengali_keyboard` (bin "bengali_keyboard" test) due to 96 previous errors
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope
[INFO] [stdout]    --> src/main.rs:177:19
[INFO] [stdout]     |
[INFO] [stdout] 177 |             match LOWORD(wparam as u32) as u32 {
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:214:29
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let ctrl_pressed = (GetAsyncKeyState(VK_CONTROL) & 0x8000u16 as i16) != 0;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope
[INFO] [stdout]    --> src/main.rs:177:19
[INFO] [stdout]     |
[INFO] [stdout] 177 |             match LOWORD(wparam as u32) as u32 {
[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/main.rs:214:29
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let ctrl_pressed = (GetAsyncKeyState(VK_CONTROL) & 0x8000u16 as i16) != 0;
[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/main.rs:370:5
[INFO] [stdout]     |
[INFO] [stdout] 370 |     SendInput(1, &mut input, 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 `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:370:5
[INFO] [stdout]     |
[INFO] [stdout] 370 |     SendInput(1, &mut input, 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 `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:373:5
[INFO] [stdout]     |
[INFO] [stdout] 373 |     SendInput(1, &mut input, 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 `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:373:5
[INFO] [stdout]     |
[INFO] [stdout] 373 |     SendInput(1, &mut input, 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 `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:391:9
[INFO] [stdout]     |
[INFO] [stdout] 391 |         SendInput(1, &mut input, 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 `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:391:9
[INFO] [stdout]     |
[INFO] [stdout] 391 |         SendInput(1, &mut input, 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 `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:394:9
[INFO] [stdout]     |
[INFO] [stdout] 394 |         SendInput(1, &mut input, 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 `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:394:9
[INFO] [stdout]     |
[INFO] [stdout] 394 |         SendInput(1, &mut input, mem::size_of::<INPUT>() as i32);
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bengali_keyboard` (bin "bengali_keyboard") due to 96 previous errors
[INFO] running `Command { std: "docker" "inspect" "f4d2db6fa646ea4064bceac5eca8d64f7a3149a72462c40573d28db388c64760", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4d2db6fa646ea4064bceac5eca8d64f7a3149a72462c40573d28db388c64760", kill_on_drop: false }`
[INFO] [stdout] f4d2db6fa646ea4064bceac5eca8d64f7a3149a72462c40573d28db388c64760
