[INFO] fetching crate yapi-rs 0.0.5... [INFO] testing yapi-rs-0.0.5 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate yapi-rs 0.0.5 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate yapi-rs 0.0.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate yapi-rs 0.0.5 [INFO] tweaked toml for crates.io crate yapi-rs 0.0.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yapi-rs 0.0.5 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yapi-rs 0.0.5 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29f8921eaf968a046e2181ea691fa613211063b5ec131224c3d94cf31f45b38e [INFO] running `Command { std: "docker" "start" "-a" "29f8921eaf968a046e2181ea691fa613211063b5ec131224c3d94cf31f45b38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29f8921eaf968a046e2181ea691fa613211063b5ec131224c3d94cf31f45b38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f8921eaf968a046e2181ea691fa613211063b5ec131224c3d94cf31f45b38e", kill_on_drop: false }` [INFO] [stdout] 29f8921eaf968a046e2181ea691fa613211063b5ec131224c3d94cf31f45b38e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dd6948e3f65a3903c597ad70ccdbdd7c6baf5fe7cec8971d1f61964477ed300 [INFO] running `Command { std: "docker" "start" "-a" "4dd6948e3f65a3903c597ad70ccdbdd7c6baf5fe7cec8971d1f61964477ed300", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling windows_x86_64_gnu v0.53.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling windows-targets v0.53.0 [INFO] [stderr] Compiling windows-result v0.3.0 [INFO] [stderr] Compiling windows-strings v0.3.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling windows-core v0.59.0 [INFO] [stderr] Compiling windows v0.59.0 [INFO] [stderr] Compiling yapi-rs v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/process_writer.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/types.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Foundation::{HANDLE, NTSTATUS}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils/memory_reader.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::{Foundation::NTSTATUS, System::Diagnostics::Debug::ReadProcessMemory}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::core; [INFO] [stdout] | ^^^^^^^^^^^^^ no `core` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils/process_handle.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::Foundation::NTSTATUS; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/yapi_call.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::Foundation::WAIT_OBJECT_0; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/yapi_call.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/utils/process_handle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | core::{s, w, PCSTR, PWSTR}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils/process_handle.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | let ntdll = windows::Win32::System::LibraryLoader::GetModuleHandleW(w!("ntdll.dll"))?; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils/process_handle.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | windows::Win32::System::LibraryLoader::GetProcAddress( [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `PROCESSOR_ARCHITECTURE_IA64` is not bound in all patterns [INFO] [stdout] --> src/yapi_call.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | PROCESSOR_ARCHITECTURE_AMD64 | PROCESSOR_ARCHITECTURE_IA64 => X64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `PROCESSOR_ARCHITECTURE_IA64` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::PROCESSOR_ARCHITECTURE_IA64` [INFO] [stdout] --> src/yapi_call.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | PROCESSOR_ARCHITECTURE_AMD64 | PROCESSOR_ARCHITECTURE_IA64 => X64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `PROCESSOR_ARCHITECTURE_AMD64` is not bound in all patterns [INFO] [stdout] --> src/yapi_call.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | PROCESSOR_ARCHITECTURE_AMD64 | PROCESSOR_ARCHITECTURE_IA64 => X64, [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `PROCESSOR_ARCHITECTURE_AMD64` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::PROCESSOR_ARCHITECTURE_AMD64` [INFO] [stdout] --> src/yapi_call.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | PROCESSOR_ARCHITECTURE_AMD64 | PROCESSOR_ARCHITECTURE_IA64 => X64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | ProcessHandle: 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/utils/process_handle.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | ThreadHandle: *mut HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> NTSTATUS; [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/utils/process_handle.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(handle: HANDLE, yapi_arch: YapiArch) -> 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/utils/process_handle.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | ) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 39 | impl ProcessHandle { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:160:42 [INFO] [stdout] | [INFO] [stdout] 160 | CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:160:62 [INFO] [stdout] | [INFO] [stdout] 160 | CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:161:27 [INFO] [stdout] | [INFO] [stdout] 161 | let mut me32: MODULEENTRY32W = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:162:47 [INFO] [stdout] | [INFO] [stdout] 162 | me32.dwSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 39 | impl ProcessHandle { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | let idh: IMAGE_DOS_HEADER = self.reader.read(module_base)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | let inh64: IMAGE_NT_HEADERS64 = self.reader.read(module_base + idh.e_lfanew as u64)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | let inh32: IMAGE_NT_HEADERS32 = self.reader.read(module_base + idh.e_lfanew as u64)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_EXPORT_DIRECTORY` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | let ied: IMAGE_EXPORT_DIRECTORY = [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/utils/process_handle.rs:282:29 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn as_raw(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SYSTEM_INFO` in this scope [INFO] [stdout] --> src/yapi_call.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let mut si: SYSTEM_INFO = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/yapi_call.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | ... PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/yapi_call.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | ... PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/yapi_call.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | .unwrap_or(INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/yapi_call.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | PAGE_EXECUTE_READWRITE, // PAGE_EXECUTE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/yapi_call.rs:434:74 [INFO] [stdout] | [INFO] [stdout] 434 | ProcessWriter::new(self.target_process_handle.as_raw(), &buffer, PAGE_READWRITE) [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/yapi_call.rs:446:57 [INFO] [stdout] | [INFO] [stdout] 446 | pub fn virtual_query(&self, address: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | impl YAPICall [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/yapi_call.rs:448:26 [INFO] [stdout] | [INFO] [stdout] 448 | let mut mbi: MEMORY_BASIC_INFORMATION = zeroed(); [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/yapi_call.rs:449:44 [INFO] [stdout] | [INFO] [stdout] 449 | let size = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | impl YAPICall [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/yapi_call.rs:468:17 [INFO] [stdout] | [INFO] [stdout] 468 | TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope [INFO] [stdout] --> src/yapi_call.rs:468:37 [INFO] [stdout] | [INFO] [stdout] 468 | TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/yapi_call.rs:476:27 [INFO] [stdout] | [INFO] [stdout] 476 | let mut me32: MODULEENTRY32W = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/yapi_call.rs:477:47 [INFO] [stdout] | [INFO] [stdout] 477 | me32.dwSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | impl YAPICall [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { GetCurrentProcess() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HANDLE` [INFO] [stdout] --> src/utils/process_handle.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | let mut thread_handle = HANDLE::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type `HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessId` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let process_id = GetProcessId(self.handle.into()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, 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 `Module32FirstW` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | if !Module32FirstW(snapshot, &mut me32).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | CloseHandle(snapshot)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | if !Module32NextW(snapshot, &mut me32).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | CloseHandle(snapshot)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMODULE` in this scope [INFO] [stdout] --> src/utils/process_handle.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | HMODULE(module_base as *mut c_void), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNativeSystemInfo` in this scope [INFO] [stdout] --> src/yapi_call.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | GetNativeSystemInfo(&mut si); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWow64Process` in this scope [INFO] [stdout] --> src/yapi_call.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | match IsWow64Process(target_process, &mut is_wow64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope [INFO] [stdout] --> src/yapi_call.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | CreateRemoteThread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope [INFO] [stdout] --> src/yapi_call.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | CreateRemoteThread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope [INFO] [stdout] --> src/yapi_call.rs:304:25 [INFO] [stdout] | [INFO] [stdout] 304 | CreateRemoteThread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/yapi_call.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | if WaitForSingleObject(thread_handle, timeout_ms) != WAIT_OBJECT_0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetExitCodeThread` in this scope [INFO] [stdout] --> src/yapi_call.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | GetExitCodeThread(thread_handle, &mut exit_code)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQueryEx` in this scope [INFO] [stdout] --> src/yapi_call.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | if VirtualQueryEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope [INFO] [stdout] --> src/yapi_call.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | GetCurrentProcessId(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/yapi_call.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | let snapshot = CreateToolhelp32Snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope [INFO] [stdout] --> src/yapi_call.rs:479:16 [INFO] [stdout] | [INFO] [stdout] 479 | if Module32FirstW(snapshot, &mut me32).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope [INFO] [stdout] --> src/yapi_call.rs:495:25 [INFO] [stdout] | [INFO] [stdout] 495 | if !Module32NextW(snapshot, &mut me32).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yapi-rs` (lib) due to 61 previous errors [INFO] running `Command { std: "docker" "inspect" "4dd6948e3f65a3903c597ad70ccdbdd7c6baf5fe7cec8971d1f61964477ed300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dd6948e3f65a3903c597ad70ccdbdd7c6baf5fe7cec8971d1f61964477ed300", kill_on_drop: false }` [INFO] [stdout] 4dd6948e3f65a3903c597ad70ccdbdd7c6baf5fe7cec8971d1f61964477ed300