[INFO] cloning repository https://github.com/n3oblog/caps-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n3oblog/caps-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn3oblog%2Fcaps-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn3oblog%2Fcaps-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bb205015ad304bca2600be8749c665af3d97f661
[INFO] checking n3oblog/caps-rust against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn3oblog%2Fcaps-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/n3oblog/caps-rust
[INFO] finished tweaking git repo https://github.com/n3oblog/caps-rust
[INFO] tweaked toml for git repo https://github.com/n3oblog/caps-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/n3oblog/caps-rust on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/n3oblog/caps-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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking n3oblog/caps-rust against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn3oblog%2Fcaps-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/n3oblog/caps-rust
[INFO] finished tweaking git repo https://github.com/n3oblog/caps-rust
[INFO] tweaked toml for git repo https://github.com/n3oblog/caps-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/n3oblog/caps-rust on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/n3oblog/caps-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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded user32-sys v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f421f164367eb698fcb6ee0882565cc3c43b9602d20a0f309b8ef9b2eb789bf7
[INFO] running `Command { std: "docker" "start" "-a" "f421f164367eb698fcb6ee0882565cc3c43b9602d20a0f309b8ef9b2eb789bf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f421f164367eb698fcb6ee0882565cc3c43b9602d20a0f309b8ef9b2eb789bf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f421f164367eb698fcb6ee0882565cc3c43b9602d20a0f309b8ef9b2eb789bf7", kill_on_drop: false }`
[INFO] [stdout] f421f164367eb698fcb6ee0882565cc3c43b9602d20a0f309b8ef9b2eb789bf7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 47cd126bd0aa612c146d0b204d4e434279bff50aafdf63436864cf9ea2fea2e9
[INFO] running `Command { std: "docker" "start" "-a" "47cd126bd0aa612c146d0b204d4e434279bff50aafdf63436864cf9ea2fea2e9", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]     Checking caps-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::libloaderapi::GetModuleHandleW;
[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:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::processthreadsapi::ExitProcess;
[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:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::windef::{HWND, 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/main.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::libloaderapi::GetModuleHandleW;
[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:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::processthreadsapi::ExitProcess;
[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:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::windef::{HWND, HHOOK};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:21:63
[INFO] [stdout]    |
[INFO] [stdout] 21 | unsafe extern "system" fn keyboard_proc(n_code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[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:21:80
[INFO] [stdout]    |
[INFO] [stdout] 21 | unsafe extern "system" fn keyboard_proc(n_code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[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:21:91
[INFO] [stdout]    |
[INFO] [stdout] 21 | unsafe extern "system" fn keyboard_proc(n_code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout]    |                                                                                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HC_ACTION` in this scope
[INFO] [stdout]   --> src/main.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 |     if n_code == HC_ACTION {
[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/main.rs:23:47
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let kbd_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/main.rs:25:33
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if kbd_struct.vkCode == VK_CAPITAL as u32 && GetKeyState(VK_SHIFT) >= 0 {
[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/main.rs:25:66
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if kbd_struct.vkCode == VK_CAPITAL as u32 && GetKeyState(VK_SHIFT) >= 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:26:27
[INFO] [stdout]    |
[INFO] [stdout] 26 |             if w_param == WM_KEYDOWN as WPARAM {
[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:26:41
[INFO] [stdout]    |
[INFO] [stdout] 26 |             if w_param == WM_KEYDOWN as WPARAM {
[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/main.rs:29:40
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     PostMessageW(hwnd, WM_INPUTLANGCHANGEREQUEST, 0, 0); 
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope
[INFO] [stdout]   --> src/main.rs:41:67
[INFO] [stdout]    |
[INFO] [stdout] 41 |     MessageBoxW(null_mut(), msg_wide.as_ptr(), msg_wide.as_ptr(), MB_OK | MB_ICONERROR);
[INFO] [stdout]    |                                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MB_ICONERROR` in this scope
[INFO] [stdout]   --> src/main.rs:41:75
[INFO] [stdout]    |
[INFO] [stdout] 41 |     MessageBoxW(null_mut(), msg_wide.as_ptr(), msg_wide.as_ptr(), MB_OK | MB_ICONERROR);
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOD_CONTROL` in this scope
[INFO] [stdout]   --> src/main.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 |             (MOD_CONTROL | MOD_ALT) as u32,
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOD_ALT` in this scope
[INFO] [stdout]   --> src/main.rs:52:28
[INFO] [stdout]    |
[INFO] [stdout] 52 |             (MOD_CONTROL | MOD_ALT) as u32,
[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:59:39
[INFO] [stdout]    |
[INFO] [stdout] 59 |         CAPS_HOOK = SetWindowsHookExW(WH_KEYBOARD_LL, Some(keyboard_proc), h_instance, 0);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut msg: MSG = std::mem::zeroed();
[INFO] [stdout]    |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope
[INFO] [stdout]   --> src/main.rs:68:31
[INFO] [stdout]    |
[INFO] [stdout] 68 |             if msg.message == WM_HOTKEY && msg.wParam == EXIT_HOTKEY as WPARAM {
[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:68:73
[INFO] [stdout]    |
[INFO] [stdout] 68 |             if msg.message == WM_HOTKEY && msg.wParam == EXIT_HOTKEY as WPARAM {
[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/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     GetForegroundWindow()
[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/main.rs:25:54
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if kbd_struct.vkCode == VK_CAPITAL as u32 && GetKeyState(VK_SHIFT) >= 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/main.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     PostMessageW(hwnd, WM_INPUTLANGCHANGEREQUEST, 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 `CallNextHookEx` in this scope
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     CallNextHookEx(CAPS_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 `MessageBoxW` in this scope
[INFO] [stdout]   --> src/main.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     MessageBoxW(null_mut(), msg_wide.as_ptr(), msg_wide.as_ptr(), MB_OK | MB_ICONERROR);
[INFO] [stdout]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope
[INFO] [stdout]   --> src/main.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |         if RegisterHotKey(
[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:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |         CAPS_HOOK = SetWindowsHookExW(WH_KEYBOARD_LL, Some(keyboard_proc), h_instance, 0);
[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:67:15
[INFO] [stdout]    |
[INFO] [stdout] 67 |         while GetMessageW(&mut msg, null_mut(), 0, 0) > 0 {
[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:21:63
[INFO] [stdout]    |
[INFO] [stdout] 21 | unsafe extern "system" fn keyboard_proc(n_code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[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:21:80
[INFO] [stdout]    |
[INFO] [stdout] 21 | unsafe extern "system" fn keyboard_proc(n_code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[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:21:91
[INFO] [stdout]    |
[INFO] [stdout] 21 | unsafe extern "system" fn keyboard_proc(n_code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout]    |                                                                                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HC_ACTION` in this scope
[INFO] [stdout]   --> src/main.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 |     if n_code == HC_ACTION {
[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/main.rs:23:47
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let kbd_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/main.rs:25:33
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if kbd_struct.vkCode == VK_CAPITAL as u32 && GetKeyState(VK_SHIFT) >= 0 {
[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/main.rs:25:66
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if kbd_struct.vkCode == VK_CAPITAL as u32 && GetKeyState(VK_SHIFT) >= 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:26:27
[INFO] [stdout]    |
[INFO] [stdout] 26 |             if w_param == WM_KEYDOWN as WPARAM {
[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:26:41
[INFO] [stdout]    |
[INFO] [stdout] 26 |             if w_param == WM_KEYDOWN as WPARAM {
[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/main.rs:29:40
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     PostMessageW(hwnd, WM_INPUTLANGCHANGEREQUEST, 0, 0); 
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope
[INFO] [stdout]   --> src/main.rs:41:67
[INFO] [stdout]    |
[INFO] [stdout] 41 |     MessageBoxW(null_mut(), msg_wide.as_ptr(), msg_wide.as_ptr(), MB_OK | MB_ICONERROR);
[INFO] [stdout]    |                                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MB_ICONERROR` in this scope
[INFO] [stdout]   --> src/main.rs:41:75
[INFO] [stdout]    |
[INFO] [stdout] 41 |     MessageBoxW(null_mut(), msg_wide.as_ptr(), msg_wide.as_ptr(), MB_OK | MB_ICONERROR);
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOD_CONTROL` in this scope
[INFO] [stdout]   --> src/main.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 |             (MOD_CONTROL | MOD_ALT) as u32,
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOD_ALT` in this scope
[INFO] [stdout]   --> src/main.rs:52:28
[INFO] [stdout]    |
[INFO] [stdout] 52 |             (MOD_CONTROL | MOD_ALT) as u32,
[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:59:39
[INFO] [stdout]    |
[INFO] [stdout] 59 |         CAPS_HOOK = SetWindowsHookExW(WH_KEYBOARD_LL, Some(keyboard_proc), h_instance, 0);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut msg: MSG = std::mem::zeroed();
[INFO] [stdout]    |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope
[INFO] [stdout]   --> src/main.rs:68:31
[INFO] [stdout]    |
[INFO] [stdout] 68 |             if msg.message == WM_HOTKEY && msg.wParam == EXIT_HOTKEY as WPARAM {
[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:68:73
[INFO] [stdout]    |
[INFO] [stdout] 68 |             if msg.message == WM_HOTKEY && msg.wParam == EXIT_HOTKEY as WPARAM {
[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/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     GetForegroundWindow()
[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/main.rs:25:54
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if kbd_struct.vkCode == VK_CAPITAL as u32 && GetKeyState(VK_SHIFT) >= 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/main.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     PostMessageW(hwnd, WM_INPUTLANGCHANGEREQUEST, 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 `CallNextHookEx` in this scope
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     CallNextHookEx(CAPS_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 `MessageBoxW` in this scope
[INFO] [stdout]   --> src/main.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     MessageBoxW(null_mut(), msg_wide.as_ptr(), msg_wide.as_ptr(), MB_OK | MB_ICONERROR);
[INFO] [stdout]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope
[INFO] [stdout]   --> src/main.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |         if RegisterHotKey(
[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:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |         CAPS_HOOK = SetWindowsHookExW(WH_KEYBOARD_LL, Some(keyboard_proc), h_instance, 0);
[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:67:15
[INFO] [stdout]    |
[INFO] [stdout] 67 |         while GetMessageW(&mut msg, 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 `PostQuitMessage` in this scope
[INFO] [stdout]   --> src/main.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 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 `TranslateMessage` in this scope
[INFO] [stdout]   --> src/main.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             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:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             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:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         UnhookWindowsHookEx(CAPS_HOOK);
[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:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 PostQuitMessage(0);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]   --> src/main.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             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:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             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:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         UnhookWindowsHookEx(CAPS_HOOK);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `caps-rust` (bin "caps-rust") due to 35 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `caps-rust` (bin "caps-rust" test) due to 35 previous errors
[INFO] running `Command { std: "docker" "inspect" "47cd126bd0aa612c146d0b204d4e434279bff50aafdf63436864cf9ea2fea2e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47cd126bd0aa612c146d0b204d4e434279bff50aafdf63436864cf9ea2fea2e9", kill_on_drop: false }`
[INFO] [stdout] 47cd126bd0aa612c146d0b204d4e434279bff50aafdf63436864cf9ea2fea2e9
