[INFO] fetching crate dllvoid 0.1.0... [INFO] testing dllvoid-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate dllvoid 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate dllvoid 0.1.0 [INFO] finished tweaking crates.io crate dllvoid 0.1.0 [INFO] tweaked toml for crates.io crate dllvoid 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dllvoid 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a421b802439c5233c7e98bccdc2c15c0a7f7c610cf452b37f73479cc79a4552a [INFO] running `Command { std: "docker" "start" "-a" "a421b802439c5233c7e98bccdc2c15c0a7f7c610cf452b37f73479cc79a4552a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a421b802439c5233c7e98bccdc2c15c0a7f7c610cf452b37f73479cc79a4552a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a421b802439c5233c7e98bccdc2c15c0a7f7c610cf452b37f73479cc79a4552a", kill_on_drop: false }` [INFO] [stdout] a421b802439c5233c7e98bccdc2c15c0a7f7c610cf452b37f73479cc79a4552a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f376def525302a7b9e8f3c04d6caa324d78067005500f4dec2fc471dc916b18f [INFO] running `Command { std: "docker" "start" "-a" "f376def525302a7b9e8f3c04d6caa324d78067005500f4dec2fc471dc916b18f", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling cural v0.1.3 [INFO] [stderr] Compiling dllvoid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `cural::Process` [INFO] [stdout] --> src/injector.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cural::Process; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Process` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cural-0.1.3/src/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 7 | pub use process::Process; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lla.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::handleapi::CloseHandle; [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/lla.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [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/lla.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::libloaderapi::GetModuleHandleA; [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/lla.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/lla.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::memoryapi::VirtualAllocEx; [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/lla.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::memoryapi::VirtualFreeEx; [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/lla.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::memoryapi::WriteProcessMemory; [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/lla.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::processthreadsapi::CreateRemoteThread; [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/lla.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::synchapi::WaitForSingleObject; [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/lla.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winbase::INFINITE; [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/lla.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::MEM_COMMIT; [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/lla.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::MEM_RELEASE; [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/lla.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winnt::MEM_RESERVE; [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/lla.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winnt::PAGE_READWRITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cural::Process` [INFO] [stdout] --> src/lla.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cural::Process; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Process` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cural-0.1.3/src/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 7 | pub use process::Process; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/th.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::{ handleapi::*, libloaderapi::*, memoryapi::*, tlhelp32::*, processthreadsapi::*, winnt::*, winuser::PostThreadMessageA }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cural::Process` [INFO] [stdout] --> src/th.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cural::Process; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Process` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cural-0.1.3/src/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 7 | pub use process::Process; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cural::Process` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use cural::Process; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Process` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cural-0.1.3/src/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 7 | pub use process::Process; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPTHREAD` in this scope [INFO] [stdout] --> src/th.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/th.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | if snapshot == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stdout] --> src/th.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let mut entry: THREADENTRY32 = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stdout] --> src/th.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | entry.dwSize = 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] 12 | unsafe fn get_thread_id_off_process_id(pid: u32) -> io::Result { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONTEXT` in this scope [INFO] [stdout] --> src/th.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | struct WinContext(CONTEXT); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_ALL_ACCESS` in this scope [INFO] [stdout] --> src/th.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | let thread_handle = OpenThread(THREAD_ALL_ACCESS, 0, thread_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/th.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | if thread_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CONTEXT_FULL` in this scope [INFO] [stdout] --> src/th.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | tcontext.0.ContextFlags = CONTEXT_FULL; [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/th.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | MEM_COMMIT | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/th.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | MEM_COMMIT | MEM_RESERVE, [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/th.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/th.rs:282:40 [INFO] [stdout] | [INFO] [stdout] 282 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/th.rs:291:40 [INFO] [stdout] | [INFO] [stdout] 291 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [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/th.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | MEM_COMMIT | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/th.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 326 | MEM_COMMIT | MEM_RESERVE, [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/th.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/th.rs:332:40 [INFO] [stdout] | [INFO] [stdout] 332 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/th.rs:378:40 [INFO] [stdout] | [INFO] [stdout] 378 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/th.rs:379:41 [INFO] [stdout] | [INFO] [stdout] 379 | VirtualFreeEx(handle, code_cave, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/th.rs:386:40 [INFO] [stdout] | [INFO] [stdout] 386 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/th.rs:387:41 [INFO] [stdout] | [INFO] [stdout] 387 | VirtualFreeEx(handle, code_cave, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/th.rs:413:39 [INFO] [stdout] | [INFO] [stdout] 413 | VirtualFreeEx(handle, code_cave, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/th.rs:414:38 [INFO] [stdout] | [INFO] [stdout] 414 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [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/th.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32First` in this scope [INFO] [stdout] --> src/th.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | if Thread32First(snapshot, &mut entry) == 1 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32Next` in this scope [INFO] [stdout] --> src/th.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | while Thread32Next(snapshot, &mut entry) != 0 { [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/th.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | 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 `CloseHandle` in this scope [INFO] [stdout] --> src/th.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | 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 `OpenThread` in this scope [INFO] [stdout] --> src/th.rs:241:23 [INFO] [stdout] | [INFO] [stdout] 241 | let thread_handle = OpenThread(THREAD_ALL_ACCESS, 0, thread_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope [INFO] [stdout] --> src/th.rs:246:6 [INFO] [stdout] | [INFO] [stdout] 246 | if SuspendThread(thread_handle) == u32::MAX { [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/th.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope [INFO] [stdout] --> src/th.rs:253:6 [INFO] [stdout] | [INFO] [stdout] 253 | if GetThreadContext(thread_handle, &mut tcontext.0) != 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope [INFO] [stdout] --> src/th.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | ResumeThread(thread_handle); [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/th.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/th.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | let dll_addr = VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope [INFO] [stdout] --> src/th.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | ResumeThread(thread_handle); [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/th.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/th.rs:272:6 [INFO] [stdout] | [INFO] [stdout] 272 | if WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope [INFO] [stdout] --> src/th.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | ResumeThread(thread_handle); [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/th.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> src/th.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [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/th.rs:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | let kernel_module = GetModuleHandleA(kernel_module.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope [INFO] [stdout] --> src/th.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | ResumeThread(thread_handle); [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/th.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> src/th.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [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/th.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | let load_library = GetProcAddress(kernel_module, load_library.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> src/th.rs:322:19 [INFO] [stdout] | [INFO] [stdout] 322 | let code_cave = VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope [INFO] [stdout] --> src/th.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | ResumeThread(thread_handle); [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/th.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> src/th.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/th.rs:368:6 [INFO] [stdout] | [INFO] [stdout] 368 | if WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope [INFO] [stdout] --> src/th.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | ResumeThread(thread_handle); [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/th.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> src/th.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> src/th.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | VirtualFreeEx(handle, code_cave, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope [INFO] [stdout] --> src/th.rs:383:6 [INFO] [stdout] | [INFO] [stdout] 383 | if SetThreadContext(thread_handle, &tcontext.0) != 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope [INFO] [stdout] --> src/th.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | ResumeThread(thread_handle); [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/th.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> src/th.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> src/th.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | VirtualFreeEx(handle, code_cave, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope [INFO] [stdout] --> src/th.rs:392:3 [INFO] [stdout] | [INFO] [stdout] 392 | ResumeThread(thread_handle); [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/th.rs:393:3 [INFO] [stdout] | [INFO] [stdout] 393 | CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> src/th.rs:398:8 [INFO] [stdout] | [INFO] [stdout] 398 | if ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> src/th.rs:413:3 [INFO] [stdout] | [INFO] [stdout] 413 | VirtualFreeEx(handle, code_cave, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> src/th.rs:414:3 [INFO] [stdout] | [INFO] [stdout] 414 | VirtualFreeEx(handle, dll_addr, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [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 `dllvoid` (lib) due to 84 previous errors [INFO] running `Command { std: "docker" "inspect" "f376def525302a7b9e8f3c04d6caa324d78067005500f4dec2fc471dc916b18f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f376def525302a7b9e8f3c04d6caa324d78067005500f4dec2fc471dc916b18f", kill_on_drop: false }` [INFO] [stdout] f376def525302a7b9e8f3c04d6caa324d78067005500f4dec2fc471dc916b18f