[INFO] cloning repository https://github.com/joaoviictorti/coffeeldr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joaoviictorti/coffeeldr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoviictorti%2Fcoffeeldr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoviictorti%2Fcoffeeldr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a674d1a38cb1bb88d590a60c847d040664f3048e [INFO] testing joaoviictorti/coffeeldr against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoviictorti%2Fcoffeeldr" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/joaoviictorti/coffeeldr [INFO] finished tweaking git repo https://github.com/joaoviictorti/coffeeldr [INFO] tweaked toml for git repo https://github.com/joaoviictorti/coffeeldr written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joaoviictorti/coffeeldr on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joaoviictorti/coffeeldr 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2246cccc8342bd7c9605cef10345a8d005c6d4e73b38122404e286b14c04fdfe [INFO] running `Command { std: "docker" "start" "-a" "2246cccc8342bd7c9605cef10345a8d005c6d4e73b38122404e286b14c04fdfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2246cccc8342bd7c9605cef10345a8d005c6d4e73b38122404e286b14c04fdfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2246cccc8342bd7c9605cef10345a8d005c6d4e73b38122404e286b14c04fdfe", kill_on_drop: false }` [INFO] [stdout] 2246cccc8342bd7c9605cef10345a8d005c6d4e73b38122404e286b14c04fdfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10b291b17f8202dfacf8dd4193f1980124d6e07bfa686fb0af11a6a4547f1b2c [INFO] running `Command { std: "docker" "start" "-a" "10b291b17f8202dfacf8dd4193f1980124d6e07bfa686fb0af11a6a4547f1b2c", 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 bitflags v2.9.1 [INFO] [stderr] Compiling binrw v0.15.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling obfstr v0.4.4 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling dinvk v0.2.7 [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/util.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | 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::Threading::*`, `windows_sys::Win32::System::WindowsProgramming::CLIENT_ID`, `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::Foundation::GetLastError`, `windows_sys::Win32::Foundation::STATUS_SUCCESS`, `windows_sys::Win32::System::Memory::*`, `windows_sys::Win32::System::SystemServices::*`, `windows_sys::Win32::System::Diagnostics::Debug::*`, `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 | Threading::*, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | WindowsProgramming::CLIENT_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | Memory::{ [INFO] [stdout] 26 | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | PAGE_EXECUTE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loader.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | Foundation::{GetLastError, STATUS_SUCCESS}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | System::{ [INFO] [stdout] 27 | Memory::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | SystemServices::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | Diagnostics::Debug::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | 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:578:38 [INFO] [stdout] | [INFO] [stdout] 578 | 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:594:49 [INFO] [stdout] | [INFO] [stdout] 594 | 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:595:33 [INFO] [stdout] | [INFO] [stdout] 595 | 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:600:17 [INFO] [stdout] | [INFO] [stdout] 600 | 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:602:27 [INFO] [stdout] | [INFO] [stdout] 602 | 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] 590 | 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:708:68 [INFO] [stdout] | [INFO] [stdout] 708 | 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:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | 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:792:19 [INFO] [stdout] | [INFO] [stdout] 792 | _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:806:19 [INFO] [stdout] | [INFO] [stdout] 806 | _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:807:19 [INFO] [stdout] | [INFO] [stdout] 807 | _p_info: *mut PROCESS_INFORMATION [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:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | 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:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | 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:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | 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:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | 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:321:40 [INFO] [stdout] | [INFO] [stdout] 321 | 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:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | 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:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | 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:521:39 [INFO] [stdout] | [INFO] [stdout] 521 | 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:524:54 [INFO] [stdout] | [INFO] [stdout] 524 | 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:534:54 [INFO] [stdout] | [INFO] [stdout] 534 | 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:563:29 [INFO] [stdout] | [INFO] [stdout] 563 | 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:563:53 [INFO] [stdout] | [INFO] [stdout] 563 | 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:638:17 [INFO] [stdout] | [INFO] [stdout] 638 | 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:638:30 [INFO] [stdout] | [INFO] [stdout] 638 | 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:638:44 [INFO] [stdout] | [INFO] [stdout] 638 | 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:639:17 [INFO] [stdout] | [INFO] [stdout] 639 | 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:670:39 [INFO] [stdout] | [INFO] [stdout] 670 | 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:813:47 [INFO] [stdout] | [INFO] [stdout] 813 | 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:813:71 [INFO] [stdout] | [INFO] [stdout] 813 | 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:813:92 [INFO] [stdout] | [INFO] [stdout] 813 | 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:815:13 [INFO] [stdout] | [INFO] [stdout] 815 | 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:816:30 [INFO] [stdout] | [INFO] [stdout] 816 | } 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:817:13 [INFO] [stdout] | [INFO] [stdout] 817 | 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:818:30 [INFO] [stdout] | [INFO] [stdout] 818 | } 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:819:13 [INFO] [stdout] | [INFO] [stdout] 819 | 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:820:31 [INFO] [stdout] | [INFO] [stdout] 820 | } 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:820:52 [INFO] [stdout] | [INFO] [stdout] 820 | } 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:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | 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:822:30 [INFO] [stdout] | [INFO] [stdout] 822 | } 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:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | 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:824:31 [INFO] [stdout] | [INFO] [stdout] 824 | } 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:824:55 [INFO] [stdout] | [INFO] [stdout] 824 | } 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:825:13 [INFO] [stdout] | [INFO] [stdout] 825 | 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:826:31 [INFO] [stdout] | [INFO] [stdout] 826 | } 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:826:52 [INFO] [stdout] | [INFO] [stdout] 826 | } 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:827:13 [INFO] [stdout] | [INFO] [stdout] 827 | 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:828:31 [INFO] [stdout] | [INFO] [stdout] 828 | } 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:828:55 [INFO] [stdout] | [INFO] [stdout] 828 | } 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:828:76 [INFO] [stdout] | [INFO] [stdout] 828 | } 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:829:13 [INFO] [stdout] | [INFO] [stdout] 829 | 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:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | 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:835:26 [INFO] [stdout] | [INFO] [stdout] 835 | 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:835:55 [INFO] [stdout] | [INFO] [stdout] 835 | 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:836:27 [INFO] [stdout] | [INFO] [stdout] 836 | 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:554:12 [INFO] [stdout] | [INFO] [stdout] 554 | 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:570:14 [INFO] [stdout] | [INFO] [stdout] 570 | 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:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | 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:598:16 [INFO] [stdout] | [INFO] [stdout] 598 | 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" "10b291b17f8202dfacf8dd4193f1980124d6e07bfa686fb0af11a6a4547f1b2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b291b17f8202dfacf8dd4193f1980124d6e07bfa686fb0af11a6a4547f1b2c", kill_on_drop: false }` [INFO] [stdout] 10b291b17f8202dfacf8dd4193f1980124d6e07bfa686fb0af11a6a4547f1b2c