[INFO] cloning repository https://github.com/etra0/memory-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/etra0/memory-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetra0%2Fmemory-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetra0%2Fmemory-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6414fa3f5ce36defd0d0fcc2fd41c41d789390d8 [INFO] checking etra0/memory-rs against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetra0%2Fmemory-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/etra0/memory-rs on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/etra0/memory-rs [INFO] finished tweaking git repo https://github.com/etra0/memory-rs [INFO] tweaked toml for git repo https://github.com/etra0/memory-rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/etra0/memory-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87387f7a95b57e67a2e0a0d0baca517a43ca9d2175f3d5ceacaf3e877dbc8e7e [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" "87387f7a95b57e67a2e0a0d0baca517a43ca9d2175f3d5ceacaf3e877dbc8e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87387f7a95b57e67a2e0a0d0baca517a43ca9d2175f3d5ceacaf3e877dbc8e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87387f7a95b57e67a2e0a0d0baca517a43ca9d2175f3d5ceacaf3e877dbc8e7e", kill_on_drop: false }` [INFO] [stdout] 87387f7a95b57e67a2e0a0d0baca517a43ca9d2175f3d5ceacaf3e877dbc8e7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e0af6cdf4cfbc63f29208c8f4ca0d059c8b803cc41e1c2ea6b664e39280fb6a [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" "5e0af6cdf4cfbc63f29208c8f4ca0d059c8b803cc41e1c2ea6b664e39280fb6a", kill_on_drop: false }` [INFO] [stderr] Checking memory-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/internal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/internal.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::memoryapi::VirtualProtect; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/internal.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::tlhelp32; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/external.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/external.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{DWORD, LPCVOID, LPVOID, PDWORD}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/external.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::memoryapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/external.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::{HANDLE, MEM_COMMIT, MEM_RESERVE, PAGE_EXECUTE_READWRITE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{LPCVOID, LPVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::processthreadsapi::OpenProcess; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/internal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/internal.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::memoryapi::VirtualProtect; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/internal.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::tlhelp32; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/external.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/external.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{DWORD, LPCVOID, LPVOID, PDWORD}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/external.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::memoryapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/external.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::{HANDLE, MEM_COMMIT, MEM_RESERVE, PAGE_EXECUTE_READWRITE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{LPCVOID, LPVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::processthreadsapi::OpenProcess; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | let module = unsafe { winapi::um::libloaderapi::GetModuleHandleA(name.as_ptr()) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let process = winapi::um::processthreadsapi::GetCurrentProcess(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | let mut module_info = winapi::um::psapi::MODULEINFO::default(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | winapi::um::psapi::GetModuleInformation( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | let module = unsafe { winapi::um::libloaderapi::GetModuleHandleA(name.as_ptr()) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let process = winapi::um::processthreadsapi::GetCurrentProcess(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | let mut module_info = winapi::um::psapi::MODULEINFO::default(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | winapi::um::winnt::PROCESS_ALL_ACCESS, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | winapi::um::psapi::GetModuleInformation( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/memory/process_info.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/process/process_wrapper.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | winapi::um::winnt::PROCESS_ALL_ACCESS, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let h_snap = unsafe { tlhelp32::CreateToolhelp32Snapshot(tlhelp32::TH32CS_SNAPPROCESS, 0) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | let h_snap = unsafe { tlhelp32::CreateToolhelp32Snapshot(tlhelp32::TH32CS_SNAPPROCESS, 0) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let h_snap = unsafe { tlhelp32::CreateToolhelp32Snapshot(tlhelp32::TH32CS_SNAPPROCESS, 0) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | let h_snap = unsafe { tlhelp32::CreateToolhelp32Snapshot(tlhelp32::TH32CS_SNAPPROCESS, 0) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/process/mod.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | if h_snap == handleapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/process/mod.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | if h_snap == handleapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | let mut process_entry = tlhelp32::PROCESSENTRY32::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | let mut process_entry = tlhelp32::PROCESSENTRY32::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | process_entry.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | process_entry.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | match tlhelp32::Process32First(h_snap, &mut process_entry) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | match tlhelp32::Process32First(h_snap, &mut process_entry) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | if tlhelp32::Process32Next(h_snap, &mut process_entry) == 0 { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | if tlhelp32::Process32Next(h_snap, &mut process_entry) == 0 { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/process/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | handleapi::CloseHandle(h_snap); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/process/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | handleapi::CloseHandle(h_snap); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | tlhelp32::CreateToolhelp32Snapshot( [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | tlhelp32::CreateToolhelp32Snapshot( [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | tlhelp32::TH32CS_SNAPMODULE | tlhelp32::TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | tlhelp32::TH32CS_SNAPMODULE | tlhelp32::TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | tlhelp32::TH32CS_SNAPMODULE | tlhelp32::TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | tlhelp32::TH32CS_SNAPMODULE | tlhelp32::TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/process/mod.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | if h_snap == handleapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/process/mod.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | if h_snap == handleapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | let mut module_entry = tlhelp32::MODULEENTRY32::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | let mut module_entry = tlhelp32::MODULEENTRY32::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | module_entry.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | module_entry.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | match tlhelp32::Module32First(h_snap, &mut module_entry) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | match tlhelp32::Module32First(h_snap, &mut module_entry) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | if tlhelp32::Module32Next(h_snap, &mut module_entry) == 0 { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | if tlhelp32::Module32Next(h_snap, &mut module_entry) == 0 { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/process/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | handleapi::CloseHandle(h_snap); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/process/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | handleapi::CloseHandle(h_snap); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/memory/external.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_aob(h_process: HANDLE, ptr: DWORD_PTR, n: usize) -> Vec { [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/memory/external.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_aob(h_process: HANDLE, ptr: DWORD_PTR, n: usize) -> Vec { [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/memory/external.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/memory/external.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | ptr as LPCVOID, [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/memory/external.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | buffer.as_mut_ptr() as LPVOID, [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/memory/external.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_aob(h_process: HANDLE, ptr: DWORD_PTR, source: &Vec) -> usize { [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/memory/external.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_aob(h_process: HANDLE, ptr: DWORD_PTR, source: &Vec) -> 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/memory/external.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | let mut protection_bytes: DWORD = 0x0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/memory/external.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | VirtualProtectEx( [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/memory/external.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | c_addr as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/external.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> src/memory/external.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | &mut protection_bytes as PDWORD, [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/memory/external.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | WriteProcessMemory( [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/memory/external.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | c_addr as LPVOID, [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/memory/external.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | source[..].as_ptr() as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/memory/external.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | VirtualProtectEx( [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/memory/external.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | c_addr as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> src/memory/external.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | &mut protection_bytes as PDWORD, [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/memory/external.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn write_nops(h_process: HANDLE, ptr: DWORD_PTR, n: usize) { [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/memory/external.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn write_nops(h_process: HANDLE, ptr: DWORD_PTR, n: usize) { [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/memory/external.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn hook_function(h_process: HANDLE, to_hook: DWORD_PTR, f: DWORD_PTR, len: usize) { [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/memory/external.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn hook_function(h_process: HANDLE, to_hook: DWORD_PTR, f: DWORD_PTR, len: usize) { [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/memory/external.rs:75:64 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn hook_function(h_process: HANDLE, to_hook: DWORD_PTR, f: DWORD_PTR, len: 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/memory/external.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | let mut current_protection: DWORD = 0x0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/memory/external.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | VirtualProtectEx( [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/memory/external.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | to_hook as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/external.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> src/memory/external.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | &mut current_protection as PDWORD, [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/memory/external.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | let relative_address: DWORD = (_diff as DWORD - 5) 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/memory/external.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | let relative_address: DWORD = (_diff as DWORD - 5) 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/memory/external.rs:97:59 [INFO] [stdout] | [INFO] [stdout] 97 | let relative_address: DWORD = (_diff as DWORD - 5) 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/memory/external.rs:98:54 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn hook_function(h_process: HANDLE, to_hook: DWORD_PTR, f: DWORD_PTR, len: usize) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 98 | let relative_aob: [u8; 4] = unsafe { transmute::(relative_address.to_le()) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/memory/external.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | VirtualProtectEx( [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/memory/external.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | to_hook as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> src/memory/external.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | &mut current_protection as PDWORD, [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/memory/external.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | h_process: HANDLE, [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/memory/external.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | module_base_address: DWORD_PTR, [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/memory/external.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | entry_point: DWORD_PTR, [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/memory/external.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_aob(h_process: HANDLE, ptr: DWORD_PTR, n: usize) -> Vec { [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/memory/external.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_aob(h_process: HANDLE, ptr: DWORD_PTR, n: usize) -> Vec { [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/memory/external.rs:125:6 [INFO] [stdout] | [INFO] [stdout] 125 | ) -> DWORD_PTR { [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/memory/external.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | ReadProcessMemory( [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/memory/external.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | let mut shellcode_space: DWORD_PTR = 0x0; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/memory/external.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | ptr as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/memory/external.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | VirtualAllocEx( [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/memory/external.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | buffer.as_mut_ptr() as LPVOID, [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/memory/external.rs:137:36 [INFO] [stdout] | [INFO] [stdout] 137 | current_address as LPVOID, [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/memory/external.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_aob(h_process: HANDLE, ptr: DWORD_PTR, source: &Vec) -> usize { [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/memory/external.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_aob(h_process: HANDLE, ptr: DWORD_PTR, source: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/memory/external.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | MEM_RESERVE | MEM_COMMIT, [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/memory/external.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | let mut protection_bytes: DWORD = 0x0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/memory/external.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | MEM_RESERVE | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/memory/external.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | VirtualProtectEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/external.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | PAGE_EXECUTE_READWRITE, [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/memory/external.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | c_addr as LPVOID, [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/memory/external.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | ) as DWORD_PTR [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/external.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | VirtualProtect( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> src/memory/external.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | &mut protection_bytes as PDWORD, [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/memory/internal.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | ptr as LPVOID, [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/memory/external.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/internal.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | PAGE_EXECUTE_READWRITE, [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/memory/external.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | c_addr as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | VirtualProtect(ptr as LPVOID, size, protection_bytes, std::ptr::null_mut()); [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/memory/external.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | source[..].as_ptr() as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/memory/external.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | VirtualProtectEx( [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/memory/internal.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | VirtualProtect(ptr as LPVOID, size, protection_bytes, std::ptr::null_mut()); [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/memory/external.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | c_addr as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | VirtualProtect( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> src/memory/external.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | &mut protection_bytes as PDWORD, [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/memory/internal.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | original_function as LPVOID, [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/memory/external.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn write_nops(h_process: HANDLE, ptr: DWORD_PTR, n: usize) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/internal.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | VirtualProtect( [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/memory/internal.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | new_function_end as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/internal.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | VirtualProtect( [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/memory/internal.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | original_function as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | VirtualProtect( [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/memory/internal.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | new_function_end as LPVOID, [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/memory/process_info.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub handle: HMODULE, [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/process/process_wrapper.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | pub h_process: HANDLE, [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/process/process_wrapper.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub module_base_address: DWORD_PTR, [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/process/process_wrapper.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | OpenProcess( [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/process/process_wrapper.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write_aob(&self, ptr: DWORD_PTR, data: &Vec, absolute: bool) { [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/process/process_wrapper.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn write_nops(&self, ptr: DWORD_PTR, n: usize, absolute: bool) { [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/process/process_wrapper.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_aob(&self, ptr: DWORD_PTR, n: usize, absolute: bool) -> Vec { [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/process/process_wrapper.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn read_value(&self, ptr: DWORD_PTR, absolute: bool) -> OutputType { [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/process/process_wrapper.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/process/process_wrapper.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | addr as LPCVOID, [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/process/process_wrapper.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | &mut buffer as *mut OutputType as LPVOID, [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/process/process_wrapper.rs:101:47 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn write_value(&self, ptr: DWORD_PTR, output: InputType, absolute: bool) { [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/process/process_wrapper.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | WriteProcessMemory( [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/memory/external.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn write_nops(h_process: HANDLE, ptr: DWORD_PTR, n: 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/process/process_wrapper.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | addr as LPVOID, [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/memory/external.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn hook_function(h_process: HANDLE, to_hook: DWORD_PTR, f: DWORD_PTR, len: 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/process/process_wrapper.rs:115:50 [INFO] [stdout] | [INFO] [stdout] 115 | (&output as *const InputType) as LPVOID, [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/memory/external.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn hook_function(h_process: HANDLE, to_hook: DWORD_PTR, f: DWORD_PTR, len: usize) { [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/process/process_wrapper.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | entry_point: DWORD_PTR, [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/memory/external.rs:75:64 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn hook_function(h_process: HANDLE, to_hook: DWORD_PTR, f: DWORD_PTR, len: usize) { [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/process/process_wrapper.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> DWORD_PTR { [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/memory/external.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | let mut current_protection: DWORD = 0x0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/memory/external.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | VirtualProtectEx( [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/process/process_wrapper.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | address: DWORD_PTR, [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/memory/external.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | to_hook as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/external.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | PAGE_EXECUTE_READWRITE, [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/process/mod.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_process_id(process_name: &str) -> 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 `PDWORD` in this scope [INFO] [stdout] --> src/memory/external.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | &mut current_protection as PDWORD, [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/process/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | let mut process_id: DWORD = 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/memory/external.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | let relative_address: DWORD = (_diff as DWORD - 5) 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/process/mod.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_module_base(process_id: DWORD, module_name: &str) -> Result { [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/memory/external.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | let relative_address: DWORD = (_diff as DWORD - 5) 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/memory/external.rs:97:59 [INFO] [stdout] | [INFO] [stdout] 97 | let relative_address: DWORD = (_diff as DWORD - 5) as DWORD; [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/process/mod.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_module_base(process_id: DWORD, module_name: &str) -> 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 `DWORD` in this scope [INFO] [stdout] --> src/memory/external.rs:98:54 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn hook_function(h_process: HANDLE, to_hook: DWORD_PTR, f: DWORD_PTR, len: usize) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 98 | let relative_aob: [u8; 4] = unsafe { transmute::(relative_address.to_le()) }; [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/process/mod.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let mut module_base_address: DWORD_PTR = 0x0; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/memory/external.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | VirtualProtectEx( [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/process/mod.rs:77:59 [INFO] [stdout] | [INFO] [stdout] 77 | break module_entry.modBaseAddr as DWORD_PTR; [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/memory/external.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | to_hook as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> src/memory/external.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | &mut current_protection as PDWORD, [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/memory/external.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | h_process: HANDLE, [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/memory/external.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | module_base_address: DWORD_PTR, [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/memory/external.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | entry_point: DWORD_PTR, [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/memory/external.rs:125:6 [INFO] [stdout] | [INFO] [stdout] 125 | ) -> DWORD_PTR { [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/memory/external.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | let mut shellcode_space: DWORD_PTR = 0x0; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/memory/external.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | VirtualAllocEx( [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/memory/external.rs:137:36 [INFO] [stdout] | [INFO] [stdout] 137 | current_address as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/memory/external.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | MEM_RESERVE | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/memory/external.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | MEM_RESERVE | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/external.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | PAGE_EXECUTE_READWRITE, [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/memory/external.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | ) as DWORD_PTR [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | VirtualProtect( [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/memory/internal.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | ptr as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/internal.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | VirtualProtect(ptr as LPVOID, size, protection_bytes, std::ptr::null_mut()); [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/memory/internal.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | VirtualProtect(ptr as LPVOID, size, protection_bytes, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | VirtualProtect( [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/memory/internal.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | original_function as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/internal.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | VirtualProtect( [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/memory/internal.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | new_function_end as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/memory/internal.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | VirtualProtect( [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/memory/internal.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | original_function as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/memory/internal.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | VirtualProtect( [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/memory/internal.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | new_function_end as LPVOID, [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/memory/process_info.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub handle: HMODULE, [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/process/process_wrapper.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | pub h_process: HANDLE, [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/process/process_wrapper.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub module_base_address: DWORD_PTR, [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/process/process_wrapper.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | OpenProcess( [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/process/process_wrapper.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write_aob(&self, ptr: DWORD_PTR, data: &Vec, absolute: bool) { [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/process/process_wrapper.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn write_nops(&self, ptr: DWORD_PTR, n: usize, absolute: bool) { [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/process/process_wrapper.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_aob(&self, ptr: DWORD_PTR, n: usize, absolute: bool) -> Vec { [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/process/process_wrapper.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn read_value(&self, ptr: DWORD_PTR, absolute: bool) -> OutputType { [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/process/process_wrapper.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/process/process_wrapper.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | addr as LPCVOID, [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/process/process_wrapper.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | &mut buffer as *mut OutputType as LPVOID, [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/process/process_wrapper.rs:101:47 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn write_value(&self, ptr: DWORD_PTR, output: InputType, absolute: bool) { [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/process/process_wrapper.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | WriteProcessMemory( [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/process/process_wrapper.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | addr as LPVOID, [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/process/process_wrapper.rs:115:50 [INFO] [stdout] | [INFO] [stdout] 115 | (&output as *const InputType) as LPVOID, [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/process/process_wrapper.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | entry_point: DWORD_PTR, [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/process/process_wrapper.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> DWORD_PTR { [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/process/process_wrapper.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | address: DWORD_PTR, [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/process/mod.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_process_id(process_name: &str) -> 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 `DWORD` in this scope [INFO] [stdout] --> src/process/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | let mut process_id: DWORD = 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/process/mod.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_module_base(process_id: DWORD, module_name: &str) -> Result { [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/process/mod.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_module_base(process_id: DWORD, module_name: &str) -> 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 `DWORD_PTR` in this scope [INFO] [stdout] --> src/process/mod.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let mut module_base_address: DWORD_PTR = 0x0; [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/process/mod.rs:77:59 [INFO] [stdout] | [INFO] [stdout] 77 | break module_entry.modBaseAddr as DWORD_PTR; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 125 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 125 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `memory-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5e0af6cdf4cfbc63f29208c8f4ca0d059c8b803cc41e1c2ea6b664e39280fb6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e0af6cdf4cfbc63f29208c8f4ca0d059c8b803cc41e1c2ea6b664e39280fb6a", kill_on_drop: false }` [INFO] [stdout] 5e0af6cdf4cfbc63f29208c8f4ca0d059c8b803cc41e1c2ea6b664e39280fb6a