[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] 2ce6f88a8f64e06b7b8532545342e52dfe826c02 [INFO] checking c4fe/manualmap-rs against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4fe%2Fmanualmap-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/c4fe/manualmap-rs on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", 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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dynasmrt v1.0.0 [INFO] [stderr] Downloaded no-std-compat v0.4.1 [INFO] [stderr] Downloaded dynasm v1.0.0 [INFO] [stderr] Downloaded field-offset v0.3.2 [INFO] [stderr] Downloaded derive_pod v0.1.0 [INFO] [stderr] Downloaded pelite-macros v0.1.1 [INFO] [stderr] Downloaded pelite v0.9.0 [INFO] [stderr] Downloaded dataview v0.1.1 [INFO] [stderr] Downloaded patternscan v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5672e89b4dd9250e3f0c5116918a7ebfe38d32d8f6c04e5637714ba4e5d08872 [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" "5672e89b4dd9250e3f0c5116918a7ebfe38d32d8f6c04e5637714ba4e5d08872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5672e89b4dd9250e3f0c5116918a7ebfe38d32d8f6c04e5637714ba4e5d08872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5672e89b4dd9250e3f0c5116918a7ebfe38d32d8f6c04e5637714ba4e5d08872", kill_on_drop: false }` [INFO] [stdout] 5672e89b4dd9250e3f0c5116918a7ebfe38d32d8f6c04e5637714ba4e5d08872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 794ff892122465ff2f9fff577bc1c17b09bff542b29e1ddb043392da327122a6 [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" "794ff892122465ff2f9fff577bc1c17b09bff542b29e1ddb043392da327122a6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [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 syn v1.0.57 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Compiling derive_pod v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling pelite-macros v0.1.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking patternscan v0.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking dataview v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling field-offset v0.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking pelite v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling dynasm v1.0.0 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking dynasmrt v1.0.0 [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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::minwindef::{BOOL, DWORD, HINSTANCE, 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/injection/manualmap.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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/winapiwrapper/handleowner.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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/handleowner.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::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/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[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::{GetModuleInformation, MODULEINFO}; [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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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 `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{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::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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::processthreadsapi::{GetCurrentProcess, GetProcessId, OpenProcess}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::tlhelp32::MODULEENTRY32; [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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::{self, HANDLE, IMAGE_FILE_MACHINE_UNKNOWN}; [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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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 `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{BYTE, HMODULE}; [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/snapshot.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::{self, HANDLE, IMAGE_FILE_MACHINE_UNKNOWN}; [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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::tlhelp32::{ [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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::tlhelp32::{ [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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::synchapi::WaitForSingleObject; [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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::errhandlingapi::GetLastError; [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[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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/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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::minwindef::{BOOL, DWORD, HINSTANCE, 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/injection/manualmap.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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/winapiwrapper/handleowner.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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/handleowner.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::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/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[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::{GetModuleInformation, MODULEINFO}; [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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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 `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{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::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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::processthreadsapi::{GetCurrentProcess, GetProcessId, OpenProcess}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::tlhelp32::MODULEENTRY32; [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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::{self, HANDLE, IMAGE_FILE_MACHINE_UNKNOWN}; [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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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 `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{BYTE, HMODULE}; [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/snapshot.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::{self, HANDLE, IMAGE_FILE_MACHINE_UNKNOWN}; [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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::tlhelp32::{ [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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::tlhelp32::{ [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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::synchapi::WaitForSingleObject; [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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::errhandlingapi::GetLastError; [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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/injection/loadlibrary.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | MAX_PATH as usize + 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:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | 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:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | 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:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | 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:20:62 [INFO] [stdout] | [INFO] [stdout] 20 | 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:20:73 [INFO] [stdout] | [INFO] [stdout] 20 | 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:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | 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:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | 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:251:26 [INFO] [stdout] | [INFO] [stdout] 251 | 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:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | 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:320:20 [INFO] [stdout] | [INFO] [stdout] 320 | as PRUNTIME_FUNCTION; [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:399:25 [INFO] [stdout] | [INFO] [stdout] 399 | exception_fn_table: PRUNTIME_FUNCTION, [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:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | loader_info.image_base as HINSTANCE, [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:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | DLL_PROCESS_ATTACH, [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:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | 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/handleowner.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/handleowner.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | 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/handleowner.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | 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:62:63 [INFO] [stdout] | [INFO] [stdout] 62 | 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:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | 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 `HMODULE` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn handle(&self) -> HMODULE { [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:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | 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:134:42 [INFO] [stdout] | [INFO] [stdout] 18 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 134 | 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:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | 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:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | 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:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | 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:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | 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:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | &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:152:27 [INFO] [stdout] | [INFO] [stdout] 18 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | size_of::() as 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/process.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | handle: HANDLE, [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:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | 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 `GetCurrentProcess` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { Process::from_handle(GetCurrentProcess()) } [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:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | 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:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let ret = WriteProcessMemory( [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:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | 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:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | 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:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | 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:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | 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:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | address as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:138:77 [INFO] [stdout] | [INFO] [stdout] 20 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn module_entry_by_name(&self, name: &str) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 20 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 146 | let entry: Option> = self [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:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | 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:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | 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:198:35 [INFO] [stdout] | [INFO] [stdout] 198 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | fn handle(&self) -> 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | handle: HANDLE, [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:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | 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:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | h != INVALID_HANDLE_VALUE, [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:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn handle(&self) -> HANDLE { [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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | type Item = THREADENTRY32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `THREADENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | let mut thread_entry = THREADENTRY32 { [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:64:31 [INFO] [stdout] | [INFO] [stdout] 59 | impl Iterator for SnapshotThreadEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 64 | 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/snapshot.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe { Thread32First(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 `Thread32Next` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { Thread32Next(self.snapshot.handle(), &mut thread_entry) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | type Item = MODULEENTRY32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | let mut entry = MODULEENTRY32 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 105 | impl Iterator for SnapshotModuleEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | dwSize: size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 105 | impl Iterator for SnapshotModuleEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 115 | modBaseAddr: ptr::null_mut::(), [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/snapshot.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | hModule: 0 as HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32First` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | unsafe { Module32First(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 `Module32Next` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | unsafe { Module32Next(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/thread.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | handle: HANDLE, [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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | 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:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | 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:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | ret != WAIT_FAILED, [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:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe fn from_handle(handle: HANDLE) -> Thread { [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:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | 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 `VirtualAllocEx` in this scope [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | 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:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | 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:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 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:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | 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 function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/winapiwrapper/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { GetLastError() } [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 value `MAX_PATH` in this scope [INFO] [stdout] --> src/injection/loadlibrary.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | MAX_PATH as usize + 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:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | 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:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | 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:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | 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:20:62 [INFO] [stdout] | [INFO] [stdout] 20 | 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:20:73 [INFO] [stdout] | [INFO] [stdout] 20 | 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:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | 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:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | 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:251:26 [INFO] [stdout] | [INFO] [stdout] 251 | 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:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | 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:320:20 [INFO] [stdout] | [INFO] [stdout] 320 | as PRUNTIME_FUNCTION; [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:399:25 [INFO] [stdout] | [INFO] [stdout] 399 | exception_fn_table: PRUNTIME_FUNCTION, [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:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | loader_info.image_base as HINSTANCE, [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:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | DLL_PROCESS_ATTACH, [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:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | 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/handleowner.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/handleowner.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | 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/handleowner.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | 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:62:63 [INFO] [stdout] | [INFO] [stdout] 62 | 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:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | 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 `HMODULE` in this scope [INFO] [stdout] --> src/winapiwrapper/module.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn handle(&self) -> HMODULE { [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:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | 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:134:42 [INFO] [stdout] | [INFO] [stdout] 18 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 134 | 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:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | 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:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | 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:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | 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:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | 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:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | &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:152:27 [INFO] [stdout] | [INFO] [stdout] 18 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | size_of::() as 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/process.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | handle: HANDLE, [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:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | 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 `GetCurrentProcess` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { Process::from_handle(GetCurrentProcess()) } [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:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | 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:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let ret = WriteProcessMemory( [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:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | 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:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | 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:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | 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:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | 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:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | address as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:138:77 [INFO] [stdout] | [INFO] [stdout] 20 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn module_entry_by_name(&self, name: &str) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 20 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 146 | let entry: Option> = self [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:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | 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:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | 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:198:35 [INFO] [stdout] | [INFO] [stdout] 198 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | fn handle(&self) -> 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | handle: HANDLE, [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:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | 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:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | h != INVALID_HANDLE_VALUE, [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:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn handle(&self) -> HANDLE { [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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | type Item = THREADENTRY32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `THREADENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | let mut thread_entry = THREADENTRY32 { [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:64:31 [INFO] [stdout] | [INFO] [stdout] 59 | impl Iterator for SnapshotThreadEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 64 | 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/snapshot.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe { Thread32First(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 `Thread32Next` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { Thread32Next(self.snapshot.handle(), &mut thread_entry) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | type Item = MODULEENTRY32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | let mut entry = MODULEENTRY32 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 105 | impl Iterator for SnapshotModuleEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | dwSize: size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 105 | impl Iterator for SnapshotModuleEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 115 | modBaseAddr: ptr::null_mut::(), [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/snapshot.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | hModule: 0 as HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32First` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | unsafe { Module32First(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 `Module32Next` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | unsafe { Module32Next(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/thread.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | handle: HANDLE, [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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | 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:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | 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:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | ret != WAIT_FAILED, [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:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe fn from_handle(handle: HANDLE) -> Thread { [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:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | 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 `VirtualAllocEx` in this scope [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | 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:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | 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:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 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:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | 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 function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/winapiwrapper/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { GetLastError() } [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: aborting due to 125 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `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 125 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "794ff892122465ff2f9fff577bc1c17b09bff542b29e1ddb043392da327122a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "794ff892122465ff2f9fff577bc1c17b09bff542b29e1ddb043392da327122a6", kill_on_drop: false }` [INFO] [stdout] 794ff892122465ff2f9fff577bc1c17b09bff542b29e1ddb043392da327122a6