[INFO] cloning repository https://github.com/awkinley/multiverse-chess-reader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awkinley/multiverse-chess-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkinley%2Fmultiverse-chess-reader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkinley%2Fmultiverse-chess-reader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5956372ced5220b9cc12a1aefafda98b3b78f3ce
[INFO] checking awkinley/multiverse-chess-reader against 1.55.0 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkinley%2Fmultiverse-chess-reader" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/awkinley/multiverse-chess-reader on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-14/source/.cargo/config
[INFO] started tweaking git repo https://github.com/awkinley/multiverse-chess-reader
[INFO] finished tweaking git repo https://github.com/awkinley/multiverse-chess-reader
[INFO] tweaked toml for git repo https://github.com/awkinley/multiverse-chess-reader written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/awkinley/multiverse-chess-reader already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 849add6ff9c0a838d95beb84c5959ddc53466d601e922aca8bf054b37bdc1789
[INFO] running `Command { std: "docker" "start" "-a" "849add6ff9c0a838d95beb84c5959ddc53466d601e922aca8bf054b37bdc1789", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "849add6ff9c0a838d95beb84c5959ddc53466d601e922aca8bf054b37bdc1789", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "849add6ff9c0a838d95beb84c5959ddc53466d601e922aca8bf054b37bdc1789", kill_on_drop: false }`
[INFO] [stdout] 849add6ff9c0a838d95beb84c5959ddc53466d601e922aca8bf054b37bdc1789
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 90a77bf15a79137a2c8c082a1190484a510732a499e2e2b7d973ef834ee48f4b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "90a77bf15a79137a2c8c082a1190484a510732a499e2e2b7d973ef834ee48f4b", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling syn v1.0.58
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling serde_json v1.0.62
[INFO] [stderr]    Compiling fixed v1.6.0
[INFO] [stderr]     Checking lexers v0.1.3
[INFO] [stderr]     Checking lapp v0.4.0
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]     Checking anyhow v1.0.38
[INFO] [stderr]     Checking ordered-float v2.1.1
[INFO] [stderr]     Checking regex v1.4.3
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking thread-id v3.3.0
[INFO] [stderr]     Checking process-memory v0.4.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking retry v1.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling derivative v2.1.3
[INFO] [stderr]    Compiling enum-map-derive v0.4.6
[INFO] [stderr]     Checking enum-map v0.6.4
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking serde v1.0.118
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking log v0.4.14
[INFO] [stderr]     Checking serde_yaml v0.8.17
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]     Checking log4rs v1.0.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling num_enum_derive v0.5.1
[INFO] [stderr]     Checking num_enum v0.5.1
[INFO] [stderr]     Checking multiverse-chess-reader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/windows.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | use winapi::shared::minwindef::{HMODULE, LPDWORD};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/windows.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | use winapi::um::processthreadsapi::*;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/windows.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | use winapi::um::psapi::*;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/windows.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | use winapi::um::winnt::*;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::shared::minwindef::HMODULE`, `winapi::shared::minwindef::LPDWORD`, `winapi::um::processthreadsapi::*`, `winapi::um::psapi::*`, `winapi::um::winnt::*`
[INFO] [stdout]   --> src/game_interface/windows.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 | use winapi::shared::minwindef::{HMODULE, LPDWORD};
[INFO] [stdout]    |                                 ^^^^^^^  ^^^^^^^
[INFO] [stdout] 54 | use winapi::um::processthreadsapi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 55 | use winapi::um::psapi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 56 | use winapi::um::winnt::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/windows.rs:57:33
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn list_modules(process_id: winapi::shared::minwindef::DWORD) -> std::io::Result<()> {
[INFO] [stdout]    |                                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     process_id: winapi::shared::minwindef::DWORD,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |     process_id: winapi::shared::minwindef::DWORD,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |     process_id: winapi::shared::minwindef::DWORD,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:192:27
[INFO] [stdout]     |
[INFO] [stdout] 192 |             let mem_ptr = winapi::um::memoryapi::VirtualAllocEx(
[INFO] [stdout]     |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 winapi::um::winnt::MEM_COMMIT,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 winapi::um::winnt::PAGE_READWRITE,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:200:36
[INFO] [stdout]     |
[INFO] [stdout] 200 |             let mut bytes_written: winapi::shared::basetsd::SIZE_T = 0;
[INFO] [stdout]     |                                    ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:214:30
[INFO] [stdout]     |
[INFO] [stdout] 214 |                 let result = winapi::um::memoryapi::WriteProcessMemory(
[INFO] [stdout]     |                              ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:217:45
[INFO] [stdout]     |
[INFO] [stdout] 217 |                     buffer.as_ptr() as *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:219:48
[INFO] [stdout]     |
[INFO] [stdout] 219 |                     &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T,
[INFO] [stdout]     |                                                ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:238:26
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let result = winapi::um::memoryapi::WriteProcessMemory(
[INFO] [stdout]     |                          ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:241:41
[INFO] [stdout]     |
[INFO] [stdout] 241 |                 buffer.as_ptr() as *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:243:44
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T,
[INFO] [stdout]     |                                            ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:263:19
[INFO] [stdout]     |
[INFO] [stdout] 263 |     process: *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                   ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/windows.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | use winapi::shared::minwindef::{HMODULE, LPDWORD};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/windows.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | use winapi::um::processthreadsapi::*;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/windows.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | use winapi::um::psapi::*;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/windows.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | use winapi::um::winnt::*;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::shared::minwindef::HMODULE`, `winapi::shared::minwindef::LPDWORD`, `winapi::um::processthreadsapi::*`, `winapi::um::psapi::*`, `winapi::um::winnt::*`
[INFO] [stdout]   --> src/game_interface/windows.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 | use winapi::shared::minwindef::{HMODULE, LPDWORD};
[INFO] [stdout]    |                                 ^^^^^^^  ^^^^^^^
[INFO] [stdout] 54 | use winapi::um::processthreadsapi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 55 | use winapi::um::psapi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 56 | use winapi::um::winnt::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:269:27
[INFO] [stdout]     |
[INFO] [stdout] 269 |             let mem_ptr = winapi::um::memoryapi::VirtualAllocEx(
[INFO] [stdout]     |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:273:17
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 winapi::um::winnt::MEM_COMMIT,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/windows.rs:57:33
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn list_modules(process_id: winapi::shared::minwindef::DWORD) -> std::io::Result<()> {
[INFO] [stdout]    |                                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:274:17
[INFO] [stdout]     |
[INFO] [stdout] 274 |                 winapi::um::winnt::PAGE_READWRITE,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:277:36
[INFO] [stdout]     |
[INFO] [stdout] 277 |             let mut bytes_written: winapi::shared::basetsd::SIZE_T = 0;
[INFO] [stdout]     |                                    ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:291:30
[INFO] [stdout]     |
[INFO] [stdout] 291 |                 let result = winapi::um::memoryapi::WriteProcessMemory(
[INFO] [stdout]     |                              ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:294:45
[INFO] [stdout]     |
[INFO] [stdout] 294 |                     buffer.as_ptr() as *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:296:48
[INFO] [stdout]     |
[INFO] [stdout] 296 |                     &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T,
[INFO] [stdout]     |                                                ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:315:26
[INFO] [stdout]     |
[INFO] [stdout] 315 |             let result = winapi::um::memoryapi::WriteProcessMemory(
[INFO] [stdout]     |                          ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:318:41
[INFO] [stdout]     |
[INFO] [stdout] 318 |                 buffer.as_ptr() as *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:320:44
[INFO] [stdout]     |
[INFO] [stdout] 320 |                 &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T,
[INFO] [stdout]     |                                            ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/game_interface/reading.rs:2:41
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn read_bytes(process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture), starting_addresss: u64, length_bytes: u64)...
[INFO] [stdout]   |                                         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/reading.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]    |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/reading.rs:37:27
[INFO] [stdout]    |
[INFO] [stdout] 37 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]    |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/game_interface/writing.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]   |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/writing.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     process_id: winapi::shared::minwindef::DWORD,
[INFO] [stdout]    |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/writing.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]    |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/writing.rs:170:27
[INFO] [stdout]     |
[INFO] [stdout] 170 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]     |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]    |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:85:27
[INFO] [stdout]    |
[INFO] [stdout] 85 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]    |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/game_interface/windows.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let h_process: HANDLE =
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/game_interface/windows.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:60:53
[INFO] [stdout]    |
[INFO] [stdout] 60 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_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/game_interface/windows.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let modules: [HMODULE; 1024] = [0 as HMODULE; 1024];
[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/game_interface/windows.rs:62:50
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let modules: [HMODULE; 1024] = [0 as HMODULE; 1024];
[INFO] [stdout]    |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stdout]   --> src/game_interface/windows.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |             if EnumProcessModules(
[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/game_interface/windows.rs:66:42
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 modules.as_ptr() as *mut HMODULE,
[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/game_interface/windows.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn list_modules(process_id: winapi::shared::minwindef::DWORD) -> std::io::Result<()> {
[INFO] [stdout]    |                    - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 std::mem::size_of::<HMODULE>() as u32 * 1024,
[INFO] [stdout]    |                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope
[INFO] [stdout]   --> src/game_interface/windows.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 GetModuleBaseNameW(h_process, module, process_name.as_ptr() as *mut u16, 40);
[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/game_interface/windows.rs:111:26
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn get_module_handle(
[INFO] [stdout]     |                         - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 111 | ) -> std::result::Result<HMODULE, String> {
[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/game_interface/windows.rs:113:24
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let h_process: HANDLE =
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:114:25
[INFO] [stdout]     |
[INFO] [stdout] 114 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:114:53
[INFO] [stdout]     |
[INFO] [stdout] 114 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_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/game_interface/windows.rs:116:27
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let modules: [HMODULE; 1024] = [0 as HMODULE; 1024];
[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/game_interface/windows.rs:116:50
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let modules: [HMODULE; 1024] = [0 as HMODULE; 1024];
[INFO] [stdout]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |             if EnumProcessModules(
[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/game_interface/windows.rs:120:42
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 modules.as_ptr() as *mut HMODULE,
[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/game_interface/windows.rs:121:37
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn get_module_handle(
[INFO] [stdout]     |                         - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 121 |                 std::mem::size_of::<HMODULE>() as u32 * 1024,
[INFO] [stdout]     |                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:142:17
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 GetModuleBaseNameW(h_process, module, process_name.as_ptr() as *mut u16, 40);
[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/game_interface/windows.rs:164:22
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let process: HANDLE =
[INFO] [stdout]     |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:165:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:165:53
[INFO] [stdout]     |
[INFO] [stdout] 165 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_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/game_interface/windows.rs:167:31
[INFO] [stdout]     |
[INFO] [stdout] 167 |             let mut h_module: HMODULE = null_mut();
[INFO] [stdout]     |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:169:16
[INFO] [stdout]     |
[INFO] [stdout] 169 |             if EnumProcessModules(
[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/game_interface/windows.rs:172:37
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub fn get_offset(
[INFO] [stdout]     |                  - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 172 |                 std::mem::size_of::<HMODULE>() as u32,
[INFO] [stdout]     |                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:188:31
[INFO] [stdout]     |
[INFO] [stdout] 188 | ) -> std::result::Result<*mut c_void, String> {
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:190:22
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let process: HANDLE = OpenProcess(PROCESS_ALL_ACCESS, 0, 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 `OpenProcess` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:190:31
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let process: HANDLE = OpenProcess(PROCESS_ALL_ACCESS, 0, process_id);
[INFO] [stdout]     |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let process: HANDLE = OpenProcess(PROCESS_ALL_ACCESS, 0, process_id);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:212:83
[INFO] [stdout]     |
[INFO] [stdout] 212 |                 let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void;
[INFO] [stdout]     |                                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:236:79
[INFO] [stdout]     |
[INFO] [stdout] 236 |             let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void;
[INFO] [stdout]     |                                                                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:266:31
[INFO] [stdout]     |
[INFO] [stdout] 266 | ) -> std::result::Result<*mut c_void, String> {
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:289:83
[INFO] [stdout]     |
[INFO] [stdout] 289 |                 let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void;
[INFO] [stdout]     |                                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:313:79
[INFO] [stdout]     |
[INFO] [stdout] 313 |             let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void;
[INFO] [stdout]     |                                                                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/notation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]    --> src/main.rs:434:17
[INFO] [stdout]     |
[INFO] [stdout] 434 | use log::{info, warn, error};
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`, `warn`
[INFO] [stdout]  --> src/cli.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{error, info, warn};
[INFO] [stdout]   |           ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Config`, `Logger`
[INFO] [stdout]  --> src/cli.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log4rs::config::{Appender, Config, Logger, Root};
[INFO] [stdout]   |                                ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::cli::*`
[INFO] [stdout]    --> src/main.rs:439:5
[INFO] [stdout]     |
[INFO] [stdout] 439 | use self::cli::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     process_id: winapi::shared::minwindef::DWORD,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |     process_id: winapi::shared::minwindef::DWORD,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |     process_id: winapi::shared::minwindef::DWORD,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:192:27
[INFO] [stdout]     |
[INFO] [stdout] 192 |             let mem_ptr = winapi::um::memoryapi::VirtualAllocEx(
[INFO] [stdout]     |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 winapi::um::winnt::MEM_COMMIT,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 winapi::um::winnt::PAGE_READWRITE,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:200:36
[INFO] [stdout]     |
[INFO] [stdout] 200 |             let mut bytes_written: winapi::shared::basetsd::SIZE_T = 0;
[INFO] [stdout]     |                                    ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:214:30
[INFO] [stdout]     |
[INFO] [stdout] 214 |                 let result = winapi::um::memoryapi::WriteProcessMemory(
[INFO] [stdout]     |                              ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:217:45
[INFO] [stdout]     |
[INFO] [stdout] 217 |                     buffer.as_ptr() as *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:219:48
[INFO] [stdout]     |
[INFO] [stdout] 219 |                     &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T,
[INFO] [stdout]     |                                                ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:238:26
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let result = winapi::um::memoryapi::WriteProcessMemory(
[INFO] [stdout]     |                          ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:241:41
[INFO] [stdout]     |
[INFO] [stdout] 241 |                 buffer.as_ptr() as *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:243:44
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T,
[INFO] [stdout]     |                                            ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:263:19
[INFO] [stdout]     |
[INFO] [stdout] 263 |     process: *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                   ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:269:27
[INFO] [stdout]     |
[INFO] [stdout] 269 |             let mem_ptr = winapi::um::memoryapi::VirtualAllocEx(
[INFO] [stdout]     |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:273:17
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 winapi::um::winnt::MEM_COMMIT,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:274:17
[INFO] [stdout]     |
[INFO] [stdout] 274 |                 winapi::um::winnt::PAGE_READWRITE,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:277:36
[INFO] [stdout]     |
[INFO] [stdout] 277 |             let mut bytes_written: winapi::shared::basetsd::SIZE_T = 0;
[INFO] [stdout]     |                                    ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:291:30
[INFO] [stdout]     |
[INFO] [stdout] 291 |                 let result = winapi::um::memoryapi::WriteProcessMemory(
[INFO] [stdout]     |                              ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:294:45
[INFO] [stdout]     |
[INFO] [stdout] 294 |                     buffer.as_ptr() as *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:296:48
[INFO] [stdout]     |
[INFO] [stdout] 296 |                     &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T,
[INFO] [stdout]     |                                                ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:315:26
[INFO] [stdout]     |
[INFO] [stdout] 315 |             let result = winapi::um::memoryapi::WriteProcessMemory(
[INFO] [stdout]     |                          ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:318:41
[INFO] [stdout]     |
[INFO] [stdout] 318 |                 buffer.as_ptr() as *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/windows.rs:320:44
[INFO] [stdout]     |
[INFO] [stdout] 320 |                 &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T,
[INFO] [stdout]     |                                            ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/game_interface/reading.rs:2:41
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn read_bytes(process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture), starting_addresss: u64, length_bytes: u64)...
[INFO] [stdout]   |                                         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/reading.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]    |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/reading.rs:37:27
[INFO] [stdout]    |
[INFO] [stdout] 37 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]    |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/game_interface/writing.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]   |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/writing.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     process_id: winapi::shared::minwindef::DWORD,
[INFO] [stdout]    |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/game_interface/writing.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]    |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/game_interface/writing.rs:170:27
[INFO] [stdout]     |
[INFO] [stdout] 170 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]     |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]    |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:85:27
[INFO] [stdout]    |
[INFO] [stdout] 85 |     process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture),
[INFO] [stdout]    |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/game_interface/windows.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let h_process: HANDLE =
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/game_interface/windows.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:60:53
[INFO] [stdout]    |
[INFO] [stdout] 60 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_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/game_interface/windows.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let modules: [HMODULE; 1024] = [0 as HMODULE; 1024];
[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/game_interface/windows.rs:62:50
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let modules: [HMODULE; 1024] = [0 as HMODULE; 1024];
[INFO] [stdout]    |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stdout]   --> src/game_interface/windows.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |             if EnumProcessModules(
[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/game_interface/windows.rs:66:42
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 modules.as_ptr() as *mut HMODULE,
[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/game_interface/windows.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn list_modules(process_id: winapi::shared::minwindef::DWORD) -> std::io::Result<()> {
[INFO] [stdout]    |                    - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 std::mem::size_of::<HMODULE>() as u32 * 1024,
[INFO] [stdout]    |                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope
[INFO] [stdout]   --> src/game_interface/windows.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 GetModuleBaseNameW(h_process, module, process_name.as_ptr() as *mut u16, 40);
[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/game_interface/windows.rs:111:26
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn get_module_handle(
[INFO] [stdout]     |                         - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 111 | ) -> std::result::Result<HMODULE, String> {
[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/game_interface/windows.rs:113:24
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let h_process: HANDLE =
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:114:25
[INFO] [stdout]     |
[INFO] [stdout] 114 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:114:53
[INFO] [stdout]     |
[INFO] [stdout] 114 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_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/game_interface/windows.rs:116:27
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let modules: [HMODULE; 1024] = [0 as HMODULE; 1024];
[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/game_interface/windows.rs:116:50
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let modules: [HMODULE; 1024] = [0 as HMODULE; 1024];
[INFO] [stdout]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |             if EnumProcessModules(
[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/game_interface/windows.rs:120:42
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 modules.as_ptr() as *mut HMODULE,
[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/game_interface/windows.rs:121:37
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn get_module_handle(
[INFO] [stdout]     |                         - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 121 |                 std::mem::size_of::<HMODULE>() as u32 * 1024,
[INFO] [stdout]     |                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:142:17
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 GetModuleBaseNameW(h_process, module, process_name.as_ptr() as *mut u16, 40);
[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/game_interface/windows.rs:164:22
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let process: HANDLE =
[INFO] [stdout]     |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:165:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id);
[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/game_interface/windows.rs:165:53
[INFO] [stdout]     |
[INFO] [stdout] 165 |             OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_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/game_interface/windows.rs:167:31
[INFO] [stdout]     |
[INFO] [stdout] 167 |             let mut h_module: HMODULE = null_mut();
[INFO] [stdout]     |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:169:16
[INFO] [stdout]     |
[INFO] [stdout] 169 |             if EnumProcessModules(
[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/game_interface/windows.rs:172:37
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub fn get_offset(
[INFO] [stdout]     |                  - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 172 |                 std::mem::size_of::<HMODULE>() as u32,
[INFO] [stdout]     |                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:188:31
[INFO] [stdout]     |
[INFO] [stdout] 188 | ) -> std::result::Result<*mut c_void, String> {
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:190:22
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let process: HANDLE = OpenProcess(PROCESS_ALL_ACCESS, 0, 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 `OpenProcess` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:190:31
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let process: HANDLE = OpenProcess(PROCESS_ALL_ACCESS, 0, process_id);
[INFO] [stdout]     |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let process: HANDLE = OpenProcess(PROCESS_ALL_ACCESS, 0, process_id);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:212:83
[INFO] [stdout]     |
[INFO] [stdout] 212 |                 let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void;
[INFO] [stdout]     |                                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:236:79
[INFO] [stdout]     |
[INFO] [stdout] 236 |             let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void;
[INFO] [stdout]     |                                                                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:266:31
[INFO] [stdout]     |
[INFO] [stdout] 266 | ) -> std::result::Result<*mut c_void, String> {
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:289:83
[INFO] [stdout]     |
[INFO] [stdout] 289 |                 let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void;
[INFO] [stdout]     |                                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/game_interface/windows.rs:313:79
[INFO] [stdout]     |
[INFO] [stdout] 313 |             let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void;
[INFO] [stdout]     |                                                                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 50  | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 50  | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/notation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]    --> src/main.rs:434:17
[INFO] [stdout]     |
[INFO] [stdout] 434 | use log::{info, warn, error};
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`, `warn`
[INFO] [stdout]  --> src/cli.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{error, info, warn};
[INFO] [stdout]   |           ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Config`, `Logger`
[INFO] [stdout]  --> src/cli.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log4rs::config::{Appender, Config, Logger, Root};
[INFO] [stdout]   |                                ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::cli::*`
[INFO] [stdout]    --> src/main.rs:439:5
[INFO] [stdout]     |
[INFO] [stdout] 439 | use self::cli::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_into_process_handle` found for type `u32` in the current scope
[INFO] [stdout]    --> src/main.rs:480:34
[INFO] [stdout]     |
[INFO] [stdout] 480 |         let process_handle = pid.try_into_process_handle()?;
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_into_process_handle` found for type `u32` in the current scope
[INFO] [stdout]    --> src/main.rs:480:34
[INFO] [stdout]     |
[INFO] [stdout] 480 |         let process_handle = pid.try_into_process_handle()?;
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 77 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multiverse-chess-reader` due to 78 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 77 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "90a77bf15a79137a2c8c082a1190484a510732a499e2e2b7d973ef834ee48f4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90a77bf15a79137a2c8c082a1190484a510732a499e2e2b7d973ef834ee48f4b", kill_on_drop: false }`
[INFO] [stdout] 90a77bf15a79137a2c8c082a1190484a510732a499e2e2b7d973ef834ee48f4b
