[INFO] cloning repository https://github.com/rupansh/csgo-external-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rupansh/csgo-external-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frupansh%2Fcsgo-external-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frupansh%2Fcsgo-external-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 745f5629a86afe06c9a9826dac08780f49b110fa [INFO] checking rupansh/csgo-external-rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frupansh%2Fcsgo-external-rust" "/workspace/builds/worker-37/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-37/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rupansh/csgo-external-rust on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rupansh/csgo-external-rust [INFO] finished tweaking git repo https://github.com/rupansh/csgo-external-rust [INFO] tweaked toml for git repo https://github.com/rupansh/csgo-external-rust written to /workspace/builds/worker-37/source/Cargo.toml [INFO] crate git repo https://github.com/rupansh/csgo-external-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 437bf0569953a59d80f79b224594ce06823b93c3dc6d0f80b20c7a26296b6721 [INFO] running `Command { std: "docker" "start" "-a" "437bf0569953a59d80f79b224594ce06823b93c3dc6d0f80b20c7a26296b6721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "437bf0569953a59d80f79b224594ce06823b93c3dc6d0f80b20c7a26296b6721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "437bf0569953a59d80f79b224594ce06823b93c3dc6d0f80b20c7a26296b6721", kill_on_drop: false }` [INFO] [stdout] 437bf0569953a59d80f79b224594ce06823b93c3dc6d0f80b20c7a26296b6721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2ff4270cbbc431c84d0242f266c9c79178d4e4b9c481feb64e5f42dd0292b85 [INFO] running `Command { std: "docker" "start" "-a" "b2ff4270cbbc431c84d0242f266c9c79178d4e4b9c481feb64e5f42dd0292b85", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling rust_csgho v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> build.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ... e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> build.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 93 | ... e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> build.rs:129:68 [INFO] [stdout] | [INFO] [stdout] 129 | Err(e) => panic!("couldn't open {}: {}", path.display(), e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> build.rs:134:72 [INFO] [stdout] | [INFO] [stdout] 134 | Err(e) => panic!("couldn't write to {}: {}", path.display(), e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::ntdef::NULL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hack.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::d3d9types::D3DVECTOR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hack.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::minwindef::{DWORD, BOOL, FALSE, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hack.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::ntdef::{NULL}; [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/hack.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::{VK_LBUTTON, VK_SPACE, GetAsyncKeyState}; [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/proc_mem.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::minwindef::{DWORD, FALSE, LPVOID, HMODULE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/proc_mem.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/proc_mem.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::ntdef::{HANDLE, NULL}; [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/proc_mem.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winnt::PROCESS_ALL_ACCESS; [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/proc_mem.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::processthreadsapi::OpenProcess; [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/proc_mem.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | 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/proc_mem.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory}; [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/proc_mem.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::psapi::{EnumProcesses, EnumProcessModulesEx, GetProcessImageFileNameW, GetModuleFileNameExW, LIST_MODULES_32BIT, LIST_MOD... [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/player_struct.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::d3d9types::D3DVECTOR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/proc_mem.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub h_process: HANDLE, [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/proc_mem.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub dw_pid: DWORD, [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/proc_mem.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub dw_protection: DWORD, [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/proc_mem.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub dw_cave_addr: DWORD, [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/proc_mem.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { CloseHandle(self.h_process) }; [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/proc_mem.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | let mut proc_list: [DWORD; 1024] = [0; 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/proc_mem.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | let mut proc_cnt: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcesses` in this scope [INFO] [stdout] --> src/proc_mem.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | if unsafe { EnumProcesses(proc_list.as_mut_ptr(), size_of::<[DWORD; 1024]>() as u32, &mut proc_cnt) == 0 } { [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/proc_mem.rs:55:70 [INFO] [stdout] | [INFO] [stdout] 49 | impl ProcMem{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 55 | if unsafe { EnumProcesses(proc_list.as_mut_ptr(), size_of::<[DWORD; 1024]>() as u32, &mut proc_cnt) == 0 } { [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/proc_mem.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let proc_h: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_list[i]) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/proc_mem.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let proc_h: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_list[i]) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/proc_mem.rs:61:55 [INFO] [stdout] | [INFO] [stdout] 61 | let proc_h: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_list[i]) }; [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/proc_mem.rs:61:75 [INFO] [stdout] | [INFO] [stdout] 61 | let proc_h: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_list[i]) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessImageFileNameW` in this scope [INFO] [stdout] --> src/proc_mem.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { GetProcessImageFileNameW(proc_h, cur_proc.as_mut_ptr(), size_of::<[DWORD; 260]>() as u32); }; [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/proc_mem.rs:62:89 [INFO] [stdout] | [INFO] [stdout] 49 | impl ProcMem{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 62 | unsafe { GetProcessImageFileNameW(proc_h, cur_proc.as_mut_ptr(), size_of::<[DWORD; 260]>() as u32); }; [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/proc_mem.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { CloseHandle(proc_h) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/proc_mem.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | self.h_process = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.dw_pid) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/proc_mem.rs:67:55 [INFO] [stdout] | [INFO] [stdout] 67 | self.h_process = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.dw_pid) }; [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/proc_mem.rs:67:75 [INFO] [stdout] | [INFO] [stdout] 67 | self.h_process = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.dw_pid) }; [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/proc_mem.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe { CloseHandle(proc_h) }; [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/proc_mem.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn module(&self, mod_name: String) -> DWORD { [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/proc_mem.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | let mut mod_list: [HMODULE; 1024] = [NULL as HMODULE; 1024]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/proc_mem.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | let mut mod_list: [HMODULE; 1024] = [NULL as HMODULE; 1024]; [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/proc_mem.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | let mut mod_list: [HMODULE; 1024] = [NULL as HMODULE; 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/proc_mem.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mod_cnt: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModulesEx` in this scope [INFO] [stdout] --> src/proc_mem.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | ... if unsafe { EnumProcessModulesEx(self.h_process, mod_list.as_mut_ptr(), size_of::<[DWORD; 1024]>() as u32, &mut mod_cnt, LIST_MODUL... [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/proc_mem.rs:82:92 [INFO] [stdout] | [INFO] [stdout] 49 | impl ProcMem{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 82 | if unsafe { EnumProcessModulesEx(self.h_process, mod_list.as_mut_ptr(), size_of::<[DWORD; 1024]>() as u32, &mut mod_cnt, LIST_MOD... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LIST_MODULES_32BIT` in this scope [INFO] [stdout] --> src/proc_mem.rs:82:130 [INFO] [stdout] | [INFO] [stdout] 82 | ...e_of::<[DWORD; 1024]>() as u32, &mut mod_cnt, LIST_MODULES_32BIT | LIST_MODULES_64BIT) == 0 } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LIST_MODULES_64BIT` in this scope [INFO] [stdout] --> src/proc_mem.rs:82:151 [INFO] [stdout] | [INFO] [stdout] 82 | ...() as u32, &mut mod_cnt, LIST_MODULES_32BIT | LIST_MODULES_64BIT) == 0 } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameExW` in this scope [INFO] [stdout] --> src/proc_mem.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | unsafe { GetModuleFileNameExW(self.h_process, mod_list[i], cur_mod.as_mut_ptr(), 260); }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/proc_mem.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | return mod_list[i] as DWORD_PTR as u32 [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/proc_mem.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn read_mem(&self, dw_addr: DWORD, res: &mut T) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> src/proc_mem.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | ... unsafe { ReadProcessMemory(self.h_process, dw_addr as usize as *mut _, res as *mut _ as LPVOID, size_of::(), NULL as *mut usize)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/proc_mem.rs:100:97 [INFO] [stdout] | [INFO] [stdout] 100 | ... unsafe { ReadProcessMemory(self.h_process, dw_addr as usize as *mut _, res as *mut _ as LPVOID, size_of::(), NULL as *mut usize)... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/proc_mem.rs:100:121 [INFO] [stdout] | [INFO] [stdout] 100 | ... as *mut _, res as *mut _ as LPVOID, size_of::(), NULL as *mut usize); }; [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/proc_mem.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn write_mem(&self, dw_addr: DWORD, value: &mut T) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/proc_mem.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | ... unsafe { WriteProcessMemory(self.h_process, dw_addr as usize as *mut _, value as *mut _ as LPVOID, size_of::(), NULL as *mut usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/proc_mem.rs:104:100 [INFO] [stdout] | [INFO] [stdout] 104 | ... unsafe { WriteProcessMemory(self.h_process, dw_addr as usize as *mut _, value as *mut _ as LPVOID, size_of::(), NULL as *mut usi... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/proc_mem.rs:104:124 [INFO] [stdout] | [INFO] [stdout] 104 | ...s *mut _, value as *mut _ as LPVOID, size_of::(), NULL as *mut usize); }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub m_vecViewOffset: D3DVECTOR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub m_vecVelocity: D3DVECTOR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | pub m_vecOrigin: D3DVECTOR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | pub m_aimPunchAngle: D3DVECTOR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | m_vecViewOffset: D3DVECTOR {x: 0.0, y: 0.0, z: 0.0}, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | m_vecVelocity: D3DVECTOR {x: 0.0, y: 0.0, z: 0.0}, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | m_vecOrigin: D3DVECTOR {x: 0.0, y: 0.0, z: 0.0}, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | m_aimPunchAngle: D3DVECTOR {x: 0.0, y: 0.0, z: 0.0}, [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/hack.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Entity { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 34 | pub entity: Option, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/hack.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let mut dormant: BOOL = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/hack.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | let mut dormant: BOOL = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/hack.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 48 | impl Entity { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 52 | process_mem.read_mem::(entity + OFFSETS_SIG.get(&"m_bDormant").cloned().unwrap(), &mut dormant); [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/hack.rs:53:93 [INFO] [stdout] | [INFO] [stdout] 53 | self.valid = self.player.m_iHealth > 0 && self.player.m_iHealth < 101 && dormant == FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:56:72 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_bone_pos(&mut self, process_mem: &ProcMem, bone_id: u32) -> D3DVECTOR { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let mut retval = D3DVECTOR { x: 0.0, y: 0.0, z: 0.0 }; [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/hack.rs:59:52 [INFO] [stdout] | [INFO] [stdout] 59 | process_mem.read_mem::(bone_matrix as DWORD + 0x30 * bone_id + 0x0C, &mut retval.x); [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/hack.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | process_mem.read_mem::(bone_matrix as DWORD + 0x30 * bone_id + 0x1C, &mut retval.y); [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/hack.rs:61:52 [INFO] [stdout] | [INFO] [stdout] 61 | process_mem.read_mem::(bone_matrix as DWORD + 0x30 * bone_id + 0x2C, &mut retval.z); [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/hack.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_entity(&mut self, game_module: DWORD, process_mem: &ProcMem, idx: u32) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let mut entity = NULL as DWORD; [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/hack.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let mut entity = NULL as DWORD; [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/hack.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 48 | impl Entity { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 67 | process_mem.read_mem::(game_module + OFFSETS_SIG.get(&"dwEntityList").cloned().unwrap() + idx*0x10, &mut entity); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | if entity != NULL as DWORD { [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/hack.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | if entity != NULL as DWORD { [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/hack.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | pub game_module: DWORD, [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/hack.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | pub client_state: DWORD, [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/hack.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub local_entity: DWORD, [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/hack.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 84 | impl Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 85 | fn set_local_player(&mut self) { [INFO] [stdout] 86 | self.process_mem.read_mem::(self.game_module + OFFSETS_SIG.get(&"dwLocalPlayer").cloned().unwrap(), &mut self.local_entity); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | if self.local_entity != NULL as DWORD { [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/hack.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | if self.local_entity != NULL as DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:92:53 [INFO] [stdout] | [INFO] [stdout] 92 | fn local_set_view_angle(&self, view_angle: &mut D3DVECTOR) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 84 | impl Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 93 | self.process_mem.write_mem::(self.client_state + OFFSETS_SIG.get(&"dwClientState_ViewAngles").cloned().unwrap(), view_... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | while self.local_entity == NULL as DWORD { [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/hack.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | while self.local_entity == NULL as DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | let mut glow_model = NULL as DWORD; [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/hack.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | let mut glow_model = NULL as DWORD; [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/hack.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 84 | impl Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 108 | self.process_mem.read_mem::(self.game_module + OFFSETS_SIG.get(&"dwGlowObjectManager").cloned().unwrap(), &mut glow_model); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/hack.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | if unsafe { GetAsyncKeyState(VK_LBUTTON) != 0 } && !player.entity.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LBUTTON` in this scope [INFO] [stdout] --> src/hack.rs:175:38 [INFO] [stdout] | [INFO] [stdout] 175 | if unsafe { GetAsyncKeyState(VK_LBUTTON) != 0 } && !player.entity.is_none() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | let my_pos = D3DVECTOR { x: origin.x + view_offset.x, y: origin.y + view_offset.y, z: origin.z + view_offset.z }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | let del = D3DVECTOR { x: player_head.x - my_pos.x, y: player_head.y - my_pos.y, z: player_head.z - my_pos.z }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | ... let mut aim_angle = D3DVECTOR { x: -(del.z / vec_l).asin() * (180.0 / std::f32::consts::PI), y: (del.y).atan2(del.x) * (180.0 / std... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/hack.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | if unsafe { GetAsyncKeyState(VK_SPACE) != 0 } && self.local_entity != NULL as DWORD && self.local_player.m_fFlags == 257 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SPACE` in this scope [INFO] [stdout] --> src/hack.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | if unsafe { GetAsyncKeyState(VK_SPACE) != 0 } && self.local_entity != NULL as DWORD && self.local_player.m_fFlags == 257 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:212:79 [INFO] [stdout] | [INFO] [stdout] 212 | if unsafe { GetAsyncKeyState(VK_SPACE) != 0 } && self.local_entity != NULL as DWORD && self.local_player.m_fFlags == 257 { [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/hack.rs:212:87 [INFO] [stdout] | [INFO] [stdout] 212 | if unsafe { GetAsyncKeyState(VK_SPACE) != 0 } && self.local_entity != NULL as DWORD && self.local_player.m_fFlags == 257 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/main.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | game_module: NULL as DWORD, [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/main.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | game_module: NULL as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/main.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | client_state: NULL as DWORD, [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/main.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | client_state: NULL as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/main.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | h_process: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/main.rs:53:42 [INFO] [stdout] | [INFO] [stdout] 53 | hack_vars.game_module = game_hmod as DWORD_PTR as u32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/main.rs:55:76 [INFO] [stdout] | [INFO] [stdout] 55 | let engine = hack_vars.process_mem.module("engine.dll".to_string()) as DWORD_PTR as u32; [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/main.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | hack_vars.process_mem.read_mem::(engine + OFFSETS_SIG.get(&"dwClientState").cloned().unwrap(), &mut hack_vars.client_state); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/hack.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | return Entity { entity: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::ntdef::NULL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hack.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::d3d9types::D3DVECTOR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hack.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::minwindef::{DWORD, BOOL, FALSE, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hack.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::ntdef::{NULL}; [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/hack.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::{VK_LBUTTON, VK_SPACE, GetAsyncKeyState}; [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/proc_mem.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::minwindef::{DWORD, FALSE, LPVOID, HMODULE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/proc_mem.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/proc_mem.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::ntdef::{HANDLE, NULL}; [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/proc_mem.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winnt::PROCESS_ALL_ACCESS; [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/proc_mem.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::processthreadsapi::OpenProcess; [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/proc_mem.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | 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/proc_mem.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory}; [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/proc_mem.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::psapi::{EnumProcesses, EnumProcessModulesEx, GetProcessImageFileNameW, GetModuleFileNameExW, LIST_MODULES_32BIT, LIST_MOD... [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/player_struct.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::d3d9types::D3DVECTOR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 110 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_csgho` due to 111 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/proc_mem.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub h_process: HANDLE, [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/proc_mem.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub dw_pid: DWORD, [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/proc_mem.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub dw_protection: DWORD, [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/proc_mem.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub dw_cave_addr: DWORD, [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/proc_mem.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { CloseHandle(self.h_process) }; [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/proc_mem.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | let mut proc_list: [DWORD; 1024] = [0; 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/proc_mem.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | let mut proc_cnt: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcesses` in this scope [INFO] [stdout] --> src/proc_mem.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | if unsafe { EnumProcesses(proc_list.as_mut_ptr(), size_of::<[DWORD; 1024]>() as u32, &mut proc_cnt) == 0 } { [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/proc_mem.rs:55:70 [INFO] [stdout] | [INFO] [stdout] 49 | impl ProcMem{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 55 | if unsafe { EnumProcesses(proc_list.as_mut_ptr(), size_of::<[DWORD; 1024]>() as u32, &mut proc_cnt) == 0 } { [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/proc_mem.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let proc_h: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_list[i]) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/proc_mem.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let proc_h: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_list[i]) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/proc_mem.rs:61:55 [INFO] [stdout] | [INFO] [stdout] 61 | let proc_h: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_list[i]) }; [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/proc_mem.rs:61:75 [INFO] [stdout] | [INFO] [stdout] 61 | let proc_h: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_list[i]) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessImageFileNameW` in this scope [INFO] [stdout] --> src/proc_mem.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { GetProcessImageFileNameW(proc_h, cur_proc.as_mut_ptr(), size_of::<[DWORD; 260]>() as u32); }; [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/proc_mem.rs:62:89 [INFO] [stdout] | [INFO] [stdout] 49 | impl ProcMem{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 62 | unsafe { GetProcessImageFileNameW(proc_h, cur_proc.as_mut_ptr(), size_of::<[DWORD; 260]>() as u32); }; [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/proc_mem.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { CloseHandle(proc_h) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/proc_mem.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | self.h_process = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.dw_pid) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/proc_mem.rs:67:55 [INFO] [stdout] | [INFO] [stdout] 67 | self.h_process = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.dw_pid) }; [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/proc_mem.rs:67:75 [INFO] [stdout] | [INFO] [stdout] 67 | self.h_process = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.dw_pid) }; [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/proc_mem.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe { CloseHandle(proc_h) }; [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/proc_mem.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn module(&self, mod_name: String) -> DWORD { [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/proc_mem.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | let mut mod_list: [HMODULE; 1024] = [NULL as HMODULE; 1024]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/proc_mem.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | let mut mod_list: [HMODULE; 1024] = [NULL as HMODULE; 1024]; [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/proc_mem.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | let mut mod_list: [HMODULE; 1024] = [NULL as HMODULE; 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/proc_mem.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mod_cnt: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModulesEx` in this scope [INFO] [stdout] --> src/proc_mem.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | ... if unsafe { EnumProcessModulesEx(self.h_process, mod_list.as_mut_ptr(), size_of::<[DWORD; 1024]>() as u32, &mut mod_cnt, LIST_MODUL... [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/proc_mem.rs:82:92 [INFO] [stdout] | [INFO] [stdout] 49 | impl ProcMem{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 82 | if unsafe { EnumProcessModulesEx(self.h_process, mod_list.as_mut_ptr(), size_of::<[DWORD; 1024]>() as u32, &mut mod_cnt, LIST_MOD... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LIST_MODULES_32BIT` in this scope [INFO] [stdout] --> src/proc_mem.rs:82:130 [INFO] [stdout] | [INFO] [stdout] 82 | ...e_of::<[DWORD; 1024]>() as u32, &mut mod_cnt, LIST_MODULES_32BIT | LIST_MODULES_64BIT) == 0 } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LIST_MODULES_64BIT` in this scope [INFO] [stdout] --> src/proc_mem.rs:82:151 [INFO] [stdout] | [INFO] [stdout] 82 | ...() as u32, &mut mod_cnt, LIST_MODULES_32BIT | LIST_MODULES_64BIT) == 0 } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameExW` in this scope [INFO] [stdout] --> src/proc_mem.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | unsafe { GetModuleFileNameExW(self.h_process, mod_list[i], cur_mod.as_mut_ptr(), 260); }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/proc_mem.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | return mod_list[i] as DWORD_PTR as u32 [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/proc_mem.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn read_mem(&self, dw_addr: DWORD, res: &mut T) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> src/proc_mem.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | ... unsafe { ReadProcessMemory(self.h_process, dw_addr as usize as *mut _, res as *mut _ as LPVOID, size_of::(), NULL as *mut usize)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/proc_mem.rs:100:97 [INFO] [stdout] | [INFO] [stdout] 100 | ... unsafe { ReadProcessMemory(self.h_process, dw_addr as usize as *mut _, res as *mut _ as LPVOID, size_of::(), NULL as *mut usize)... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/proc_mem.rs:100:121 [INFO] [stdout] | [INFO] [stdout] 100 | ... as *mut _, res as *mut _ as LPVOID, size_of::(), NULL as *mut usize); }; [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/proc_mem.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn write_mem(&self, dw_addr: DWORD, value: &mut T) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/proc_mem.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | ... unsafe { WriteProcessMemory(self.h_process, dw_addr as usize as *mut _, value as *mut _ as LPVOID, size_of::(), NULL as *mut usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/proc_mem.rs:104:100 [INFO] [stdout] | [INFO] [stdout] 104 | ... unsafe { WriteProcessMemory(self.h_process, dw_addr as usize as *mut _, value as *mut _ as LPVOID, size_of::(), NULL as *mut usi... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/proc_mem.rs:104:124 [INFO] [stdout] | [INFO] [stdout] 104 | ...s *mut _, value as *mut _ as LPVOID, size_of::(), NULL as *mut usize); }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub m_vecViewOffset: D3DVECTOR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub m_vecVelocity: D3DVECTOR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | pub m_vecOrigin: D3DVECTOR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | pub m_aimPunchAngle: D3DVECTOR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | m_vecViewOffset: D3DVECTOR {x: 0.0, y: 0.0, z: 0.0}, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | m_vecVelocity: D3DVECTOR {x: 0.0, y: 0.0, z: 0.0}, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | m_vecOrigin: D3DVECTOR {x: 0.0, y: 0.0, z: 0.0}, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/player_struct.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | m_aimPunchAngle: D3DVECTOR {x: 0.0, y: 0.0, z: 0.0}, [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/hack.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Entity { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 34 | pub entity: Option, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/hack.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let mut dormant: BOOL = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/hack.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | let mut dormant: BOOL = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/hack.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 48 | impl Entity { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 52 | process_mem.read_mem::(entity + OFFSETS_SIG.get(&"m_bDormant").cloned().unwrap(), &mut dormant); [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/hack.rs:53:93 [INFO] [stdout] | [INFO] [stdout] 53 | self.valid = self.player.m_iHealth > 0 && self.player.m_iHealth < 101 && dormant == FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:56:72 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_bone_pos(&mut self, process_mem: &ProcMem, bone_id: u32) -> D3DVECTOR { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let mut retval = D3DVECTOR { x: 0.0, y: 0.0, z: 0.0 }; [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/hack.rs:59:52 [INFO] [stdout] | [INFO] [stdout] 59 | process_mem.read_mem::(bone_matrix as DWORD + 0x30 * bone_id + 0x0C, &mut retval.x); [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/hack.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | process_mem.read_mem::(bone_matrix as DWORD + 0x30 * bone_id + 0x1C, &mut retval.y); [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/hack.rs:61:52 [INFO] [stdout] | [INFO] [stdout] 61 | process_mem.read_mem::(bone_matrix as DWORD + 0x30 * bone_id + 0x2C, &mut retval.z); [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/hack.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_entity(&mut self, game_module: DWORD, process_mem: &ProcMem, idx: u32) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let mut entity = NULL as DWORD; [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/hack.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let mut entity = NULL as DWORD; [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/hack.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 48 | impl Entity { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 67 | process_mem.read_mem::(game_module + OFFSETS_SIG.get(&"dwEntityList").cloned().unwrap() + idx*0x10, &mut entity); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | if entity != NULL as DWORD { [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/hack.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | if entity != NULL as DWORD { [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/hack.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | pub game_module: DWORD, [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/hack.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | pub client_state: DWORD, [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/hack.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub local_entity: DWORD, [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/hack.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 84 | impl Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 85 | fn set_local_player(&mut self) { [INFO] [stdout] 86 | self.process_mem.read_mem::(self.game_module + OFFSETS_SIG.get(&"dwLocalPlayer").cloned().unwrap(), &mut self.local_entity); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | if self.local_entity != NULL as DWORD { [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/hack.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | if self.local_entity != NULL as DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:92:53 [INFO] [stdout] | [INFO] [stdout] 92 | fn local_set_view_angle(&self, view_angle: &mut D3DVECTOR) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 84 | impl Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 93 | self.process_mem.write_mem::(self.client_state + OFFSETS_SIG.get(&"dwClientState_ViewAngles").cloned().unwrap(), view_... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | while self.local_entity == NULL as DWORD { [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/hack.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | while self.local_entity == NULL as DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | let mut glow_model = NULL as DWORD; [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/hack.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | let mut glow_model = NULL as DWORD; [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/hack.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 84 | impl Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 108 | self.process_mem.read_mem::(self.game_module + OFFSETS_SIG.get(&"dwGlowObjectManager").cloned().unwrap(), &mut glow_model); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/hack.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | if unsafe { GetAsyncKeyState(VK_LBUTTON) != 0 } && !player.entity.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LBUTTON` in this scope [INFO] [stdout] --> src/hack.rs:175:38 [INFO] [stdout] | [INFO] [stdout] 175 | if unsafe { GetAsyncKeyState(VK_LBUTTON) != 0 } && !player.entity.is_none() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | let my_pos = D3DVECTOR { x: origin.x + view_offset.x, y: origin.y + view_offset.y, z: origin.z + view_offset.z }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | let del = D3DVECTOR { x: player_head.x - my_pos.x, y: player_head.y - my_pos.y, z: player_head.z - my_pos.z }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DVECTOR` in this scope [INFO] [stdout] --> src/hack.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | ... let mut aim_angle = D3DVECTOR { x: -(del.z / vec_l).asin() * (180.0 / std::f32::consts::PI), y: (del.y).atan2(del.x) * (180.0 / std... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/hack.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | if unsafe { GetAsyncKeyState(VK_SPACE) != 0 } && self.local_entity != NULL as DWORD && self.local_player.m_fFlags == 257 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SPACE` in this scope [INFO] [stdout] --> src/hack.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | if unsafe { GetAsyncKeyState(VK_SPACE) != 0 } && self.local_entity != NULL as DWORD && self.local_player.m_fFlags == 257 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hack.rs:212:79 [INFO] [stdout] | [INFO] [stdout] 212 | if unsafe { GetAsyncKeyState(VK_SPACE) != 0 } && self.local_entity != NULL as DWORD && self.local_player.m_fFlags == 257 { [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/hack.rs:212:87 [INFO] [stdout] | [INFO] [stdout] 212 | if unsafe { GetAsyncKeyState(VK_SPACE) != 0 } && self.local_entity != NULL as DWORD && self.local_player.m_fFlags == 257 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/main.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | game_module: NULL as DWORD, [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/main.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | game_module: NULL as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/main.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | client_state: NULL as DWORD, [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/main.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | client_state: NULL as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/main.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | h_process: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/main.rs:53:42 [INFO] [stdout] | [INFO] [stdout] 53 | hack_vars.game_module = game_hmod as DWORD_PTR as u32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/main.rs:55:76 [INFO] [stdout] | [INFO] [stdout] 55 | let engine = hack_vars.process_mem.module("engine.dll".to_string()) as DWORD_PTR as u32; [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/main.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | hack_vars.process_mem.read_mem::(engine + OFFSETS_SIG.get(&"dwClientState").cloned().unwrap(), &mut hack_vars.client_state); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/hack.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | return Entity { entity: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 110 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b2ff4270cbbc431c84d0242f266c9c79178d4e4b9c481feb64e5f42dd0292b85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2ff4270cbbc431c84d0242f266c9c79178d4e4b9c481feb64e5f42dd0292b85", kill_on_drop: false }` [INFO] [stdout] b2ff4270cbbc431c84d0242f266c9c79178d4e4b9c481feb64e5f42dd0292b85