[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] checking segura2010/ControlCheat against try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegura2010%2FControlCheat" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/segura2010/ControlCheat on toolchain f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/segura2010/ControlCheat already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e2b2d3f2fbc6104c38bef772ed5a48c22b5e0bd70608bab64c7130134519ceb [INFO] running `Command { std: "docker" "start" "-a" "9e2b2d3f2fbc6104c38bef772ed5a48c22b5e0bd70608bab64c7130134519ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e2b2d3f2fbc6104c38bef772ed5a48c22b5e0bd70608bab64c7130134519ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2b2d3f2fbc6104c38bef772ed5a48c22b5e0bd70608bab64c7130134519ceb", kill_on_drop: false }` [INFO] [stdout] 9e2b2d3f2fbc6104c38bef772ed5a48c22b5e0bd70608bab64c7130134519ceb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f74ab51ff2da78287668f4200f1dd3b822194230b67796f097a2249f8a4f2f7b [INFO] running `Command { std: "docker" "start" "-a" "f74ab51ff2da78287668f4200f1dd3b822194230b67796f097a2249f8a4f2f7b", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [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 rayon v1.5.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling sysinfo v0.20.0 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking 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] = note: if there is a `mod Hooking` elsewhere in the crate already, import it with `use crate::...` instead [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/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/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/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/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[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/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/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: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/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/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/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[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] = note: if there is a `mod Hooking` elsewhere in the crate already, import it with `use crate::...` instead [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 _) a... [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/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(loadlibrar... [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/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] 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] 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)]` (part of `#[warn(unused)]`) on by default [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: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: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: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: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: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/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] [stderr] error: could not compile `control_cheat` (bin "control_cheat") due to 11 previous errors; 1 warning emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `control_cheat` (lib) due to 17 previous errors [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: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: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: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/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: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] For more information about this error, try `rustc --explain E0433`. [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[E0570]: "fastcall" is not a supported ABI for the current target [INFO] [stdout] --> src/lib.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "fastcall" fn enable_infinite_health(){ [INFO] [stdout] | ^^^^^^^^^^ [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/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/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/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/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[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] Some errors have detailed explanations: E0433, E0570, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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/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/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[E0570]: "fastcall" is not a supported ABI for the current target [INFO] [stdout] --> src/lib.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "fastcall" fn enable_infinite_health(){ [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: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 _) a... [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(loadlibrar... [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0570, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `control_cheat` (lib test) due to 17 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `control_cheat` (bin "control_cheat" test) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f74ab51ff2da78287668f4200f1dd3b822194230b67796f097a2249f8a4f2f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f74ab51ff2da78287668f4200f1dd3b822194230b67796f097a2249f8a4f2f7b", kill_on_drop: false }` [INFO] [stdout] f74ab51ff2da78287668f4200f1dd3b822194230b67796f097a2249f8a4f2f7b