[INFO] fetching crate coffeeldr 0.3.1... [INFO] checking coffeeldr-0.3.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate coffeeldr 0.3.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate coffeeldr 0.3.1 [INFO] finished tweaking crates.io crate coffeeldr 0.3.1 [INFO] tweaked toml for crates.io crate coffeeldr 0.3.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate coffeeldr 0.3.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate coffeeldr 0.3.1 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5c7a1083fbb2acdbd7aac39df9d419b0bf8bc6f39fff2d59c4dba027e0dfcc6 [INFO] running `Command { std: "docker" "start" "-a" "c5c7a1083fbb2acdbd7aac39df9d419b0bf8bc6f39fff2d59c4dba027e0dfcc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5c7a1083fbb2acdbd7aac39df9d419b0bf8bc6f39fff2d59c4dba027e0dfcc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c7a1083fbb2acdbd7aac39df9d419b0bf8bc6f39fff2d59c4dba027e0dfcc6", kill_on_drop: false }` [INFO] [stdout] c5c7a1083fbb2acdbd7aac39df9d419b0bf8bc6f39fff2d59c4dba027e0dfcc6 [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b530cfeddabdeca40497de6d576d41b27b2cb2fb5b7222e6b80dce45707e3aae [INFO] running `Command { std: "docker" "start" "-a" "b530cfeddabdeca40497de6d576d41b27b2cb2fb5b7222e6b80dce45707e3aae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling binrw_derive v0.15.0 [INFO] [stderr] Compiling binrw v0.15.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking obfstr v0.4.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking spin v0.10.0 [INFO] [stderr] Checking dinvk v0.2.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking printf-compat v0.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking coffeeldr v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/beacon.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/loader.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows_sys::Win32::Security::*`, `windows_sys::Win32::Foundation::CloseHandle`, `windows_sys::Win32::Foundation::HANDLE`, `windows_sys::Win32::Foundation::STATUS_SUCCESS`, `windows_sys::Win32::System::Memory::MEM_COMMIT`, `windows_sys::Win32::System::Memory::MEM_RESERVE`, `windows_sys::Win32::System::Memory::PAGE_EXECUTE_READWRITE`, `windows_sys::Win32::System::Threading::*`, `windows_sys::Win32::System::WindowsProgramming::CLIENT_ID`, `windows_sys::Win32::Foundation::GetLastError`, `windows_sys::Win32::Foundation::STATUS_SUCCESS`, `windows_sys::Win32::System::Memory::*`, `windows_sys::Win32::System::Diagnostics::Debug::*`, `windows_sys::Win32::System::SystemServices::*`, `windows_sys::Win32::System::LibraryLoader::DONT_RESOLVE_DLL_REFERENCES`, `super::debug`, `super::info`, `super::warn` [INFO] [stdout] --> src/beacon.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Security::*, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | Foundation::{CloseHandle, HANDLE, STATUS_SUCCESS}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | System::{ [INFO] [stdout] 23 | Memory::{MEM_COMMIT, MEM_RESERVE, PAGE_EXECUTE_READWRITE}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | Threading::*, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | WindowsProgramming::CLIENT_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loader.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | Foundation::{GetLastError, STATUS_SUCCESS}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | System::{ [INFO] [stdout] 32 | Memory::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | Diagnostics::Debug::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | SystemServices::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | LibraryLoader::DONT_RESOLVE_DLL_REFERENCES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | use super::{debug, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/beacon.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/loader.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows_sys::Win32::Security::*`, `windows_sys::Win32::Foundation::CloseHandle`, `windows_sys::Win32::Foundation::HANDLE`, `windows_sys::Win32::Foundation::STATUS_SUCCESS`, `windows_sys::Win32::System::Memory::MEM_COMMIT`, `windows_sys::Win32::System::Memory::MEM_RESERVE`, `windows_sys::Win32::System::Memory::PAGE_EXECUTE_READWRITE`, `windows_sys::Win32::System::Threading::*`, `windows_sys::Win32::System::WindowsProgramming::CLIENT_ID`, `windows_sys::Win32::Foundation::GetLastError`, `windows_sys::Win32::Foundation::STATUS_SUCCESS`, `windows_sys::Win32::System::Memory::*`, `windows_sys::Win32::System::Diagnostics::Debug::*`, `windows_sys::Win32::System::SystemServices::*`, `windows_sys::Win32::System::LibraryLoader::DONT_RESOLVE_DLL_REFERENCES`, `super::debug`, `super::info`, `super::warn` [INFO] [stdout] --> src/beacon.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Security::*, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | Foundation::{CloseHandle, HANDLE, STATUS_SUCCESS}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | System::{ [INFO] [stdout] 23 | Memory::{MEM_COMMIT, MEM_RESERVE, PAGE_EXECUTE_READWRITE}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | Threading::*, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | WindowsProgramming::CLIENT_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loader.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | Foundation::{GetLastError, STATUS_SUCCESS}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | System::{ [INFO] [stdout] 32 | Memory::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | Diagnostics::Debug::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | SystemServices::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | LibraryLoader::DONT_RESOLVE_DLL_REFERENCES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | use super::{debug, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/beacon.rs:594:38 [INFO] [stdout] | [INFO] [stdout] 594 | fn BeaconCleanupProcess(info: *const PROCESS_INFORMATION) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope [INFO] [stdout] --> src/beacon.rs:610:49 [INFO] [stdout] | [INFO] [stdout] 610 | if OpenProcessToken(NtCurrentProcess(), TOKEN_QUERY, &mut h_token) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/beacon.rs:611:33 [INFO] [stdout] | [INFO] [stdout] 611 | let mut elevation = TOKEN_ELEVATION { TokenIsElevated: 0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokenElevation` in this scope [INFO] [stdout] --> src/beacon.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | TokenElevation, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/beacon.rs:618:27 [INFO] [stdout] | [INFO] [stdout] 618 | 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] 606 | fn BeaconIsAdmin() -> u32 { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/beacon.rs:724:68 [INFO] [stdout] | [INFO] [stdout] 724 | let status = syscall!(s!("NtOpenProcess"), &mut h_process, PROCESS_ALL_ACCESS, &mut oa, &mut ci); [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/beacon.rs:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | THREAD_ALL_ACCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/beacon.rs:808:19 [INFO] [stdout] | [INFO] [stdout] 808 | _info: *const PROCESS_INFORMATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOA` in this scope [INFO] [stdout] --> src/beacon.rs:822:19 [INFO] [stdout] | [INFO] [stdout] 822 | _s_info: *mut STARTUPINFOA, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/beacon.rs:823:19 [INFO] [stdout] | [INFO] [stdout] 823 | _p_info: *mut PROCESS_INFORMATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SYM_CLASS_EXTERNAL` in this scope [INFO] [stdout] --> src/loader.rs:362:39 [INFO] [stdout] | [INFO] [stdout] 362 | if symbol.StorageClass == IMAGE_SYM_CLASS_EXTERNAL as u8 && symbol.SectionNumber == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_AMD64_REL32` in this scope [INFO] [stdout] --> src/loader.rs:365:54 [INFO] [stdout] | [INFO] [stdout] 365 | if relocation.Type as u32 == IMAGE_REL_AMD64_REL32 && !function_address.is_null() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_I386_DIR32` in this scope [INFO] [stdout] --> src/loader.rs:375:54 [INFO] [stdout] | [INFO] [stdout] 375 | if relocation.Type as u32 == IMAGE_REL_I386_DIR32 && !function_address.is_null() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_AMD64_REL32` in this scope [INFO] [stdout] --> src/loader.rs:404:29 [INFO] [stdout] | [INFO] [stdout] 404 | r @ IMAGE_REL_AMD64_REL32..=IMAGE_REL_AMD64_REL32_5 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_AMD64_REL32_5` in this scope [INFO] [stdout] --> src/loader.rs:404:53 [INFO] [stdout] | [INFO] [stdout] 404 | r @ IMAGE_REL_AMD64_REL32..=IMAGE_REL_AMD64_REL32_5 => { [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/loader.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [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/loader.rs:477:26 [INFO] [stdout] | [INFO] [stdout] 477 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_TOP_DOWN` in this scope [INFO] [stdout] --> src/loader.rs:477:40 [INFO] [stdout] | [INFO] [stdout] 477 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [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/loader.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | PAGE_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/loader.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | 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/loader.rs:627:21 [INFO] [stdout] | [INFO] [stdout] 627 | 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/loader.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | 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/loader.rs:678:13 [INFO] [stdout] | [INFO] [stdout] 678 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [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/loader.rs:678:26 [INFO] [stdout] | [INFO] [stdout] 678 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_TOP_DOWN` in this scope [INFO] [stdout] --> src/loader.rs:678:40 [INFO] [stdout] | [INFO] [stdout] 678 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [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/loader.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | PAGE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SYM_CLASS_EXTERNAL` in this scope [INFO] [stdout] --> src/loader.rs:730:39 [INFO] [stdout] | [INFO] [stdout] 730 | if symbol.StorageClass == IMAGE_SYM_CLASS_EXTERNAL as u8 && symbol.SectionNumber == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:883:47 [INFO] [stdout] | [INFO] [stdout] 883 | let bitmask = self.characteristics & (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/loader.rs:883:71 [INFO] [stdout] | [INFO] [stdout] 883 | let bitmask = self.characteristics & (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/loader.rs:883:92 [INFO] [stdout] | [INFO] [stdout] 883 | let bitmask = self.characteristics & (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_NOACCESS` in this scope [INFO] [stdout] --> src/loader.rs:885:13 [INFO] [stdout] | [INFO] [stdout] 885 | PAGE_NOACCESS [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:886:30 [INFO] [stdout] | [INFO] [stdout] 886 | } else if bitmask == IMAGE_SCN_MEM_EXECUTE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:887:13 [INFO] [stdout] | [INFO] [stdout] 887 | PAGE_EXECUTE [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/loader.rs:888:30 [INFO] [stdout] | [INFO] [stdout] 888 | } else if bitmask == IMAGE_SCN_MEM_READ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READONLY` in this scope [INFO] [stdout] --> src/loader.rs:889:13 [INFO] [stdout] | [INFO] [stdout] 889 | PAGE_READONLY [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/loader.rs:890:31 [INFO] [stdout] | [INFO] [stdout] 890 | } else if bitmask == (IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_EXECUTE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:890:52 [INFO] [stdout] | [INFO] [stdout] 890 | } else if bitmask == (IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_EXECUTE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READ` in this scope [INFO] [stdout] --> src/loader.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 891 | PAGE_EXECUTE_READ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/loader.rs:892:30 [INFO] [stdout] | [INFO] [stdout] 892 | } else if bitmask == IMAGE_SCN_MEM_WRITE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_WRITECOPY` in this scope [INFO] [stdout] --> src/loader.rs:893:13 [INFO] [stdout] | [INFO] [stdout] 893 | PAGE_WRITECOPY [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:894:31 [INFO] [stdout] | [INFO] [stdout] 894 | } else if bitmask == (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_WRITE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/loader.rs:894:55 [INFO] [stdout] | [INFO] [stdout] 894 | } else if bitmask == (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_WRITE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_WRITECOPY` in this scope [INFO] [stdout] --> src/loader.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 895 | PAGE_EXECUTE_WRITECOPY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/loader.rs:896:31 [INFO] [stdout] | [INFO] [stdout] 896 | } else if bitmask == (IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/loader.rs:896:52 [INFO] [stdout] | [INFO] [stdout] 896 | } else if bitmask == (IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE) { [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/loader.rs:897:13 [INFO] [stdout] | [INFO] [stdout] 897 | PAGE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:898:31 [INFO] [stdout] | [INFO] [stdout] 898 | } else if bitmask == (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/loader.rs:898:55 [INFO] [stdout] | [INFO] [stdout] 898 | } else if bitmask == (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/loader.rs:898:76 [INFO] [stdout] | [INFO] [stdout] 898 | } else if bitmask == (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE) { [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/loader.rs:899:13 [INFO] [stdout] | [INFO] [stdout] 899 | 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/loader.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | PAGE_EXECUTE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_NOT_CACHED` in this scope [INFO] [stdout] --> src/loader.rs:905:26 [INFO] [stdout] | [INFO] [stdout] 905 | if (protection & IMAGE_SCN_MEM_NOT_CACHED) == IMAGE_SCN_MEM_NOT_CACHED { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_NOT_CACHED` in this scope [INFO] [stdout] --> src/loader.rs:905:55 [INFO] [stdout] | [INFO] [stdout] 905 | if (protection & IMAGE_SCN_MEM_NOT_CACHED) == IMAGE_SCN_MEM_NOT_CACHED { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_NOCACHE` in this scope [INFO] [stdout] --> src/loader.rs:906:27 [INFO] [stdout] | [INFO] [stdout] 906 | protection |= PAGE_NOCACHE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/beacon.rs:594:38 [INFO] [stdout] | [INFO] [stdout] 594 | fn BeaconCleanupProcess(info: *const PROCESS_INFORMATION) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope [INFO] [stdout] --> src/beacon.rs:610:49 [INFO] [stdout] | [INFO] [stdout] 610 | if OpenProcessToken(NtCurrentProcess(), TOKEN_QUERY, &mut h_token) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/beacon.rs:611:33 [INFO] [stdout] | [INFO] [stdout] 611 | let mut elevation = TOKEN_ELEVATION { TokenIsElevated: 0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokenElevation` in this scope [INFO] [stdout] --> src/beacon.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | TokenElevation, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/beacon.rs:618:27 [INFO] [stdout] | [INFO] [stdout] 618 | 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] 606 | fn BeaconIsAdmin() -> u32 { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/beacon.rs:724:68 [INFO] [stdout] | [INFO] [stdout] 724 | let status = syscall!(s!("NtOpenProcess"), &mut h_process, PROCESS_ALL_ACCESS, &mut oa, &mut ci); [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/beacon.rs:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | THREAD_ALL_ACCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/beacon.rs:808:19 [INFO] [stdout] | [INFO] [stdout] 808 | _info: *const PROCESS_INFORMATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOA` in this scope [INFO] [stdout] --> src/beacon.rs:822:19 [INFO] [stdout] | [INFO] [stdout] 822 | _s_info: *mut STARTUPINFOA, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/beacon.rs:823:19 [INFO] [stdout] | [INFO] [stdout] 823 | _p_info: *mut PROCESS_INFORMATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SYM_CLASS_EXTERNAL` in this scope [INFO] [stdout] --> src/loader.rs:362:39 [INFO] [stdout] | [INFO] [stdout] 362 | if symbol.StorageClass == IMAGE_SYM_CLASS_EXTERNAL as u8 && symbol.SectionNumber == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_AMD64_REL32` in this scope [INFO] [stdout] --> src/loader.rs:365:54 [INFO] [stdout] | [INFO] [stdout] 365 | if relocation.Type as u32 == IMAGE_REL_AMD64_REL32 && !function_address.is_null() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_I386_DIR32` in this scope [INFO] [stdout] --> src/loader.rs:375:54 [INFO] [stdout] | [INFO] [stdout] 375 | if relocation.Type as u32 == IMAGE_REL_I386_DIR32 && !function_address.is_null() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_AMD64_REL32` in this scope [INFO] [stdout] --> src/loader.rs:404:29 [INFO] [stdout] | [INFO] [stdout] 404 | r @ IMAGE_REL_AMD64_REL32..=IMAGE_REL_AMD64_REL32_5 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_AMD64_REL32_5` in this scope [INFO] [stdout] --> src/loader.rs:404:53 [INFO] [stdout] | [INFO] [stdout] 404 | r @ IMAGE_REL_AMD64_REL32..=IMAGE_REL_AMD64_REL32_5 => { [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/loader.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [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/loader.rs:477:26 [INFO] [stdout] | [INFO] [stdout] 477 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_TOP_DOWN` in this scope [INFO] [stdout] --> src/loader.rs:477:40 [INFO] [stdout] | [INFO] [stdout] 477 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [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/loader.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | PAGE_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/loader.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | 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/loader.rs:627:21 [INFO] [stdout] | [INFO] [stdout] 627 | 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/loader.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | 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/loader.rs:678:13 [INFO] [stdout] | [INFO] [stdout] 678 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [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/loader.rs:678:26 [INFO] [stdout] | [INFO] [stdout] 678 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_TOP_DOWN` in this scope [INFO] [stdout] --> src/loader.rs:678:40 [INFO] [stdout] | [INFO] [stdout] 678 | MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, [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/loader.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | PAGE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SYM_CLASS_EXTERNAL` in this scope [INFO] [stdout] --> src/loader.rs:730:39 [INFO] [stdout] | [INFO] [stdout] 730 | if symbol.StorageClass == IMAGE_SYM_CLASS_EXTERNAL as u8 && symbol.SectionNumber == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:883:47 [INFO] [stdout] | [INFO] [stdout] 883 | let bitmask = self.characteristics & (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/loader.rs:883:71 [INFO] [stdout] | [INFO] [stdout] 883 | let bitmask = self.characteristics & (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/loader.rs:883:92 [INFO] [stdout] | [INFO] [stdout] 883 | let bitmask = self.characteristics & (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_NOACCESS` in this scope [INFO] [stdout] --> src/loader.rs:885:13 [INFO] [stdout] | [INFO] [stdout] 885 | PAGE_NOACCESS [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:886:30 [INFO] [stdout] | [INFO] [stdout] 886 | } else if bitmask == IMAGE_SCN_MEM_EXECUTE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:887:13 [INFO] [stdout] | [INFO] [stdout] 887 | PAGE_EXECUTE [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/loader.rs:888:30 [INFO] [stdout] | [INFO] [stdout] 888 | } else if bitmask == IMAGE_SCN_MEM_READ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READONLY` in this scope [INFO] [stdout] --> src/loader.rs:889:13 [INFO] [stdout] | [INFO] [stdout] 889 | PAGE_READONLY [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/loader.rs:890:31 [INFO] [stdout] | [INFO] [stdout] 890 | } else if bitmask == (IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_EXECUTE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:890:52 [INFO] [stdout] | [INFO] [stdout] 890 | } else if bitmask == (IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_EXECUTE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READ` in this scope [INFO] [stdout] --> src/loader.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 891 | PAGE_EXECUTE_READ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/loader.rs:892:30 [INFO] [stdout] | [INFO] [stdout] 892 | } else if bitmask == IMAGE_SCN_MEM_WRITE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_WRITECOPY` in this scope [INFO] [stdout] --> src/loader.rs:893:13 [INFO] [stdout] | [INFO] [stdout] 893 | PAGE_WRITECOPY [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:894:31 [INFO] [stdout] | [INFO] [stdout] 894 | } else if bitmask == (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_WRITE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/loader.rs:894:55 [INFO] [stdout] | [INFO] [stdout] 894 | } else if bitmask == (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_WRITE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_WRITECOPY` in this scope [INFO] [stdout] --> src/loader.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 895 | PAGE_EXECUTE_WRITECOPY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/loader.rs:896:31 [INFO] [stdout] | [INFO] [stdout] 896 | } else if bitmask == (IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/loader.rs:896:52 [INFO] [stdout] | [INFO] [stdout] 896 | } else if bitmask == (IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE) { [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/loader.rs:897:13 [INFO] [stdout] | [INFO] [stdout] 897 | PAGE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_EXECUTE` in this scope [INFO] [stdout] --> src/loader.rs:898:31 [INFO] [stdout] | [INFO] [stdout] 898 | } else if bitmask == (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_READ` in this scope [INFO] [stdout] --> src/loader.rs:898:55 [INFO] [stdout] | [INFO] [stdout] 898 | } else if bitmask == (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_WRITE` in this scope [INFO] [stdout] --> src/loader.rs:898:76 [INFO] [stdout] | [INFO] [stdout] 898 | } else if bitmask == (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE) { [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/loader.rs:899:13 [INFO] [stdout] | [INFO] [stdout] 899 | 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/loader.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | PAGE_EXECUTE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_NOT_CACHED` in this scope [INFO] [stdout] --> src/loader.rs:905:26 [INFO] [stdout] | [INFO] [stdout] 905 | if (protection & IMAGE_SCN_MEM_NOT_CACHED) == IMAGE_SCN_MEM_NOT_CACHED { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_MEM_NOT_CACHED` in this scope [INFO] [stdout] --> src/loader.rs:905:55 [INFO] [stdout] | [INFO] [stdout] 905 | if (protection & IMAGE_SCN_MEM_NOT_CACHED) == IMAGE_SCN_MEM_NOT_CACHED { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_NOCACHE` in this scope [INFO] [stdout] --> src/loader.rs:906:27 [INFO] [stdout] | [INFO] [stdout] 906 | protection |= PAGE_NOCACHE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RevertToSelf` in this scope [INFO] [stdout] --> src/beacon.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 570 | if RevertToSelf() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadToken` in this scope [INFO] [stdout] --> src/beacon.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 586 | unsafe { SetThreadToken(null_mut(), token) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stdout] --> src/beacon.rs:610:12 [INFO] [stdout] | [INFO] [stdout] 610 | if OpenProcessToken(NtCurrentProcess(), TOKEN_QUERY, &mut h_token) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTokenInformation` in this scope [INFO] [stdout] --> src/beacon.rs:614:16 [INFO] [stdout] | [INFO] [stdout] 614 | if GetTokenInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RevertToSelf` in this scope [INFO] [stdout] --> src/beacon.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 570 | if RevertToSelf() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadToken` in this scope [INFO] [stdout] --> src/beacon.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 586 | unsafe { SetThreadToken(null_mut(), token) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stdout] --> src/beacon.rs:610:12 [INFO] [stdout] | [INFO] [stdout] 610 | if OpenProcessToken(NtCurrentProcess(), TOKEN_QUERY, &mut h_token) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTokenInformation` in this scope [INFO] [stdout] --> src/beacon.rs:614:16 [INFO] [stdout] | [INFO] [stdout] 614 | if GetTokenInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, 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 `coffeeldr` (lib) due to 62 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `coffeeldr` (lib test) due to 62 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b530cfeddabdeca40497de6d576d41b27b2cb2fb5b7222e6b80dce45707e3aae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b530cfeddabdeca40497de6d576d41b27b2cb2fb5b7222e6b80dce45707e3aae", kill_on_drop: false }` [INFO] [stdout] b530cfeddabdeca40497de6d576d41b27b2cb2fb5b7222e6b80dce45707e3aae