[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] testing awkinley/multiverse-chess-reader against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkinley%2Fmultiverse-chess-reader" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/awkinley/multiverse-chess-reader on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-103/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-103/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81892d8149e0b8c6caa87fc3b079387bc3c2b02d2432a3c55ff3b0f108b48089 [INFO] running `Command { std: "docker" "start" "-a" "81892d8149e0b8c6caa87fc3b079387bc3c2b02d2432a3c55ff3b0f108b48089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81892d8149e0b8c6caa87fc3b079387bc3c2b02d2432a3c55ff3b0f108b48089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81892d8149e0b8c6caa87fc3b079387bc3c2b02d2432a3c55ff3b0f108b48089", kill_on_drop: false }` [INFO] [stdout] 81892d8149e0b8c6caa87fc3b079387bc3c2b02d2432a3c55ff3b0f108b48089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acd0feea29329ad74c123f1bf5f47cdb3cb47013851eb973fa472675e39bd0ab [INFO] running `Command { std: "docker" "start" "-a" "acd0feea29329ad74c123f1bf5f47cdb3cb47013851eb973fa472675e39bd0ab", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling fixed v1.6.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling array-macro v1.0.5 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lexers v0.1.3 [INFO] [stderr] Compiling lapp v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling process-memory v0.4.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ordered-float v2.1.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling retry v1.2.0 [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] Compiling enum-map v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling 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: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: `` [INFO] [stdout] ... [INFO] [stdout] 67 | std::mem::size_of::() 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: `` [INFO] [stdout] ... [INFO] [stdout] 111 | ) -> std::result::Result { [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: `` [INFO] [stdout] ... [INFO] [stdout] 121 | std::mem::size_of::() 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: `` [INFO] [stdout] ... [INFO] [stdout] 172 | std::mem::size_of::() 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::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::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::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::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::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::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: 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] running `Command { std: "docker" "inspect" "acd0feea29329ad74c123f1bf5f47cdb3cb47013851eb973fa472675e39bd0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd0feea29329ad74c123f1bf5f47cdb3cb47013851eb973fa472675e39bd0ab", kill_on_drop: false }` [INFO] [stdout] acd0feea29329ad74c123f1bf5f47cdb3cb47013851eb973fa472675e39bd0ab