[INFO] fetching crate memory_utils 0.2.2...
[INFO] testing memory_utils-0.2.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate memory_utils 0.2.2 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate memory_utils 0.2.2
[INFO] finished tweaking crates.io crate memory_utils 0.2.2
[INFO] tweaked toml for crates.io crate memory_utils 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate memory_utils 0.2.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate memory_utils 0.2.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c8aeda80d8d8ec0195580df8e90d5aa941fd83255adc5c0eef7a679f91a7fad
[INFO] running `Command { std: "docker" "start" "-a" "3c8aeda80d8d8ec0195580df8e90d5aa941fd83255adc5c0eef7a679f91a7fad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c8aeda80d8d8ec0195580df8e90d5aa941fd83255adc5c0eef7a679f91a7fad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c8aeda80d8d8ec0195580df8e90d5aa941fd83255adc5c0eef7a679f91a7fad", kill_on_drop: false }`
[INFO] [stdout] 3c8aeda80d8d8ec0195580df8e90d5aa941fd83255adc5c0eef7a679f91a7fad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 604892f67f4fd0fea251326221dd60ee787d015fee989bdc6cd3d0fd6762d6a0
[INFO] running `Command { std: "docker" "start" "-a" "604892f67f4fd0fea251326221dd60ee787d015fee989bdc6cd3d0fd6762d6a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling memory_utils v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/process.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     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/process.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     shared::{
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/dll.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     os::windows::ffi::OsStrExt,
[INFO] [stdout]   |         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/dll.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     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/dll.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     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/process.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub handle: HANDLE,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_EXPORT_DIRECTORY` in this scope
[INFO] [stdout]    --> src/process.rs:134:22
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub export_info: IMAGE_EXPORT_DIRECTORY,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_NOACCESS` in this scope
[INFO] [stdout]    --> src/process.rs:171:41
[INFO] [stdout]     |
[INFO] [stdout] 171 |             ProtectOptions::NoAccess => PAGE_NOACCESS,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READONLY` in this scope
[INFO] [stdout]    --> src/process.rs:172:41
[INFO] [stdout]     |
[INFO] [stdout] 172 |             ProtectOptions::ReadOnly => PAGE_READONLY,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/process.rs:173:42
[INFO] [stdout]     |
[INFO] [stdout] 173 |             ProtectOptions::ReadWrite => PAGE_READWRITE,
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_WRITECOPY` in this scope
[INFO] [stdout]    --> src/process.rs:174:42
[INFO] [stdout]     |
[INFO] [stdout] 174 |             ProtectOptions::WriteCopy => PAGE_WRITECOPY,
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE` in this scope
[INFO] [stdout]    --> src/process.rs:175:40
[INFO] [stdout]     |
[INFO] [stdout] 175 |             ProtectOptions::Execute => PAGE_EXECUTE,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READ` in this scope
[INFO] [stdout]    --> src/process.rs:176:44
[INFO] [stdout]     |
[INFO] [stdout] 176 |             ProtectOptions::ExecuteRead => PAGE_EXECUTE_READ,
[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/process.rs:177:49
[INFO] [stdout]     |
[INFO] [stdout] 177 |             ProtectOptions::ExecuteReadWrite => PAGE_EXECUTE_READWRITE,
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_WRITECOPY` in this scope
[INFO] [stdout]    --> src/process.rs:178:49
[INFO] [stdout]     |
[INFO] [stdout] 178 |             ProtectOptions::ExecuteWriteCopy => PAGE_EXECUTE_WRITECOPY,
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_GUARD` in this scope
[INFO] [stdout]    --> src/process.rs:179:38
[INFO] [stdout]     |
[INFO] [stdout] 179 |             ProtectOptions::Guard => PAGE_GUARD,
[INFO] [stdout]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_NOCACHE` in this scope
[INFO] [stdout]    --> src/process.rs:180:40
[INFO] [stdout]     |
[INFO] [stdout] 180 |             ProtectOptions::NoCache => PAGE_NOCACHE,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_WRITECOMBINE` in this scope
[INFO] [stdout]    --> src/process.rs:181:45
[INFO] [stdout]     |
[INFO] [stdout] 181 |             ProtectOptions::WriteCombine => PAGE_WRITECOMBINE,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]    --> src/process.rs:224:43
[INFO] [stdout]     |
[INFO] [stdout] 224 | ...   let handle = unsafe { OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION | PROCESS_VM_WRITE | PROCESS_VM_OPERATION, 0, p...
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stdout]    --> src/process.rs:224:61
[INFO] [stdout]     |
[INFO] [stdout] 224 | ...   let handle = unsafe { OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION | PROCESS_VM_WRITE | PROCESS_VM_OPERATION, 0, p...
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_WRITE` in this scope
[INFO] [stdout]    --> src/process.rs:224:89
[INFO] [stdout]     |
[INFO] [stdout] 224 | ...   let handle = unsafe { OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION | PROCESS_VM_WRITE | PROCESS_VM_OPERATION, 0, p...
[INFO] [stdout]     |                                                                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_OPERATION` in this scope
[INFO] [stdout]    --> src/process.rs:224:108
[INFO] [stdout]     |
[INFO] [stdout] 224 | ...SS_QUERY_INFORMATION | PROCESS_VM_WRITE | PROCESS_VM_OPERATION, 0, pid) };
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_WRITE` in this scope
[INFO] [stdout]    --> src/process.rs:477:38
[INFO] [stdout]     |
[INFO] [stdout] 477 |             let handle = OpenProcess(PROCESS_VM_WRITE | PROCESS_VM_OPERATION, 0, self.pid);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_OPERATION` in this scope
[INFO] [stdout]    --> src/process.rs:477:57
[INFO] [stdout]     |
[INFO] [stdout] 477 |             let handle = OpenProcess(PROCESS_VM_WRITE | PROCESS_VM_OPERATION, 0, self.pid);
[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/process.rs:490:70
[INFO] [stdout]     |
[INFO] [stdout] 490 |             VirtualProtectEx(handle, address as LPVOID, patch.len(), PAGE_EXECUTE_READWRITE, &mut old_protect);
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]    --> src/process.rs:526:38
[INFO] [stdout]     |
[INFO] [stdout] 526 |             let handle = OpenProcess(PROCESS_VM_READ | PROCESS_VM_OPERATION | PROCESS_VM_WRITE, 0, self.pid);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_OPERATION` in this scope
[INFO] [stdout]    --> src/process.rs:526:56
[INFO] [stdout]     |
[INFO] [stdout] 526 |             let handle = OpenProcess(PROCESS_VM_READ | PROCESS_VM_OPERATION | PROCESS_VM_WRITE, 0, self.pid);
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_WRITE` in this scope
[INFO] [stdout]    --> src/process.rs:526:79
[INFO] [stdout]     |
[INFO] [stdout] 526 |             let handle = OpenProcess(PROCESS_VM_READ | PROCESS_VM_OPERATION | PROCESS_VM_WRITE, 0, self.pid);
[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/process.rs:535:17
[INFO] [stdout]     |
[INFO] [stdout] 535 |                 MEM_COMMIT | MEM_RESERVE,
[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/process.rs:535:30
[INFO] [stdout]     |
[INFO] [stdout] 535 |                 MEM_COMMIT | 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/process.rs:536:17
[INFO] [stdout]     |
[INFO] [stdout] 536 |                 PAGE_EXECUTE_READWRITE
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]    --> src/process.rs:648:38
[INFO] [stdout]     |
[INFO] [stdout] 648 |             let handle = OpenProcess(PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_VM_OPERATION, 0, self.pid);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_WRITE` in this scope
[INFO] [stdout]    --> src/process.rs:648:56
[INFO] [stdout]     |
[INFO] [stdout] 648 |             let handle = OpenProcess(PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_VM_OPERATION, 0, self.pid);
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_OPERATION` in this scope
[INFO] [stdout]    --> src/process.rs:648:75
[INFO] [stdout]     |
[INFO] [stdout] 648 |             let handle = OpenProcess(PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_VM_OPERATION, 0, self.pid);
[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/process.rs:660:17
[INFO] [stdout]     |
[INFO] [stdout] 660 |                 MEM_COMMIT | MEM_RESERVE,
[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/process.rs:660:30
[INFO] [stdout]     |
[INFO] [stdout] 660 |                 MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READ` in this scope
[INFO] [stdout]    --> src/process.rs:661:17
[INFO] [stdout]     |
[INFO] [stdout] 661 |                 PAGE_EXECUTE_READ
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]    --> src/process.rs:688:54
[INFO] [stdout]     |
[INFO] [stdout] 688 |                 VirtualFreeEx(handle, trampoline, 0, MEM_RELEASE);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]    --> src/process.rs:711:54
[INFO] [stdout]     |
[INFO] [stdout] 711 |                 VirtualFreeEx(handle, trampoline, 0, MEM_RELEASE);
[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/process.rs:728:17
[INFO] [stdout]     |
[INFO] [stdout] 728 |                 PAGE_EXECUTE_READWRITE,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]    --> src/process.rs:749:54
[INFO] [stdout]     |
[INFO] [stdout] 749 |                 VirtualFreeEx(handle, trampoline, 0, MEM_RELEASE);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope
[INFO] [stdout]    --> src/process.rs:889:34
[INFO] [stdout]     |
[INFO] [stdout] 889 |             let mut dos_headers: IMAGE_DOS_HEADER = zeroed();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]    --> src/process.rs:892:39
[INFO] [stdout]     |
[INFO] [stdout] 892 |             let process = OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION, 0, self.pid);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stdout]    --> src/process.rs:892:57
[INFO] [stdout]     |
[INFO] [stdout] 892 |             let process = OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION, 0, self.pid);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope
[INFO] [stdout]    --> src/process.rs:900:27
[INFO] [stdout]     |
[INFO] [stdout] 900 |                 size_of::<IMAGE_DOS_HEADER>(),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl<IMAGE_DOS_HEADER> Process {
[INFO] [stdout]     |     ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]    --> src/process.rs:918:33
[INFO] [stdout]     |
[INFO] [stdout] 918 |             let mut nt_headers: IMAGE_NT_HEADERS64 = zeroed();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]    --> src/process.rs:924:27
[INFO] [stdout]     |
[INFO] [stdout] 924 |                 size_of::<IMAGE_NT_HEADERS64>(),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl<IMAGE_NT_HEADERS64> Process {
[INFO] [stdout]     |     ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]    --> src/process.rs:942:66
[INFO] [stdout]     |
[INFO] [stdout] 942 |             let section_header_addr = nt_header_addr + size_of::<IMAGE_NT_HEADERS64>();
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl<IMAGE_NT_HEADERS64> Process {
[INFO] [stdout]     |     ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope
[INFO] [stdout]    --> src/process.rs:948:34
[INFO] [stdout]     |
[INFO] [stdout] 948 |                 let mut section: IMAGE_SECTION_HEADER = zeroed();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope
[INFO] [stdout]    --> src/process.rs:951:59
[INFO] [stdout]     |
[INFO] [stdout] 951 |                     ( section_header_addr + i * size_of::<IMAGE_SECTION_HEADER>() ) as LPCVOID,
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl<IMAGE_SECTION_HEADER> Process {
[INFO] [stdout]     |     ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope
[INFO] [stdout]    --> src/process.rs:953:31
[INFO] [stdout]     |
[INFO] [stdout] 953 |                     size_of::<IMAGE_SECTION_HEADER>(),
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl<IMAGE_SECTION_HEADER> Process {
[INFO] [stdout]     |     ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_EXPORT` in this scope
[INFO] [stdout]     --> src/process.rs:1009:74
[INFO] [stdout]      |
[INFO] [stdout] 1009 |             let export_dir_rva = nt_headers.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT as usize].VirtualAddress;
[INFO] [stdout]      |                                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_EXPORT_DIRECTORY` in this scope
[INFO] [stdout]     --> src/process.rs:1012:37
[INFO] [stdout]      |
[INFO] [stdout] 1012 |                 let mut export_dir: IMAGE_EXPORT_DIRECTORY = zeroed();
[INFO] [stdout]      |                                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_EXPORT_DIRECTORY` in this scope
[INFO] [stdout]     --> src/process.rs:1018:31
[INFO] [stdout]      |
[INFO] [stdout] 1018 |                     size_of::<IMAGE_EXPORT_DIRECTORY>(),
[INFO] [stdout]      |                               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout]  206 | impl<IMAGE_EXPORT_DIRECTORY> Process {
[INFO] [stdout]      |     ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stdout]     --> src/process.rs:1070:39
[INFO] [stdout]      |
[INFO] [stdout] 1070 |             let process = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, self.pid);
[INFO] [stdout]      |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]     --> src/process.rs:1070:67
[INFO] [stdout]      |
[INFO] [stdout] 1070 |             let process = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, self.pid);
[INFO] [stdout]      |                                                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]     --> src/process.rs:1075:26
[INFO] [stdout]      |
[INFO] [stdout] 1075 |             let mut mbi: MEMORY_BASIC_INFORMATION = zeroed();
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]     --> src/process.rs:1080:27
[INFO] [stdout]      |
[INFO] [stdout] 1080 |                 size_of::<MEMORY_BASIC_INFORMATION>()
[INFO] [stdout]      |                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout]  206 | impl<MEMORY_BASIC_INFORMATION> Process {
[INFO] [stdout]      |     ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_TERMINATE` in this scope
[INFO] [stdout]     --> src/process.rs:1139:38
[INFO] [stdout]      |
[INFO] [stdout] 1139 |             let handle = OpenProcess(PROCESS_TERMINATE, 0, self.pid);
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]     --> src/process.rs:1293:64
[INFO] [stdout]      |
[INFO] [stdout] 1293 |     pub fn get_thread_context(&self, thread_id: u32) -> Result<CONTEXT, Error> {
[INFO] [stdout]      |                                                                ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout]  206 | impl<CONTEXT> Process {
[INFO] [stdout]      |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]     --> src/process.rs:1299:37
[INFO] [stdout]      |
[INFO] [stdout] 1299 |             let thread = OpenThread(THREAD_GET_CONTEXT, 0, thread_id);
[INFO] [stdout]      |                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]     --> src/process.rs:1304:30
[INFO] [stdout]      |
[INFO] [stdout] 1304 |             let mut context: CONTEXT = zeroed();
[INFO] [stdout]      |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_ALL` in this scope
[INFO] [stdout]     --> src/process.rs:1305:36
[INFO] [stdout]      |
[INFO] [stdout] 1305 |             context.ContextFlags = CONTEXT_ALL;
[INFO] [stdout]      |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stdout]     --> src/process.rs:1330:55
[INFO] [stdout]      |
[INFO] [stdout] 1330 |     pub fn read_long(&self, address: usize) -> Result<LONG, Error> {
[INFO] [stdout]      |                                                       ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout]  206 | impl<LONG> Process {
[INFO] [stdout]      |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stdout]     --> src/process.rs:1331:28
[INFO] [stdout]      |
[INFO] [stdout] 1331 |         self.read_memory::<LONG>(address)
[INFO] [stdout]      |                            ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout]  206 | impl<LONG> Process {
[INFO] [stdout]      |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope
[INFO] [stdout]     --> src/process.rs:1337:59
[INFO] [stdout]      |
[INFO] [stdout] 1337 |     pub fn read_longlong(&self, address: usize) -> Result<LONGLONG, Error> {
[INFO] [stdout]      |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout]  206 | impl<LONGLONG> Process {
[INFO] [stdout]      |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope
[INFO] [stdout]     --> src/process.rs:1338:28
[INFO] [stdout]      |
[INFO] [stdout] 1338 |         self.read_memory::<LONGLONG>(address)
[INFO] [stdout]      |                            ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout]  206 | impl<LONGLONG> Process {
[INFO] [stdout]      |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]     --> src/process.rs:1382:25
[INFO] [stdout]      |
[INFO] [stdout] 1382 |             let thread: HANDLE = OpenThread(THREAD_GET_CONTEXT | THREAD_QUERY_INFORMATION, 0, thread_id);
[INFO] [stdout]      |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]     --> src/process.rs:1382:45
[INFO] [stdout]      |
[INFO] [stdout] 1382 |             let thread: HANDLE = OpenThread(THREAD_GET_CONTEXT | THREAD_QUERY_INFORMATION, 0, thread_id);
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_QUERY_INFORMATION` in this scope
[INFO] [stdout]     --> src/process.rs:1382:66
[INFO] [stdout]      |
[INFO] [stdout] 1382 |             let thread: HANDLE = OpenThread(THREAD_GET_CONTEXT | THREAD_QUERY_INFORMATION, 0, thread_id);
[INFO] [stdout]      |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]     --> src/process.rs:1387:30
[INFO] [stdout]      |
[INFO] [stdout] 1387 |             let mut context: CONTEXT = zeroed();
[INFO] [stdout]      |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_ALL` in this scope
[INFO] [stdout]     --> src/process.rs:1388:36
[INFO] [stdout]      |
[INFO] [stdout] 1388 |             context.ContextFlags = CONTEXT_ALL;
[INFO] [stdout]      |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]     --> src/process.rs:1406:26
[INFO] [stdout]      |
[INFO] [stdout] 1406 |             let mut mbi: MEMORY_BASIC_INFORMATION = zeroed();
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]     --> src/process.rs:1411:27
[INFO] [stdout]      |
[INFO] [stdout] 1411 |                 size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]      |                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout]  206 | impl<MEMORY_BASIC_INFORMATION> Process {
[INFO] [stdout]      |     ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]     --> src/process.rs:1477:26
[INFO] [stdout]      |
[INFO] [stdout] 1477 |             let mut mbi: MEMORY_BASIC_INFORMATION = zeroed();
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]     --> src/process.rs:1482:27
[INFO] [stdout]      |
[INFO] [stdout] 1482 |                 size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]      |                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout]  206 | impl<MEMORY_BASIC_INFORMATION> Process {
[INFO] [stdout]      |     ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]     --> src/process.rs:1743:26
[INFO] [stdout]      |
[INFO] [stdout] 1743 |             let mut mbi: MEMORY_BASIC_INFORMATION = zeroed();
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]     --> src/process.rs:1745:94
[INFO] [stdout]      |
[INFO] [stdout] 1745 |             while VirtualQueryEx(self.handle, addr as LPCVOID, &mut mbi as *mut _, size_of::<MEMORY_BASIC_INFORMATION>()) != 0 {
[INFO] [stdout]      |                                                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout]  206 | impl<MEMORY_BASIC_INFORMATION> Process {
[INFO] [stdout]      |     ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]     --> src/process.rs:1746:33
[INFO] [stdout]      |
[INFO] [stdout] 1746 |                 if mbi.State == 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/process.rs:1747:36
[INFO] [stdout]      |
[INFO] [stdout] 1747 |                     mbi.Protect == PAGE_EXECUTE_READWRITE
[INFO] [stdout]      |                                    ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]     --> src/process.rs:1748:44
[INFO] [stdout]      |
[INFO] [stdout] 1748 |                         || mbi.Protect ==  PAGE_READWRITE
[INFO] [stdout]      |                                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READONLY` in this scope
[INFO] [stdout]     --> src/process.rs:1749:43
[INFO] [stdout]      |
[INFO] [stdout] 1749 |                         || mbi.Protect == PAGE_READONLY ) &&
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]     --> src/process.rs:1845:33
[INFO] [stdout]      |
[INFO] [stdout] 1845 |                     let thread: HANDLE = OpenThread(THREAD_SUSPEND_RESUME, 0, entry.th32ThreadID);
[INFO] [stdout]      |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]     --> src/process.rs:1845:53
[INFO] [stdout]      |
[INFO] [stdout] 1845 |                     let thread: HANDLE = OpenThread(THREAD_SUSPEND_RESUME, 0, entry.th32ThreadID);
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]     --> src/process.rs:1905:33
[INFO] [stdout]      |
[INFO] [stdout] 1905 |                     let thread: HANDLE = OpenThread(THREAD_SUSPEND_RESUME, 0, entry.th32ThreadID);
[INFO] [stdout]      |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]     --> src/process.rs:1905:53
[INFO] [stdout]      |
[INFO] [stdout] 1905 |                     let thread: HANDLE = OpenThread(THREAD_SUSPEND_RESUME, 0, entry.th32ThreadID);
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]     --> src/process.rs:2003:25
[INFO] [stdout]      |
[INFO] [stdout] 2003 |             let thread: HANDLE = OpenThread(THREAD_SUSPEND_RESUME, 0, thread_id);
[INFO] [stdout]      |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]     --> src/process.rs:2003:45
[INFO] [stdout]      |
[INFO] [stdout] 2003 |             let thread: HANDLE = OpenThread(THREAD_SUSPEND_RESUME, 0, thread_id);
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]     --> src/process.rs:2046:25
[INFO] [stdout]      |
[INFO] [stdout] 2046 |             let thread: HANDLE = OpenThread(THREAD_SUSPEND_RESUME, 0, thread_id);
[INFO] [stdout]      |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]     --> src/process.rs:2046:45
[INFO] [stdout]      |
[INFO] [stdout] 2046 |             let thread: HANDLE = OpenThread(THREAD_SUSPEND_RESUME, 0, thread_id);
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]   --> src/dll.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub module: HMODULE,
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]   --> src/dll.rs:76:50
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn get_proc(&self, name: &str) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<FARPROC> DllHandle {
[INFO] [stdout]    |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]    --> src/dll.rs:118:23
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 from: FARPROC,
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]    --> src/dll.rs:185:55
[INFO] [stdout]     |
[INFO] [stdout] 185 |     pub fn hook_function(&self, name: &str, new_func: FARPROC) -> Result<FARPROC, Error> {
[INFO] [stdout]     |                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]    --> src/dll.rs:185:74
[INFO] [stdout]     |
[INFO] [stdout] 185 |     pub fn hook_function(&self, name: &str, new_func: FARPROC) -> Result<FARPROC, Error> {
[INFO] [stdout]     |                                                                          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  24 | impl<FARPROC> DllHandle {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/dll.rs:193:17
[INFO] [stdout]     |
[INFO] [stdout] 193 |                 PAGE_EXECUTE_READWRITE,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]    --> src/dll.rs:219:50
[INFO] [stdout]     |
[INFO] [stdout] 219 |     unsafe fn create_trampoline(&self, original: FARPROC, original_bytes: &[u8]) -> Result<FARPROC, Error> {
[INFO] [stdout]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]    --> src/dll.rs:219:92
[INFO] [stdout]     |
[INFO] [stdout] 219 |     unsafe fn create_trampoline(&self, original: FARPROC, original_bytes: &[u8]) -> Result<FARPROC, Error> {
[INFO] [stdout]     |                                                                                            ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  24 | impl<FARPROC> DllHandle {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/dll.rs:224:13
[INFO] [stdout]     |
[INFO] [stdout] 224 |             MEM_COMMIT | MEM_RESERVE,
[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/dll.rs:224:26
[INFO] [stdout]     |
[INFO] [stdout] 224 |             MEM_COMMIT | 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/dll.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |             PAGE_EXECUTE_READWRITE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READ` in this scope
[INFO] [stdout]    --> src/dll.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |             PAGE_EXECUTE_READ,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]    --> src/dll.rs:254:26
[INFO] [stdout]     |
[INFO] [stdout] 254 |         Ok(trampoline as FARPROC)
[INFO] [stdout]     |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/dll.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 55 |               let wide: Vec<u16> = OsStr::new(path)
[INFO] [stdout]    |  __________________________________-
[INFO] [stdout] 56 | |                 .encode_wide()
[INFO] [stdout]    | |                 -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]    | |_________________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] 190 |             PAGE_READONLY => ProtectOptions::ReadOnly,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] 190 |             PAGE_READONLY => ProtectOptions::ReadOnly,
[INFO] [stdout] 191 |             PAGE_READWRITE => ProtectOptions::ReadWrite,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 192 |             PAGE_WRITECOPY => ProtectOptions::WriteCopy,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 193 |             PAGE_EXECUTE => ProtectOptions::Execute,
[INFO] [stdout]     |             ^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 194 |             PAGE_EXECUTE_READ => ProtectOptions::ExecuteRead,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 195 |             PAGE_EXECUTE_READWRITE => ProtectOptions::ExecuteReadWrite,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 196 |             PAGE_EXECUTE_WRITECOPY => ProtectOptions::ExecuteWriteCopy,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 197 |             PAGE_GUARD => ProtectOptions::Guard,
[INFO] [stdout]     |             ^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 198 |             PAGE_NOCACHE => ProtectOptions::NoCache,
[INFO] [stdout]     |             ^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 199 |             PAGE_WRITECOMBINE => ProtectOptions::WriteCombine,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/process.rs:200:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 200 |             _ => ProtectOptions::NoAccess, // shouldn't happen since we covered all protection from above, but just in case
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_NOACCESS`
[INFO] [stdout]    --> src/process.rs:189:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |             PAGE_NOACCESS => ProtectOptions::NoAccess,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_NOACCESS`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_READONLY`
[INFO] [stdout]    --> src/process.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |             PAGE_READONLY => ProtectOptions::ReadOnly,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_READONLY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_READWRITE`
[INFO] [stdout]    --> src/process.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |             PAGE_READWRITE => ProtectOptions::ReadWrite,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_READWRITE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_WRITECOPY`
[INFO] [stdout]    --> src/process.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |             PAGE_WRITECOPY => ProtectOptions::WriteCopy,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_WRITECOPY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_EXECUTE`
[INFO] [stdout]    --> src/process.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |             PAGE_EXECUTE => ProtectOptions::Execute,
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_EXECUTE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_EXECUTE_READ`
[INFO] [stdout]    --> src/process.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |             PAGE_EXECUTE_READ => ProtectOptions::ExecuteRead,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_EXECUTE_READ`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_EXECUTE_READWRITE`
[INFO] [stdout]    --> src/process.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |             PAGE_EXECUTE_READWRITE => ProtectOptions::ExecuteReadWrite,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_EXECUTE_READWRITE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_EXECUTE_WRITECOPY`
[INFO] [stdout]    --> src/process.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |             PAGE_EXECUTE_WRITECOPY => ProtectOptions::ExecuteWriteCopy,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_EXECUTE_WRITECOPY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_GUARD`
[INFO] [stdout]    --> src/process.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |             PAGE_GUARD => ProtectOptions::Guard,
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_GUARD`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_NOCACHE`
[INFO] [stdout]    --> src/process.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             PAGE_NOCACHE => ProtectOptions::NoCache,
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_NOCACHE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PAGE_WRITECOMBINE`
[INFO] [stdout]    --> src/process.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 199 |             PAGE_WRITECOMBINE => ProtectOptions::WriteCombine,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PAGE_WRITECOMBINE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memory_utils` (lib) due to 104 previous errors; 22 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "604892f67f4fd0fea251326221dd60ee787d015fee989bdc6cd3d0fd6762d6a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "604892f67f4fd0fea251326221dd60ee787d015fee989bdc6cd3d0fd6762d6a0", kill_on_drop: false }`
[INFO] [stdout] 604892f67f4fd0fea251326221dd60ee787d015fee989bdc6cd3d0fd6762d6a0
