[INFO] cloning repository https://github.com/domdir/escape
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/domdir/escape" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomdir%2Fescape", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomdir%2Fescape'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 829d53362c46454f4306dab47d6fee28579606c6
[INFO] checking domdir/escape against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomdir%2Fescape" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/domdir/escape on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/domdir/escape
[INFO] finished tweaking git repo https://github.com/domdir/escape
[INFO] tweaked toml for git repo https://github.com/domdir/escape written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/domdir/escape already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 968378a1ca853c3c2db6519f8ad1b64a64f8334f8bfb1a5df73cb33d721d1e63
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "968378a1ca853c3c2db6519f8ad1b64a64f8334f8bfb1a5df73cb33d721d1e63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "968378a1ca853c3c2db6519f8ad1b64a64f8334f8bfb1a5df73cb33d721d1e63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "968378a1ca853c3c2db6519f8ad1b64a64f8334f8bfb1a5df73cb33d721d1e63", kill_on_drop: false }`
[INFO] [stdout] 968378a1ca853c3c2db6519f8ad1b64a64f8334f8bfb1a5df73cb33d721d1e63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 45c01b8c89f2d80e7a0eec53bd7c5b8ac15b734bd63674d88b62fc7d33e8cf8a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "45c01b8c89f2d80e7a0eec53bd7c5b8ac15b734bd63674d88b62fc7d33e8cf8a", kill_on_drop: false }`
[INFO] [stderr] Compiling winapi v0.3.9
[INFO] [stderr] Checking escape v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/main.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | shared::minwindef::{DWORD, LPARAM, LRESULT, WORD, WPARAM},
[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:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | um::winuser::{
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout] --> src/main.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | ctypes::c_int,
[INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/main.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | shared::minwindef::{DWORD, LPARAM, LRESULT, WORD, WPARAM},
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG`
[INFO] [stdout] --> src/main.rs:18:23
[INFO] [stdout] |
[INFO] [stdout] 18 | let mut msg = MSG::default();
[INFO] [stdout] | ^^^ use of undeclared type `MSG`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/main.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | um::winuser::{
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout] --> src/main.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | ctypes::c_int,
[INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `INPUT_u`
[INFO] [stdout] --> src/main.rs:27:21
[INFO] [stdout] |
[INFO] [stdout] 27 | let mut u = INPUT_u::default();
[INFO] [stdout] | ^^^^^^^ use of undeclared type `INPUT_u`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG`
[INFO] [stdout] --> src/main.rs:18:23
[INFO] [stdout] |
[INFO] [stdout] 18 | let mut msg = MSG::default();
[INFO] [stdout] | ^^^ use of undeclared type `MSG`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowsHookExA` in this scope
[INFO] [stdout] --> src/main.rs:16:20
[INFO] [stdout] |
[INFO] [stdout] 16 | let hook = SetWindowsHookExA(WH_KEYBOARD_LL, Some(callback), ptr::null_mut(), 0);
[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:16:38
[INFO] [stdout] |
[INFO] [stdout] 16 | let hook = SetWindowsHookExA(WH_KEYBOARD_LL, Some(callback), ptr::null_mut(), 0);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageA` in this scope
[INFO] [stdout] --> src/main.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | GetMessageA(&mut msg, ptr::null_mut(), 0, 0);
[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:23:58
[INFO] [stdout] |
[INFO] [stdout] 23 | unsafe extern "system" fn callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[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:23:75
[INFO] [stdout] |
[INFO] [stdout] 23 | unsafe extern "system" fn callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[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:23:86
[INFO] [stdout] |
[INFO] [stdout] 23 | unsafe extern "system" fn callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> 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:24:35
[INFO] [stdout] |
[INFO] [stdout] 24 | let param = 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:26:27
[INFO] [stdout] |
[INFO] [stdout] 26 | if (*param).vkCode == VK_CAPITAL as DWORD {
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout] --> src/main.rs:26:41
[INFO] [stdout] |
[INFO] [stdout] 26 | if (*param).vkCode == VK_CAPITAL as DWORD {
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope
[INFO] [stdout] --> src/main.rs:30:26
[INFO] [stdout] |
[INFO] [stdout] 30 | keybdinput.wVk = VK_ESCAPE as WORD;
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope
[INFO] [stdout] --> src/main.rs:30:39
[INFO] [stdout] |
[INFO] [stdout] 30 | keybdinput.wVk = VK_ESCAPE as WORD;
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WM_KEYUP` in this scope
[INFO] [stdout] --> src/main.rs:31:44
[INFO] [stdout] |
[INFO] [stdout] 31 | keybdinput.dwFlags = if w_param == WM_KEYUP as WPARAM || w_param == WM_SYSKEYUP as WPARAM {
[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:31:56
[INFO] [stdout] |
[INFO] [stdout] 31 | keybdinput.dwFlags = if w_param == WM_KEYUP as WPARAM || w_param == WM_SYSKEYUP as WPARAM {
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WM_SYSKEYUP` in this scope
[INFO] [stdout] --> src/main.rs:31:77
[INFO] [stdout] |
[INFO] [stdout] 31 | keybdinput.dwFlags = if w_param == WM_KEYUP as WPARAM || w_param == WM_SYSKEYUP as WPARAM {
[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:31:92
[INFO] [stdout] |
[INFO] [stdout] 31 | keybdinput.dwFlags = if w_param == WM_KEYUP as WPARAM || w_param == WM_SYSKEYUP as WPARAM {
[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:32:13
[INFO] [stdout] |
[INFO] [stdout] 32 | KEYEVENTF_KEYUP
[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:37:25
[INFO] [stdout] |
[INFO] [stdout] 37 | 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:38:20
[INFO] [stdout] |
[INFO] [stdout] 38 | type_: INPUT_KEYBOARD,
[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:42:9
[INFO] [stdout] |
[INFO] [stdout] 42 | SendInput(1, &mut input, mem::size_of::() as c_int);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `INPUT_u`
[INFO] [stdout] --> src/main.rs:27:21
[INFO] [stdout] |
[INFO] [stdout] 27 | let mut u = INPUT_u::default();
[INFO] [stdout] | ^^^^^^^ use of undeclared type `INPUT_u`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/main.rs:42:49
[INFO] [stdout] |
[INFO] [stdout] 23 | unsafe extern "system" fn callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 42 | SendInput(1, &mut input, mem::size_of::() as c_int);
[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:46:9
[INFO] [stdout] |
[INFO] [stdout] 46 | CallNextHookEx(ptr::null_mut(), 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 `SetWindowsHookExA` in this scope
[INFO] [stdout] --> src/main.rs:16:20
[INFO] [stdout] |
[INFO] [stdout] 16 | let hook = SetWindowsHookExA(WH_KEYBOARD_LL, Some(callback), ptr::null_mut(), 0);
[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:16:38
[INFO] [stdout] |
[INFO] [stdout] 16 | let hook = SetWindowsHookExA(WH_KEYBOARD_LL, Some(callback), ptr::null_mut(), 0);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageA` in this scope
[INFO] [stdout] --> src/main.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | GetMessageA(&mut msg, ptr::null_mut(), 0, 0);
[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:23:58
[INFO] [stdout] |
[INFO] [stdout] 23 | unsafe extern "system" fn callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[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:23:75
[INFO] [stdout] |
[INFO] [stdout] 23 | unsafe extern "system" fn callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[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:23:86
[INFO] [stdout] |
[INFO] [stdout] 23 | unsafe extern "system" fn callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> 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:24:35
[INFO] [stdout] |
[INFO] [stdout] 24 | let param = 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:26:27
[INFO] [stdout] |
[INFO] [stdout] 26 | if (*param).vkCode == VK_CAPITAL as DWORD {
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout] --> src/main.rs:26:41
[INFO] [stdout] |
[INFO] [stdout] 26 | if (*param).vkCode == VK_CAPITAL as DWORD {
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope
[INFO] [stdout] --> src/main.rs:30:26
[INFO] [stdout] |
[INFO] [stdout] 30 | keybdinput.wVk = VK_ESCAPE as WORD;
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope
[INFO] [stdout] --> src/main.rs:30:39
[INFO] [stdout] |
[INFO] [stdout] 30 | keybdinput.wVk = VK_ESCAPE as WORD;
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WM_KEYUP` in this scope
[INFO] [stdout] --> src/main.rs:31:44
[INFO] [stdout] |
[INFO] [stdout] 31 | keybdinput.dwFlags = if w_param == WM_KEYUP as WPARAM || w_param == WM_SYSKEYUP as WPARAM {
[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:31:56
[INFO] [stdout] |
[INFO] [stdout] 31 | keybdinput.dwFlags = if w_param == WM_KEYUP as WPARAM || w_param == WM_SYSKEYUP as WPARAM {
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WM_SYSKEYUP` in this scope
[INFO] [stdout] --> src/main.rs:31:77
[INFO] [stdout] |
[INFO] [stdout] 31 | keybdinput.dwFlags = if w_param == WM_KEYUP as WPARAM || w_param == WM_SYSKEYUP as WPARAM {
[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:31:92
[INFO] [stdout] |
[INFO] [stdout] 31 | keybdinput.dwFlags = if w_param == WM_KEYUP as WPARAM || w_param == WM_SYSKEYUP as WPARAM {
[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:32:13
[INFO] [stdout] |
[INFO] [stdout] 32 | KEYEVENTF_KEYUP
[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:37:25
[INFO] [stdout] |
[INFO] [stdout] 37 | 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:38:20
[INFO] [stdout] |
[INFO] [stdout] 38 | type_: INPUT_KEYBOARD,
[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:42:9
[INFO] [stdout] |
[INFO] [stdout] 42 | SendInput(1, &mut input, mem::size_of::() as c_int);
[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:42:49
[INFO] [stdout] |
[INFO] [stdout] 23 | unsafe extern "system" fn callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 42 | SendInput(1, &mut input, mem::size_of::() as c_int);
[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:46:9
[INFO] [stdout] |
[INFO] [stdout] 46 | CallNextHookEx(ptr::null_mut(), code, w_param, l_param)
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 26 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 26 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `escape`
[INFO] [stderr]
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "45c01b8c89f2d80e7a0eec53bd7c5b8ac15b734bd63674d88b62fc7d33e8cf8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45c01b8c89f2d80e7a0eec53bd7c5b8ac15b734bd63674d88b62fc7d33e8cf8a", kill_on_drop: false }`
[INFO] [stdout] 45c01b8c89f2d80e7a0eec53bd7c5b8ac15b734bd63674d88b62fc7d33e8cf8a