[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 master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegura2010%2FControlCheat" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/segura2010/ControlCheat on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysinfo v0.20.0 [INFO] [stderr] Downloaded libc v0.2.99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b01c25b7e80744f0739889a8286571fee668d02373eb904372cb42ae56aaaa78 [INFO] running `Command { std: "docker" "start" "-a" "b01c25b7e80744f0739889a8286571fee668d02373eb904372cb42ae56aaaa78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b01c25b7e80744f0739889a8286571fee668d02373eb904372cb42ae56aaaa78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b01c25b7e80744f0739889a8286571fee668d02373eb904372cb42ae56aaaa78", kill_on_drop: false }` [INFO] [stdout] b01c25b7e80744f0739889a8286571fee668d02373eb904372cb42ae56aaaa78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cb81bf9f0d865b4ee33bb2fc4923325dc6987aafb6bbcb5692d13773986e2ab [INFO] running `Command { std: "docker" "start" "-a" "5cb81bf9f0d865b4ee33bb2fc4923325dc6987aafb6bbcb5692d13773986e2ab", 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 crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [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[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: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: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: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: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: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: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/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: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/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: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: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: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: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: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: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: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/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/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: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: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: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: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: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: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: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: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/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/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/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: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: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] 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: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/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: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: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: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: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: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: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: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: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: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/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[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] help: if you import `set_hook`, refer to it directly [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] 132 + let new_original_entry_point = set_hook(healthfn_address, std::mem::transmute(health_hook as *const ()), 21); [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] help: if you import `set_hook`, refer to it directly [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] 158 + let new_original_entry_point = set_hook(energyfn_address, (decrement_energy_hook as *const ()) as usize, 13); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [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: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] [stderr] error: could not compile `control_cheat` (bin "control_cheat") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `control_cheat` (bin "control_cheat" test) due to 12 previous errors [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] help: if you import `set_hook`, refer to it directly [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] 132 + let new_original_entry_point = set_hook(healthfn_address, std::mem::transmute(health_hook as *const ()), 21); [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] help: if you import `set_hook`, refer to it directly [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] 158 + let new_original_entry_point = set_hook(energyfn_address, (decrement_energy_hook as *const ()) as usize, 13); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [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: could not compile `control_cheat` (lib test) due to 19 previous errors [INFO] [stdout] error: aborting due to 18 previous errors [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: could not compile `control_cheat` (lib) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "5cb81bf9f0d865b4ee33bb2fc4923325dc6987aafb6bbcb5692d13773986e2ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cb81bf9f0d865b4ee33bb2fc4923325dc6987aafb6bbcb5692d13773986e2ab", kill_on_drop: false }` [INFO] [stdout] 5cb81bf9f0d865b4ee33bb2fc4923325dc6987aafb6bbcb5692d13773986e2ab