[INFO] cloning repository https://github.com/ssaavedra/kill_gta5_when_closed_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ssaavedra/kill_gta5_when_closed_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssaavedra%2Fkill_gta5_when_closed_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssaavedra%2Fkill_gta5_when_closed_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f08f0b13b07765c8fed05f9019ff819ad7ec28dc [INFO] testing ssaavedra/kill_gta5_when_closed_rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssaavedra%2Fkill_gta5_when_closed_rs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ssaavedra/kill_gta5_when_closed_rs 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/ssaavedra/kill_gta5_when_closed_rs [INFO] finished tweaking git repo https://github.com/ssaavedra/kill_gta5_when_closed_rs [INFO] tweaked toml for git repo https://github.com/ssaavedra/kill_gta5_when_closed_rs written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/ssaavedra/kill_gta5_when_closed_rs 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] Downloading crates ... [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded unicode-segmentation v1.7.1 [INFO] [stderr] Downloaded os_str_bytes v2.4.0 [INFO] [stderr] Downloaded clap v3.0.0-beta.2 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.2 [INFO] [stderr] Downloaded winres v0.1.11 [INFO] [stderr] Downloaded textwrap v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 27e4ed743f222c657de60490215bbe86edc11e0e7406f574ca3b4d8a69bec29d [INFO] running `Command { std: "docker" "start" "-a" "27e4ed743f222c657de60490215bbe86edc11e0e7406f574ca3b4d8a69bec29d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27e4ed743f222c657de60490215bbe86edc11e0e7406f574ca3b4d8a69bec29d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e4ed743f222c657de60490215bbe86edc11e0e7406f574ca3b4d8a69bec29d", kill_on_drop: false }` [INFO] [stdout] 27e4ed743f222c657de60490215bbe86edc11e0e7406f574ca3b4d8a69bec29d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] [stdout] 2652af797906630c4b5631ddae29a00bb691075f1a90e32721eade91094b7a8a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2652af797906630c4b5631ddae29a00bb691075f1a90e32721eade91094b7a8a", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling winres v0.1.11 [INFO] [stderr] Compiling kill_gta5_when_closed_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/processes.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{DWORD, FALSE, HMODULE}; [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/processes.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::psapi::{EnumProcessModules, GetModuleBaseNameA}; [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/processes.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::HANDLE; [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/processes.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::PROCESS_QUERY_INFORMATION; [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/processes.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winnt::PROCESS_TERMINATE; [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/processes.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::PROCESS_VM_READ; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/raw/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ntdef::HANDLE; [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/raw/process.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::handleapi::CloseHandle; [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/raw/process.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::processthreadsapi::{OpenProcess, TerminateProcess}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/raw/window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{minwindef::LPARAM, windef::HWND}; [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/raw/window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/raw/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_uint; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/processes.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | h_wnd: winapi::shared::windef::HWND, [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/processes.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | winapi::um::psapi::EnumProcesses( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/processes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> src/processes.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | let access_rights = PROCESS_QUERY_INFORMATION | PROCESS_VM_READ | PROCESS_TERMINATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> src/processes.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | let access_rights = PROCESS_QUERY_INFORMATION | PROCESS_VM_READ | PROCESS_TERMINATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_TERMINATE` in this scope [INFO] [stdout] --> src/processes.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | let access_rights = PROCESS_QUERY_INFORMATION | PROCESS_VM_READ | PROCESS_TERMINATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/processes.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_name(process_handle: HANDLE) -> io::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/processes.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 34 | impl NamedProcess { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 59 | let mut module = MaybeUninit::::uninit(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> src/processes.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/processes.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 34 | impl NamedProcess { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 65 | mem::size_of::() as u32, [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/processes.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | } == FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameA` in this scope [INFO] [stdout] --> src/processes.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | GetModuleBaseNameA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/processes.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn enum_proc () -> io::Result> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 114 | let mut pids = Vec::::with_capacity(1024); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/processes.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn enum_proc () -> io::Result> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 120 | (pids.capacity() * mem::size_of::()) as u32, [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/processes.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | } == FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/processes.rs:128:48 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn enum_proc () -> io::Result> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 128 | let count = size as usize / mem::size_of::(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/raw/process.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn open(pid: u32, access_rights: u32) -> io::Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/raw/process.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | let result = unsafe { OpenProcess(access_rights, 0, pid) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/raw/process.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn close(process: HANDLE) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/raw/process.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let result = unsafe { CloseHandle(process) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/raw/process.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn terminate(process: HANDLE, code: c_uint) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateProcess` in this scope [INFO] [stdout] --> src/raw/process.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | if unsafe { TerminateProcess(process, code) } != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/raw/window.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_text(window: HWND) -> io::Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/raw/window.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let writ_chars = unsafe { GetWindowTextW(window, buff.as_mut_ptr(), BUF_SIZE as i32) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/raw/window.rs:36:64 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe extern "system" fn callback_enum_windows_until i32>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/raw/window.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | window: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/raw/window.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/raw/window.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn enum_by_until i32>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/raw/window.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn enum_by_until i32>( [INFO] [stdout] | - help: you might be missing a type parameter: `, HWND` [INFO] [stdout] 60 | parent: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/raw/window.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | let lparam = &mut cmp_func as *mut _ as LPARAM; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastErrorEx` in this scope [INFO] [stdout] --> src/raw/window.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe { SetLastErrorEx(0, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumChildWindows` in this scope [INFO] [stdout] --> src/raw/window.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | EnumChildWindows( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/raw/window.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | result = unsafe { EnumWindows(Some(callback_enum_windows_until::), lparam) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/raw/window.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_by_pid(pid: u32) -> io::Result> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/raw/window.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_by_pid(pid: u32) -> io::Result> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 107 | let mut found_window: Option = None; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/raw/window.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | let res = enum_by_until(None, |handle: HWND| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/raw/window.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_thread_process_id(window: HWND) -> (u32, u32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/raw/window.rs:137:31 [INFO] [stdout] | [INFO] [stdout] 137 | let thread_pid = unsafe { GetWindowThreadProcessId(window, &mut process_pid) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `raw_os_error` found for struct `std::io::Error` in the current scope [INFO] [stdout] --> src/raw/window.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(errno) = error.raw_os_error() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::io::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kill_gta5_when_closed_rs` due to 52 previous errors [INFO] running `Command { std: "docker" "inspect" "2652af797906630c4b5631ddae29a00bb691075f1a90e32721eade91094b7a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2652af797906630c4b5631ddae29a00bb691075f1a90e32721eade91094b7a8a", kill_on_drop: false }` [INFO] [stdout] 2652af797906630c4b5631ddae29a00bb691075f1a90e32721eade91094b7a8a