[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] 96f8b5b..44bf690 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44bf690004120b47fffa1966fcea35ca68d732a2 [INFO] testing c4fe/manualmap-rs against 1.45.2 for beta-1.46-1 [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 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 71f6c92f50c142a7af46c6239c998a73e82b2b82a90866c0fe8b1f76c9982d0f [INFO] running `Command { std: "docker" "start" "-a" "71f6c92f50c142a7af46c6239c998a73e82b2b82a90866c0fe8b1f76c9982d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71f6c92f50c142a7af46c6239c998a73e82b2b82a90866c0fe8b1f76c9982d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f6c92f50c142a7af46c6239c998a73e82b2b82a90866c0fe8b1f76c9982d0f", kill_on_drop: false }` [INFO] [stdout] 71f6c92f50c142a7af46c6239c998a73e82b2b82a90866c0fe8b1f76c9982d0f [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f026d69dea7c81a9e4eceb5666589bc33acbb5501831530a66fed326553fcc61 [INFO] running `Command { std: "docker" "start" "-a" "f026d69dea7c81a9e4eceb5666589bc33acbb5501831530a66fed326553fcc61", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pelite-macros v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling field-offset v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling pelite v0.8.1 [INFO] [stderr] Compiling dynasm v1.0.0 [INFO] [stderr] Compiling dynasmrt v1.0.0 [INFO] [stderr] Compiling 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:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | 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 `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[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:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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/library.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/library.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/library.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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | 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:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 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:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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[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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | 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:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | 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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::ctypes::c_void as winapic_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[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:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | MAX_PATH as usize + PTR_SIZE, [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_REL_BASED_DIR64` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | if typ == IMAGE_REL_BASED_DIR64 { [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::image::IMAGE_REL_BASED_DIR64; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_REL_BASED_DIR64; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe64::image::IMAGE_REL_BASED_DIR64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_EXCEPTION` in this scope [INFO] [stdout] --> src/injection/manualmap.rs:256:33 [INFO] [stdout] | [INFO] [stdout] 256 | pe.data_directory()[IMAGE_DIRECTORY_ENTRY_EXCEPTION 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::image::IMAGE_DIRECTORY_ENTRY_EXCEPTION; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_DIRECTORY_ENTRY_EXCEPTION; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe64::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:258:80 [INFO] [stdout] | [INFO] [stdout] 258 | (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:269:29 [INFO] [stdout] | [INFO] [stdout] 269 | let read = ch & IMAGE_SCN_MEM_READ != 0; [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::image::IMAGE_SCN_MEM_READ; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_SCN_MEM_READ; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe64::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:270:30 [INFO] [stdout] | [INFO] [stdout] 270 | let write = ch & IMAGE_SCN_MEM_WRITE != 0; [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::image::IMAGE_SCN_MEM_WRITE; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_SCN_MEM_WRITE; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe64::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:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | let exec = ch & IMAGE_SCN_MEM_EXECUTE != 0; [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::image::IMAGE_SCN_MEM_EXECUTE; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe32::image::IMAGE_SCN_MEM_EXECUTE; [INFO] [stdout] | [INFO] [stdout] 1 | use pelite::pe64::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:383:25 [INFO] [stdout] | [INFO] [stdout] 383 | 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:404:39 [INFO] [stdout] | [INFO] [stdout] 404 | 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:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | 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:406:18 [INFO] [stdout] | [INFO] [stdout] 406 | 0 as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/handleowner.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | fn handle(&self) -> HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/winapiwrapper/library.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | 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:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | 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/library.rs:76:63 [INFO] [stdout] | [INFO] [stdout] 76 | 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/library.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | pub unsafe fn from_handle(handle: HMODULE, pid_owning: u32, is_external: bool) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/winapiwrapper/library.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | 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/library.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 24 | impl Library { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 205 | 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/library.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | 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/library.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | 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/library.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | 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/library.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | 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/library.rs:222:35 [INFO] [stdout] | [INFO] [stdout] 222 | &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/library.rs:223:27 [INFO] [stdout] | [INFO] [stdout] 24 | impl Library { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 223 | 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:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | 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:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | 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 `CloseHandle` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | let ret = unsafe { CloseHandle(self.handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessId` in this scope [INFO] [stdout] --> src/winapiwrapper/process.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | 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:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | 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:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | 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:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | 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:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | 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:170:69 [INFO] [stdout] | [INFO] [stdout] 26 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 170 | 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:180:34 [INFO] [stdout] | [INFO] [stdout] 26 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 180 | 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:219:35 [INFO] [stdout] | [INFO] [stdout] 219 | 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:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | 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:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/winapiwrapper/snapshot.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | 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:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | 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:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | 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:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | 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:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | 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:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:31 [INFO] [stdout] | [INFO] [stdout] 67 | impl Iterator for SnapshotThreadEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 72 | 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:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | 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:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | 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:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | 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:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | 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:118:31 [INFO] [stdout] | [INFO] [stdout] 113 | impl Iterator for SnapshotModuleEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 118 | 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:123:42 [INFO] [stdout] | [INFO] [stdout] 113 | impl Iterator for SnapshotModuleEntries { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 123 | 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:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | 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:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | 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:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | 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:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe 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:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe 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:24:65 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe 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:24:72 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe 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:24:79 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe 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:24:90 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe 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:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | 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:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | 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:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | 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:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | 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:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | 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:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | 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:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | 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:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | 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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | 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 `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[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/winapiwrapper/thread.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | 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:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | 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[E0425]: cannot find value `IMAGE_FILE_DLL` in this scope [INFO] [stdout] --> src/lib.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | 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 one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use pelite::image::IMAGE_FILE_DLL; [INFO] [stdout] | [INFO] [stdout] 4 | use pelite::pe32::image::IMAGE_FILE_DLL; [INFO] [stdout] | [INFO] [stdout] 4 | use pelite::pe64::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:20:61 [INFO] [stdout] | [INFO] [stdout] 20 | 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 one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use pelite::image::IMAGE_FILE_DLL; [INFO] [stdout] | [INFO] [stdout] 4 | use pelite::pe32::image::IMAGE_FILE_DLL; [INFO] [stdout] | [INFO] [stdout] 4 | use pelite::pe64::image::IMAGE_FILE_DLL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 132 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] running `Command { std: "docker" "inspect" "f026d69dea7c81a9e4eceb5666589bc33acbb5501831530a66fed326553fcc61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f026d69dea7c81a9e4eceb5666589bc33acbb5501831530a66fed326553fcc61", kill_on_drop: false }` [INFO] [stdout] f026d69dea7c81a9e4eceb5666589bc33acbb5501831530a66fed326553fcc61