[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] testing domdir/escape against beta-2022-04-10 for beta-1.61-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomdir%2Fescape" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/domdir/escape on toolchain beta-2022-04-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-14/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b901f27a14c24e865499b6d7f583447f5fc2605cf2f4f016f3cc63a4cb4bf17a
[INFO] running `Command { std: "docker" "start" "-a" "b901f27a14c24e865499b6d7f583447f5fc2605cf2f4f016f3cc63a4cb4bf17a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b901f27a14c24e865499b6d7f583447f5fc2605cf2f4f016f3cc63a4cb4bf17a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b901f27a14c24e865499b6d7f583447f5fc2605cf2f4f016f3cc63a4cb4bf17a", kill_on_drop: false }`
[INFO] [stdout] b901f27a14c24e865499b6d7f583447f5fc2605cf2f4f016f3cc63a4cb4bf17a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a2619ee71574e992e7821539190b265b2efffb73a43482c82e894bc365bc0a65
[INFO] running `Command { std: "docker" "start" "-a" "a2619ee71574e992e7821539190b265b2efffb73a43482c82e894bc365bc0a65", kill_on_drop: false }`
[INFO] [stderr] Compiling winapi v0.3.9
[INFO] [stderr] Compiling 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: 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: 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[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] [stderr] error: could not compile `escape` due to 27 previous errors
[INFO] running `Command { std: "docker" "inspect" "a2619ee71574e992e7821539190b265b2efffb73a43482c82e894bc365bc0a65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2619ee71574e992e7821539190b265b2efffb73a43482c82e894bc365bc0a65", kill_on_drop: false }`
[INFO] [stdout] a2619ee71574e992e7821539190b265b2efffb73a43482c82e894bc365bc0a65