[INFO] cloning repository https://github.com/segura2010/ControlCheat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/segura2010/ControlCheat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegura2010%2FControlCheat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegura2010%2FControlCheat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67fd16458a1b569c448d8554136beddc15a8b308 [INFO] testing segura2010/ControlCheat against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegura2010%2FControlCheat" "/workspace/builds/worker-80/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-80/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/segura2010/ControlCheat 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/segura2010/ControlCheat [INFO] finished tweaking git repo https://github.com/segura2010/ControlCheat [INFO] tweaked toml for git repo https://github.com/segura2010/ControlCheat written to /workspace/builds/worker-80/source/Cargo.toml [INFO] crate git repo https://github.com/segura2010/ControlCheat 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysinfo v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8c029f695a509ed85e4b76a8a9eb9304ea1e85f4bf5565157cfef0c7ef7be96 [INFO] running `Command { std: "docker" "start" "-a" "b8c029f695a509ed85e4b76a8a9eb9304ea1e85f4bf5565157cfef0c7ef7be96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8c029f695a509ed85e4b76a8a9eb9304ea1e85f4bf5565157cfef0c7ef7be96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c029f695a509ed85e4b76a8a9eb9304ea1e85f4bf5565157cfef0c7ef7be96", kill_on_drop: false }` [INFO] [stdout] b8c029f695a509ed85e4b76a8a9eb9304ea1e85f4bf5565157cfef0c7ef7be96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24b61a858a69fa0386cab37855bc1f0a4030de3db70e06cc21652d047fea5457 [INFO] running `Command { std: "docker" "start" "-a" "24b61a858a69fa0386cab37855bc1f0a4030de3db70e06cc21652d047fea5457", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling sysinfo v0.20.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling control_cheat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `Hooking` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod Hooking; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `Hooking`, create file "src/Hooking.rs" or "src/Hooking/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | winapi::um::winnt::DLL_PROCESS_ATTACH => { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | winapi::um::winnt::DLL_PROCESS_DETACH => { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | winapi::um::consoleapi::AllocConsole(); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let hProcess = winapi::um::processthreadsapi::OpenProcess(winapi::um::winnt::PROCESS_ALL_ACCESS, 1, pid) as u32; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | let main_handle = winapi::um::libloaderapi::GetModuleHandleA(game_main_module.as_ptr()) as usize; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | f1_pressed = winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_F1) & (1 << 15); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 88 | f1_pressed = winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_F1) & (1 << 15); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | f5_pressed = winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_F5) & (1 << 15); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:89:63 [INFO] [stdout] | [INFO] [stdout] 89 | f5_pressed = winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_F5) & (1 << 15); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | let hProcess = winapi::um::processthreadsapi::OpenProcess(winapi::um::winnt::PROCESS_ALL_ACCESS, 1, pid) as u32; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | f6_pressed = winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_F6) & (1 << 15); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:90:63 [INFO] [stdout] | [INFO] [stdout] 90 | f6_pressed = winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_F6) & (1 << 15); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | f7_pressed = winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_F7) & (1 << 15); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:91:63 [INFO] [stdout] | [INFO] [stdout] 91 | f7_pressed = winapi::um::winuser::GetAsyncKeyState(winapi::um::winuser::VK_F7) & (1 << 15); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | winapi::um::memoryapi::VirtualProtect(ammo_qty as _, 1, winapi::um::winnt::PAGE_EXECUTE_READWRITE, &mut old_prot); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:124:66 [INFO] [stdout] | [INFO] [stdout] 124 | winapi::um::memoryapi::VirtualProtect(ammo_qty as _, 1, winapi::um::winnt::PAGE_EXECUTE_READWRITE, &mut old_prot); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | winapi::um::memoryapi::VirtualProtect(ammo_qty as _, 1, old_prot, &mut old_prot); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | let dll_path_addr = winapi::um::memoryapi::VirtualAllocEx( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE, winapi::um::winnt::PAGE_EXECUTE_READWRITE); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE, winapi::um::winnt::PAGE_EXECUTE_READWRITE); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_hook` in module `Hooking` [INFO] [stdout] --> src/lib.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | let new_original_entry_point = Hooking::set_hook(healthfn_address, std::mem::transmute(health_hook as *const ()), 21); [INFO] [stdout] | ^^^^^^^^ not found in `Hooking` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::panic::set_hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_hook` in module `Hooking` [INFO] [stdout] --> src/lib.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | let new_original_entry_point = Hooking::set_hook(energyfn_address, (decrement_energy_hook as *const ()) as usize, 13); [INFO] [stdout] | ^^^^^^^^ not found in `Hooking` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::panic::set_hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:20:75 [INFO] [stdout] | [INFO] [stdout] 20 | winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE, winapi::um::winnt::PAGE_EXECUTE_READWRITE); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | winapi::um::memoryapi::WriteProcessMemory(hProcess as _, dll_path_addr as _, dll_path.as_ptr() as _, dll_path.len(), 0 as _); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | let kernel32_handle = winapi::um::libloaderapi::LoadLibraryA(CString::new("kernel32.dll").unwrap().as_ptr() as _); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | let loadlibrarya_addr = winapi::um::libloaderapi::GetProcAddress(kernel32_handle, CString::new("LoadLibraryA").unwrap().as_ptr() as _... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | let thread_handle = winapi::um::processthreadsapi::CreateRemoteThread(hProcess as _, 0 as _, 0 as _, Some(std::mem::transmute(loadlib... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ProcessInjection/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | winapi::um::handleapi::CloseHandle(hProcess as _); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `System` [INFO] [stdout] --> src/ProcessInjection/mod.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use sysinfo::{ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "fastcall" fn enable_infinite_health(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `control_cheat` due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "24b61a858a69fa0386cab37855bc1f0a4030de3db70e06cc21652d047fea5457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24b61a858a69fa0386cab37855bc1f0a4030de3db70e06cc21652d047fea5457", kill_on_drop: false }` [INFO] [stdout] 24b61a858a69fa0386cab37855bc1f0a4030de3db70e06cc21652d047fea5457