[INFO] fetching crate toy-arms 0.9.3... [INFO] testing toy-arms-0.9.3 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate toy-arms 0.9.3 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate toy-arms 0.9.3 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate toy-arms 0.9.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate toy-arms 0.9.3 [INFO] tweaked toml for crates.io crate toy-arms 0.9.3 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate crates.io crate toy-arms 0.9.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bc7d7ab674134b0d8e4e24b4bd6a3ac56fd334c25eab200dc45a27d5424bc4b [INFO] running `Command { std: "docker" "start" "-a" "9bc7d7ab674134b0d8e4e24b4bd6a3ac56fd334c25eab200dc45a27d5424bc4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bc7d7ab674134b0d8e4e24b4bd6a3ac56fd334c25eab200dc45a27d5424bc4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc7d7ab674134b0d8e4e24b4bd6a3ac56fd334c25eab200dc45a27d5424bc4b", kill_on_drop: false }` [INFO] [stdout] 9bc7d7ab674134b0d8e4e24b4bd6a3ac56fd334c25eab200dc45a27d5424bc4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c40590082889882398988747d9605fea98950ff5c56ce68810ba98eda045636 [INFO] running `Command { std: "docker" "start" "-a" "5c40590082889882398988747d9605fea98950ff5c56ce68810ba98eda045636", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling toy-arms_derive v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling toy-arms v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/internal/internal.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{DWORD, FARPROC, HMODULE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/internal.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::libloaderapi::GetProcAddress; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/internal.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::processthreadsapi::GetCurrentProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/internal.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::psapi::{EnumProcessModules, GetModuleBaseNameA, GetModuleInformation, MODULEINFO}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/internal.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::{CHAR, LPSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/internal/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | shared::minwindef::BOOL, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/internal/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::minwindef::HINSTANCE, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/internal/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | shared::minwindef::TRUE, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/internal/utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::minwindef::{FARPROC, HMODULE}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::consoleapi::AllocConsole, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | um::libloaderapi::DisableThreadLibraryCalls, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | um::libloaderapi::{GetModuleHandleA, GetProcAddress}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/utils.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::wincon::FreeConsole, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/utils.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | um::winnt::DLL_PROCESS_ATTACH, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/internal/pattern_scan.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/pattern_scan.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::memoryapi::VirtualQuery; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/internal/pattern_scan.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::{ MEMORY_BASIC_INFORMATION }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pattern_scan_common.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{MEM_COMMIT, MEMORY_BASIC_INFORMATION, PAGE_NOACCESS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `keyboard`, `crate::cast` [INFO] [stdout] --> src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use keyboard::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `keyboard` [INFO] [stdout] | [INFO] [stdout] ::: src/internal/internal.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{cast}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MEMORY_BASIC_INFORMATION` [INFO] [stdout] --> src/internal/pattern_scan.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | let mut memory_info: MEMORY_BASIC_INFORMATION = MEMORY_BASIC_INFORMATION::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MEMORY_BASIC_INFORMATION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/internal/internal.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pub module_handle: 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/internal/internal.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let module_handle: HMODULE = match get_module_handle(module_name) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/internal/internal.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | let mut module_info: MODULEINFO = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/internal/internal.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Module<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, MODULEINFO` [INFO] [stdout] ... [INFO] [stdout] 38 | let mut module_info: MODULEINFO = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleInformation` in this scope [INFO] [stdout] --> src/internal/internal.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | GetModuleInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/internal/internal.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/internal/internal.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Module<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, MODULEINFO` [INFO] [stdout] ... [INFO] [stdout] 43 | size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/internal/internal.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | let process_handle = GetCurrentProcess(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/internal/internal.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | let mut module_info: MODULEINFO = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/internal/internal.rs:97:66 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn pattern_scan_all_modules(pattern: &str) -> Option<(usize, String)> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 97 | let mut module_info: MODULEINFO = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleInformation` in this scope [INFO] [stdout] --> src/internal/internal.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | GetModuleInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/internal/internal.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn pattern_scan_all_modules(pattern: &str) -> Option<(usize, String)> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 102 | size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR` in this scope [INFO] [stdout] --> src/internal/internal.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | let mut module_name: [CHAR; 100] = [0; 100]; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameA` in this scope [INFO] [stdout] --> src/internal/internal.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | GetModuleBaseNameA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/internal/internal.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/internal/internal.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | &mut module_name as LPSTR, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/internal/internal.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 132 | pub unsafe fn get_module_function_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 135 | ) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/internal/internal.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | Some(GetProcAddress( [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/internal/internal.rs:146:43 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_all_module_handles() -> Result, ToyArmsInternalError> { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/internal/internal.rs:150:48 [INFO] [stdout] | [INFO] [stdout] 150 | let mut module_handles = vec![0 as HMODULE; size_indice * 100]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/internal/internal.rs:152:56 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_all_module_handles() -> Result, ToyArmsInternalError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | let mut required_size = std::mem::zeroed::(); [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/internal/internal.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | return 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 `GetCurrentProcess` in this scope [INFO] [stdout] --> src/internal/internal.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | GetCurrentProcess(), [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/internal/internal.rs:157:51 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_all_module_handles() -> Result, ToyArmsInternalError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 157 | (module_handles.len() * size_of::()) as u32, [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/internal/internal.rs:161:86 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_all_module_handles() -> Result, ToyArmsInternalError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 161 | let number_of_handles = required_size as usize / std::mem::size_of::(); [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/internal/internal.rs:168:45 [INFO] [stdout] | [INFO] [stdout] 168 | .filter(|e| **e != 0 as 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/internal/internal.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_all_module_handles() -> Result, ToyArmsInternalError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 170 | .collect::>()) [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/internal/utils.rs:68:55 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_module_handle(module_name: &str) -> Option { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/internal/utils.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | let mut module_handle: HMODULE = GetModuleHandleA(make_lpcstr(module_name)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/internal/utils.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | let mut module_handle: HMODULE = GetModuleHandleA(make_lpcstr(module_name)); [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/internal/utils.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | if module_handle != 0 as HMODULE { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/internal/utils.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | module_handle = GetModuleHandleA(make_lpcstr(module_name)); [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/internal/utils.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | if module_handle == 0 as HMODULE { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/internal/pattern_scan.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let mut memory_info: MEMORY_BASIC_INFORMATION = MEMORY_BASIC_INFORMATION::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope [INFO] [stdout] --> src/internal/pattern_scan.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | VirtualQuery( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/internal/pattern_scan.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | current as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/internal/pattern_scan.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) unsafe fn boyer_moore_horspool( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | std::mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/pattern_scan_common.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn is_page_readable(memory_info: &MEMORY_BASIC_INFORMATION) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/pattern_scan_common.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | if memory_info.State != MEM_COMMIT [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_NOACCESS` in this scope [INFO] [stdout] --> src/pattern_scan_common.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | || memory_info.Protect == PAGE_NOACCESS [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toy-arms` due to 61 previous errors [INFO] running `Command { std: "docker" "inspect" "5c40590082889882398988747d9605fea98950ff5c56ce68810ba98eda045636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c40590082889882398988747d9605fea98950ff5c56ce68810ba98eda045636", kill_on_drop: false }` [INFO] [stdout] 5c40590082889882398988747d9605fea98950ff5c56ce68810ba98eda045636