[INFO] updating cached repository https://github.com/GRDigital/memory-reader
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 682e789a8680d80c46a9a073d15878c13e46b3d5
[INFO] checking GRDigital/memory-reader against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGRDigital%2Fmemory-reader" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/GRDigital/memory-reader on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/GRDigital/memory-reader
[INFO] finished tweaking git repo https://github.com/GRDigital/memory-reader
[INFO] tweaked toml for git repo https://github.com/GRDigital/memory-reader written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/GRDigital/memory-reader already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2a54345c1ec5fdb72d74dc2d0f6c6e16a650b3d59e6473bf4a8e47c590d4d848
[INFO] running `"docker" "start" "-a" "2a54345c1ec5fdb72d74dc2d0f6c6e16a650b3d59e6473bf4a8e47c590d4d848"`
[INFO] [stderr]    Compiling syn v1.0.12
[INFO] [stderr]    Compiling libc v0.2.59
[INFO] [stderr]    Compiling serde v1.0.94
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]    Compiling anyhow v1.0.26
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking widestring v0.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]     Checking memory-reader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/read_memory.rs:4:2
[INFO] [stderr]   |
[INFO] [stderr] 4 |     um::{handleapi::CloseHandle, tlhelp32::*, winnt::HANDLE},
[INFO] [stderr]   |     ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]  --> src/read_memory.rs:3:2
[INFO] [stderr]   |
[INFO] [stderr] 3 |     ctypes::*,
[INFO] [stderr]   |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PROCESSENTRY32W`
[INFO] [stderr]   --> src/read_memory.rs:13:20
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let mut process = PROCESSENTRY32W::default();
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^ use of undeclared type or module `PROCESSENTRY32W`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/read_memory.rs:4:2
[INFO] [stderr]   |
[INFO] [stderr] 4 |     um::{handleapi::CloseHandle, tlhelp32::*, winnt::HANDLE},
[INFO] [stderr]   |     ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]  --> src/read_memory.rs:3:2
[INFO] [stderr]   |
[INFO] [stderr] 3 |     ctypes::*,
[INFO] [stderr]   |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PROCESSENTRY32W`
[INFO] [stderr]   --> src/read_memory.rs:13:20
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let mut process = PROCESSENTRY32W::default();
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^ use of undeclared type or module `PROCESSENTRY32W`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MODULEENTRY32W`
[INFO] [stderr]   --> src/read_memory.rs:43:25
[INFO] [stderr]    |
[INFO] [stderr] 43 |     let mut module_entry = MODULEENTRY32W::default();
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^ use of undeclared type or module `MODULEENTRY32W`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MODULEENTRY32W`
[INFO] [stderr]   --> src/read_memory.rs:43:25
[INFO] [stderr]    |
[INFO] [stderr] 43 |     let mut module_entry = MODULEENTRY32W::default();
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^ use of undeclared type or module `MODULEENTRY32W`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MODULEENTRY32W`
[INFO] [stderr]   --> src/read_memory.rs:68:26
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let mut module_entry = MODULEENTRY32W::default();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^ use of undeclared type or module `MODULEENTRY32W`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MODULEENTRY32W`
[INFO] [stderr]   --> src/read_memory.rs:68:26
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let mut module_entry = MODULEENTRY32W::default();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^ use of undeclared type or module `MODULEENTRY32W`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stderr]  --> src/read_memory.rs:8:40
[INFO] [stderr]   |
[INFO] [stderr] 8 |     let all_processes_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) };
[INFO] [stderr]   |                                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stderr]  --> src/read_memory.rs:8:65
[INFO] [stderr]   |
[INFO] [stderr] 8 |     let all_processes_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) };
[INFO] [stderr]   |                                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]  --> src/read_memory.rs:9:21
[INFO] [stderr]   |
[INFO] [stderr] 9 |     defer!(if unsafe { CloseHandle(all_processes_snapshot) } == 0 {
[INFO] [stderr]   |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stderr]   --> src/read_memory.rs:16:40
[INFO] [stderr]    |
[INFO] [stderr] 7  | fn get_pid(process_name: &str) -> anyhow::Result<u32> {
[INFO] [stderr]    |           - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stderr] ...
[INFO] [stderr] 16 |         process.dwSize = std::mem::size_of::<PROCESSENTRY32W>() as u32;
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stderr]   --> src/read_memory.rs:19:14
[INFO] [stderr]    |
[INFO] [stderr] 19 |     if unsafe { Process32FirstW(all_processes_snapshot, &mut process) } == 0 {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stderr]   --> src/read_memory.rs:29:15
[INFO] [stderr]    |
[INFO] [stderr] 29 |         if unsafe { Process32NextW(all_processes_snapshot, &mut process) } == 0 {
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stderr]   --> src/read_memory.rs:38:34
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let process_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stderr]   --> src/read_memory.rs:38:59
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let process_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stderr]   --> src/read_memory.rs:38:79
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let process_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                                                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]   --> src/read_memory.rs:39:21
[INFO] [stderr]    |
[INFO] [stderr] 39 |     defer!(if unsafe { CloseHandle(process_snapshot) } == 0 {
[INFO] [stderr]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stderr]   --> src/read_memory.rs:46:45
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn process_path(process_name: &str) -> anyhow::Result<String> {
[INFO] [stderr]    |                    - help: you might be missing a type parameter: `<MODULEENTRY32W>`
[INFO] [stderr] ...
[INFO] [stderr] 46 |         module_entry.dwSize = std::mem::size_of::<MODULEENTRY32W>() as u32;
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope
[INFO] [stderr]   --> src/read_memory.rs:49:14
[INFO] [stderr]    |
[INFO] [stderr] 49 |     if unsafe { Module32FirstW(process_snapshot, &mut module_entry) } != 1 {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/read_memory.rs:61:12
[INFO] [stderr]    |
[INFO] [stderr] 61 |     snapshot: HANDLE,
[INFO] [stderr]    |               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/read_memory.rs:66:25
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stderr]   --> src/read_memory.rs:66:43
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stderr]   --> src/read_memory.rs:66:68
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                                                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stderr]   --> src/read_memory.rs:66:88
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                                                                              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stderr]  --> src/read_memory.rs:8:40
[INFO] [stderr]   |
[INFO] [stderr] 8 |     let all_processes_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) };
[INFO] [stderr]   |                                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stderr]  --> src/read_memory.rs:8:65
[INFO] [stderr]   |
[INFO] [stderr] 8 |     let all_processes_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) };
[INFO] [stderr]   |                                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]  --> src/read_memory.rs:9:21
[INFO] [stderr]   |
[INFO] [stderr] 9 |     defer!(if unsafe { CloseHandle(all_processes_snapshot) } == 0 {
[INFO] [stderr]   |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stderr]   --> src/read_memory.rs:16:40
[INFO] [stderr]    |
[INFO] [stderr] 7  | fn get_pid(process_name: &str) -> anyhow::Result<u32> {
[INFO] [stderr]    |           - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stderr] ...
[INFO] [stderr] 16 |         process.dwSize = std::mem::size_of::<PROCESSENTRY32W>() as u32;
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stderr]   --> src/read_memory.rs:19:14
[INFO] [stderr]    |
[INFO] [stderr] 19 |     if unsafe { Process32FirstW(all_processes_snapshot, &mut process) } == 0 {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stderr]   --> src/read_memory.rs:29:15
[INFO] [stderr]    |
[INFO] [stderr] 29 |         if unsafe { Process32NextW(all_processes_snapshot, &mut process) } == 0 {
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stderr]   --> src/read_memory.rs:38:34
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let process_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stderr]   --> src/read_memory.rs:38:59
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let process_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stderr]   --> src/read_memory.rs:38:79
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let process_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                                                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]   --> src/read_memory.rs:39:21
[INFO] [stderr]    |
[INFO] [stderr] 39 |     defer!(if unsafe { CloseHandle(process_snapshot) } == 0 {
[INFO] [stderr]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stderr]   --> src/read_memory.rs:46:45
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn process_path(process_name: &str) -> anyhow::Result<String> {
[INFO] [stderr]    |                    - help: you might be missing a type parameter: `<MODULEENTRY32W>`
[INFO] [stderr] ...
[INFO] [stderr] 46 |         module_entry.dwSize = std::mem::size_of::<MODULEENTRY32W>() as u32;
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope
[INFO] [stderr]   --> src/read_memory.rs:49:14
[INFO] [stderr]    |
[INFO] [stderr] 49 |     if unsafe { Module32FirstW(process_snapshot, &mut module_entry) } != 1 {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/read_memory.rs:61:12
[INFO] [stderr]    |
[INFO] [stderr] 61 |     snapshot: HANDLE,
[INFO] [stderr]    |               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/read_memory.rs:66:25
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stderr]   --> src/read_memory.rs:66:43
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stderr]   --> src/read_memory.rs:66:68
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                                                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stderr]   --> src/read_memory.rs:66:88
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stderr]    |                                                                                              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stderr]   --> src/read_memory.rs:71:46
[INFO] [stderr]    |
[INFO] [stderr] 64 | impl Module {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<MODULEENTRY32W>`
[INFO] [stderr] ...
[INFO] [stderr] 71 |             module_entry.dwSize = std::mem::size_of::<MODULEENTRY32W>() as u32;
[INFO] [stderr]    |                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stderr]   --> src/read_memory.rs:71:46
[INFO] [stderr]    |
[INFO] [stderr] 64 | impl Module {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<MODULEENTRY32W>`
[INFO] [stderr] ...
[INFO] [stderr] 71 |             module_entry.dwSize = std::mem::size_of::<MODULEENTRY32W>() as u32;
[INFO] [stderr]    |                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope
[INFO] [stderr]   --> src/read_memory.rs:74:15
[INFO] [stderr]    |
[INFO] [stderr] 74 |         if unsafe { Module32FirstW(process_snapshot, &mut module_entry) } != 1 {
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope
[INFO] [stderr]   --> src/read_memory.rs:90:16
[INFO] [stderr]    |
[INFO] [stderr] 90 |             if unsafe { Module32NextW(process_snapshot, &mut module_entry) } == 0 {
[INFO] [stderr]    |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]   --> src/read_memory.rs:91:17
[INFO] [stderr]    |
[INFO] [stderr] 91 |                 if unsafe { CloseHandle(process_snapshot) } == 0 {
[INFO] [stderr]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/read_memory.rs:104:15
[INFO] [stderr]     |
[INFO] [stderr] 104 |         if unsafe { CloseHandle(self.snapshot) } == 0 {
[INFO] [stderr]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Toolhelp32ReadProcessMemory` in this scope
[INFO] [stderr]    --> src/read_memory.rs:113:17
[INFO] [stderr]     |
[INFO] [stderr] 113 |         let success = Toolhelp32ReadProcessMemory(pid, address as *const c_void, buffer as *mut c_void, std::mem::size_of::<T>(), &mut 0);
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]    --> src/read_memory.rs:113:68
[INFO] [stderr]     |
[INFO] [stderr] 113 |         let success = Toolhelp32ReadProcessMemory(pid, address as *const c_void, buffer as *mut c_void, std::mem::size_of::<T>(), &mut 0);
[INFO] [stderr]     |                                                                          ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use libc::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::os::raw::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]    --> src/read_memory.rs:113:91
[INFO] [stderr]     |
[INFO] [stderr] 113 |         let success = Toolhelp32ReadProcessMemory(pid, address as *const c_void, buffer as *mut c_void, std::mem::size_of::<T>(), &mut 0);
[INFO] [stderr]     |                                                                                                 ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use libc::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::os::raw::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope
[INFO] [stderr]   --> src/read_memory.rs:74:15
[INFO] [stderr]    |
[INFO] [stderr] 74 |         if unsafe { Module32FirstW(process_snapshot, &mut module_entry) } != 1 {
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope
[INFO] [stderr]   --> src/read_memory.rs:90:16
[INFO] [stderr]    |
[INFO] [stderr] 90 |             if unsafe { Module32NextW(process_snapshot, &mut module_entry) } == 0 {
[INFO] [stderr]    |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]   --> src/read_memory.rs:91:17
[INFO] [stderr]    |
[INFO] [stderr] 91 |                 if unsafe { CloseHandle(process_snapshot) } == 0 {
[INFO] [stderr]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/read_memory.rs:104:15
[INFO] [stderr]     |
[INFO] [stderr] 104 |         if unsafe { CloseHandle(self.snapshot) } == 0 {
[INFO] [stderr]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Toolhelp32ReadProcessMemory` in this scope
[INFO] [stderr]    --> src/read_memory.rs:113:17
[INFO] [stderr]     |
[INFO] [stderr] 113 |         let success = Toolhelp32ReadProcessMemory(pid, address as *const c_void, buffer as *mut c_void, std::mem::size_of::<T>(), &mut 0);
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]    --> src/read_memory.rs:113:68
[INFO] [stderr]     |
[INFO] [stderr] 113 |         let success = Toolhelp32ReadProcessMemory(pid, address as *const c_void, buffer as *mut c_void, std::mem::size_of::<T>(), &mut 0);
[INFO] [stderr]     |                                                                          ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use libc::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::os::raw::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]    --> src/read_memory.rs:113:91
[INFO] [stderr]     |
[INFO] [stderr] 113 |         let success = Toolhelp32ReadProcessMemory(pid, address as *const c_void, buffer as *mut c_void, std::mem::size_of::<T>(), &mut 0);
[INFO] [stderr]     |                                                                                                 ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use libc::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::os::raw::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 30 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: aborting due to 30 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `memory-reader`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `memory-reader`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "2a54345c1ec5fdb72d74dc2d0f6c6e16a650b3d59e6473bf4a8e47c590d4d848"`
[INFO] running `"docker" "rm" "-f" "2a54345c1ec5fdb72d74dc2d0f6c6e16a650b3d59e6473bf4a8e47c590d4d848"`
[INFO] [stdout] 2a54345c1ec5fdb72d74dc2d0f6c6e16a650b3d59e6473bf4a8e47c590d4d848
