[INFO] fetching crate ezmem 0.2.0...
[INFO] checking ezmem-0.2.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate ezmem 0.2.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate ezmem 0.2.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ezmem 0.2.0
[INFO] finished tweaking crates.io crate ezmem 0.2.0
[INFO] tweaked toml for crates.io crate ezmem 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f83911677b75a8ab2a02653f5ebcc3df89284a93e13e775b5b33a78d6a959e79
[INFO] running `Command { std: "docker" "start" "-a" "f83911677b75a8ab2a02653f5ebcc3df89284a93e13e775b5b33a78d6a959e79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f83911677b75a8ab2a02653f5ebcc3df89284a93e13e775b5b33a78d6a959e79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f83911677b75a8ab2a02653f5ebcc3df89284a93e13e775b5b33a78d6a959e79", kill_on_drop: false }`
[INFO] [stdout] f83911677b75a8ab2a02653f5ebcc3df89284a93e13e775b5b33a78d6a959e79
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f4cc8da95c7cdaa7e32c47c8db3d82390628e8541b084912826acb70bc9888d
[INFO] running `Command { std: "docker" "start" "-a" "0f4cc8da95c7cdaa7e32c47c8db3d82390628e8541b084912826acb70bc9888d", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking ezmem v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/readmem.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::minwindef::{LPCVOID, LPVOID};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/readmem.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winnt::{HANDLE};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/readmem.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::memoryapi::{ReadProcessMemory};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/readmem.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::wow64apiset::IsWow64Process;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/readmem.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::tlhelp32::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::handleapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError;
[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/readmem.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::minwindef::{LPCVOID, LPVOID};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/writemem.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::memoryapi::{WriteProcessMemory, VirtualProtectEx};
[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/writemem.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::minwindef::{LPCVOID, LPVOID};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/readmem.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winnt::{HANDLE};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/writemem.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winnt::{HANDLE, PAGE_EXECUTE_READWRITE};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/readmem.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::memoryapi::{ReadProcessMemory};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/readmem.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::wow64apiset::IsWow64Process;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/writemem.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/readmem.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::tlhelp32::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::handleapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/writemem.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::memoryapi::{WriteProcessMemory, VirtualProtectEx};
[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/writemem.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::minwindef::{LPCVOID, LPVOID};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/writemem.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winnt::{HANDLE, PAGE_EXECUTE_READWRITE};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/writemem.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]   --> src/process.rs:11:55
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let h_process_snap = 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/process.rs:11:55
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let h_process_snap = 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/process.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |         if h_process_snap == INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/process.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |         if h_process_snap == 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/process.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut pe32: PROCESSENTRY32 = 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/process.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut pe32: PROCESSENTRY32 = 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/process.rs:19:38
[INFO] [stdout]    |
[INFO] [stdout] 19 |         pe32.dwSize = mem::size_of::<PROCESSENTRY32>() as u32;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub fn get_process_id<PROCESSENTRY32>(process_name: &str) -> Option<u32> {
[INFO] [stdout]    |                      ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope
[INFO] [stdout]   --> src/process.rs:19:38
[INFO] [stdout]    |
[INFO] [stdout] 19 |         pe32.dwSize = mem::size_of::<PROCESSENTRY32>() as u32;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub fn get_process_id<PROCESSENTRY32>(process_name: &str) -> Option<u32> {
[INFO] [stdout]    |                      ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stdout]   --> src/process.rs:48:54
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let h_module_snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process_id);
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stdout]   --> src/process.rs:48:74
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let h_module_snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process_id);
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/process.rs:50:29
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if h_module_snap == INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope
[INFO] [stdout]   --> src/process.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut module_entry: MODULEENTRY32 = mem::zeroed();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stdout]   --> src/process.rs:48:54
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let h_module_snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process_id);
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope
[INFO] [stdout]   --> src/process.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |         module_entry.dwSize = mem::size_of::<MODULEENTRY32>() as u32;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn get_module_base<MODULEENTRY32>(process_id: u32, module_name: &str) -> Option<usize> {
[INFO] [stdout]    |                       +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stdout]   --> src/process.rs:48:74
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let h_module_snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process_id);
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/process.rs:50:29
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if h_module_snap == INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope
[INFO] [stdout]   --> src/process.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut module_entry: MODULEENTRY32 = mem::zeroed();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope
[INFO] [stdout]   --> src/process.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |         module_entry.dwSize = mem::size_of::<MODULEENTRY32>() as u32;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn get_module_base<MODULEENTRY32>(process_id: u32, module_name: &str) -> Option<usize> {
[INFO] [stdout]    |                       +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/process.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let h_process_snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/process.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let h_process_snap = 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/process.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |         if Process32First(h_process_snap, &mut pe32) != 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/process.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |         if Process32First(h_process_snap, &mut pe32) != 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/process.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 CloseHandle(h_process_snap);
[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/process.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 CloseHandle(h_process_snap);
[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/process.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |         while Process32Next(h_process_snap, &mut pe32) != 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/process.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |         while Process32Next(h_process_snap, &mut pe32) != 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/process.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 CloseHandle(h_process_snap);
[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/process.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 CloseHandle(h_process_snap);
[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/process.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         CloseHandle(h_process_snap);
[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/process.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         CloseHandle(h_process_snap);
[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/process.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let h_module_snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process_id);
[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/process.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let h_module_snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process_id);
[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/process.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             CloseHandle(h_module_snap);
[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/process.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             CloseHandle(h_module_snap);
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32First` in this scope
[INFO] [stdout]   --> src/process.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |         if Module32First(h_module_snap, &mut module_entry) != 0 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32First` in this scope
[INFO] [stdout]   --> src/process.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |         if Module32First(h_module_snap, &mut module_entry) != 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/process.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 CloseHandle(h_module_snap);
[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/process.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 CloseHandle(h_module_snap);
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32Next` in this scope
[INFO] [stdout]   --> src/process.rs:65:15
[INFO] [stdout]    |
[INFO] [stdout] 65 |         while Module32Next(h_module_snap, &mut module_entry) != 0 {
[INFO] [stdout]    |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32Next` in this scope
[INFO] [stdout]   --> src/process.rs:65:15
[INFO] [stdout]    |
[INFO] [stdout] 65 |         while Module32Next(h_module_snap, &mut module_entry) != 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/process.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 CloseHandle(h_module_snap);
[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/process.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 CloseHandle(h_module_snap);
[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/process.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         CloseHandle(h_module_snap);
[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/process.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         CloseHandle(h_module_snap);
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 34 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 34 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ezmem` (lib) due to 35 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ezmem` (lib test) due to 35 previous errors
[INFO] running `Command { std: "docker" "inspect" "0f4cc8da95c7cdaa7e32c47c8db3d82390628e8541b084912826acb70bc9888d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f4cc8da95c7cdaa7e32c47c8db3d82390628e8541b084912826acb70bc9888d", kill_on_drop: false }`
[INFO] [stdout] 0f4cc8da95c7cdaa7e32c47c8db3d82390628e8541b084912826acb70bc9888d
