[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/c4fe/manualmap-rs [INFO] [stderr] * [new branch] exception_support -> exception_support [INFO] [stderr] * [new branch] loader -> loader [INFO] [stderr] 37b2066..07f0210 master -> master [INFO] [stderr] * [new branch] static_tls -> static_tls [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07f02108b6dbfe88d44f93afd19c523e37c490bf [INFO] checking c4fe/manualmap-rs against master#8ac1525e091d3db28e67adcbbd6db1e1deaa37fb for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4fe%2Fmanualmap-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/c4fe/manualmap-rs on toolchain 8ac1525e091d3db28e67adcbbd6db1e1deaa37fb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 501ddedadd9a115dbb533920278f0d10cbb2b600e42b237d8e065ae9fcac62a3 [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" "501ddedadd9a115dbb533920278f0d10cbb2b600e42b237d8e065ae9fcac62a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "501ddedadd9a115dbb533920278f0d10cbb2b600e42b237d8e065ae9fcac62a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "501ddedadd9a115dbb533920278f0d10cbb2b600e42b237d8e065ae9fcac62a3", kill_on_drop: false }` [INFO] [stdout] 501ddedadd9a115dbb533920278f0d10cbb2b600e42b237d8e065ae9fcac62a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d6b9ecb3060a2b20899d2b02f33b2a9735495f12cc3a0905bdb4d12ced768c6 [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" "6d6b9ecb3060a2b20899d2b02f33b2a9735495f12cc3a0905bdb4d12ced768c6", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling pelite-macros v0.1.0 [INFO] [stderr] Checking bytebuffer-rs v0.3.1 [INFO] [stderr] Checking pelite v0.8.1 [INFO] [stderr] Checking jector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs: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/injector/manualmap.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::minwindef::{BOOL, DWORD, FARPROC, HINSTANCE, 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/injector/manualmap.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 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/injector/manualmap.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::ctypes::c_void as winapic_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/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 `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/library.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::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/library.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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/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[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/snapshot.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::tlhelp32::{Thread32First, Thread32Next, THREADENTRY32}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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 `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::{PULONG, ULONG}; [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/thread.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::ntdef::NTSTATUS; [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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::processthreadsapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::synchapi::WaitForSingleObject; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winnt::{HANDLE, NT_TIB, PVOID}; [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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::ctypes::c_void as winapic_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/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::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[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, WriteProcessMemory}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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/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/injector/manualmap.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::minwindef::{BOOL, DWORD, FARPROC, HINSTANCE, 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/injector/manualmap.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 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/injector/manualmap.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::ctypes::c_void as winapic_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/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 `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/library.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::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/library.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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/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[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/snapshot.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::tlhelp32::{Thread32First, Thread32Next, THREADENTRY32}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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 `shared` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::{PULONG, ULONG}; [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/thread.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::ntdef::NTSTATUS; [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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::processthreadsapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::synchapi::WaitForSingleObject; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapiwrapper/thread.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winnt::{HANDLE, NT_TIB, PVOID}; [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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::ctypes::c_void as winapic_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/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::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[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, WriteProcessMemory}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_BASE_RELOCATION` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | const BASE_RELOCATION_SIZE: usize = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_BASE_RELOCATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | 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/injector/manualmap.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | 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/injector/manualmap.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | 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/injector/manualmap.rs:25:73 [INFO] [stdout] | [INFO] [stdout] 25 | 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 `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | type FnLoadLibraryA = unsafe extern "system" fn(LPCSTR) -> HMODULE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:26:60 [INFO] [stdout] | [INFO] [stdout] 26 | type FnLoadLibraryA = unsafe extern "system" fn(LPCSTR) -> HMODULE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | type FnGetProcAddress = unsafe extern "system" fn(HMODULE, LPCSTR) -> FARPROC; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | type FnGetProcAddress = unsafe extern "system" fn(HMODULE, LPCSTR) -> FARPROC; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 27 | type FnGetProcAddress = unsafe extern "system" fn(HMODULE, LPCSTR) -> FARPROC; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_BASERELOC` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:113:50 [INFO] [stdout] | [INFO] [stdout] 113 | basereloc_directory: pe.data_directory()[IMAGE_DIRECTORY_ENTRY_BASERELOC 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_BASERELOC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_IMPORT` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:114:47 [INFO] [stdout] | [INFO] [stdout] 114 | import_directory: pe.data_directory()[IMAGE_DIRECTORY_ENTRY_IMPORT 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_IMPORT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_BASE_RELOCATION` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 191 | as *const IMAGE_BASE_RELOCATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_BASE_RELOCATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_BASED_DIR64` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:200:34 [INFO] [stdout] | [INFO] [stdout] 200 | if reloc_type == IMAGE_REL_BASED_DIR64 { [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_REL_BASED_DIR64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_BASE_RELOCATION` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:216:71 [INFO] [stdout] | [INFO] [stdout] 216 | base_reloc = (base_reloc as usize + block_size) as *const IMAGE_BASE_RELOCATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_BASE_RELOCATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_DESCRIPTOR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:223:23 [INFO] [stdout] | [INFO] [stdout] 223 | as *const IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:227:82 [INFO] [stdout] | [INFO] [stdout] 227 | (loader_info.image_base + (*import_descriptor).Name as usize) as LPCSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_ORDINAL_FLAG` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:244:41 [INFO] [stdout] | [INFO] [stdout] 244 | if (*orig_first_thunk & IMAGE_ORDINAL_FLAG as usize) != 0 as usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_ORDINAL_FLAG; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe64::image::IMAGE_ORDINAL_FLAG; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:247:57 [INFO] [stdout] | [INFO] [stdout] 247 | (*orig_first_thunk & 0xffff) as LPCSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_BY_NAME` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:251:80 [INFO] [stdout] | [INFO] [stdout] 251 | (loader_info.image_base + *orig_first_thunk) as *const IMAGE_IMPORT_BY_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:253:94 [INFO] [stdout] | [INFO] [stdout] 253 | proc = (loader_info.get_proc_address)(module, &(*import_by_name).Name as LPCSTR) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_DESCRIPTOR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:269:34 [INFO] [stdout] | [INFO] [stdout] 269 | + mem::size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_DESCRIPTOR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | as *const IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:279:39 [INFO] [stdout] | [INFO] [stdout] 279 | 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/injector/manualmap.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | 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/injector/manualmap.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | 0 as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/winapiwrapper/library.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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/library.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[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/winapiwrapper/library.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | 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 `CloseHandle` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let ret = unsafe { CloseHandle(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/process.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | self.handle = 0 as HANDLE; [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:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let pid = unsafe { GetProcessId(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/process.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 16 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn handle(&self) -> Result { [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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn from_handle(handle: HANDLE) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs: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:17 [INFO] [stdout] | [INFO] [stdout] 21 | 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:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | pub 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:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | 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:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | 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:58:41 [INFO] [stdout] | [INFO] [stdout] 53 | impl Iterator for SnapshotThreadEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 58 | dwSize: std::mem::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:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | 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:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `THREAD_INFORMATION_CLASS` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:58 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PULONG` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:83 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [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:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | UniqueProcess: 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/thread.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | UniqueThread: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | pub ExitStatus: NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | pub TebBaseAddress: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NT_TIB` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub Tib: NT_TIB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | pub EnvironmentPointer: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | pub ActiveRpcInfo: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | pub ThreadLocalStoragePointer: PVOID, [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:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | pub unsafe fn from_handle(handle: HANDLE) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | let handle = unsafe { OpenThread(access.bits(), inherit_handle as i32, id) }; [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:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | } 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:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | 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:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | 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:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | 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:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | if ret == WAIT_FAILED { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | TebBaseAddress: 0 as PVOID, [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:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | UniqueProcess: 0 as 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/thread.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | UniqueThread: 0 as HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:157:78 [INFO] [stdout] | [INFO] [stdout] 157 | &mut thread_basic_info as *const THREAD_BASIC_INFORMATION as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PULONG` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | 0 as PULONG, [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[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | WriteProcessMemory( [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:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | 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:16:61 [INFO] [stdout] | [INFO] [stdout] 16 | 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] warning: unused import: `super::thread::Thread` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_BASE_RELOCATION` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | const BASE_RELOCATION_SIZE: usize = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_BASE_RELOCATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | 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/injector/manualmap.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | 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/injector/manualmap.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | 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/injector/manualmap.rs:25:73 [INFO] [stdout] | [INFO] [stdout] 25 | 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 `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | type FnLoadLibraryA = unsafe extern "system" fn(LPCSTR) -> HMODULE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:26:60 [INFO] [stdout] | [INFO] [stdout] 26 | type FnLoadLibraryA = unsafe extern "system" fn(LPCSTR) -> HMODULE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | type FnGetProcAddress = unsafe extern "system" fn(HMODULE, LPCSTR) -> FARPROC; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | type FnGetProcAddress = unsafe extern "system" fn(HMODULE, LPCSTR) -> FARPROC; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 27 | type FnGetProcAddress = unsafe extern "system" fn(HMODULE, LPCSTR) -> FARPROC; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_BASERELOC` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:113:50 [INFO] [stdout] | [INFO] [stdout] 113 | basereloc_directory: pe.data_directory()[IMAGE_DIRECTORY_ENTRY_BASERELOC 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_BASERELOC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_IMPORT` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:114:47 [INFO] [stdout] | [INFO] [stdout] 114 | import_directory: pe.data_directory()[IMAGE_DIRECTORY_ENTRY_IMPORT 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_IMPORT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_BASE_RELOCATION` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 191 | as *const IMAGE_BASE_RELOCATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_BASE_RELOCATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_BASED_DIR64` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:200:34 [INFO] [stdout] | [INFO] [stdout] 200 | if reloc_type == IMAGE_REL_BASED_DIR64 { [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_REL_BASED_DIR64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_BASE_RELOCATION` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:216:71 [INFO] [stdout] | [INFO] [stdout] 216 | base_reloc = (base_reloc as usize + block_size) as *const IMAGE_BASE_RELOCATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_BASE_RELOCATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_DESCRIPTOR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:223:23 [INFO] [stdout] | [INFO] [stdout] 223 | as *const IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:227:82 [INFO] [stdout] | [INFO] [stdout] 227 | (loader_info.image_base + (*import_descriptor).Name as usize) as LPCSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_ORDINAL_FLAG` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:244:41 [INFO] [stdout] | [INFO] [stdout] 244 | if (*orig_first_thunk & IMAGE_ORDINAL_FLAG as usize) != 0 as usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_ORDINAL_FLAG; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe64::image::IMAGE_ORDINAL_FLAG; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:247:57 [INFO] [stdout] | [INFO] [stdout] 247 | (*orig_first_thunk & 0xffff) as LPCSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_BY_NAME` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:251:80 [INFO] [stdout] | [INFO] [stdout] 251 | (loader_info.image_base + *orig_first_thunk) as *const IMAGE_IMPORT_BY_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:253:94 [INFO] [stdout] | [INFO] [stdout] 253 | proc = (loader_info.get_proc_address)(module, &(*import_by_name).Name as LPCSTR) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_DESCRIPTOR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:269:34 [INFO] [stdout] | [INFO] [stdout] 269 | + mem::size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_DESCRIPTOR` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | as *const IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/injector/manualmap.rs:279:39 [INFO] [stdout] | [INFO] [stdout] 279 | 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/injector/manualmap.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | 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/injector/manualmap.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | 0 as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/winapiwrapper/library.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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/library.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[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/winapiwrapper/library.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | 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 `CloseHandle` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let ret = unsafe { CloseHandle(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/process.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | self.handle = 0 as HANDLE; [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:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let pid = unsafe { GetProcessId(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/process.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 16 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn handle(&self) -> Result { [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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn from_handle(handle: HANDLE) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs: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:17 [INFO] [stdout] | [INFO] [stdout] 21 | 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:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | pub 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:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | 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:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | 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:58:41 [INFO] [stdout] | [INFO] [stdout] 53 | impl Iterator for SnapshotThreadEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 58 | dwSize: std::mem::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:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | 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:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | 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 `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `THREAD_INFORMATION_CLASS` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:58 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PULONG` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:23:83 [INFO] [stdout] | [INFO] [stdout] 23 | extern "system" fn(HANDLE, THREAD_INFORMATION_CLASS, PVOID, ULONG, PULONG) -> NTSTATUS; [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:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | UniqueProcess: 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/thread.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | UniqueThread: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | pub ExitStatus: NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | pub TebBaseAddress: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NT_TIB` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub Tib: NT_TIB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | pub EnvironmentPointer: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | pub ActiveRpcInfo: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | pub ThreadLocalStoragePointer: PVOID, [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:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | pub unsafe fn from_handle(handle: HANDLE) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | let handle = unsafe { OpenThread(access.bits(), inherit_handle as i32, id) }; [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:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | } 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:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | 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:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | 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:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | 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:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | if ret == WAIT_FAILED { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | TebBaseAddress: 0 as PVOID, [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:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | UniqueProcess: 0 as 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/thread.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | UniqueThread: 0 as HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:157:78 [INFO] [stdout] | [INFO] [stdout] 157 | &mut thread_basic_info as *const THREAD_BASIC_INFORMATION as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PULONG` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | 0 as PULONG, [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[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/winapiwrapper/virtualmem.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | WriteProcessMemory( [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:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | 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:16:61 [INFO] [stdout] | [INFO] [stdout] 16 | 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] warning: unused import: `super::thread::Thread` [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 110 previous errors; 1 warning emitted [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 110 previous errors; 1 warning emitted [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" "6d6b9ecb3060a2b20899d2b02f33b2a9735495f12cc3a0905bdb4d12ced768c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6b9ecb3060a2b20899d2b02f33b2a9735495f12cc3a0905bdb4d12ced768c6", kill_on_drop: false }` [INFO] [stdout] 6d6b9ecb3060a2b20899d2b02f33b2a9735495f12cc3a0905bdb4d12ced768c6