[INFO] cloning repository https://github.com/cdong1012/Crab-Runner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cdong1012/Crab-Runner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdong1012%2FCrab-Runner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdong1012%2FCrab-Runner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f99b1c9cb781e190769fae5f55fdc57ac9cd3a7 [INFO] checking cdong1012/Crab-Runner against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdong1012%2FCrab-Runner" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cdong1012/Crab-Runner on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cdong1012/Crab-Runner [INFO] finished tweaking git repo https://github.com/cdong1012/Crab-Runner [INFO] tweaked toml for git repo https://github.com/cdong1012/Crab-Runner written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/cdong1012/Crab-Runner already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb0d92a1ca75210679629c7421a71f721044ee530646294a5e4f4e402e6cee87 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cb0d92a1ca75210679629c7421a71f721044ee530646294a5e4f4e402e6cee87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb0d92a1ca75210679629c7421a71f721044ee530646294a5e4f4e402e6cee87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb0d92a1ca75210679629c7421a71f721044ee530646294a5e4f4e402e6cee87", kill_on_drop: false }` [INFO] [stdout] cb0d92a1ca75210679629c7421a71f721044ee530646294a5e4f4e402e6cee87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c93d850d6b8f156a9ca9e63fe6aeb7dc5c2af24a676f2ae0dcea43aba54872c7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c93d850d6b8f156a9ca9e63fe6aeb7dc5c2af24a676f2ae0dcea43aba54872c7", kill_on_drop: false }` [INFO] [stderr] Checking crab_runner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{DWORD, LPVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::fileapi::{CreateFileA, GetFileSize, ReadFile, OPEN_EXISTING}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::memoryapi::{VirtualAlloc, VirtualFree}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::processthreadsapi::{CreateThread, ResumeThread}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::{CREATE_SUSPENDED, CreateFileMappingA, CopyFileA}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::memoryapi::{FILE_MAP_ALL_ACCESS, FILE_MAP_EXECUTE, MapViewOfFile}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{DWORD, LPVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::fileapi::{CreateFileA, GetFileSize, ReadFile, OPEN_EXISTING}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::memoryapi::{VirtualAlloc, VirtualFree}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::processthreadsapi::{CreateThread, ResumeThread}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::{CREATE_SUSPENDED, CreateFileMappingA, CopyFileA}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/launcher.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::memoryapi::{FILE_MAP_ALL_ACCESS, FILE_MAP_EXECUTE, MapViewOfFile}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/launcher.rs:19:66 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn run_shellcode(file_name: CString, offset: i64) -> (LPVOID, u32) { [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/launcher.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | let file: HANDLE = CreateFileA( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/launcher.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let file: HANDLE = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/launcher.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/launcher.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope [INFO] [stdout] --> src/launcher.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | FILE_ATTRIBUTE_NORMAL, [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/launcher.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | if file == INVALID_HANDLE_VALUE { [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/launcher.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let file_size: DWORD = GetFileSize(file, null_mut()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileSize` in this scope [INFO] [stdout] --> src/launcher.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let file_size: DWORD = GetFileSize(file, null_mut()); [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/launcher.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let buffer: LPVOID = VirtualAlloc( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope [INFO] [stdout] --> src/launcher.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | let buffer: LPVOID = VirtualAlloc( [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/launcher.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | 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/launcher.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | 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/launcher.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | PAGE_EXECUTE_READWRITE, [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/launcher.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | CloseHandle(file); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> src/launcher.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | if ReadFile(file, buffer, file_size, null_mut(), null_mut()) == 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/launcher.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | CloseHandle(file); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope [INFO] [stdout] --> src/launcher.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | VirtualFree(buffer, file_size as usize, 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/launcher.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | VirtualFree(buffer, file_size as usize, 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 `CloseHandle` in this scope [INFO] [stdout] --> src/launcher.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | CloseHandle(file); [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/launcher.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn launch_thread(code_base: LPVOID, file_size: usize, offset: u64) -> u32 { [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/launcher.rs:69:66 [INFO] [stdout] | [INFO] [stdout] 69 | let code_entry: unsafe extern "system" fn(lpThreadParameter: LPVOID) -> DWORD = [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/launcher.rs:69:77 [INFO] [stdout] | [INFO] [stdout] 69 | let code_entry: unsafe extern "system" fn(lpThreadParameter: LPVOID) -> DWORD = [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/launcher.rs:70:60 [INFO] [stdout] | [INFO] [stdout] 70 | std::mem::transmute((code_base as u64 + offset) as LPVOID); [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/launcher.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let mut thread_id: DWORD = 0; [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/launcher.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let thread: HANDLE = CreateThread( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateThread` in this scope [INFO] [stdout] --> src/launcher.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | let thread: HANDLE = CreateThread( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_SUSPENDED` in this scope [INFO] [stdout] --> src/launcher.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | CREATE_SUSPENDED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope [INFO] [stdout] --> src/launcher.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | VirtualFree(code_base, file_size, 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/launcher.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | VirtualFree(code_base, file_size, 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/launcher.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | ResumeThread(thread); [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/launcher.rs:101:71 [INFO] [stdout] | [INFO] [stdout] 101 | pub unsafe fn run_shellcode_dump(file_name: CString, offset: u64) -> (LPVOID, u32) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CopyFileA` in this scope [INFO] [stdout] --> src/launcher.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | CopyFileA( [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/launcher.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | let file: HANDLE = CreateFileA( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/launcher.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | let file: HANDLE = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_ALL` in this scope [INFO] [stdout] --> src/launcher.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | GENERIC_ALL, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/launcher.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/launcher.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope [INFO] [stdout] --> src/launcher.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | FILE_ATTRIBUTE_NORMAL, [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/launcher.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | if file == INVALID_HANDLE_VALUE { [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/launcher.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let file_mapping:HANDLE = CreateFileMappingA( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileMappingA` in this scope [INFO] [stdout] --> src/launcher.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | let file_mapping:HANDLE = CreateFileMappingA( [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/launcher.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | PAGE_EXECUTE_READWRITE, [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/launcher.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let file_size: DWORD = GetFileSize(file, null_mut()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileSize` in this scope [INFO] [stdout] --> src/launcher.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | let file_size: DWORD = GetFileSize(file, null_mut()); [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/launcher.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | let code_base: LPVOID = MapViewOfFile(file_mapping, FILE_MAP_ALL_ACCESS | FILE_MAP_EXECUTE, 0, 0,0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stdout] --> src/launcher.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | let code_base: LPVOID = MapViewOfFile(file_mapping, FILE_MAP_ALL_ACCESS | FILE_MAP_EXECUTE, 0, 0,0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/launcher.rs:140:57 [INFO] [stdout] | [INFO] [stdout] 140 | let code_base: LPVOID = MapViewOfFile(file_mapping, FILE_MAP_ALL_ACCESS | FILE_MAP_EXECUTE, 0, 0,0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_EXECUTE` in this scope [INFO] [stdout] --> src/launcher.rs:140:79 [INFO] [stdout] | [INFO] [stdout] 140 | let code_base: LPVOID = MapViewOfFile(file_mapping, FILE_MAP_ALL_ACCESS | FILE_MAP_EXECUTE, 0, 0,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/launcher.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | CloseHandle(file_mapping); [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/launcher.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | CloseHandle(file); [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/launcher.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | CloseHandle(file); [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/launcher.rs:19:66 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn run_shellcode(file_name: CString, offset: i64) -> (LPVOID, u32) { [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/launcher.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | let file: HANDLE = CreateFileA( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/launcher.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let file: HANDLE = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/launcher.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/launcher.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope [INFO] [stdout] --> src/launcher.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | FILE_ATTRIBUTE_NORMAL, [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/launcher.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | if file == INVALID_HANDLE_VALUE { [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/launcher.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let file_size: DWORD = GetFileSize(file, null_mut()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileSize` in this scope [INFO] [stdout] --> src/launcher.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let file_size: DWORD = GetFileSize(file, null_mut()); [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/launcher.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let buffer: LPVOID = VirtualAlloc( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope [INFO] [stdout] --> src/launcher.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | let buffer: LPVOID = VirtualAlloc( [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/launcher.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | 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/launcher.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | 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/launcher.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | PAGE_EXECUTE_READWRITE, [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/launcher.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | CloseHandle(file); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> src/launcher.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | if ReadFile(file, buffer, file_size, null_mut(), null_mut()) == 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/launcher.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | CloseHandle(file); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope [INFO] [stdout] --> src/launcher.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | VirtualFree(buffer, file_size as usize, 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/launcher.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | VirtualFree(buffer, file_size as usize, 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 `CloseHandle` in this scope [INFO] [stdout] --> src/launcher.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | CloseHandle(file); [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/launcher.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn launch_thread(code_base: LPVOID, file_size: usize, offset: u64) -> u32 { [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/launcher.rs:69:66 [INFO] [stdout] | [INFO] [stdout] 69 | let code_entry: unsafe extern "system" fn(lpThreadParameter: LPVOID) -> DWORD = [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/launcher.rs:69:77 [INFO] [stdout] | [INFO] [stdout] 69 | let code_entry: unsafe extern "system" fn(lpThreadParameter: LPVOID) -> DWORD = [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/launcher.rs:70:60 [INFO] [stdout] | [INFO] [stdout] 70 | std::mem::transmute((code_base as u64 + offset) as LPVOID); [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/launcher.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let mut thread_id: DWORD = 0; [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/launcher.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let thread: HANDLE = CreateThread( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateThread` in this scope [INFO] [stdout] --> src/launcher.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | let thread: HANDLE = CreateThread( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_SUSPENDED` in this scope [INFO] [stdout] --> src/launcher.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | CREATE_SUSPENDED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope [INFO] [stdout] --> src/launcher.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | VirtualFree(code_base, file_size, 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/launcher.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | VirtualFree(code_base, file_size, 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/launcher.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | ResumeThread(thread); [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/launcher.rs:101:71 [INFO] [stdout] | [INFO] [stdout] 101 | pub unsafe fn run_shellcode_dump(file_name: CString, offset: u64) -> (LPVOID, u32) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CopyFileA` in this scope [INFO] [stdout] --> src/launcher.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | CopyFileA( [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/launcher.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | let file: HANDLE = CreateFileA( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/launcher.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | let file: HANDLE = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_ALL` in this scope [INFO] [stdout] --> src/launcher.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | GENERIC_ALL, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/launcher.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/launcher.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope [INFO] [stdout] --> src/launcher.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | FILE_ATTRIBUTE_NORMAL, [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/launcher.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | if file == INVALID_HANDLE_VALUE { [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/launcher.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let file_mapping:HANDLE = CreateFileMappingA( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileMappingA` in this scope [INFO] [stdout] --> src/launcher.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | let file_mapping:HANDLE = CreateFileMappingA( [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/launcher.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | PAGE_EXECUTE_READWRITE, [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/launcher.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let file_size: DWORD = GetFileSize(file, null_mut()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileSize` in this scope [INFO] [stdout] --> src/launcher.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | let file_size: DWORD = GetFileSize(file, null_mut()); [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/launcher.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | let code_base: LPVOID = MapViewOfFile(file_mapping, FILE_MAP_ALL_ACCESS | FILE_MAP_EXECUTE, 0, 0,0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stdout] --> src/launcher.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | let code_base: LPVOID = MapViewOfFile(file_mapping, FILE_MAP_ALL_ACCESS | FILE_MAP_EXECUTE, 0, 0,0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/launcher.rs:140:57 [INFO] [stdout] | [INFO] [stdout] 140 | let code_base: LPVOID = MapViewOfFile(file_mapping, FILE_MAP_ALL_ACCESS | FILE_MAP_EXECUTE, 0, 0,0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_EXECUTE` in this scope [INFO] [stdout] --> src/launcher.rs:140:79 [INFO] [stdout] | [INFO] [stdout] 140 | let code_base: LPVOID = MapViewOfFile(file_mapping, FILE_MAP_ALL_ACCESS | FILE_MAP_EXECUTE, 0, 0,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/launcher.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | CloseHandle(file_mapping); [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/launcher.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | CloseHandle(file); [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/launcher.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | CloseHandle(file); [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, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crab_runner` [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c93d850d6b8f156a9ca9e63fe6aeb7dc5c2af24a676f2ae0dcea43aba54872c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93d850d6b8f156a9ca9e63fe6aeb7dc5c2af24a676f2ae0dcea43aba54872c7", kill_on_drop: false }` [INFO] [stdout] c93d850d6b8f156a9ca9e63fe6aeb7dc5c2af24a676f2ae0dcea43aba54872c7