[INFO] cloning repository https://github.com/c4fe/manualmap-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c4fe/manualmap-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4fe%2Fmanualmap-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4fe%2Fmanualmap-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e6a63b932e52e093fda7cfdd014c9b11e401f26 [INFO] checking c4fe/manualmap-rs against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4fe%2Fmanualmap-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/c4fe/manualmap-rs on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/c4fe/manualmap-rs [INFO] finished tweaking git repo https://github.com/c4fe/manualmap-rs [INFO] tweaked toml for git repo https://github.com/c4fe/manualmap-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77b35969b77bd568e57bbed9740bcdbf42699f64de6238015471334679e0f098 [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" "77b35969b77bd568e57bbed9740bcdbf42699f64de6238015471334679e0f098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77b35969b77bd568e57bbed9740bcdbf42699f64de6238015471334679e0f098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b35969b77bd568e57bbed9740bcdbf42699f64de6238015471334679e0f098", kill_on_drop: false }` [INFO] [stdout] 77b35969b77bd568e57bbed9740bcdbf42699f64de6238015471334679e0f098 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1780818d36d6093b42afdb25878f4f441b599b9b84d57a34dbb40d210445a5f [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" "e1780818d36d6093b42afdb25878f4f441b599b9b84d57a34dbb40d210445a5f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling derive_pod v0.1.0 [INFO] [stderr] Compiling pelite-macros v0.1.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking patternscan v0.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking dataview v0.1.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.2.1 [INFO] [stderr] Checking pelite v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling field-offset v0.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling dynasm v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking dynasmrt v1.0.1 [INFO] [stderr] Checking jector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::IMAGE_FILE_DLL; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/injection/loadlibrary.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::minwindef::MAX_PATH; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/injection/manualmap.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{BOOL, DWORD, HINSTANCE, LPVOID, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/injection/manualmap.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/module.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{HMODULE, LPVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/module.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/injection/manualmap.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_void as winapic_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/module.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::psapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/module.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::sysinfoapi::GetSystemDirectoryA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/module.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::LPSTR; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/module.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::psapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{HMODULE, LPCVOID, LPVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::memoryapi::{ReadProcessMemory, VirtualProtectEx, WriteProcessMemory}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::processthreadsapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::psapi::{EnumProcesses, GetModuleFileNameExA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winapiwrapper/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winnt::{self, HANDLE, IMAGE_FILE_MACHINE_UNKNOWN, LPSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::wow64apiset::IsWow64Process2; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::tlhelp32::CreateToolhelp32Snapshot; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/process.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winnt::{self, HANDLE, IMAGE_FILE_MACHINE_UNKNOWN, LPSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::tlhelp32::{self, Thread32First, Thread32Next, THREADENTRY32}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::tlhelp32::{self, Thread32First, Thread32Next, THREADENTRY32}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::TRUE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::processthreadsapi::{CreateRemoteThread, GetExitCodeThread}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::synchapi::WaitForSingleObject; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::tlhelp32::{Thread32First, Thread32Next, THREADENTRY32}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winapiwrapper/thread.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_void as winapic_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::{self, WAIT_FAILED}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/thread.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::{self, WAIT_FAILED}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{self, HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::memoryapi::{VirtualAllocEx, VirtualFreeEx}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/thread.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{self, HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::{BOOL, LPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/window.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::CHAR; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{EnumWindows, GetWindowTextA, GetWindowThreadProcessId}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::IMAGE_FILE_DLL; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/injection/loadlibrary.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::minwindef::MAX_PATH; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/injection/manualmap.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{BOOL, DWORD, HINSTANCE, LPVOID, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/injection/manualmap.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/module.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{HMODULE, LPVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/module.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/injection/manualmap.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_void as winapic_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/module.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::psapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/module.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::sysinfoapi::GetSystemDirectoryA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/module.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::LPSTR; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/module.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::psapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{HMODULE, LPCVOID, LPVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::memoryapi::{ReadProcessMemory, VirtualProtectEx, WriteProcessMemory}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::processthreadsapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::psapi::{EnumProcesses, GetModuleFileNameExA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winapiwrapper/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winnt::{self, HANDLE, IMAGE_FILE_MACHINE_UNKNOWN, LPSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::wow64apiset::IsWow64Process2; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::tlhelp32::CreateToolhelp32Snapshot; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/process.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winnt::{self, HANDLE, IMAGE_FILE_MACHINE_UNKNOWN, LPSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::tlhelp32::{self, Thread32First, Thread32Next, THREADENTRY32}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::tlhelp32::{self, Thread32First, Thread32Next, THREADENTRY32}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::TRUE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::processthreadsapi::{CreateRemoteThread, GetExitCodeThread}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::synchapi::WaitForSingleObject; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::tlhelp32::{Thread32First, Thread32Next, THREADENTRY32}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winapiwrapper/thread.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_void as winapic_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::{self, WAIT_FAILED}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/thread.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::{self, WAIT_FAILED}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{self, HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::memoryapi::{VirtualAllocEx, VirtualFreeEx}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/thread.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{self, HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::{BOOL, LPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/window.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::CHAR; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{EnumWindows, GetWindowTextA, GetWindowThreadProcessId}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `IMAGE_REL_BASED_HIGH` is not bound in all patterns [INFO] [stdout] --> src/injection/manualmap.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 117 | IMAGE_REL_BASED_HIGH | IMAGE_REL_BASED_HIGHADJ => { [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `IMAGE_REL_BASED_HIGH` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::IMAGE_REL_BASED_HIGH` [INFO] [stdout] --> src/injection/manualmap.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | IMAGE_REL_BASED_HIGH | IMAGE_REL_BASED_HIGHADJ => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `IMAGE_REL_BASED_HIGHADJ` is not bound in all patterns [INFO] [stdout] --> src/injection/manualmap.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | IMAGE_REL_BASED_HIGH | IMAGE_REL_BASED_HIGHADJ => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----------------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `IMAGE_REL_BASED_HIGHADJ` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::IMAGE_REL_BASED_HIGHADJ` [INFO] [stdout] --> src/injection/manualmap.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 117 | IMAGE_REL_BASED_HIGH | IMAGE_REL_BASED_HIGHADJ => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `IMAGE_REL_BASED_HIGH` is not bound in all patterns [INFO] [stdout] --> src/injection/manualmap.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 117 | IMAGE_REL_BASED_HIGH | IMAGE_REL_BASED_HIGHADJ => { [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `IMAGE_REL_BASED_HIGH` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::IMAGE_REL_BASED_HIGH` [INFO] [stdout] --> src/injection/manualmap.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | IMAGE_REL_BASED_HIGH | IMAGE_REL_BASED_HIGHADJ => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `IMAGE_REL_BASED_HIGHADJ` is not bound in all patterns [INFO] [stdout] --> src/injection/manualmap.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | IMAGE_REL_BASED_HIGH | IMAGE_REL_BASED_HIGHADJ => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----------------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `IMAGE_REL_BASED_HIGHADJ` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::IMAGE_REL_BASED_HIGHADJ` [INFO] [stdout] --> src/injection/manualmap.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 117 | IMAGE_REL_BASED_HIGH | IMAGE_REL_BASED_HIGHADJ => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/module.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | ensure!(!handle.is_null(), function_call_failure!("LoadLibraryA"),); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/module.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | ensure!(!addr.is_null(), function_call_failure!("GetProcAddress"),); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/module.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | ensure!(!handle.is_null(), function_call_failure!("LoadLibraryA"),); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/module.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | ensure!(ret != 0, function_call_failure!("GetModuleInformation"),); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/module.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | function_call_failure!("GetModuleFileNameExA"), [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/module.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | ensure!(!addr.is_null(), function_call_failure!("GetProcAddress"),); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/module.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | ensure!(ret != 0, function_call_failure!("EnumProcessModulesEx")); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | ensure!(!handle.is_null(), function_call_failure!("OpenProcess"),); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | ensure!(pid != 0, function_call_failure!("GetProcessId"),); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | ensure!(ret != 0, function_call_failure!("WriteProcessMemory"),); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/module.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | ensure!(ret != 0, function_call_failure!("GetModuleInformation"),); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | ensure!(ret != 0, function_call_failure!("ReadProcessMemory"),); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/module.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | function_call_failure!("GetModuleFileNameExA"), [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | ensure!(ret != 0, function_call_failure!("VirtualProtectEx"),); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | ensure!(ret != 0, function_call_failure!("IsWow64Process2"),); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | ensure!(ret != 0, function_call_failure!("CloseHandle")); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/module.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | ensure!(ret != 0, function_call_failure!("EnumProcessModulesEx")); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | ensure!(ret != 0, function_call_failure!("GetModuleFileNameExA")); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:267:27 [INFO] [stdout] | [INFO] [stdout] 267 | ensure!(ret != 0, function_call_failure!("EnumProcesses")); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | ensure!(!handle.is_null(), function_call_failure!("OpenProcess"),); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/snapshot.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | function_call_failure!("CreateToolhelp32Snapshot"), [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | ensure!(pid != 0, function_call_failure!("GetProcessId"),); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | ensure!(ret != 0, function_call_failure!("WriteProcessMemory"),); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/snapshot.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | ensure!(ret != 0, function_call_failure!("CloseHandle")); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | ensure!(ret != 0, function_call_failure!("ReadProcessMemory"),); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `THREADENTRY32` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let mut thread_entry = THREADENTRY32::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `THREADENTRY32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | ensure!(ret != 0, function_call_failure!("VirtualProtectEx"),); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | ensure!(ret != 0, function_call_failure!("IsWow64Process2"),); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | ensure!(ret != 0, function_call_failure!("CloseHandle")); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/thread.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | function_call_failure!("CreateRemoteThread"), [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | ensure!(ret != 0, function_call_failure!("GetModuleFileNameExA")); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/process.rs:267:27 [INFO] [stdout] | [INFO] [stdout] 267 | ensure!(ret != 0, function_call_failure!("EnumProcesses")); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/thread.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | ensure!(ret != 0, function_call_failure!("GetExitCodeThread"),); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/snapshot.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | function_call_failure!("CreateToolhelp32Snapshot"), [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/snapshot.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | ensure!(ret != 0, function_call_failure!("CloseHandle")); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/thread.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | function_call_failure!("WaitForSingleObject"), [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `THREADENTRY32` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let mut thread_entry = THREADENTRY32::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `THREADENTRY32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `THREADENTRY32` [INFO] [stdout] --> src/winapiwrapper/thread.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let mut entry = THREADENTRY32::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `THREADENTRY32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/thread.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | function_call_failure!("CreateRemoteThread"), [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/thread.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | ensure!(ret != 0, function_call_failure!("GetExitCodeThread"),); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/thread.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | function_call_failure!("WaitForSingleObject"), [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `THREADENTRY32` [INFO] [stdout] --> src/winapiwrapper/thread.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let mut entry = THREADENTRY32::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `THREADENTRY32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/virtualmem.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | ensure!(!mem.is_null(), function_call_failure!("VirtualAllocEx")); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/virtualmem.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | ensure!(!mem.is_null(), function_call_failure!("VirtualAllocEx")); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/virtualmem.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | ensure!(ret != 0, function_call_failure!("VirtualFreeEx"),); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/error.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { winapi::um::errhandlingapi::GetLastError() }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/winapiwrapper/virtualmem.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | ensure!(ret != 0, function_call_failure!("VirtualFreeEx"),); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/injection/loadlibrary.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | MAX_PATH as usize + remote_process_ptr_size, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/injection/loadlibrary.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | ensure!(file_path.as_os_str().len() < MAX_PATH); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | type FnDllMain = unsafe extern "system" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [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/injection/manualmap.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | type FnDllMain = unsafe extern "system" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [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/injection/manualmap.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | type FnDllMain = unsafe extern "system" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:16:73 [INFO] [stdout] | [INFO] [stdout] 16 | type FnDllMain = unsafe extern "system" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRUNTIME_FUNCTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | type FnRtlAddFunctionTable = unsafe extern "system" fn(PRUNTIME_FUNCTION, u32, u64) -> u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let read = ch & IMAGE_SCN_MEM_READ != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_SCN_MEM_READ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:268:26 [INFO] [stdout] | [INFO] [stdout] 268 | let write = ch & IMAGE_SCN_MEM_WRITE != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_SCN_MEM_WRITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let exec = ch & IMAGE_SCN_MEM_EXECUTE != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_SCN_MEM_EXECUTE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRUNTIME_FUNCTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | as PRUNTIME_FUNCTION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:410:36 [INFO] [stdout] | [INFO] [stdout] 410 | ensure!(thread.exit_code()? == TRUE as u32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DLL_PROCESS_ATTACH` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:434:16 [INFO] [stdout] | [INFO] [stdout] 434 | ; push DLL_PROCESS_ATTACH as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRUNTIME_FUNCTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:457:25 [INFO] [stdout] | [INFO] [stdout] 457 | exception_fn_table: PRUNTIME_FUNCTION, [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/winapiwrapper/module.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | 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 `LoadLibraryA` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | let handle = unsafe { LoadLibraryA(name) }; [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/winapiwrapper/module.rs:59:63 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(base) => Ok(unsafe { Self::from_handle(base as HMODULE, pid, true) }), [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/winapiwrapper/module.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | pub unsafe fn from_handle(handle: HMODULE, pid_owning: u32, is_external: bool) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let addr = unsafe { GetProcAddress(self.handle, proc_name) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:140:42 [INFO] [stdout] | [INFO] [stdout] 31 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn info(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MODULEINFO` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | let mut info = MODULEINFO { [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/winapiwrapper/module.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | lpBaseOfDll: 0 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/winapiwrapper/module.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | EntryPoint: 0 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 `GetModuleInformation` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | GetModuleInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | &mut info as *mut MODULEINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 31 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 158 | size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameExA` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | GetModuleFileNameExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | buf.as_mut_ptr() as LPSTR, [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/winapiwrapper/module.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct Modules { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 208 | modules: Vec, [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/winapiwrapper/module.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 213 | impl Modules { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 230 | let mut buf: Vec = vec![std::ptr::null_mut(); len_needed.unwrap_or(0x200)]; [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/winapiwrapper/module.rs:231:53 [INFO] [stdout] | [INFO] [stdout] 213 | impl Modules { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 231 | let bytes_allocated = buf.len() * 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 `EnumProcessModulesEx` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | EnumProcessModulesEx( [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/winapiwrapper/module.rs:237:42 [INFO] [stdout] | [INFO] [stdout] 237 | buf.as_mut_ptr() as *mut HMODULE, [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/winapiwrapper/module.rs:246:60 [INFO] [stdout] | [INFO] [stdout] 213 | impl Modules { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 246 | let len_needed = bytes_needed as usize * 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 `GetSystemDirectoryA` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | let ret = unsafe { GetSystemDirectoryA(buf.as_mut_ptr() as LPSTR, buf.len() as u32) } as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:279:64 [INFO] [stdout] | [INFO] [stdout] 279 | let ret = unsafe { GetSystemDirectoryA(buf.as_mut_ptr() as LPSTR, buf.len() as u32) } as 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/winapiwrapper/process.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | handle: HANDLE, [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/winapiwrapper/process.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_handle(handle: HANDLE, is_external: bool) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/injection/loadlibrary.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | MAX_PATH as usize + remote_process_ptr_size, [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/winapiwrapper/process.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | let handle = unsafe { OpenProcess(access.bits(), inherit as i32, pid) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/injection/loadlibrary.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | ensure!(file_path.as_os_str().len() < MAX_PATH); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | let is_external = pid != unsafe { GetCurrentProcessId() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | type FnDllMain = unsafe extern "system" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { Process::from_handle(GetCurrentProcess(), false) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | type FnDllMain = unsafe extern "system" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [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/injection/manualmap.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | type FnDllMain = unsafe extern "system" fn(HINSTANCE, DWORD, LPVOID) -> BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessId` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | let pid = unsafe { GetProcessId(self.handle) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:16:73 [INFO] [stdout] | [INFO] [stdout] 16 | type FnDllMain = unsafe extern "system" fn(HINSTANCE, DWORD, LPVOID) -> 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/winapiwrapper/process.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | let ret = WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRUNTIME_FUNCTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | type FnRtlAddFunctionTable = unsafe extern "system" fn(PRUNTIME_FUNCTION, u32, u64) -> u8; [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/winapiwrapper/process.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let read = ch & IMAGE_SCN_MEM_READ != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_SCN_MEM_READ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | address as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:268:26 [INFO] [stdout] | [INFO] [stdout] 268 | let write = ch & IMAGE_SCN_MEM_WRITE != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_SCN_MEM_WRITE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let exec = ch & IMAGE_SCN_MEM_EXECUTE != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_SCN_MEM_EXECUTE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:127:40 [INFO] [stdout] | [INFO] [stdout] 127 | buffer.as_mut_ptr() as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRUNTIME_FUNCTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | as PRUNTIME_FUNCTION; [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/winapiwrapper/process.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | VirtualProtectEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:410:36 [INFO] [stdout] | [INFO] [stdout] 410 | ensure!(thread.exit_code()? == TRUE as u32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DLL_PROCESS_ATTACH` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:434:16 [INFO] [stdout] | [INFO] [stdout] 434 | ; push DLL_PROCESS_ATTACH as _ [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/winapiwrapper/process.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | address as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRUNTIME_FUNCTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:457:25 [INFO] [stdout] | [INFO] [stdout] 457 | exception_fn_table: PRUNTIME_FUNCTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWow64Process2` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe { IsWow64Process2(self.handle, &mut process_machine, &mut native_machine) }; [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/winapiwrapper/module.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | handle: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_FILE_MACHINE_UNKNOWN` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | Ok(process_machine != IMAGE_FILE_MACHINE_UNKNOWN) [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/winapiwrapper/process.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn handle(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | let ret = unsafe { CloseHandle(self.handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameExA` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | GetModuleFileNameExA( [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/winapiwrapper/process.rs:224:41 [INFO] [stdout] | [INFO] [stdout] 224 | std::ptr::null_mut() as HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | buf.as_mut_ptr() as LPSTR, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcesses` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | EnumProcesses( [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/winapiwrapper/snapshot.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | handle: HANDLE, [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/winapiwrapper/snapshot.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn from_handle(handle: HANDLE) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let h = unsafe { CreateToolhelp32Snapshot(flags.bits(), pid) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | h != INVALID_HANDLE_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | let handle = unsafe { LoadLibraryA(name) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | let ret = unsafe { CloseHandle(self.handle) }; [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/winapiwrapper/module.rs:59:63 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(base) => Ok(unsafe { Self::from_handle(base as HMODULE, pid, true) }), [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/winapiwrapper/snapshot.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn handle(&self) -> HANDLE { [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/winapiwrapper/module.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | pub unsafe fn from_handle(handle: HMODULE, pid_owning: u32, is_external: bool) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | type Item = THREADENTRY32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let addr = unsafe { GetProcAddress(self.handle, proc_name) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32First` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { Thread32First(self.snapshot.handle, &mut thread_entry) } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:140:42 [INFO] [stdout] | [INFO] [stdout] 31 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn info(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32Next` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { Thread32Next(self.snapshot.handle, &mut thread_entry) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MODULEINFO` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | let mut info = MODULEINFO { [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/winapiwrapper/module.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | lpBaseOfDll: 0 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/winapiwrapper/thread.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | handle: HANDLE, [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/winapiwrapper/module.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | EntryPoint: 0 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 `GetModuleInformation` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | GetModuleInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | &mut info as *mut MODULEINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | CreateRemoteThread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 31 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 158 | size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetExitCodeThread` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | let ret = unsafe { GetExitCodeThread(self.handle, &mut code) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameExA` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | GetModuleFileNameExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | buf.as_mut_ptr() as LPSTR, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | let ret = unsafe { WaitForSingleObject(self.handle, timeout) }; [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/winapiwrapper/module.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct Modules { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 208 | modules: Vec, [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/winapiwrapper/module.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 213 | impl Modules { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 230 | let mut buf: Vec = vec![std::ptr::null_mut(); len_needed.unwrap_or(0x200)]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_FAILED` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | ret != WAIT_FAILED, [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/winapiwrapper/module.rs:231:53 [INFO] [stdout] | [INFO] [stdout] 213 | impl Modules { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 231 | let bytes_allocated = buf.len() * 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 `EnumProcessModulesEx` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | EnumProcessModulesEx( [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/winapiwrapper/module.rs:237:42 [INFO] [stdout] | [INFO] [stdout] 237 | buf.as_mut_ptr() as *mut HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 131 | impl Iterator for Threads { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 136 | entry.dwSize = size_of::() as u32; [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/winapiwrapper/module.rs:246:60 [INFO] [stdout] | [INFO] [stdout] 213 | impl Modules { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 246 | let len_needed = bytes_needed as usize * 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 `GetSystemDirectoryA` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | let ret = unsafe { GetSystemDirectoryA(buf.as_mut_ptr() as LPSTR, buf.len() as u32) } as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32First` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | Thread32First(self.snapshot.handle(), &mut entry) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:279:64 [INFO] [stdout] | [INFO] [stdout] 279 | let ret = unsafe { GetSystemDirectoryA(buf.as_mut_ptr() as LPSTR, buf.len() as u32) } as usize; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32Next` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | false => Thread32Next(self.snapshot.handle(), &mut entry), [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/winapiwrapper/process.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | if ret == TRUE { [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/winapiwrapper/process.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_handle(handle: HANDLE, is_external: bool) -> Self { [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/winapiwrapper/process.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | let handle = unsafe { OpenProcess(access.bits(), inherit as i32, pid) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | let is_external = pid != unsafe { GetCurrentProcessId() }; [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/winapiwrapper/virtualmem.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { Process::from_handle(GetCurrentProcess(), false) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessId` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | let pid = unsafe { GetProcessId(self.handle) }; [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/winapiwrapper/process.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | let ret = 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/winapiwrapper/virtualmem.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | address 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 `ReadProcessMemory` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | 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/winapiwrapper/process.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | address 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/winapiwrapper/process.rs:127:40 [INFO] [stdout] | [INFO] [stdout] 127 | buffer.as_mut_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/winapiwrapper/process.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | 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/winapiwrapper/process.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | address 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 `VirtualFreeEx` in this scope [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | VirtualFreeEx( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWow64Process2` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe { IsWow64Process2(self.handle, &mut process_machine, &mut native_machine) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_FILE_MACHINE_UNKNOWN` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | Ok(process_machine != IMAGE_FILE_MACHINE_UNKNOWN) [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/winapiwrapper/virtualmem.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | self.address as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn handle(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | let ret = unsafe { CloseHandle(self.handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameExA` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | GetModuleFileNameExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | handle: HWND, [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/winapiwrapper/process.rs:224:41 [INFO] [stdout] | [INFO] [stdout] 224 | std::ptr::null_mut() as HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | buf.as_mut_ptr() as LPSTR, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcesses` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | EnumProcesses( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe extern "system" fn enum_windows_callback(hwnd: HWND, param: LPARAM) -> BOOL { [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/winapiwrapper/snapshot.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:17:68 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe extern "system" fn enum_windows_callback(hwnd: HWND, param: LPARAM) -> BOOL { [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/winapiwrapper/snapshot.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn from_handle(handle: HANDLE) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:17:79 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe extern "system" fn enum_windows_callback(hwnd: HWND, param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let h = unsafe { CreateToolhelp32Snapshot(flags.bits(), pid) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe fn from_handle(handle: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | h != INVALID_HANDLE_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | let ret = unsafe { CloseHandle(self.handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | EnumWindows( [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/winapiwrapper/snapshot.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn handle(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextA` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { GetWindowTextA(self.handle, buf.as_mut_ptr() as *mut CHAR, BUF_LEN as i32) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | type Item = THREADENTRY32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32First` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { Thread32First(self.snapshot.handle, &mut thread_entry) } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:60:75 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { GetWindowTextA(self.handle, buf.as_mut_ptr() as *mut CHAR, BUF_LEN as i32) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32Next` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { Thread32Next(self.snapshot.handle, &mut thread_entry) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe { GetWindowThreadProcessId(self.handle, &mut p as *mut u32) }; [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/winapiwrapper/thread.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_FILE_DLL` in this scope [INFO] [stdout] --> src/lib.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | ensure!(pe.file_header().Characteristics & IMAGE_FILE_DLL != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 10 | use pelite::pe32::image::IMAGE_FILE_DLL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | CreateRemoteThread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetExitCodeThread` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | let ret = unsafe { GetExitCodeThread(self.handle, &mut code) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | let ret = unsafe { WaitForSingleObject(self.handle, timeout) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_FAILED` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | ret != WAIT_FAILED, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 131 | impl Iterator for Threads { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 136 | entry.dwSize = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32First` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | Thread32First(self.snapshot.handle(), &mut entry) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32Next` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | false => Thread32Next(self.snapshot.handle(), &mut entry), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | if ret == TRUE { [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/winapiwrapper/virtualmem.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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/winapiwrapper/virtualmem.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | address 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 `VirtualFreeEx` in this scope [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | VirtualFreeEx( [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/winapiwrapper/virtualmem.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | self.address as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe extern "system" fn enum_windows_callback(hwnd: HWND, param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:17:68 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe extern "system" fn enum_windows_callback(hwnd: HWND, param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:17:79 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe extern "system" fn enum_windows_callback(hwnd: HWND, param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe fn from_handle(handle: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | EnumWindows( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextA` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { GetWindowTextA(self.handle, buf.as_mut_ptr() as *mut CHAR, BUF_LEN as i32) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:60:75 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { GetWindowTextA(self.handle, buf.as_mut_ptr() as *mut CHAR, BUF_LEN as i32) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/winapiwrapper/window.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe { GetWindowThreadProcessId(self.handle, &mut p as *mut u32) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_FILE_DLL` in this scope [INFO] [stdout] --> src/lib.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | ensure!(pe.file_header().Characteristics & IMAGE_FILE_DLL != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 10 | use pelite::pe32::image::IMAGE_FILE_DLL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/injection/manualmap.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | let (loader_info, loader) = if is_wow64 { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/injection/manualmap.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | let (loader_info, loader) = if is_wow64 { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 156 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jector` [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 156 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e1780818d36d6093b42afdb25878f4f441b599b9b84d57a34dbb40d210445a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1780818d36d6093b42afdb25878f4f441b599b9b84d57a34dbb40d210445a5f", kill_on_drop: false }` [INFO] [stdout] e1780818d36d6093b42afdb25878f4f441b599b9b84d57a34dbb40d210445a5f