[INFO] fetching crate coffeeldr 0.3.1... [INFO] testing coffeeldr-0.3.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate coffeeldr 0.3.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate coffeeldr 0.3.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded printf-compat v0.2.0 [INFO] [stderr] Downloaded binrw_derive v0.15.0 [INFO] [stderr] Downloaded dinvk v0.2.6 [INFO] [stderr] Downloaded binrw v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 216b283531c2926e025d1a2592ba176096d33f9475ea1dac17610585f469d4de [INFO] running `Command { std: "docker" "start" "-a" "216b283531c2926e025d1a2592ba176096d33f9475ea1dac17610585f469d4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "216b283531c2926e025d1a2592ba176096d33f9475ea1dac17610585f469d4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "216b283531c2926e025d1a2592ba176096d33f9475ea1dac17610585f469d4de", kill_on_drop: false }` [INFO] [stdout] 216b283531c2926e025d1a2592ba176096d33f9475ea1dac17610585f469d4de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 768c6e1472c7b17075b3acd02ba7bb03ed7c1fece13b8e6cbae3cf869b2a0288 [INFO] running `Command { std: "docker" "start" "-a" "768c6e1472c7b17075b3acd02ba7bb03ed7c1fece13b8e6cbae3cf869b2a0288", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling binrw_derive v0.15.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling binrw v0.15.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling obfstr v0.4.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dinvk v0.2.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling printf-compat v0.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling 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[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] 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" "768c6e1472c7b17075b3acd02ba7bb03ed7c1fece13b8e6cbae3cf869b2a0288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768c6e1472c7b17075b3acd02ba7bb03ed7c1fece13b8e6cbae3cf869b2a0288", kill_on_drop: false }` [INFO] [stdout] 768c6e1472c7b17075b3acd02ba7bb03ed7c1fece13b8e6cbae3cf869b2a0288