[INFO] cloning repository https://github.com/2vg/enter-the-end
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2vg/enter-the-end" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2vg%2Fenter-the-end", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2vg%2Fenter-the-end'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 239305d39ff7084fa5fb90adc010a97a815cde58
[INFO] testing 2vg/enter-the-end against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2vg%2Fenter-the-end" "/workspace/builds/worker-81/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-81/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/2vg/enter-the-end on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/2vg/enter-the-end
[INFO] finished tweaking git repo https://github.com/2vg/enter-the-end
[INFO] tweaked toml for git repo https://github.com/2vg/enter-the-end written to /workspace/builds/worker-81/source/Cargo.toml
[INFO] crate git repo https://github.com/2vg/enter-the-end already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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 utf16_literal v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62080e6f8fa0dafac0d7effef3222a63ea7358fc7e17cb2fbcae6baf96879172
[INFO] running `Command { std: "docker" "start" "-a" "62080e6f8fa0dafac0d7effef3222a63ea7358fc7e17cb2fbcae6baf96879172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62080e6f8fa0dafac0d7effef3222a63ea7358fc7e17cb2fbcae6baf96879172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62080e6f8fa0dafac0d7effef3222a63ea7358fc7e17cb2fbcae6baf96879172", kill_on_drop: false }`
[INFO] [stdout] 62080e6f8fa0dafac0d7effef3222a63ea7358fc7e17cb2fbcae6baf96879172
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aa53d4137bae817fb75978561b340e05f2e035644952a6bf9ec3d18bd0c8dcfe
[INFO] running `Command { std: "docker" "start" "-a" "aa53d4137bae817fb75978561b340e05f2e035644952a6bf9ec3d18bd0c8dcfe", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling anyhow v1.0.42
[INFO] [stderr]    Compiling utf16_literal v0.2.1
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling enter-the-end v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     shared::{
[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:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     um::{
[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:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     ctypes::c_int,
[INFO] [stdout]   |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SE_SHUTDOWN_NAME` in this scope
[INFO] [stdout]   --> src/main.rs:33:27
[INFO] [stdout]    |
[INFO] [stdout] 33 |     if !enable_privileges(SE_SHUTDOWN_NAME.to_string().as_mut_ptr() as _, true) {
[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:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |             if unsafe { GetAsyncKeyState(i) == -32767 } {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_RETURN` in this scope
[INFO] [stdout]   --> src/main.rs:44:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 if i == VK_RETURN {
[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:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         MessageBoxW(
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPTSTR` in this scope
[INFO] [stdout]   --> src/main.rs:70:41
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn enable_privileges(lp_privilege_name: LPTSTR, enable: bool) -> bool {
[INFO] [stdout]    |                                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LUID` in this scope
[INFO] [stdout]   --> src/main.rs:73:33
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn enable_privileges(lp_privilege_name: LPTSTR, enable: bool) -> bool {
[INFO] [stdout]    |                     - help: you might be missing a type parameter: `<LUID>`
[INFO] [stdout] ...
[INFO] [stdout] 73 |         let mut luid = zeroed::<LUID>();
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TOKEN_PRIVILEGES` in this scope
[INFO] [stdout]   --> src/main.rs:74:45
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn enable_privileges(lp_privilege_name: LPTSTR, enable: bool) -> bool {
[INFO] [stdout]    |                     - help: you might be missing a type parameter: `<TOKEN_PRIVILEGES>`
[INFO] [stdout] ...
[INFO] [stdout] 74 |         let mut token_privileges = zeroed::<TOKEN_PRIVILEGES>();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope
[INFO] [stdout]   --> src/main.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |         if OpenProcessToken(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]   --> src/main.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |             GetCurrentProcess(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope
[INFO] [stdout]   --> src/main.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope
[INFO] [stdout]   --> src/main.rs:79:39
[INFO] [stdout]    |
[INFO] [stdout] 79 |             TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
[INFO] [stdout]    |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/main.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |         ) == FALSE
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueA` in this scope
[INFO] [stdout]   --> src/main.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |         if LookupPrivilegeValueA(null_mut(), lp_privilege_name, &mut luid) == TRUE {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:86:79
[INFO] [stdout]    |
[INFO] [stdout] 86 |         if LookupPrivilegeValueA(null_mut(), lp_privilege_name, &mut luid) == TRUE {
[INFO] [stdout]    |                                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SE_PRIVILEGE_ENABLED` in this scope
[INFO] [stdout]   --> src/main.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 if enable { SE_PRIVILEGE_ENABLED } else { 0 };
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustTokenPrivileges` in this scope
[INFO] [stdout]   --> src/main.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             AdjustTokenPrivileges(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/main.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 FALSE,
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:101:22
[INFO] [stdout]     |
[INFO] [stdout] 101 |             ret = if GetLastError() == ERROR_SUCCESS {
[INFO] [stdout]     |                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> src/main.rs:101:40
[INFO] [stdout]     |
[INFO] [stdout] 101 |             ret = if GetLastError() == ERROR_SUCCESS {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExitWindowsEx` in this scope
[INFO] [stdout]    --> src/main.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |     unsafe { ExitWindowsEx(EWX_SHUTDOWN | EWX_FORCE, SHTDN_REASON_MAJOR_POWER) };
[INFO] [stdout]     |              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EWX_SHUTDOWN` in this scope
[INFO] [stdout]    --> src/main.rs:113:28
[INFO] [stdout]     |
[INFO] [stdout] 113 |     unsafe { ExitWindowsEx(EWX_SHUTDOWN | EWX_FORCE, SHTDN_REASON_MAJOR_POWER) };
[INFO] [stdout]     |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EWX_FORCE` in this scope
[INFO] [stdout]    --> src/main.rs:113:43
[INFO] [stdout]     |
[INFO] [stdout] 113 |     unsafe { ExitWindowsEx(EWX_SHUTDOWN | EWX_FORCE, SHTDN_REASON_MAJOR_POWER) };
[INFO] [stdout]     |                                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SHTDN_REASON_MAJOR_POWER` in this scope
[INFO] [stdout]    --> src/main.rs:113:54
[INFO] [stdout]     |
[INFO] [stdout] 113 |     unsafe { ExitWindowsEx(EWX_SHUTDOWN | EWX_FORCE, SHTDN_REASON_MAJOR_POWER) };
[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, 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 `enter-the-end` due to 27 previous errors
[INFO] running `Command { std: "docker" "inspect" "aa53d4137bae817fb75978561b340e05f2e035644952a6bf9ec3d18bd0c8dcfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa53d4137bae817fb75978561b340e05f2e035644952a6bf9ec3d18bd0c8dcfe", kill_on_drop: false }`
[INFO] [stdout] aa53d4137bae817fb75978561b340e05f2e035644952a6bf9ec3d18bd0c8dcfe
