[INFO] updating cached repository https://github.com/aochagavia/notepad-hijacker
[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] 2c581d369973d20e20b9a5a1f1245575586e43f9
[INFO] checking aochagavia/notepad-hijacker against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faochagavia%2Fnotepad-hijacker" "/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/aochagavia/notepad-hijacker on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/aochagavia/notepad-hijacker
[INFO] finished tweaking git repo https://github.com/aochagavia/notepad-hijacker
[INFO] tweaked toml for git repo https://github.com/aochagavia/notepad-hijacker written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/aochagavia/notepad-hijacker already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 89151e2ceabc280c6a6cbf9f627db524df51216d54d54bf9074d099f0de9a510
[INFO] running `"docker" "start" "-a" "89151e2ceabc280c6a6cbf9f627db524df51216d54d54bf9074d099f0de9a510"`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking notepad-hijacker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/process.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::os::windows::ffi::OsStringExt;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/process.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::shared::minwindef::{DWORD, LPVOID, LPCVOID, FALSE, HMODULE};
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/process.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::os::windows::ffi::OsStringExt;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/process.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::shared::ntdef::NULL;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/process.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::handleapi::CloseHandle;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/process.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/process.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]  --> src/process.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::ctypes::c_void;
[INFO] [stderr]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/process.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::um::psapi::{EnumProcessModules, GetModuleInformation, MODULEINFO};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/process.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::um::processthreadsapi::OpenProcess;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::um`
[INFO] [stderr]   --> src/process.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::um::psapi;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/main.rs:58:18
[INFO] [stderr]    |
[INFO] [stderr] 58 |     use std::os::windows::ffi::OsStringExt;
[INFO] [stderr]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::um`
[INFO] [stderr]   --> src/process.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::um::winnt;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/process.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::shared::minwindef::{DWORD, LPVOID, LPCVOID, FALSE, HMODULE};
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/process.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::shared::ntdef::NULL;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/process.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::handleapi::CloseHandle;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/process.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/process.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]  --> src/process.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::ctypes::c_void;
[INFO] [stderr]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/process.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::um::psapi::{EnumProcessModules, GetModuleInformation, MODULEINFO};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/process.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::um::processthreadsapi::OpenProcess;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]   --> src/process.rs:24:18
[INFO] [stderr]    |
[INFO] [stderr] 24 |         unsafe { CloseHandle(self.handle) };
[INFO] [stderr]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stderr]   --> src/process.rs:31:13
[INFO] [stderr]    |
[INFO] [stderr] 31 |             OpenProcess(
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]   --> src/process.rs:33:17
[INFO] [stderr]    |
[INFO] [stderr] 33 |                 FALSE,
[INFO] [stderr]    |                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]   --> src/process.rs:39:22
[INFO] [stderr]    |
[INFO] [stderr] 39 |         if handle == NULL {
[INFO] [stderr]    |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]   --> src/process.rs:40:26
[INFO] [stderr]    |
[INFO] [stderr] 40 |             Err(unsafe { GetLastError() })
[INFO] [stderr]    |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope
[INFO] [stderr]   --> src/process.rs:49:13
[INFO] [stderr]    |
[INFO] [stderr] 49 |             ReadProcessMemory(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/process.rs:51:25
[INFO] [stderr]    |
[INFO] [stderr] 51 |                 addr as LPVOID,
[INFO] [stderr]    |                         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/process.rs:52:40
[INFO] [stderr]    |
[INFO] [stderr] 52 |                 buffer.as_mut_ptr() as LPVOID,
[INFO] [stderr]    |                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]   --> src/process.rs:59:81
[INFO] [stderr]    |
[INFO] [stderr] 59 |             panic!("Error reading bytes from process! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stderr]   --> src/process.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |             WriteProcessMemory(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/process.rs:67:25
[INFO] [stderr]    |
[INFO] [stderr] 67 |                 addr as LPVOID,
[INFO] [stderr]    |                         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCVOID` in this scope
[INFO] [stderr]   --> src/process.rs:68:36
[INFO] [stderr]    |
[INFO] [stderr] 68 |                 buffer.as_ptr() as LPCVOID,
[INFO] [stderr]    |                                    ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]   --> src/process.rs:75:79
[INFO] [stderr]    |
[INFO] [stderr] 75 |             panic!("Error writing bytes to process! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]    |                                                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]   --> src/process.rs:96:75
[INFO] [stderr]    |
[INFO] [stderr] 96 |             panic!("Error getting process name! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]    |                                                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::um`
[INFO] [stderr]   --> src/process.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::um::psapi;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/main.rs:58:18
[INFO] [stderr]    |
[INFO] [stderr] 58 |     use std::os::windows::ffi::OsStringExt;
[INFO] [stderr]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::um`
[INFO] [stderr]   --> src/process.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::um::winnt;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]    --> src/process.rs:106:33
[INFO] [stderr]     |
[INFO] [stderr] 105 | fn get_base_address(handle: *mut c_void) -> u64 {
[INFO] [stderr]     |                    - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stderr] 106 |     let mut module_handles: Vec<HMODULE> = vec![ptr::null_mut(); 1];
[INFO] [stderr]     |                                 ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stderr]    --> src/process.rs:109:9
[INFO] [stderr]     |
[INFO] [stderr] 109 |         EnumProcessModules(
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]    --> src/process.rs:112:52
[INFO] [stderr]     |
[INFO] [stderr] 105 | fn get_base_address(handle: *mut c_void) -> u64 {
[INFO] [stderr]     |                    - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stderr] ...
[INFO] [stderr] 112 |             (module_handles.len() * mem::size_of::<HMODULE>()) as u32,
[INFO] [stderr]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]    --> src/process.rs:118:86
[INFO] [stderr]     |
[INFO] [stderr] 118 |         panic!("Error getting module handles from process! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MODULEINFO` in this scope
[INFO] [stderr]    --> src/process.rs:127:27
[INFO] [stderr]     |
[INFO] [stderr] 127 |     let mut module_info = MODULEINFO {
[INFO] [stderr]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleInformation` in this scope
[INFO] [stderr]    --> src/process.rs:134:9
[INFO] [stderr]     |
[INFO] [stderr] 134 |         GetModuleInformation(
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]    --> src/process.rs:143:83
[INFO] [stderr]     |
[INFO] [stderr] 143 |         panic!("Error getting module info from process! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]     |                                                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/process.rs:153:57
[INFO] [stderr]     |
[INFO] [stderr] 149 | fn list_all_pids() -> Vec<u32> {
[INFO] [stderr]     |                 - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 153 |         let buffer_len = (buffer.len() * mem::size_of::<DWORD>()) as u32;
[INFO] [stderr]     |                                                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]    --> src/process.rs:159:68
[INFO] [stderr]     |
[INFO] [stderr] 159 |         panic!("Error listing processes! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]     |                                                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/process.rs:162:67
[INFO] [stderr]     |
[INFO] [stderr] 149 | fn list_all_pids() -> Vec<u32> {
[INFO] [stderr]     |                 - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 162 |     let processes_found = bytes_written as usize / mem::size_of::<DWORD>();
[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/process.rs:24:18
[INFO] [stderr]    |
[INFO] [stderr] 24 |         unsafe { CloseHandle(self.handle) };
[INFO] [stderr]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stderr]   --> src/process.rs:31:13
[INFO] [stderr]    |
[INFO] [stderr] 31 |             OpenProcess(
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]   --> src/process.rs:33:17
[INFO] [stderr]    |
[INFO] [stderr] 33 |                 FALSE,
[INFO] [stderr]    |                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]   --> src/process.rs:39:22
[INFO] [stderr]    |
[INFO] [stderr] 39 |         if handle == NULL {
[INFO] [stderr]    |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]   --> src/process.rs:40:26
[INFO] [stderr]    |
[INFO] [stderr] 40 |             Err(unsafe { GetLastError() })
[INFO] [stderr]    |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope
[INFO] [stderr]   --> src/process.rs:49:13
[INFO] [stderr]    |
[INFO] [stderr] 49 |             ReadProcessMemory(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/process.rs:51:25
[INFO] [stderr]    |
[INFO] [stderr] 51 |                 addr as LPVOID,
[INFO] [stderr]    |                         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/process.rs:52:40
[INFO] [stderr]    |
[INFO] [stderr] 52 |                 buffer.as_mut_ptr() as LPVOID,
[INFO] [stderr]    |                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]   --> src/process.rs:59:81
[INFO] [stderr]    |
[INFO] [stderr] 59 |             panic!("Error reading bytes from process! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stderr]   --> src/process.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |             WriteProcessMemory(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/process.rs:67:25
[INFO] [stderr]    |
[INFO] [stderr] 67 |                 addr as LPVOID,
[INFO] [stderr]    |                         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCVOID` in this scope
[INFO] [stderr]   --> src/process.rs:68:36
[INFO] [stderr]    |
[INFO] [stderr] 68 |                 buffer.as_ptr() as LPCVOID,
[INFO] [stderr]    |                                    ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]   --> src/process.rs:75:79
[INFO] [stderr]    |
[INFO] [stderr] 75 |             panic!("Error writing bytes to process! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]    |                                                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]   --> src/process.rs:96:75
[INFO] [stderr]    |
[INFO] [stderr] 96 |             panic!("Error getting process name! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]    |                                                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]    --> src/process.rs:106:33
[INFO] [stderr]     |
[INFO] [stderr] 105 | fn get_base_address(handle: *mut c_void) -> u64 {
[INFO] [stderr]     |                    - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stderr] 106 |     let mut module_handles: Vec<HMODULE> = vec![ptr::null_mut(); 1];
[INFO] [stderr]     |                                 ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stderr]    --> src/process.rs:109:9
[INFO] [stderr]     |
[INFO] [stderr] 109 |         EnumProcessModules(
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]    --> src/process.rs:112:52
[INFO] [stderr]     |
[INFO] [stderr] 105 | fn get_base_address(handle: *mut c_void) -> u64 {
[INFO] [stderr]     |                    - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stderr] ...
[INFO] [stderr] 112 |             (module_handles.len() * mem::size_of::<HMODULE>()) as u32,
[INFO] [stderr]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]    --> src/process.rs:118:86
[INFO] [stderr]     |
[INFO] [stderr] 118 |         panic!("Error getting module handles from process! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MODULEINFO` in this scope
[INFO] [stderr]    --> src/process.rs:127:27
[INFO] [stderr]     |
[INFO] [stderr] 127 |     let mut module_info = MODULEINFO {
[INFO] [stderr]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleInformation` in this scope
[INFO] [stderr]    --> src/process.rs:134:9
[INFO] [stderr]     |
[INFO] [stderr] 134 |         GetModuleInformation(
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]    --> src/process.rs:143:83
[INFO] [stderr]     |
[INFO] [stderr] 143 |         panic!("Error getting module info from process! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]     |                                                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/process.rs:153:57
[INFO] [stderr]     |
[INFO] [stderr] 149 | fn list_all_pids() -> Vec<u32> {
[INFO] [stderr]     |                 - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 153 |         let buffer_len = (buffer.len() * mem::size_of::<DWORD>()) as u32;
[INFO] [stderr]     |                                                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]    --> src/process.rs:159:68
[INFO] [stderr]     |
[INFO] [stderr] 159 |         panic!("Error listing processes! Error code: {}", unsafe { GetLastError() });
[INFO] [stderr]     |                                                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/process.rs:162:67
[INFO] [stderr]     |
[INFO] [stderr] 149 | fn list_all_pids() -> Vec<u32> {
[INFO] [stderr]     |                 - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 162 |     let processes_found = bytes_written as usize / mem::size_of::<DWORD>();
[INFO] [stderr]     |                                                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stderr]   --> src/main.rs:65:15
[INFO] [stderr]    |
[INFO] [stderr] 65 |     OsString::from_wide(&string[..length])
[INFO] [stderr]    |               ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stderr]    --> src/process.rs:101:19
[INFO] [stderr]     |
[INFO] [stderr] 101 |         OsString::from_wide(&buffer)
[INFO] [stderr]     |                   ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stderr]   --> src/main.rs:65:15
[INFO] [stderr]    |
[INFO] [stderr] 65 |     OsString::from_wide(&string[..length])
[INFO] [stderr]    |               ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stderr]    --> src/process.rs:101:19
[INFO] [stderr]     |
[INFO] [stderr] 101 |         OsString::from_wide(&buffer)
[INFO] [stderr]     |                   ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 38 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: aborting due to 38 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `notepad-hijacker`.
[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 `notepad-hijacker`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "89151e2ceabc280c6a6cbf9f627db524df51216d54d54bf9074d099f0de9a510"`
[INFO] running `"docker" "rm" "-f" "89151e2ceabc280c6a6cbf9f627db524df51216d54d54bf9074d099f0de9a510"`
[INFO] [stdout] 89151e2ceabc280c6a6cbf9f627db524df51216d54d54bf9074d099f0de9a510
