[INFO] cloning repository https://github.com/radlock69/memory-scanner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/radlock69/memory-scanner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradlock69%2Fmemory-scanner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradlock69%2Fmemory-scanner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46e2dff93e13466fdcdb9a2b963c371928165bf9 [INFO] checking radlock69/memory-scanner against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradlock69%2Fmemory-scanner" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/radlock69/memory-scanner on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/radlock69/memory-scanner [INFO] finished tweaking git repo https://github.com/radlock69/memory-scanner [INFO] tweaked toml for git repo https://github.com/radlock69/memory-scanner written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/radlock69/memory-scanner already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking radlock69/memory-scanner against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradlock69%2Fmemory-scanner" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/radlock69/memory-scanner on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/radlock69/memory-scanner [INFO] finished tweaking git repo https://github.com/radlock69/memory-scanner [INFO] tweaked toml for git repo https://github.com/radlock69/memory-scanner written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/radlock69/memory-scanner already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22b882bb73ca18a9121794dd558d519b92eb10beec4000d3247929f52b0e54ba [INFO] running `Command { std: "docker" "start" "-a" "22b882bb73ca18a9121794dd558d519b92eb10beec4000d3247929f52b0e54ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22b882bb73ca18a9121794dd558d519b92eb10beec4000d3247929f52b0e54ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b882bb73ca18a9121794dd558d519b92eb10beec4000d3247929f52b0e54ba", kill_on_drop: false }` [INFO] [stdout] 22b882bb73ca18a9121794dd558d519b92eb10beec4000d3247929f52b0e54ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5353bed569662afb930e5a6d5bbbca9aa1af82d4dd98232fab229aa0c3ad3c54 [INFO] running `Command { std: "docker" "start" "-a" "5353bed569662afb930e5a6d5bbbca9aa1af82d4dd98232fab229aa0c3ad3c54", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking usermode-memoryscanner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | shared::minwindef::*, [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/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | um::{ [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/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | shared::minwindef::*, [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/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | um::{ [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/main.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | let hprocess: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, getpid(procname)) }; [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/main.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | let hprocess: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, getpid(procname)) }; [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/main.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | if hprocess == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/main.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | PAGE_EXECUTE_READWRITE, [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/main.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | pmc.cb = mem::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/main.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 68 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:71:65 [INFO] [stdout] | [INFO] [stdout] 71 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/main.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | PAGE_EXECUTE_READWRITE, [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/main.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | let hprocess: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, getpid(procname)) }; [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/main.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [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/main.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | let hprocess: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, getpid(procname)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | pmc.cb = mem::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/main.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | if hprocess == INVALID_HANDLE_VALUE { [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/main.rs:107:65 [INFO] [stdout] | [INFO] [stdout] 107 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/main.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:110:65 [INFO] [stdout] | [INFO] [stdout] 110 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | PAGE_EXECUTE_READWRITE, [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/main.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | pmc.cb = mem::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/main.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 68 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:71:65 [INFO] [stdout] | [INFO] [stdout] 71 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/main.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | PAGE_EXECUTE_READWRITE, [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/main.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | pmc.cb = mem::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/main.rs:107:65 [INFO] [stdout] | [INFO] [stdout] 107 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:110:65 [INFO] [stdout] | [INFO] [stdout] 110 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/main.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | PAGE_EXECUTE_READWRITE, [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/main.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/main.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | PAGE_EXECUTE_READWRITE, [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/main.rs:146:65 [INFO] [stdout] | [INFO] [stdout] 146 | pmc.cb = mem::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/main.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:149:65 [INFO] [stdout] | [INFO] [stdout] 149 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/main.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | PAGE_EXECUTE_READWRITE, [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/main.rs:146:65 [INFO] [stdout] | [INFO] [stdout] 146 | pmc.cb = mem::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/main.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:149:65 [INFO] [stdout] | [INFO] [stdout] 149 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/main.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 195 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | PAGE_EXECUTE_READWRITE, [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/main.rs:195:65 [INFO] [stdout] | [INFO] [stdout] 195 | pmc.cb = mem::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/main.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:198:65 [INFO] [stdout] | [INFO] [stdout] 198 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/main.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 195 | pmc.cb = mem::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/main.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | if alloc == INVALID_HANDLE_VALUE { [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/main.rs:195:65 [INFO] [stdout] | [INFO] [stdout] 195 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:198:65 [INFO] [stdout] | [INFO] [stdout] 198 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/main.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | MEM_RESERVE, [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/main.rs:234:65 [INFO] [stdout] | [INFO] [stdout] 234 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:237:65 [INFO] [stdout] | [INFO] [stdout] 237 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/main.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | MEM_RESERVE, [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/main.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | PAGE_EXECUTE_READWRITE, [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/main.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | pmc.cb = mem::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/main.rs:234:65 [INFO] [stdout] | [INFO] [stdout] 234 | pmc.cb = mem::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/main.rs:273:65 [INFO] [stdout] | [INFO] [stdout] 273 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:237:65 [INFO] [stdout] | [INFO] [stdout] 237 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:276:65 [INFO] [stdout] | [INFO] [stdout] 276 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/main.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:300:64 [INFO] [stdout] | [INFO] [stdout] 300 | pagepriority = unsafe { SetPriorityClass(hprocess, HIGH_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDLE_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:312:64 [INFO] [stdout] | [INFO] [stdout] 312 | pagepriority = unsafe { SetPriorityClass(hprocess, IDLE_PRIORITY_CLASS) }; [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/main.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | if alloc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:324:64 [INFO] [stdout] | [INFO] [stdout] 324 | pagepriority = unsafe { SetPriorityClass(hprocess, NORMAL_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | let mut pmc: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ABOVE_NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:336:64 [INFO] [stdout] | [INFO] [stdout] 336 | pagepriority = unsafe { SetPriorityClass(hprocess, ABOVE_NORMAL_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BELOW_NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:348:64 [INFO] [stdout] | [INFO] [stdout] 348 | pagepriority = unsafe { SetPriorityClass(hprocess, BELOW_NORMAL_PRIORITY_CLASS) }; [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/main.rs:273:65 [INFO] [stdout] | [INFO] [stdout] 273 | pmc.cb = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REALTIME_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:360:64 [INFO] [stdout] | [INFO] [stdout] 360 | pagepriority = unsafe { SetPriorityClass(hprocess, REALTIME_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/main.rs:276:65 [INFO] [stdout] | [INFO] [stdout] 276 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [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/main.rs:373:59 [INFO] [stdout] | [INFO] [stdout] 373 | let hsnapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:300:64 [INFO] [stdout] | [INFO] [stdout] 300 | pagepriority = unsafe { SetPriorityClass(hprocess, HIGH_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/main.rs:378:22 [INFO] [stdout] | [INFO] [stdout] 378 | let mut pee: PROCESSENTRY32 = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDLE_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:312:64 [INFO] [stdout] | [INFO] [stdout] 312 | pagepriority = unsafe { SetPriorityClass(hprocess, IDLE_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/main.rs:379:37 [INFO] [stdout] | [INFO] [stdout] 379 | pee.dwSize = mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:324:64 [INFO] [stdout] | [INFO] [stdout] 324 | pagepriority = unsafe { SetPriorityClass(hprocess, NORMAL_PRIORITY_CLASS) }; [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/main.rs:379:58 [INFO] [stdout] | [INFO] [stdout] 379 | pee.dwSize = mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ABOVE_NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:336:64 [INFO] [stdout] | [INFO] [stdout] 336 | pagepriority = unsafe { SetPriorityClass(hprocess, ABOVE_NORMAL_PRIORITY_CLASS) }; [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/main.rs:409:30 [INFO] [stdout] | [INFO] [stdout] 409 | fn getpid(procname: &str) -> 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/main.rs:410:18 [INFO] [stdout] | [INFO] [stdout] 410 | let mut pid: DWORD = 0; [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/main.rs:412:20 [INFO] [stdout] | [INFO] [stdout] 412 | let hsnapshot: HANDLE = unsafe { 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/main.rs:412:63 [INFO] [stdout] | [INFO] [stdout] 412 | let hsnapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [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/main.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | if hsnapshot == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/main.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | let mut pe: PROCESSENTRY32 = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/main.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | pe.dwSize = std::mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 409 | fn getpid(procname: &str) -> DWORD { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:421:58 [INFO] [stdout] | [INFO] [stdout] 421 | pe.dwSize = std::mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BELOW_NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:348:64 [INFO] [stdout] | [INFO] [stdout] 348 | pagepriority = unsafe { SetPriorityClass(hprocess, BELOW_NORMAL_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REALTIME_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:360:64 [INFO] [stdout] | [INFO] [stdout] 360 | pagepriority = unsafe { SetPriorityClass(hprocess, REALTIME_PRIORITY_CLASS) }; [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/main.rs:373:59 [INFO] [stdout] | [INFO] [stdout] 373 | let hsnapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/main.rs:378:22 [INFO] [stdout] | [INFO] [stdout] 378 | let mut pee: PROCESSENTRY32 = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/main.rs:379:37 [INFO] [stdout] | [INFO] [stdout] 379 | pee.dwSize = mem::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/main.rs:379:58 [INFO] [stdout] | [INFO] [stdout] 379 | pee.dwSize = mem::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/main.rs:409:30 [INFO] [stdout] | [INFO] [stdout] 409 | fn getpid(procname: &str) -> 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/main.rs:410:18 [INFO] [stdout] | [INFO] [stdout] 410 | let mut pid: DWORD = 0; [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/main.rs:412:20 [INFO] [stdout] | [INFO] [stdout] 412 | let hsnapshot: HANDLE = unsafe { 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/main.rs:412:63 [INFO] [stdout] | [INFO] [stdout] 412 | let hsnapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [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/main.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | if hsnapshot == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/main.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | let mut pe: PROCESSENTRY32 = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/main.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | pe.dwSize = std::mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 409 | fn getpid(procname: &str) -> DWORD { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:421:58 [INFO] [stdout] | [INFO] [stdout] 421 | pe.dwSize = std::mem::size_of::() 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 `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | let hprocess: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, getpid(procname)) }; [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/main.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | let hprocess: HANDLE = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, getpid(procname)) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:24:53 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe { println!("OpenProcess error : {}", GetLastError()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:24:53 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe { println!("OpenProcess error : {}", GetLastError()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | println!("VirtualAllocEx error : {}", GetLastError()); [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/main.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:75:65 [INFO] [stdout] | [INFO] [stdout] 75 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [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/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | println!("VirtualAllocEx error : {}", GetLastError()); [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/main.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:75:65 [INFO] [stdout] | [INFO] [stdout] 75 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [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/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:100:59 [INFO] [stdout] | [INFO] [stdout] 100 | println!("VirtualAllocEx error : {}", GetLastError()); [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/main.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:114:65 [INFO] [stdout] | [INFO] [stdout] 114 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [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/main.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:139:59 [INFO] [stdout] | [INFO] [stdout] 139 | println!("VirtualAllocEx error : {}", GetLastError()); [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/main.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:100:59 [INFO] [stdout] | [INFO] [stdout] 100 | println!("VirtualAllocEx error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:153:65 [INFO] [stdout] | [INFO] [stdout] 153 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [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/main.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | CloseHandle(hprocess) [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/main.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:114:65 [INFO] [stdout] | [INFO] [stdout] 114 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [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/main.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:188:59 [INFO] [stdout] | [INFO] [stdout] 188 | println!("VirtualAllocEx error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | VirtualAllocEx( [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/main.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:139:59 [INFO] [stdout] | [INFO] [stdout] 139 | println!("VirtualAllocEx error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [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/main.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:202:65 [INFO] [stdout] | [INFO] [stdout] 202 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [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/main.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:153:65 [INFO] [stdout] | [INFO] [stdout] 153 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [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/main.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:188:59 [INFO] [stdout] | [INFO] [stdout] 188 | println!("VirtualAllocEx error : {}", GetLastError()); [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/main.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:202:65 [INFO] [stdout] | [INFO] [stdout] 202 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:227:59 [INFO] [stdout] | [INFO] [stdout] 227 | println!("VirtualAllocEx error : {}", GetLastError()); [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/main.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:241:65 [INFO] [stdout] | [INFO] [stdout] 241 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [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/main.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:266:59 [INFO] [stdout] | [INFO] [stdout] 266 | println!("VirtualAllocEx error : {}", GetLastError()); [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/main.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:280:65 [INFO] [stdout] | [INFO] [stdout] 280 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [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/main.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:296:28 [INFO] [stdout] | [INFO] [stdout] 296 | let gpp = unsafe { GetPriorityClass(hprocess) }; [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/main.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:300:37 [INFO] [stdout] | [INFO] [stdout] 300 | pagepriority = unsafe { SetPriorityClass(hprocess, HIGH_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:227:59 [INFO] [stdout] | [INFO] [stdout] 227 | println!("VirtualAllocEx error : {}", GetLastError()); [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/main.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:241:65 [INFO] [stdout] | [INFO] [stdout] 241 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [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/main.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/main.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:303:61 [INFO] [stdout] | [INFO] [stdout] 303 | println!("SetPriorityClass error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:266:59 [INFO] [stdout] | [INFO] [stdout] 266 | println!("VirtualAllocEx error : {}", GetLastError()); [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/main.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:309:32 [INFO] [stdout] | [INFO] [stdout] 309 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | pagepriority = unsafe { SetPriorityClass(hprocess, IDLE_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:315:61 [INFO] [stdout] | [INFO] [stdout] 315 | println!("SetPriorityClass error : {}", GetLastError()); [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/main.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | CloseHandle(hprocess) [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/main.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:321:32 [INFO] [stdout] | [INFO] [stdout] 321 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope [INFO] [stdout] --> src/main.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | GetProcessMemoryInfo(hprocess, &mut pmc as *mut PROCESS_MEMORY_COUNTERS, pmc.cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:280:65 [INFO] [stdout] | [INFO] [stdout] 280 | println!("GetProcessMemoryInfo error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:324:37 [INFO] [stdout] | [INFO] [stdout] 324 | pagepriority = unsafe { SetPriorityClass(hprocess, NORMAL_PRIORITY_CLASS) }; [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/main.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:327:61 [INFO] [stdout] | [INFO] [stdout] 327 | println!("SetPriorityClass error : {}", GetLastError()); [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/main.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:296:28 [INFO] [stdout] | [INFO] [stdout] 296 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:333:32 [INFO] [stdout] | [INFO] [stdout] 333 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:300:37 [INFO] [stdout] | [INFO] [stdout] 300 | pagepriority = unsafe { SetPriorityClass(hprocess, HIGH_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:336:37 [INFO] [stdout] | [INFO] [stdout] 336 | pagepriority = unsafe { SetPriorityClass(hprocess, ABOVE_NORMAL_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:303:61 [INFO] [stdout] | [INFO] [stdout] 303 | println!("SetPriorityClass error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:339:61 [INFO] [stdout] | [INFO] [stdout] 339 | println!("SetPriorityClass error : {}", GetLastError()); [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/main.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | CloseHandle(hprocess) [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/main.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:309:32 [INFO] [stdout] | [INFO] [stdout] 309 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:345:32 [INFO] [stdout] | [INFO] [stdout] 345 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | pagepriority = unsafe { SetPriorityClass(hprocess, IDLE_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:348:37 [INFO] [stdout] | [INFO] [stdout] 348 | pagepriority = unsafe { SetPriorityClass(hprocess, BELOW_NORMAL_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:315:61 [INFO] [stdout] | [INFO] [stdout] 315 | println!("SetPriorityClass error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:351:61 [INFO] [stdout] | [INFO] [stdout] 351 | println!("SetPriorityClass error : {}", GetLastError()); [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/main.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | CloseHandle(hprocess) [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/main.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:321:32 [INFO] [stdout] | [INFO] [stdout] 321 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:360:37 [INFO] [stdout] | [INFO] [stdout] 360 | pagepriority = unsafe { SetPriorityClass(hprocess, REALTIME_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:324:37 [INFO] [stdout] | [INFO] [stdout] 324 | pagepriority = unsafe { SetPriorityClass(hprocess, NORMAL_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:363:61 [INFO] [stdout] | [INFO] [stdout] 363 | println!("SetPriorityClass error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:327:61 [INFO] [stdout] | [INFO] [stdout] 327 | println!("SetPriorityClass error : {}", GetLastError()); [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/main.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | CloseHandle(hprocess) [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/main.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:369:32 [INFO] [stdout] | [INFO] [stdout] 369 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:333:32 [INFO] [stdout] | [INFO] [stdout] 333 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:336:37 [INFO] [stdout] | [INFO] [stdout] 336 | pagepriority = unsafe { SetPriorityClass(hprocess, ABOVE_NORMAL_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:339:61 [INFO] [stdout] | [INFO] [stdout] 339 | println!("SetPriorityClass error : {}", GetLastError()); [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/main.rs:373:34 [INFO] [stdout] | [INFO] [stdout] 373 | let hsnapshot = unsafe { 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 `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:375:70 [INFO] [stdout] | [INFO] [stdout] 375 | unsafe { println!("CreateToolhelp32Snapshot error : {}", GetLastError()) }; [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/main.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32First` in this scope [INFO] [stdout] --> src/main.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | if unsafe { Process32First(hsnapshot, &mut pee) } == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:383:55 [INFO] [stdout] | [INFO] [stdout] 383 | println!("Process32First error : {}", GetLastError()); [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/main.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | CloseHandle(hsnapshot) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:345:32 [INFO] [stdout] | [INFO] [stdout] 345 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:348:37 [INFO] [stdout] | [INFO] [stdout] 348 | pagepriority = unsafe { SetPriorityClass(hprocess, BELOW_NORMAL_PRIORITY_CLASS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:351:61 [INFO] [stdout] | [INFO] [stdout] 351 | println!("SetPriorityClass error : {}", GetLastError()); [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/main.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | CloseHandle(hprocess) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/main.rs:399:25 [INFO] [stdout] | [INFO] [stdout] 399 | if unsafe { Process32Next(hsnapshot, &mut pee) } == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:360:37 [INFO] [stdout] | [INFO] [stdout] 360 | pagepriority = unsafe { SetPriorityClass(hprocess, REALTIME_PRIORITY_CLASS) }; [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/main.rs:404:18 [INFO] [stdout] | [INFO] [stdout] 404 | unsafe { CloseHandle(hsnapshot) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:363:61 [INFO] [stdout] | [INFO] [stdout] 363 | println!("SetPriorityClass error : {}", GetLastError()); [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/main.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | CloseHandle(hprocess) [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/main.rs:412:38 [INFO] [stdout] | [INFO] [stdout] 412 | let hsnapshot: HANDLE = unsafe { 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 `GetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:369:32 [INFO] [stdout] | [INFO] [stdout] 369 | let gpp = unsafe { GetPriorityClass(hprocess) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:415:61 [INFO] [stdout] | [INFO] [stdout] 415 | println!("Createtoolhelp32Snapshot error : {}", GetLastError()); [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/main.rs:373:34 [INFO] [stdout] | [INFO] [stdout] 373 | let hsnapshot = unsafe { 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 `Process32First` in this scope [INFO] [stdout] --> src/main.rs:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | unsafe { Process32First(hsnapshot, &mut pe) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:375:70 [INFO] [stdout] | [INFO] [stdout] 375 | unsafe { println!("CreateToolhelp32Snapshot error : {}", GetLastError()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32First` in this scope [INFO] [stdout] --> src/main.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | if unsafe { Process32First(hsnapshot, &mut pe) } != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32First` in this scope [INFO] [stdout] --> src/main.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | if unsafe { Process32First(hsnapshot, &mut pee) } == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/main.rs:428:26 [INFO] [stdout] | [INFO] [stdout] 428 | unsafe { Process32Next(hsnapshot, &mut pe) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:383:55 [INFO] [stdout] | [INFO] [stdout] 383 | println!("Process32First error : {}", GetLastError()); [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/main.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | CloseHandle(hsnapshot) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/main.rs:399:25 [INFO] [stdout] | [INFO] [stdout] 399 | if unsafe { Process32Next(hsnapshot, &mut pee) } == 0 { [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/main.rs:404:18 [INFO] [stdout] | [INFO] [stdout] 404 | unsafe { CloseHandle(hsnapshot) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/main.rs:437:29 [INFO] [stdout] | [INFO] [stdout] 437 | if unsafe { Process32Next(hsnapshot, &mut pe) } == 0 { [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/main.rs:444:14 [INFO] [stdout] | [INFO] [stdout] 444 | unsafe { CloseHandle(hsnapshot) }; [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/main.rs:412:38 [INFO] [stdout] | [INFO] [stdout] 412 | let hsnapshot: HANDLE = unsafe { 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 `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:415:61 [INFO] [stdout] | [INFO] [stdout] 415 | println!("Createtoolhelp32Snapshot error : {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32First` in this scope [INFO] [stdout] --> src/main.rs:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | unsafe { Process32First(hsnapshot, &mut pe) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32First` in this scope [INFO] [stdout] --> src/main.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | if unsafe { Process32First(hsnapshot, &mut pe) } != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/main.rs:428:26 [INFO] [stdout] | [INFO] [stdout] 428 | unsafe { Process32Next(hsnapshot, &mut pe) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/main.rs:437:29 [INFO] [stdout] | [INFO] [stdout] 437 | if unsafe { Process32Next(hsnapshot, &mut pe) } == 0 { [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/main.rs:444:14 [INFO] [stdout] | [INFO] [stdout] 444 | unsafe { CloseHandle(hsnapshot) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [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] 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 `usermode-memoryscanner` (bin "usermode-memoryscanner" test) due to 142 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `usermode-memoryscanner` (bin "usermode-memoryscanner") due to 142 previous errors [INFO] running `Command { std: "docker" "inspect" "5353bed569662afb930e5a6d5bbbca9aa1af82d4dd98232fab229aa0c3ad3c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5353bed569662afb930e5a6d5bbbca9aa1af82d4dd98232fab229aa0c3ad3c54", kill_on_drop: false }` [INFO] [stdout] 5353bed569662afb930e5a6d5bbbca9aa1af82d4dd98232fab229aa0c3ad3c54