[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] bdb80910bf91d79633532b213190591d1c154b96 [INFO] checking etra0/memory-rs against master#0dce3f606e05cffab7361c132a399d3550ab0df8 for pr-78376 [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 0dce3f606e05cffab7361c132a399d3550ab0df8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9228ca080987753dbb26b7175027ed79d64533e66b1e2d013f57abd5a23f867 [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" "f9228ca080987753dbb26b7175027ed79d64533e66b1e2d013f57abd5a23f867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9228ca080987753dbb26b7175027ed79d64533e66b1e2d013f57abd5a23f867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9228ca080987753dbb26b7175027ed79d64533e66b1e2d013f57abd5a23f867", kill_on_drop: false }` [INFO] [stdout] f9228ca080987753dbb26b7175027ed79d64533e66b1e2d013f57abd5a23f867 [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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ee6fa162a29037cd4ab0369ffc8ba5aca03fe45ab321d2e8e6659a98d4ce5ac [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" "8ee6fa162a29037cd4ab0369ffc8ba5aca03fe45ab321d2e8e6659a98d4ce5ac", kill_on_drop: false }` [INFO] [stderr] Checking memory-rs v0.1.1 (/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/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/memory/process_info.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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/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/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/memory/process_info.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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/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:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | 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:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | 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:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | 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:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let result = 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:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | 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:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | 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:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | 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/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:35 [INFO] [stdout] | [INFO] [stdout] 22 | 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:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let result = 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:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | 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 `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: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:12 [INFO] [stdout] | [INFO] [stdout] 23 | if tlhelp32::Process32First(h_snap, &mut process_entry) == 1 { [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:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | 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:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | 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:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | 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:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | 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:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | 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:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | 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:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | 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:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | 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:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | if tlhelp32::Module32First(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: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 `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:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | 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:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | 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:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if tlhelp32::Process32First(h_snap, &mut process_entry) == 1 { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | 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[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: &[u8]) -> 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: &[u8]) -> 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[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/process/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | handleapi::CloseHandle(h_snap); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | tlhelp32::CreateToolhelp32Snapshot( [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | tlhelp32::TH32CS_SNAPMODULE | tlhelp32::TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | tlhelp32::TH32CS_SNAPMODULE | tlhelp32::TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/memory/external.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | h_process: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/process/mod.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | if h_snap == handleapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/memory/external.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | module_base_address: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/process/mod.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | 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:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | 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:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | if tlhelp32::Module32First(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:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | 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:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | 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: &[u8]) -> 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: &[u8]) -> 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:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | 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:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | 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:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | 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:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | ) -> 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:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | 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:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | shellcode_space = 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:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | 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:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | 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:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | 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:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | 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:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | ) 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:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | 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:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | 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:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | 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:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | 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:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | 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:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | 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:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | 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:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | 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:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | 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:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | 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:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | 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:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | 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:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | 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:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | 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:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | 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:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | 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: &[u8], 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:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | 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:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | ) -> 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:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | 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:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | 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:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | 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:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | 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:73:55 [INFO] [stdout] | [INFO] [stdout] 73 | 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 `DWORD_PTR` in this scope [INFO] [stdout] --> src/memory/external.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | 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:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | ) -> 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:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | 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:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | shellcode_space = 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:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | 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:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | 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:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | 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:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | 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:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | ) 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:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | 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:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | 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:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | 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:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | 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:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | 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:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | 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:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | 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:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | 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:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | 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:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | 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:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | 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:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | 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:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | 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:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | 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:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | 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:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | 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: &[u8], 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:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | 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:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | ) -> 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:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | 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:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | 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:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | 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:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | 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:73:55 [INFO] [stdout] | [INFO] [stdout] 73 | 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" "8ee6fa162a29037cd4ab0369ffc8ba5aca03fe45ab321d2e8e6659a98d4ce5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee6fa162a29037cd4ab0369ffc8ba5aca03fe45ab321d2e8e6659a98d4ce5ac", kill_on_drop: false }` [INFO] [stdout] 8ee6fa162a29037cd4ab0369ffc8ba5aca03fe45ab321d2e8e6659a98d4ce5ac