[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/5956372ced5220b9cc12a1aefafda98b3b78f3ce against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkinley%2Fmultiverse-chess-reader" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/awkinley/multiverse-chess-reader on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded retry v1.2.0 [INFO] [stderr] Downloaded enum-map-derive v0.4.6 [INFO] [stderr] Downloaded lexers v0.1.3 [INFO] [stderr] Downloaded process-memory v0.4.0 [INFO] [stderr] Downloaded array-macro v1.0.5 [INFO] [stderr] Downloaded fixed v1.6.0 [INFO] [stderr] Downloaded enum-map v0.6.4 [INFO] [stderr] Downloaded log4rs v1.0.0 [INFO] [stderr] Downloaded lapp v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 522e79c238b027e9aa4c2103cf75e5aa879dde927de0b9529899f0936e9651a1 [INFO] running `Command { std: "docker" "start" "-a" "522e79c238b027e9aa4c2103cf75e5aa879dde927de0b9529899f0936e9651a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "522e79c238b027e9aa4c2103cf75e5aa879dde927de0b9529899f0936e9651a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "522e79c238b027e9aa4c2103cf75e5aa879dde927de0b9529899f0936e9651a1", kill_on_drop: false }` [INFO] [stdout] 522e79c238b027e9aa4c2103cf75e5aa879dde927de0b9529899f0936e9651a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba3628103684aedd83d950c7ab9d80ae4fb435438d5e9d43d728fa683274472e [INFO] running `Command { std: "docker" "start" "-a" "ba3628103684aedd83d950c7ab9d80ae4fb435438d5e9d43d728fa683274472e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling fixed v1.6.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking ordered-float v2.1.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking process-memory v0.4.0 [INFO] [stderr] Checking lexers v0.1.3 [INFO] [stderr] Checking lapp v0.4.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking retry v1.2.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [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_yaml v0.8.17 [INFO] [stderr] Checking serde-value v0.7.0 [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[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[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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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/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: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: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/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: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: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: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/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: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[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[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 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_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[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 `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[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 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_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[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 `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[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 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_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 `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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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 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[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 `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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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: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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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 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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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 std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 50 + use core::ffi::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: `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 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`, and `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: `error`, `info`, and `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` and `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] warning: unused imports: `Config` and `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[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 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 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[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[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[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[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 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 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[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[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[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[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 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[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 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[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 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[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] warning: unreachable pattern [INFO] [stdout] --> src/game_data.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | _ => Piece::Nothing, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game_data.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 81 | PieceType::Nothing => Piece::Nothing, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 82 | PieceType::Pawn => Piece::Pawn, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 83 | PieceType::Knight => Piece::Knight, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 84 | PieceType::Bishop => Piece::Bishop, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 94 | _ => Piece::Nothing, [INFO] [stdout] | ^ ...and 9 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game_data.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | _ => Piece::Nothing, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game_data.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 81 | PieceType::Nothing => Piece::Nothing, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 82 | PieceType::Pawn => Piece::Pawn, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 83 | PieceType::Knight => Piece::Knight, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 84 | PieceType::Bishop => Piece::Bishop, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 94 | _ => Piece::Nothing, [INFO] [stdout] | ^ ...and 9 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/game_data.rs:259:74 [INFO] [stdout] | [INFO] [stdout] 259 | write!(f, "{{ length: {}, capacity: {}, address: 0x{:x} }}", self.array_len, self.array_cap, self.array_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/game_data.rs:259:90 [INFO] [stdout] | [INFO] [stdout] 259 | write!(f, "{{ length: {}, capacity: {}, address: 0x{:x} }}", self.array_len, self.array_cap, self.array_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/game_data.rs:259:106 [INFO] [stdout] | [INFO] [stdout] 259 | write!(f, "{{ length: {}, capacity: {}, address: 0x{:x} }}", self.array_len, self.array_cap, self.array_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/game_data.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/game_data.rs:259:74 [INFO] [stdout] | [INFO] [stdout] 259 | write!(f, "{{ length: {}, capacity: {}, address: 0x{:x} }}", self.array_len, self.array_cap, self.array_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/game_data.rs:259:90 [INFO] [stdout] | [INFO] [stdout] 259 | write!(f, "{{ length: {}, capacity: {}, address: 0x{:x} }}", self.array_len, self.array_cap, self.array_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/game_data.rs:259:106 [INFO] [stdout] | [INFO] [stdout] 259 | write!(f, "{{ length: {}, capacity: {}, address: 0x{:x} }}", self.array_len, self.array_cap, self.array_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/game_data.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/notation.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut map = enum_map!{ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/notation.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut map = enum_map!{ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_board` [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let next_board = get_field_value_in_board_by_name(&board, NEXT_BOARD_NUMBER); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_board` [INFO] [stdout] --> src/main.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let prev_board = get_field_value_in_board_by_name(&board, PREV_BOARD_NUMBER); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `board_height` is assigned to, but never used [INFO] [stdout] --> src/main.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let mut board_height : u32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_board_height` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_board` [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let next_board = get_field_value_in_board_by_name(&board, NEXT_BOARD_NUMBER); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `board_height` is never read [INFO] [stdout] --> src/main.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | board_height = board.height; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_board` [INFO] [stdout] --> src/main.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let prev_board = get_field_value_in_board_by_name(&board, PREV_BOARD_NUMBER); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `board_height` is assigned to, but never used [INFO] [stdout] --> src/main.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let mut board_height : u32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_board_height` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `board_height` is never read [INFO] [stdout] --> src/main.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | board_height = board.height; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 69 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 69 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0793. [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` (bin "multiverse-chess-reader") due to 70 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `multiverse-chess-reader` (bin "multiverse-chess-reader" test) due to 70 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba3628103684aedd83d950c7ab9d80ae4fb435438d5e9d43d728fa683274472e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3628103684aedd83d950c7ab9d80ae4fb435438d5e9d43d728fa683274472e", kill_on_drop: false }` [INFO] [stdout] ba3628103684aedd83d950c7ab9d80ae4fb435438d5e9d43d728fa683274472e