[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2vg%2Fenter-the-end" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2vg/enter-the-end on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-13/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ae236c505b267b26fd5cb75ef271a63de2959e51259f880f5e027b4f27b98bc0 [INFO] running `Command { std: "docker" "start" "-a" "ae236c505b267b26fd5cb75ef271a63de2959e51259f880f5e027b4f27b98bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae236c505b267b26fd5cb75ef271a63de2959e51259f880f5e027b4f27b98bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae236c505b267b26fd5cb75ef271a63de2959e51259f880f5e027b4f27b98bc0", kill_on_drop: false }` [INFO] [stdout] ae236c505b267b26fd5cb75ef271a63de2959e51259f880f5e027b4f27b98bc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 061e9d5283ebf6eb9188670b56d793f104208d01ae60c2ec6d0c1e3399f3abb0 [INFO] running `Command { std: "docker" "start" "-a" "061e9d5283ebf6eb9188670b56d793f104208d01ae60c2ec6d0c1e3399f3abb0", 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: `` [INFO] [stdout] ... [INFO] [stdout] 73 | let mut luid = zeroed::(); [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: `` [INFO] [stdout] ... [INFO] [stdout] 74 | let mut token_privileges = zeroed::(); [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[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | if rng.gen_range(0..100) < 5 { [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleUniform` found in the `rand` crate: [INFO] [stdout] - impl SampleUniform for i128; [INFO] [stdout] - impl SampleUniform for i16; [INFO] [stdout] - impl SampleUniform for i32; [INFO] [stdout] - impl SampleUniform for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.4/src/rng.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | T: SampleUniform, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `gen_range` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 45 | if ::gen_range(rng) < 5 { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 45 | if ::gen_range(rng) < 5 { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 45 | if ::gen_range(rng) < 5 { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 45 | if ::gen_range(rng) < 5 { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 10 other candidates [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 45 | if rng.gen_range::(0..100) < 5 { [INFO] [stdout] | ++++++++ [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 45 | if rng.gen_range::(0..100) < 5 { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enter-the-end` due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "061e9d5283ebf6eb9188670b56d793f104208d01ae60c2ec6d0c1e3399f3abb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "061e9d5283ebf6eb9188670b56d793f104208d01ae60c2ec6d0c1e3399f3abb0", kill_on_drop: false }` [INFO] [stdout] 061e9d5283ebf6eb9188670b56d793f104208d01ae60c2ec6d0c1e3399f3abb0