[INFO] fetching crate win_mem 0.2.2... [INFO] checking win_mem-0.2.2 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate win_mem 0.2.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate win_mem 0.2.2 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate win_mem 0.2.2 [INFO] finished tweaking crates.io crate win_mem 0.2.2 [INFO] tweaked toml for crates.io crate win_mem 0.2.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 42d96b46a2243b0b12f269d0ee13d7d7244cd2438d49b1e81974cc5303048cf8 [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" "42d96b46a2243b0b12f269d0ee13d7d7244cd2438d49b1e81974cc5303048cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42d96b46a2243b0b12f269d0ee13d7d7244cd2438d49b1e81974cc5303048cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42d96b46a2243b0b12f269d0ee13d7d7244cd2438d49b1e81974cc5303048cf8", kill_on_drop: false }` [INFO] [stdout] 42d96b46a2243b0b12f269d0ee13d7d7244cd2438d49b1e81974cc5303048cf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stdout] 1d42f819d4d142d21bc812c018e08ff124380458bbcef62f328a03151854f4d0 [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" "1d42f819d4d142d21bc812c018e08ff124380458bbcef62f328a03151854f4d0", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking win_mem v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/snapshot.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPMODULE, TH32CS_SNAPMODULE32, TH32CS_SNAPPROCESS}; [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/snapshot.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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/module.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::DWORD; [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/process.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{DWORD, FALSE, LPCVOID, LPVOID, TRUE}; [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/process.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/process.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use 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/process.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use 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/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::tlhelp32::{Module32FirstW, Module32NextW, MODULEENTRY32W, Process32FirstW, Process32NextW, PROCESSENTRY32W}; [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/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::{HANDLE, 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/utils.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use 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/utils.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{HANDLE, WCHAR}; [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/snapshot.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPMODULE, TH32CS_SNAPMODULE32, TH32CS_SNAPPROCESS}; [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/snapshot.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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/module.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::DWORD; [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/process.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{DWORD, FALSE, LPCVOID, LPVOID, TRUE}; [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/process.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/process.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use 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/process.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use 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/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::tlhelp32::{Module32FirstW, Module32NextW, MODULEENTRY32W, Process32FirstW, Process32NextW, PROCESSENTRY32W}; [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/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::{HANDLE, 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/utils.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use 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/utils.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{HANDLE, WCHAR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::WCHAR; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/snapshot.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Snapshot(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/snapshot.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0)) } [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/snapshot.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0)) } [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/snapshot.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process.pid())) } [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/snapshot.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process.pid())) } [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/snapshot.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process.pid())) } [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/snapshot.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn handle(&self) -> HANDLE { [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/module.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) address: DWORD, [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/module.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) len: DWORD, [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/module.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn address(&self) -> DWORD { [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/module.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn len(&self) -> DWORD { [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/process.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pid: DWORD, [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/process.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/snapshot.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Snapshot(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/snapshot.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0)) } [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/snapshot.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0)) } [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/snapshot.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process.pid())) } [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/snapshot.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process.pid())) } [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/snapshot.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process.pid())) } [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/snapshot.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn handle(&self) -> HANDLE { [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/module.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) address: DWORD, [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/module.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) len: DWORD, [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/module.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn address(&self) -> DWORD { [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/module.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn len(&self) -> DWORD { [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/process.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pid: DWORD, [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/process.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | handle: HANDLE, [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/process.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 22 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | let mut p_entry = 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/process.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 22 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | p_entry.dwSize = size_of::() as DWORD; [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/process.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 34 | p_entry.dwSize = size_of::() as DWORD; [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/process.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | snapshot.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 `Process32FirstW` in this scope [INFO] [stdout] --> src/process.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | Process32FirstW(snapshot.handle(), &mut p_entry) != 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/process.rs:38:69 [INFO] [stdout] | [INFO] [stdout] 38 | Process32FirstW(snapshot.handle(), &mut p_entry) != FALSE { [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/process.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | ... let h_proc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, 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/process.rs:44:54 [INFO] [stdout] | [INFO] [stdout] 44 | ... let h_proc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid); [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/process.rs:44:74 [INFO] [stdout] | [INFO] [stdout] 44 | ... let h_proc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid); [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/process.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | Process32NextW(snapshot.handle(), &mut p_entry) != 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/process.rs:53:72 [INFO] [stdout] | [INFO] [stdout] 53 | Process32NextW(snapshot.handle(), &mut p_entry) != 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/process.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 22 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 70 | let mut m_entry = 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/process.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 22 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 72 | m_entry.dwSize = size_of::() as DWORD; [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/process.rs:72:61 [INFO] [stdout] | [INFO] [stdout] 72 | m_entry.dwSize = size_of::() as DWORD; [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/process.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | snapshot.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 `Module32FirstW` in this scope [INFO] [stdout] --> src/process.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | Module32FirstW(snapshot.handle(), &mut m_entry) != 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/process.rs:76:68 [INFO] [stdout] | [INFO] [stdout] 76 | Module32FirstW(snapshot.handle(), &mut m_entry) != FALSE { [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/process.rs:82:65 [INFO] [stdout] | [INFO] [stdout] 82 | ... address: m_entry.modBaseAddr as DWORD, [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/process.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | Module32NextW(snapshot.handle(), &mut m_entry) != 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/process.rs:88:71 [INFO] [stdout] | [INFO] [stdout] 88 | Module32NextW(snapshot.handle(), &mut m_entry) != FALSE [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/process.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn write_mem(&self, buffer: &T, address: DWORD) -> WinResult<()> { [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/process.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | if WriteProcessMemory(self.handle, [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/process.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | ... address as LPVOID, [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/process.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 22 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | let mut p_entry = zeroed::(); [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/process.rs:102:57 [INFO] [stdout] | [INFO] [stdout] 102 | ... buffer as *const T as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/process.rs:104:50 [INFO] [stdout] | [INFO] [stdout] 104 | ... null_mut()) == TRUE { [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/process.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 22 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | p_entry.dwSize = size_of::() as DWORD; [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/process.rs:114:81 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn write_mem_relative(&self, buffer: &T, module_name: &str, address: DWORD) -> WinResult<()> { [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/process.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 34 | p_entry.dwSize = size_of::() as DWORD; [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/process.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn read_mem(&self, address: DWORD) -> WinResult { [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/process.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | snapshot.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 `ReadProcessMemory` in this scope [INFO] [stdout] --> src/process.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | if ReadProcessMemory(self.handle, [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/process.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | ... 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 `Process32FirstW` in this scope [INFO] [stdout] --> src/process.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | Process32FirstW(snapshot.handle(), &mut p_entry) != FALSE { [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/process.rs:130:56 [INFO] [stdout] | [INFO] [stdout] 130 | ... &mut buf as *mut T as LPVOID, [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/process.rs:38:69 [INFO] [stdout] | [INFO] [stdout] 38 | Process32FirstW(snapshot.handle(), &mut p_entry) != FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/process.rs:132:49 [INFO] [stdout] | [INFO] [stdout] 132 | ... null_mut()) == TRUE { [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/process.rs:142:68 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn read_mem_relative(&self, module_name: &str, address: DWORD) -> WinResult { [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/process.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | ... let h_proc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid); [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/process.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn pid(&self) -> DWORD { [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/process.rs:44:54 [INFO] [stdout] | [INFO] [stdout] 44 | ... let h_proc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid); [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/process.rs:44:74 [INFO] [stdout] | [INFO] [stdout] 44 | ... let h_proc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid); [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/process.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | pub 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 `Process32NextW` in this scope [INFO] [stdout] --> src/process.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | Process32NextW(snapshot.handle(), &mut p_entry) != FALSE [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/utils.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn close_h(handle: HANDLE) { [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/process.rs:53:72 [INFO] [stdout] | [INFO] [stdout] 53 | Process32NextW(snapshot.handle(), &mut p_entry) != FALSE [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/utils.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | 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/utils.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe { CloseHandle(handle); } [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/process.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 22 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 70 | let mut m_entry = 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/process.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 22 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 72 | m_entry.dwSize = size_of::() as DWORD; [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/process.rs:72:61 [INFO] [stdout] | [INFO] [stdout] 72 | m_entry.dwSize = size_of::() as DWORD; [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/process.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | snapshot.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 `Module32FirstW` in this scope [INFO] [stdout] --> src/process.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | Module32FirstW(snapshot.handle(), &mut m_entry) != 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/process.rs:76:68 [INFO] [stdout] | [INFO] [stdout] 76 | Module32FirstW(snapshot.handle(), &mut m_entry) != FALSE { [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/process.rs:82:65 [INFO] [stdout] | [INFO] [stdout] 82 | ... address: m_entry.modBaseAddr as DWORD, [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/process.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | Module32NextW(snapshot.handle(), &mut m_entry) != 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/process.rs:88:71 [INFO] [stdout] | [INFO] [stdout] 88 | Module32NextW(snapshot.handle(), &mut m_entry) != FALSE [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/process.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn write_mem(&self, buffer: &T, address: DWORD) -> WinResult<()> { [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/process.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | if WriteProcessMemory(self.handle, [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/process.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | ... 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/process.rs:102:57 [INFO] [stdout] | [INFO] [stdout] 102 | ... buffer as *const T as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/process.rs:104:50 [INFO] [stdout] | [INFO] [stdout] 104 | ... null_mut()) == TRUE { [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/process.rs:114:81 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn write_mem_relative(&self, buffer: &T, module_name: &str, address: DWORD) -> WinResult<()> { [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/process.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn read_mem(&self, address: DWORD) -> WinResult { [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/process.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | if ReadProcessMemory(self.handle, [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/process.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | ... address 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/process.rs:130:56 [INFO] [stdout] | [INFO] [stdout] 130 | ... &mut buf as *mut T as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/process.rs:132:49 [INFO] [stdout] | [INFO] [stdout] 132 | ... null_mut()) == TRUE { [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/process.rs:142:68 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn read_mem_relative(&self, module_name: &str, address: DWORD) -> WinResult { [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/process.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn pid(&self) -> DWORD { [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/process.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | pub 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/utils.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn close_h(handle: HANDLE) { [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/utils.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | 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/utils.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe { CloseHandle(handle); } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/utils.rs:24:65 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn remove_nil_bytes(c_style_str: &[WCHAR; C_STR_SIZE]) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/utils.rs:24:65 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn remove_nil_bytes(c_style_str: &[WCHAR; C_STR_SIZE]) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/lib.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let c_string: [WCHAR; 8] = [102, 105, 114, 101, 102, 111, 120, 0]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 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] [stdout] error: aborting due to 64 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 `win_mem` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1d42f819d4d142d21bc812c018e08ff124380458bbcef62f328a03151854f4d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d42f819d4d142d21bc812c018e08ff124380458bbcef62f328a03151854f4d0", kill_on_drop: false }` [INFO] [stdout] 1d42f819d4d142d21bc812c018e08ff124380458bbcef62f328a03151854f4d0