[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] 4dd08d8763c7f3b5a3fa07c9c4c450772813661f [INFO] checking c4fe/manualmap-rs against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4fe%2Fmanualmap-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/c4fe/manualmap-rs on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dynasmrt v1.0.0 [INFO] [stderr] Downloaded patternscan v0.1.1 [INFO] [stderr] Downloaded dataview v0.1.1 [INFO] [stderr] Downloaded pelite-macros v0.1.1 [INFO] [stderr] Downloaded dynasm v1.0.0 [INFO] [stderr] Downloaded derive_pod v0.1.0 [INFO] [stderr] Downloaded pelite v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfd7ea59301ecfb8c576f4117479d768470204a30c8cb7de877a0f0e2320abc4 [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" "bfd7ea59301ecfb8c576f4117479d768470204a30c8cb7de877a0f0e2320abc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfd7ea59301ecfb8c576f4117479d768470204a30c8cb7de877a0f0e2320abc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd7ea59301ecfb8c576f4117479d768470204a30c8cb7de877a0f0e2320abc4", kill_on_drop: false }` [INFO] [stdout] bfd7ea59301ecfb8c576f4117479d768470204a30c8cb7de877a0f0e2320abc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 681a8e4e5e3be1a190a53a132634ac151cd8d781d783cee76c5d2c5ee3e9f1a4 [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" "681a8e4e5e3be1a190a53a132634ac151cd8d781d783cee76c5d2c5ee3e9f1a4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling derive_pod v0.1.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Compiling pelite-macros v0.1.1 [INFO] [stderr] Checking patternscan v0.1.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling field-offset v0.3.2 [INFO] [stderr] Checking dataview v0.1.1 [INFO] [stderr] Checking pelite v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling dynasm v1.0.0 [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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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 `um` in `winapi` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | 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 `shared` in `winapi` [INFO] [stdout] --> src/injection/manualmap.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | 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:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | 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/injection/manualmap.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winnt::{ [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:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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/error.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::errhandlingapi::GetLastError; [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:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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/error.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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/alloctype.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/alloctype.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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::um` [INFO] [stdout] --> src/winapiwrapper/freetype.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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/process.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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/process.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::tlhelp32::MODULEENTRY32; [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::winnt::HANDLE; [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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/processaccess.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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/snapshot.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::tlhelp32::CreateToolhelp32Snapshot; [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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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::um` [INFO] [stdout] --> src/winapiwrapper/protectflag.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/freetype.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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/process.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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/process.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::tlhelp32::MODULEENTRY32; [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::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/snapshotflags.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::tlhelp32; [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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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/thread.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/processaccess.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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/thread.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/thread.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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/snapshot.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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/thread.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winbase::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/snapshot.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::tlhelp32::CreateToolhelp32Snapshot; [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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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 `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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/protectflag.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/snapshotflags.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES; [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::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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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: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/thread.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winbase::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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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/threadaccess.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt; [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: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 `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::memoryapi::{VirtualAllocEx, VirtualFreeEx}; [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:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/threadcreationflags.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winbase; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapiwrapper/threadaccess.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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/virtualmem.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::memoryapi::{VirtualAllocEx, VirtualFreeEx}; [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:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/threadcreationflags.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winbase; [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:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 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:135:44 [INFO] [stdout] | [INFO] [stdout] 135 | if file_path.as_os_str().len() >= (MAX_PATH - 1) { [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:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | 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:28:55 [INFO] [stdout] | [INFO] [stdout] 28 | 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:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | 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:28:73 [INFO] [stdout] | [INFO] [stdout] 28 | 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:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | 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_DIRECTORY_ENTRY_EXCEPTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | pe.data_directory()[IMAGE_DIRECTORY_ENTRY_EXCEPTION as usize]; [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_DIRECTORY_ENTRY_EXCEPTION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRUNTIME_FUNCTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:274:80 [INFO] [stdout] | [INFO] [stdout] 274 | (exception_data_directory.VirtualAddress as usize + image_base) as PRUNTIME_FUNCTION; [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:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | 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:286:30 [INFO] [stdout] | [INFO] [stdout] 286 | 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:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | 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: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:423:39 [INFO] [stdout] | [INFO] [stdout] 423 | 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:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | 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:425:18 [INFO] [stdout] | [INFO] [stdout] 425 | 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 `GetLastError` in this scope [INFO] [stdout] --> src/winapiwrapper/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe { GetLastError() } [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:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 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:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | 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:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | 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:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | 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:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | 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:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | 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:207:34 [INFO] [stdout] | [INFO] [stdout] 22 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn info(&self) -> 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:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | 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:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | 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:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | 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:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | 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:224:35 [INFO] [stdout] | [INFO] [stdout] 224 | &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:225:27 [INFO] [stdout] | [INFO] [stdout] 22 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 225 | 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:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | 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:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | 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:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | let ret = ReadProcessMemory( [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:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | 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:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | 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:133:69 [INFO] [stdout] | [INFO] [stdout] 21 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn module_entry_by_name(&self, name: &str) -> Result, Error> { [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:143:34 [INFO] [stdout] | [INFO] [stdout] 21 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 143 | let entry: Option> = 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:181:35 [INFO] [stdout] | [INFO] [stdout] 181 | 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:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | 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: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 `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | 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:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | if 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:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | 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:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | 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:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | 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:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | 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:67:31 [INFO] [stdout] | [INFO] [stdout] 62 | impl Iterator for SnapshotThreadEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 67 | 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:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | 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:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | 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:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | 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:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | 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:113:31 [INFO] [stdout] | [INFO] [stdout] 108 | impl Iterator for SnapshotModuleEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 113 | 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:118:42 [INFO] [stdout] | [INFO] [stdout] 108 | impl Iterator for SnapshotModuleEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 118 | 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:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | 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:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | 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:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | 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:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | } as *mut SECURITY_ATTRIBUTES; [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:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | 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:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | 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:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | 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:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | if 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:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | 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:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | 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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | 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:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | 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:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | 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:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:79 [INFO] [stdout] | [INFO] [stdout] 18 | 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:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | 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:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 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:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:75 [INFO] [stdout] | [INFO] [stdout] 61 | 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:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | 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:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | if pe.file_header().Characteristics & IMAGE_FILE_DLL != IMAGE_FILE_DLL { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use pelite::pe32::image::IMAGE_FILE_DLL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_FILE_DLL` in this scope [INFO] [stdout] --> src/lib.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | if pe.file_header().Characteristics & IMAGE_FILE_DLL != IMAGE_FILE_DLL { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | 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:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 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:135:44 [INFO] [stdout] | [INFO] [stdout] 135 | if file_path.as_os_str().len() >= (MAX_PATH - 1) { [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:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | 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:28:55 [INFO] [stdout] | [INFO] [stdout] 28 | 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:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | 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:28:73 [INFO] [stdout] | [INFO] [stdout] 28 | 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:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | 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_DIRECTORY_ENTRY_EXCEPTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | pe.data_directory()[IMAGE_DIRECTORY_ENTRY_EXCEPTION as usize]; [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_DIRECTORY_ENTRY_EXCEPTION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRUNTIME_FUNCTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:274:80 [INFO] [stdout] | [INFO] [stdout] 274 | (exception_data_directory.VirtualAddress as usize + image_base) as PRUNTIME_FUNCTION; [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:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | 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:286:30 [INFO] [stdout] | [INFO] [stdout] 286 | 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:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | 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: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:423:39 [INFO] [stdout] | [INFO] [stdout] 423 | 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:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | 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:425:18 [INFO] [stdout] | [INFO] [stdout] 425 | 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 `GetLastError` in this scope [INFO] [stdout] --> src/winapiwrapper/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe { GetLastError() } [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:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 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:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | 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:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | 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:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | 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:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | 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:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | 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:207:34 [INFO] [stdout] | [INFO] [stdout] 22 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn info(&self) -> 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:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | 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:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | 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:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | 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:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | 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:224:35 [INFO] [stdout] | [INFO] [stdout] 224 | &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:225:27 [INFO] [stdout] | [INFO] [stdout] 22 | impl Module { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 225 | 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:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | 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:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | 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:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | let ret = ReadProcessMemory( [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:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | 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:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | 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:133:69 [INFO] [stdout] | [INFO] [stdout] 21 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn module_entry_by_name(&self, name: &str) -> Result, Error> { [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:143:34 [INFO] [stdout] | [INFO] [stdout] 21 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 143 | let entry: Option> = 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:181:35 [INFO] [stdout] | [INFO] [stdout] 181 | 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:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | 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: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 `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | 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:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | if 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:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | 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:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | 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:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | 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:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | 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:67:31 [INFO] [stdout] | [INFO] [stdout] 62 | impl Iterator for SnapshotThreadEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 67 | 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:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | 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:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | 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:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | 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:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | 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:113:31 [INFO] [stdout] | [INFO] [stdout] 108 | impl Iterator for SnapshotModuleEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 113 | 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:118:42 [INFO] [stdout] | [INFO] [stdout] 108 | impl Iterator for SnapshotModuleEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 118 | 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:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | 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:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | 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:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | 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:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | } as *mut SECURITY_ATTRIBUTES; [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:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | 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:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | 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:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | 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:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | if 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:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | 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:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | 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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | 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:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | 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:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | 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:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | 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:18:79 [INFO] [stdout] | [INFO] [stdout] 18 | 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:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | 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:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 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:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:75 [INFO] [stdout] | [INFO] [stdout] 61 | 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:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | 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:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | if pe.file_header().Characteristics & IMAGE_FILE_DLL != IMAGE_FILE_DLL { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use pelite::pe32::image::IMAGE_FILE_DLL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_FILE_DLL` in this scope [INFO] [stdout] --> src/lib.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | if pe.file_header().Characteristics & IMAGE_FILE_DLL != IMAGE_FILE_DLL { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 4 | use pelite::pe32::image::IMAGE_FILE_DLL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 126 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 126 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" "681a8e4e5e3be1a190a53a132634ac151cd8d781d783cee76c5d2c5ee3e9f1a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681a8e4e5e3be1a190a53a132634ac151cd8d781d783cee76c5d2c5ee3e9f1a4", kill_on_drop: false }` [INFO] [stdout] 681a8e4e5e3be1a190a53a132634ac151cd8d781d783cee76c5d2c5ee3e9f1a4