[INFO] fetching crate coffeeldr 0.3.0... [INFO] checking coffeeldr-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate coffeeldr 0.3.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate coffeeldr 0.3.0 [INFO] finished tweaking crates.io crate coffeeldr 0.3.0 [INFO] tweaked toml for crates.io crate coffeeldr 0.3.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate coffeeldr 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate coffeeldr 0.3.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c5d7c2584da9dd43ef814c1f887251744489980dc51fea7eb8955891ad6c675 [INFO] running `Command { std: "docker" "start" "-a" "1c5d7c2584da9dd43ef814c1f887251744489980dc51fea7eb8955891ad6c675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c5d7c2584da9dd43ef814c1f887251744489980dc51fea7eb8955891ad6c675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c5d7c2584da9dd43ef814c1f887251744489980dc51fea7eb8955891ad6c675", kill_on_drop: false }` [INFO] [stdout] 1c5d7c2584da9dd43ef814c1f887251744489980dc51fea7eb8955891ad6c675 [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 021b7a0781c6e6ff2922cbe26d1a9bf43e088923179601844a52e72b2adc28ce [INFO] running `Command { std: "docker" "start" "-a" "021b7a0781c6e6ff2922cbe26d1a9bf43e088923179601844a52e72b2adc28ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling binrw_derive v0.15.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling binrw v0.15.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking obfstr v0.4.4 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking spin v0.10.0 [INFO] [stderr] Checking dinvk v0.2.6 [INFO] [stderr] Checking printf-compat v0.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking coffeeldr v0.3.0 (/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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | Foundation::{GetLastError, STATUS_SUCCESS}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | System::{ [INFO] [stdout] 28 | Memory::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | Diagnostics::Debug::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | SystemServices::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | LibraryLoader::DONT_RESOLVE_DLL_REFERENCES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | 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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | Foundation::{GetLastError, STATUS_SUCCESS}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | System::{ [INFO] [stdout] 28 | Memory::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | Diagnostics::Debug::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | SystemServices::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | LibraryLoader::DONT_RESOLVE_DLL_REFERENCES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | 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:343:39 [INFO] [stdout] | [INFO] [stdout] 343 | 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:346:54 [INFO] [stdout] | [INFO] [stdout] 346 | 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:356:54 [INFO] [stdout] | [INFO] [stdout] 356 | 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:385:29 [INFO] [stdout] | [INFO] [stdout] 385 | 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:385:53 [INFO] [stdout] | [INFO] [stdout] 385 | 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:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | 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:457:26 [INFO] [stdout] | [INFO] [stdout] 457 | 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:457:40 [INFO] [stdout] | [INFO] [stdout] 457 | 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:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | 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:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | 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:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | 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:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | 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:659:13 [INFO] [stdout] | [INFO] [stdout] 659 | 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:659:26 [INFO] [stdout] | [INFO] [stdout] 659 | 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:659:40 [INFO] [stdout] | [INFO] [stdout] 659 | 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:660:13 [INFO] [stdout] | [INFO] [stdout] 660 | 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:711:39 [INFO] [stdout] | [INFO] [stdout] 711 | 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:864:47 [INFO] [stdout] | [INFO] [stdout] 864 | 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:864:71 [INFO] [stdout] | [INFO] [stdout] 864 | 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:864:92 [INFO] [stdout] | [INFO] [stdout] 864 | 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:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | 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:867:30 [INFO] [stdout] | [INFO] [stdout] 867 | } 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:868:13 [INFO] [stdout] | [INFO] [stdout] 868 | 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:869:30 [INFO] [stdout] | [INFO] [stdout] 869 | } 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:870:13 [INFO] [stdout] | [INFO] [stdout] 870 | 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:871:31 [INFO] [stdout] | [INFO] [stdout] 871 | } 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:871:52 [INFO] [stdout] | [INFO] [stdout] 871 | } 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:872:13 [INFO] [stdout] | [INFO] [stdout] 872 | 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:873:30 [INFO] [stdout] | [INFO] [stdout] 873 | } 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:874:13 [INFO] [stdout] | [INFO] [stdout] 874 | 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:875:31 [INFO] [stdout] | [INFO] [stdout] 875 | } 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:875:55 [INFO] [stdout] | [INFO] [stdout] 875 | } 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:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | 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:877:31 [INFO] [stdout] | [INFO] [stdout] 877 | } 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:877:52 [INFO] [stdout] | [INFO] [stdout] 877 | } 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:878:13 [INFO] [stdout] | [INFO] [stdout] 878 | 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:879:31 [INFO] [stdout] | [INFO] [stdout] 879 | } 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:879:55 [INFO] [stdout] | [INFO] [stdout] 879 | } 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:879:76 [INFO] [stdout] | [INFO] [stdout] 879 | } 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:880:13 [INFO] [stdout] | [INFO] [stdout] 880 | 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:883:13 [INFO] [stdout] | [INFO] [stdout] 883 | 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:886:26 [INFO] [stdout] | [INFO] [stdout] 886 | 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:886:55 [INFO] [stdout] | [INFO] [stdout] 886 | 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:887:27 [INFO] [stdout] | [INFO] [stdout] 887 | 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[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:343:39 [INFO] [stdout] | [INFO] [stdout] 343 | 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:346:54 [INFO] [stdout] | [INFO] [stdout] 346 | 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:356:54 [INFO] [stdout] | [INFO] [stdout] 356 | 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:385:29 [INFO] [stdout] | [INFO] [stdout] 385 | 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:385:53 [INFO] [stdout] | [INFO] [stdout] 385 | 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:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | 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:457:26 [INFO] [stdout] | [INFO] [stdout] 457 | 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:457:40 [INFO] [stdout] | [INFO] [stdout] 457 | 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:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | 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:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | 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:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | 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:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | 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:659:13 [INFO] [stdout] | [INFO] [stdout] 659 | 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:659:26 [INFO] [stdout] | [INFO] [stdout] 659 | 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:659:40 [INFO] [stdout] | [INFO] [stdout] 659 | 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:660:13 [INFO] [stdout] | [INFO] [stdout] 660 | 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:711:39 [INFO] [stdout] | [INFO] [stdout] 711 | 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:864:47 [INFO] [stdout] | [INFO] [stdout] 864 | 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:864:71 [INFO] [stdout] | [INFO] [stdout] 864 | 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:864:92 [INFO] [stdout] | [INFO] [stdout] 864 | 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:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | 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:867:30 [INFO] [stdout] | [INFO] [stdout] 867 | } 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:868:13 [INFO] [stdout] | [INFO] [stdout] 868 | 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:869:30 [INFO] [stdout] | [INFO] [stdout] 869 | } 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:870:13 [INFO] [stdout] | [INFO] [stdout] 870 | 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:871:31 [INFO] [stdout] | [INFO] [stdout] 871 | } 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:871:52 [INFO] [stdout] | [INFO] [stdout] 871 | } 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:872:13 [INFO] [stdout] | [INFO] [stdout] 872 | 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:873:30 [INFO] [stdout] | [INFO] [stdout] 873 | } 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:874:13 [INFO] [stdout] | [INFO] [stdout] 874 | 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:875:31 [INFO] [stdout] | [INFO] [stdout] 875 | } 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:875:55 [INFO] [stdout] | [INFO] [stdout] 875 | } 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:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | 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:877:31 [INFO] [stdout] | [INFO] [stdout] 877 | } 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:877:52 [INFO] [stdout] | [INFO] [stdout] 877 | } 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:878:13 [INFO] [stdout] | [INFO] [stdout] 878 | 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:879:31 [INFO] [stdout] | [INFO] [stdout] 879 | } 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:879:55 [INFO] [stdout] | [INFO] [stdout] 879 | } 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:879:76 [INFO] [stdout] | [INFO] [stdout] 879 | } 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:880:13 [INFO] [stdout] | [INFO] [stdout] 880 | 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:883:13 [INFO] [stdout] | [INFO] [stdout] 883 | 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:886:26 [INFO] [stdout] | [INFO] [stdout] 886 | 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:886:55 [INFO] [stdout] | [INFO] [stdout] 886 | 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:887:27 [INFO] [stdout] | [INFO] [stdout] 887 | 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] [stderr] error: could not compile `coffeeldr` (lib test) 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] [stdout] For more information about an error, try `rustc --explain E0412`. [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] running `Command { std: "docker" "inspect" "021b7a0781c6e6ff2922cbe26d1a9bf43e088923179601844a52e72b2adc28ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "021b7a0781c6e6ff2922cbe26d1a9bf43e088923179601844a52e72b2adc28ce", kill_on_drop: false }` [INFO] [stdout] 021b7a0781c6e6ff2922cbe26d1a9bf43e088923179601844a52e72b2adc28ce