[INFO] fetching crate toy-arms 0.9.4... [INFO] testing toy-arms-0.9.4 against 1.60.0 for beta-1.61-1 [INFO] extracting crate toy-arms 0.9.4 into /workspace/builds/worker-109/source [INFO] validating manifest of crates.io crate toy-arms 0.9.4 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate toy-arms 0.9.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate toy-arms 0.9.4 [INFO] tweaked toml for crates.io crate toy-arms 0.9.4 written to /workspace/builds/worker-109/source/Cargo.toml [INFO] crate crates.io crate toy-arms 0.9.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toy-arms_derive v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14687369dab1892b1d0bcaee2254fe402d3ac8ee4614ead60cf105c51f797c8d [INFO] running `Command { std: "docker" "start" "-a" "14687369dab1892b1d0bcaee2254fe402d3ac8ee4614ead60cf105c51f797c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14687369dab1892b1d0bcaee2254fe402d3ac8ee4614ead60cf105c51f797c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14687369dab1892b1d0bcaee2254fe402d3ac8ee4614ead60cf105c51f797c8d", kill_on_drop: false }` [INFO] [stdout] 14687369dab1892b1d0bcaee2254fe402d3ac8ee4614ead60cf105c51f797c8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c519e0211c6f9f349747b9f69dd47d4892b87edcb16ceed270bc31365907fa8b [INFO] running `Command { std: "docker" "start" "-a" "c519e0211c6f9f349747b9f69dd47d4892b87edcb16ceed270bc31365907fa8b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling toy-arms_derive v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toy-arms v0.9.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/internal/internal.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{DWORD, FARPROC, HMODULE, MAX_PATH}; [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:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | 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:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | module_handle: 0x0 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:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | 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:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | 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:45:56 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a> Module<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, MODULEINFO` [INFO] [stdout] ... [INFO] [stdout] 45 | 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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | 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:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | 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:50:27 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a> Module<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, MODULEINFO` [INFO] [stdout] ... [INFO] [stdout] 50 | 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:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | 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:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | 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:104:66 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 104 | 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:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 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:109:27 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 109 | 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:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | let mut module_name: [CHAR; MAX_PATH] = [0; MAX_PATH]; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/internal/internal.rs:115:49 [INFO] [stdout] | [INFO] [stdout] 115 | let mut module_name: [CHAR; MAX_PATH] = [0; MAX_PATH]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/internal/internal.rs:115:65 [INFO] [stdout] | [INFO] [stdout] 115 | let mut module_name: [CHAR; MAX_PATH] = [0; MAX_PATH]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [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:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | 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:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | 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:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | &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:142:13 [INFO] [stdout] | [INFO] [stdout] 139 | pub unsafe fn get_module_function_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 142 | ) -> 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:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | 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:153:43 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_all_module_handles() -> Result, TAInternalError> { [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:157:48 [INFO] [stdout] | [INFO] [stdout] 157 | 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:159:56 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_all_module_handles() -> Result, TAInternalError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 159 | 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:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | 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:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | 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:164:51 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_all_module_handles() -> Result, TAInternalError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 164 | (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:168:86 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_all_module_handles() -> Result, TAInternalError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 168 | 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:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | .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:177:36 [INFO] [stdout] | [INFO] [stdout] 153 | fn get_all_module_handles() -> Result, TAInternalError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 177 | .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 63 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 64 previous errors [INFO] running `Command { std: "docker" "inspect" "c519e0211c6f9f349747b9f69dd47d4892b87edcb16ceed270bc31365907fa8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c519e0211c6f9f349747b9f69dd47d4892b87edcb16ceed270bc31365907fa8b", kill_on_drop: false }` [INFO] [stdout] c519e0211c6f9f349747b9f69dd47d4892b87edcb16ceed270bc31365907fa8b