[INFO] cloning repository https://github.com/frk1/hazedumper-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frk1/hazedumper-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrk1%2Fhazedumper-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrk1%2Fhazedumper-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f8c85408a2040f77a31408bba656f1293ccd3d2 [INFO] checking frk1/hazedumper-rs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrk1%2Fhazedumper-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frk1/hazedumper-rs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/.cargo/config [INFO] started tweaking git repo https://github.com/frk1/hazedumper-rs [INFO] finished tweaking git repo https://github.com/frk1/hazedumper-rs [INFO] tweaked toml for git repo https://github.com/frk1/hazedumper-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/frk1/hazedumper-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c83d7be4c215ca998c65915feea30d1c07ae8871544509e588bfe9ec5a8c5dc [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" "5c83d7be4c215ca998c65915feea30d1c07ae8871544509e588bfe9ec5a8c5dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c83d7be4c215ca998c65915feea30d1c07ae8871544509e588bfe9ec5a8c5dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c83d7be4c215ca998c65915feea30d1c07ae8871544509e588bfe9ec5a8c5dc", kill_on_drop: false }` [INFO] [stdout] 5c83d7be4c215ca998c65915feea30d1c07ae8871544509e588bfe9ec5a8c5dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--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] 3101e5d19cc3c5f0060fabaef38ba344af3199e3986739017696c5f55f465292 [INFO] running `Command { std: "docker" "start" "-a" "3101e5d19cc3c5f0060fabaef38ba344af3199e3986739017696c5f55f465292", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling hazedumper v2.4.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stdout] warning: function is never used: `git_semver` [INFO] [stdout] --> build.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn git_semver() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking simplelog v0.7.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-error v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.9 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling structopt-derive v0.4.2 [INFO] [stderr] Checking structopt v0.3.9 [INFO] [stdout] error: environment variable `GIT_PKG_VERSION_SEMVER` not defined [INFO] [stdout] --> src/main.rs:84:35 [INFO] [stdout] | [INFO] [stdout] 84 | let app = Opt::clap().version(env!("GIT_PKG_VERSION_SEMVER")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/memlib/module.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use self::winapi::shared::minwindef::FALSE; [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/memlib/module.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | use self::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/memlib/process.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | use self::winapi::shared::basetsd::SIZE_T; [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/memlib/process.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | use self::winapi::shared::minwindef::{BOOL, FALSE, LPCVOID, LPVOID, PBOOL}; [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/memlib/process.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | use self::winapi::shared::ntdef::HANDLE; [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/memlib/process.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | use self::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/memlib/process.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | use self::winapi::um::memoryapi::{ReadProcessMemory, 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/memlib/process.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | use self::winapi::um::processthreadsapi::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/memlib/process.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | use self::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/memlib/process.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | use self::winapi::um::winnt::PROCESS_ALL_ACCESS; [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/memlib/process.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | use self::winapi::um::wow64apiset::IsWow64Process; [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/memlib/snapshot.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | use self::winapi::shared::ntdef::HANDLE; [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/memlib/snapshot.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use self::winapi::um::handleapi::{CloseHandle, 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/memlib/snapshot.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | use self::winapi::um::tlhelp32::CreateToolhelp32Snapshot; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODULEENTRY32W` [INFO] [stdout] --> src/memlib/module.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | let mut me = MODULEENTRY32W::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `MODULEENTRY32W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `GIT_PKG_VERSION_SEMVER` not defined [INFO] [stdout] --> src/main.rs:84:35 [INFO] [stdout] | [INFO] [stdout] 84 | let app = Opt::clap().version(env!("GIT_PKG_VERSION_SEMVER")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/memlib/module.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use self::winapi::shared::minwindef::FALSE; [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/memlib/module.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | use self::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/memlib/process.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | use self::winapi::shared::basetsd::SIZE_T; [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/memlib/process.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | use self::winapi::shared::minwindef::{BOOL, FALSE, LPCVOID, LPVOID, PBOOL}; [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/memlib/process.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | use self::winapi::shared::ntdef::HANDLE; [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/memlib/process.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | use self::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/memlib/process.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | use self::winapi::um::memoryapi::{ReadProcessMemory, 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/memlib/process.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | use self::winapi::um::processthreadsapi::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/memlib/process.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | use self::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/memlib/process.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | use self::winapi::um::winnt::PROCESS_ALL_ACCESS; [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/memlib/process.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | use self::winapi::um::wow64apiset::IsWow64Process; [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/memlib/snapshot.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | use self::winapi::shared::ntdef::HANDLE; [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/memlib/snapshot.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use self::winapi::um::handleapi::{CloseHandle, 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/memlib/snapshot.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | use self::winapi::um::tlhelp32::CreateToolhelp32Snapshot; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODULEENTRY32W` [INFO] [stdout] --> src/memlib/module.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | let mut me = MODULEENTRY32W::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `MODULEENTRY32W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PROCESSENTRY32W` [INFO] [stdout] --> src/memlib/process.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | let mut pe = PROCESSENTRY32W::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PROCESSENTRY32W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | impl Constructor for MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let mut module: MODULEENTRY32W = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 44 | impl Constructor for MODULEENTRY32W { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 48 | module.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_module_entry(me: &MODULEENTRY32W, name: &str, process: &Process) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | fn module32_first(h: &SnapshotHandle, me: &mut MODULEENTRY32W) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope [INFO] [stdout] --> src/memlib/module.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { Module32FirstW(**h, me) != FALSE } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/module.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { Module32FirstW(**h, me) != FALSE } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | fn module32_next(h: &SnapshotHandle, me: &mut MODULEENTRY32W) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope [INFO] [stdout] --> src/memlib/module.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { Module32NextW(**h, me) != FALSE } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/module.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { Module32NextW(**h, me) != FALSE } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/memlib/module.rs:115:52 [INFO] [stdout] | [INFO] [stdout] 115 | let snapshot = SnapshotHandle::new(process.id, TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope [INFO] [stdout] --> src/memlib/module.rs:115:72 [INFO] [stdout] | [INFO] [stdout] 115 | let snapshot = SnapshotHandle::new(process.id, TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memlib/process.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | impl Constructor for PROCESSENTRY32W { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memlib/process.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut pe: PROCESSENTRY32W = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memlib/process.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 46 | impl Constructor for PROCESSENTRY32W { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 50 | pe.dwSize = mem::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/memlib/process.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | 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 `ReadProcessMemory` in this scope [INFO] [stdout] --> src/memlib/process.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | address as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | &mut buffer as *mut T as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | mem::size_of::() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 70 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 80 | ptr::null_mut::(), [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/memlib/process.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | address as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | buf as *mut T as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | mem::size_of::() as SIZE_T * count, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 70 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 95 | ptr::null_mut::(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/process.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | ) != FALSE [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/memlib/process.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | address as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | buf as *const T as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | mem::size_of::() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 70 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 108 | ptr::null_mut::(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/process.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | ) != FALSE [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/memlib/process.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | 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 `OpenProcess` in this scope [INFO] [stdout] --> src/memlib/process.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, pid) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/memlib/process.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, pid) }; [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/memlib/process.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | let mut tmp: BOOL = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWow64Process` in this scope [INFO] [stdout] --> src/memlib/process.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | if unsafe { IsWow64Process(handle, &mut tmp as PBOOL) } == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PBOOL` in this scope [INFO] [stdout] --> src/memlib/process.rs:142:52 [INFO] [stdout] | [INFO] [stdout] 142 | if unsafe { IsWow64Process(handle, &mut tmp as PBOOL) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/process.rs:142:64 [INFO] [stdout] | [INFO] [stdout] 142 | if unsafe { IsWow64Process(handle, &mut tmp as PBOOL) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memlib/process.rs:162:49 [INFO] [stdout] | [INFO] [stdout] 162 | fn process32_first(h: &SnapshotHandle, pe: &mut PROCESSENTRY32W) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope [INFO] [stdout] --> src/memlib/process.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe { Process32FirstW(**h, pe) != FALSE } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/process.rs:163:42 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe { Process32FirstW(**h, pe) != FALSE } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memlib/process.rs:167:48 [INFO] [stdout] | [INFO] [stdout] 167 | fn process32_next(h: &SnapshotHandle, pe: &mut PROCESSENTRY32W) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope [INFO] [stdout] --> src/memlib/process.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { Process32NextW(**h, pe) != FALSE } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/process.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { Process32NextW(**h, pe) != FALSE } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope [INFO] [stdout] --> src/memlib/process.rs:172:43 [INFO] [stdout] | [INFO] [stdout] 172 | let snapshot = SnapshotHandle::new(0, TH32CS_SNAPPROCESS)?; [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/memlib/snapshot.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub 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/memlib/snapshot.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | let handle = unsafe { CreateToolhelp32Snapshot(flags, 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/memlib/snapshot.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | if handle.is_null() || handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/memlib/snapshot.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | 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/memlib/snapshot.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | type Target = 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/memlib/snapshot.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | fn deref(&self) -> &HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PROCESSENTRY32W` [INFO] [stdout] --> src/memlib/process.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | let mut pe = PROCESSENTRY32W::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PROCESSENTRY32W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | impl Constructor for MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let mut module: MODULEENTRY32W = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 44 | impl Constructor for MODULEENTRY32W { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 48 | module.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_module_entry(me: &MODULEENTRY32W, name: &str, process: &Process) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | fn module32_first(h: &SnapshotHandle, me: &mut MODULEENTRY32W) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope [INFO] [stdout] --> src/memlib/module.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { Module32FirstW(**h, me) != FALSE } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/module.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { Module32FirstW(**h, me) != FALSE } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memlib/module.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | fn module32_next(h: &SnapshotHandle, me: &mut MODULEENTRY32W) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope [INFO] [stdout] --> src/memlib/module.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { Module32NextW(**h, me) != FALSE } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/module.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { Module32NextW(**h, me) != FALSE } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/memlib/module.rs:115:52 [INFO] [stdout] | [INFO] [stdout] 115 | let snapshot = SnapshotHandle::new(process.id, TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope [INFO] [stdout] --> src/memlib/module.rs:115:72 [INFO] [stdout] | [INFO] [stdout] 115 | let snapshot = SnapshotHandle::new(process.id, TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memlib/process.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | impl Constructor for PROCESSENTRY32W { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memlib/process.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut pe: PROCESSENTRY32W = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memlib/process.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 46 | impl Constructor for PROCESSENTRY32W { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 50 | pe.dwSize = mem::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/memlib/process.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | 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 `ReadProcessMemory` in this scope [INFO] [stdout] --> src/memlib/process.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | address as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | &mut buffer as *mut T as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | mem::size_of::() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 70 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 80 | ptr::null_mut::(), [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/memlib/process.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | address as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | buf as *mut T as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | mem::size_of::() as SIZE_T * count, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 70 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 95 | ptr::null_mut::(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/process.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | ) != FALSE [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/memlib/process.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | address as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/memlib/process.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | buf as *const T as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | mem::size_of::() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/memlib/process.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 70 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 108 | ptr::null_mut::(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/process.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | ) != FALSE [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/memlib/process.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | 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 `OpenProcess` in this scope [INFO] [stdout] --> src/memlib/process.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, pid) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/memlib/process.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, pid) }; [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/memlib/process.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | let mut tmp: BOOL = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWow64Process` in this scope [INFO] [stdout] --> src/memlib/process.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | if unsafe { IsWow64Process(handle, &mut tmp as PBOOL) } == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PBOOL` in this scope [INFO] [stdout] --> src/memlib/process.rs:142:52 [INFO] [stdout] | [INFO] [stdout] 142 | if unsafe { IsWow64Process(handle, &mut tmp as PBOOL) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/process.rs:142:64 [INFO] [stdout] | [INFO] [stdout] 142 | if unsafe { IsWow64Process(handle, &mut tmp as PBOOL) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memlib/process.rs:162:49 [INFO] [stdout] | [INFO] [stdout] 162 | fn process32_first(h: &SnapshotHandle, pe: &mut PROCESSENTRY32W) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope [INFO] [stdout] --> src/memlib/process.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe { Process32FirstW(**h, pe) != FALSE } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/process.rs:163:42 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe { Process32FirstW(**h, pe) != FALSE } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memlib/process.rs:167:48 [INFO] [stdout] | [INFO] [stdout] 167 | fn process32_next(h: &SnapshotHandle, pe: &mut PROCESSENTRY32W) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope [INFO] [stdout] --> src/memlib/process.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { Process32NextW(**h, pe) != FALSE } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/memlib/process.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { Process32NextW(**h, pe) != FALSE } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope [INFO] [stdout] --> src/memlib/process.rs:172:43 [INFO] [stdout] | [INFO] [stdout] 172 | let snapshot = SnapshotHandle::new(0, TH32CS_SNAPPROCESS)?; [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/memlib/snapshot.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub 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/memlib/snapshot.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | let handle = unsafe { CreateToolhelp32Snapshot(flags, 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/memlib/snapshot.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | if handle.is_null() || handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/memlib/snapshot.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | 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/memlib/snapshot.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | type Target = 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/memlib/snapshot.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | fn deref(&self) -> &HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hazedumper` [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 70 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, 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" "3101e5d19cc3c5f0060fabaef38ba344af3199e3986739017696c5f55f465292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3101e5d19cc3c5f0060fabaef38ba344af3199e3986739017696c5f55f465292", kill_on_drop: false }` [INFO] [stdout] 3101e5d19cc3c5f0060fabaef38ba344af3199e3986739017696c5f55f465292