[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] 2b48ae3388efab0ae93786e98fe2e8f4220a31cf [INFO] checking etra0/memory-rs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetra0%2Fmemory-rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/etra0/memory-rs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-11/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f9f6e74ef7e749a9ff3ca289a29467655da0d9d76af5b686f963d28654b3aa9 [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" "6f9f6e74ef7e749a9ff3ca289a29467655da0d9d76af5b686f963d28654b3aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f9f6e74ef7e749a9ff3ca289a29467655da0d9d76af5b686f963d28654b3aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f9f6e74ef7e749a9ff3ca289a29467655da0d9d76af5b686f963d28654b3aa9", kill_on_drop: false }` [INFO] [stdout] 6f9f6e74ef7e749a9ff3ca289a29467655da0d9d76af5b686f963d28654b3aa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b247c51bb28701db338b7aeeaadf53d03f0c2d612a3a926e9187973c404c897 [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" "0b247c51bb28701db338b7aeeaadf53d03f0c2d612a3a926e9187973c404c897", kill_on_drop: false }` [INFO] [stderr] Checking memory-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/internal/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/internal/memory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::memoryapi::{VirtualProtect, VirtualQuery}; [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/internal/memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::{MEM_FREE, 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/internal/memory.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use winapi::um::winnt::MEMORY_BASIC_INFORMATION; [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/internal/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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/process.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/external/process.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/external/process.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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/external/process.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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/external/process.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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/external/process.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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/external/process.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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/external/process.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/internal/memory.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/internal/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/internal/memory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::memoryapi::{VirtualProtect, VirtualQuery}; [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/internal/memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::{MEM_FREE, 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/internal/memory.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use winapi::um::winnt::MEMORY_BASIC_INFORMATION; [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/internal/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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/process.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/external/process.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/external/process.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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/external/process.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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/external/process.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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/external/process.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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/external/process.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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/external/process.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/internal/memory.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/internal/process_info.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | 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/internal/process_info.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | 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/internal/process_info.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | 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/internal/process_info.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | 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/internal/process_info.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | 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 type `MEMORY_BASIC_INFORMATION` [INFO] [stdout] --> src/internal/memory.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | let mut information = MEMORY_BASIC_INFORMATION::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MEMORY_BASIC_INFORMATION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/internal/process_info.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | 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/internal/process_info.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | 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/internal/process_info.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | 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/internal/process_info.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | 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/internal/process_info.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | 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 type `MEMORY_BASIC_INFORMATION` [INFO] [stdout] --> src/internal/memory.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | let mut information = MEMORY_BASIC_INFORMATION::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MEMORY_BASIC_INFORMATION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/external/process.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | 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/external/process.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | 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/external/process.rs:192:62 [INFO] [stdout] | [INFO] [stdout] 192 | 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/external/process.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | 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/external/process.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | 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/external/process.rs:199:43 [INFO] [stdout] | [INFO] [stdout] 199 | 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/external/process.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | 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/external/process.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | 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/external/process.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | 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 `winapi` [INFO] [stdout] --> src/external/process.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | 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/external/process.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | 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/external/process.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | 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/external/process.rs:232:43 [INFO] [stdout] | [INFO] [stdout] 232 | 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/external/process.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | 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/external/process.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | 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/external/process.rs:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | 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/external/process.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | 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/external/process.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | 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/external/process.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | handleapi::CloseHandle(h_snap); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/internal/process_info.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub handle: HMODULE, [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/internal/memory.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | try_winapi!(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/internal/memory.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | 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/internal/memory.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | 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/internal/memory.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | try_winapi!(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/internal/memory.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | 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 `VirtualProtect` in this scope [INFO] [stdout] --> src/internal/memory.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | try_winapi!(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/internal/memory.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | 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/internal/memory.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | 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/internal/memory.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | try_winapi!(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/internal/memory.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | 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/internal/memory.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | try_winapi!(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/internal/memory.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | 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/internal/memory.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | 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/internal/memory.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | try_winapi!(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/internal/memory.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | new_function_end as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/internal/memory.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn scan_aob( [INFO] [stdout] | - help: you might be missing a type parameter: `, MEMORY_BASIC_INFORMATION` [INFO] [stdout] ... [INFO] [stdout] 208 | let size_mem_inf = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope [INFO] [stdout] --> src/internal/memory.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | try_winapi!(VirtualQuery( [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/internal/memory.rs:214:50 [INFO] [stdout] | [INFO] [stdout] 214 | (start_address + region_size) as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_FREE` in this scope [INFO] [stdout] --> src/internal/memory.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | if information.State == MEM_FREE { [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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/process.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | 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[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/external/memory.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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/external/process.rs:192:62 [INFO] [stdout] | [INFO] [stdout] 192 | 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/external/process.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/external/process.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | let mut process_entry = tlhelp32::PROCESSENTRY32::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> src/external/memory.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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/external/process.rs:199:43 [INFO] [stdout] | [INFO] [stdout] 199 | process_entry.dwSize = mem::size_of::() as u32; [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 `WriteProcessMemory` in this scope [INFO] [stdout] --> src/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/external/process.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | 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/external/process.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | 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/external/process.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | handleapi::CloseHandle(h_snap); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> src/external/memory.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/external/memory.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/external/memory.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/external/memory.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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/external/process.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | 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/external/process.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | 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 `DWORD_PTR` in this scope [INFO] [stdout] --> src/external/memory.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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/external/process.rs:232:43 [INFO] [stdout] | [INFO] [stdout] 232 | 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 `DWORD_PTR` in this scope [INFO] [stdout] --> src/external/memory.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[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/external/process.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | 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` in this scope [INFO] [stdout] --> src/external/memory.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/external/memory.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/external/memory.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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/external/process.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | let mut module_entry = tlhelp32::MODULEENTRY32::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/external/memory.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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/external/process.rs:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | module_entry.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tlhelp32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> src/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/process.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | 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[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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[E0433]: failed to resolve: use of undeclared crate or module `tlhelp32` [INFO] [stdout] --> src/external/process.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | 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[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/external/process.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | 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/external/process.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | 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/external/process.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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/external/process.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | 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/external/process.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | 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/external/process.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | 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[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/external/process.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | handleapi::CloseHandle(h_snap); [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/external/process.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | 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/external/process.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | 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/external/process.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | addr as LPCVOID, [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/internal/process_info.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub handle: HMODULE, [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/external/process.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | &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/external/process.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | 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 `VirtualProtect` in this scope [INFO] [stdout] --> src/internal/memory.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | try_winapi!(VirtualProtect( [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/external/process.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | 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/internal/memory.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | 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/external/process.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | 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/internal/memory.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | 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/external/process.rs:120:50 [INFO] [stdout] | [INFO] [stdout] 120 | (&output as *const InputType) 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/internal/memory.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | try_winapi!(VirtualProtect( [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/external/process.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | entry_point: 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/internal/memory.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | ptr 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/external/process.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | ) -> 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/internal/memory.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | try_winapi!(VirtualProtect( [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/external/process.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | 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/internal/memory.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | 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/internal/memory.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | 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/external/process.rs:190:53 [INFO] [stdout] | [INFO] [stdout] 190 | 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[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/internal/memory.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | try_winapi!(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/internal/memory.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | original_function as LPVOID, [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/external/process.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | let mut process_id: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/internal/memory.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | try_winapi!(VirtualProtect( [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/external/process.rs:228:36 [INFO] [stdout] | [INFO] [stdout] 228 | 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 `LPVOID` in this scope [INFO] [stdout] --> src/internal/memory.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | 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/internal/memory.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | 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/external/process.rs:228:72 [INFO] [stdout] | [INFO] [stdout] 228 | 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[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/internal/memory.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | try_winapi!(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/internal/memory.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | new_function_end 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/external/process.rs:229:34 [INFO] [stdout] | [INFO] [stdout] 229 | 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/external/process.rs:252:55 [INFO] [stdout] | [INFO] [stdout] 252 | 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 `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/internal/memory.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn scan_aob( [INFO] [stdout] | - help: you might be missing a type parameter: `, MEMORY_BASIC_INFORMATION` [INFO] [stdout] ... [INFO] [stdout] 208 | let size_mem_inf = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope [INFO] [stdout] --> src/internal/memory.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | try_winapi!(VirtualQuery( [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/internal/memory.rs:214:50 [INFO] [stdout] | [INFO] [stdout] 214 | (start_address + region_size) as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_FREE` in this scope [INFO] [stdout] --> src/internal/memory.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | if information.State == MEM_FREE { [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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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/external/memory.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[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/external/process.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | 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/external/process.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | 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/external/process.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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/external/process.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | 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/external/process.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | 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/external/process.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | 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/external/process.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | 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/external/process.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | 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/external/process.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | 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/external/process.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | &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/external/process.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | 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/external/process.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | 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/external/process.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | 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/external/process.rs:120:50 [INFO] [stdout] | [INFO] [stdout] 120 | (&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/external/process.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | 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/external/process.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | ) -> 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/external/process.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | 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/external/process.rs:190:53 [INFO] [stdout] | [INFO] [stdout] 190 | 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/external/process.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | 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/external/process.rs:228:36 [INFO] [stdout] | [INFO] [stdout] 228 | 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/external/process.rs:228:72 [INFO] [stdout] | [INFO] [stdout] 228 | 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/external/process.rs:229:34 [INFO] [stdout] | [INFO] [stdout] 229 | 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/external/process.rs:252:55 [INFO] [stdout] | [INFO] [stdout] 252 | break module_entry.modBaseAddr as DWORD_PTR; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 131 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, 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] [stdout] error: aborting due to 131 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0b247c51bb28701db338b7aeeaadf53d03f0c2d612a3a926e9187973c404c897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b247c51bb28701db338b7aeeaadf53d03f0c2d612a3a926e9187973c404c897", kill_on_drop: false }` [INFO] [stdout] 0b247c51bb28701db338b7aeeaadf53d03f0c2d612a3a926e9187973c404c897