[INFO] fetching crate coffeeldr 0.3.2... [INFO] testing coffeeldr-0.3.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate coffeeldr 0.3.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate coffeeldr 0.3.2 [INFO] finished tweaking crates.io crate coffeeldr 0.3.2 [INFO] tweaked toml for crates.io crate coffeeldr 0.3.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate coffeeldr 0.3.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate coffeeldr 0.3.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 dinvk v0.3.1 [INFO] [stderr] Downloaded obfstr v0.4.4 [INFO] [stderr] Downloaded binrw_derive v0.15.0 [INFO] [stderr] Downloaded binrw v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fc2f14d35e08beb8bb1661126b18a3ddbbfb1e6859e481717694ead8c799a64 [INFO] running `Command { std: "docker" "start" "-a" "2fc2f14d35e08beb8bb1661126b18a3ddbbfb1e6859e481717694ead8c799a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fc2f14d35e08beb8bb1661126b18a3ddbbfb1e6859e481717694ead8c799a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc2f14d35e08beb8bb1661126b18a3ddbbfb1e6859e481717694ead8c799a64", kill_on_drop: false }` [INFO] [stdout] 2fc2f14d35e08beb8bb1661126b18a3ddbbfb1e6859e481717694ead8c799a64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08de16747313b11cf62fd494e844e073d3fe6f13e4f1052076451a178a1d8d57 [INFO] running `Command { std: "docker" "start" "-a" "08de16747313b11cf62fd494e844e073d3fe6f13e4f1052076451a178a1d8d57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling windows_x86_64_gnu v0.53.1 [INFO] [stderr] Compiling binrw_derive v0.15.0 [INFO] [stderr] Compiling binrw v0.15.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling either v1.15.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 itertools v0.14.0 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling windows-targets v0.53.5 [INFO] [stderr] Compiling dinvk v0.3.1 [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.2 (/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:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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` [INFO] [stdout] --> src/beacon.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Security::*, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | Foundation::{CloseHandle, HANDLE, STATUS_SUCCESS}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | System::{ [INFO] [stdout] 21 | Threading::*, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | WindowsProgramming::CLIENT_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | Memory::{ [INFO] [stdout] 24 | MEM_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | 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] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/beacon.rs:574:38 [INFO] [stdout] | [INFO] [stdout] 574 | 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:590:49 [INFO] [stdout] | [INFO] [stdout] 590 | 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:591:33 [INFO] [stdout] | [INFO] [stdout] 591 | 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:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | 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:598:27 [INFO] [stdout] | [INFO] [stdout] 598 | 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] 586 | 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:704:68 [INFO] [stdout] | [INFO] [stdout] 704 | 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:737:13 [INFO] [stdout] | [INFO] [stdout] 737 | 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:788:19 [INFO] [stdout] | [INFO] [stdout] 788 | _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:802:19 [INFO] [stdout] | [INFO] [stdout] 802 | _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:803:19 [INFO] [stdout] | [INFO] [stdout] 803 | _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:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | 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:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | 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:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | 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:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | 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:310:40 [INFO] [stdout] | [INFO] [stdout] 310 | 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:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | 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:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | 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:505:39 [INFO] [stdout] | [INFO] [stdout] 505 | 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:508:54 [INFO] [stdout] | [INFO] [stdout] 508 | 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:518:54 [INFO] [stdout] | [INFO] [stdout] 518 | 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:547:29 [INFO] [stdout] | [INFO] [stdout] 547 | 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:547:53 [INFO] [stdout] | [INFO] [stdout] 547 | 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:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | 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:622:30 [INFO] [stdout] | [INFO] [stdout] 622 | 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:622:44 [INFO] [stdout] | [INFO] [stdout] 622 | 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:623:17 [INFO] [stdout] | [INFO] [stdout] 623 | 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:653:39 [INFO] [stdout] | [INFO] [stdout] 653 | 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:795:47 [INFO] [stdout] | [INFO] [stdout] 795 | 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:795:71 [INFO] [stdout] | [INFO] [stdout] 795 | 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:795:92 [INFO] [stdout] | [INFO] [stdout] 795 | 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:797:13 [INFO] [stdout] | [INFO] [stdout] 797 | 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:798:30 [INFO] [stdout] | [INFO] [stdout] 798 | } 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:799:13 [INFO] [stdout] | [INFO] [stdout] 799 | 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:800:30 [INFO] [stdout] | [INFO] [stdout] 800 | } 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:801:13 [INFO] [stdout] | [INFO] [stdout] 801 | 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:802:31 [INFO] [stdout] | [INFO] [stdout] 802 | } 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:802:52 [INFO] [stdout] | [INFO] [stdout] 802 | } 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:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | 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:804:30 [INFO] [stdout] | [INFO] [stdout] 804 | } 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:805:13 [INFO] [stdout] | [INFO] [stdout] 805 | 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:806:31 [INFO] [stdout] | [INFO] [stdout] 806 | } 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:806:55 [INFO] [stdout] | [INFO] [stdout] 806 | } 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:807:13 [INFO] [stdout] | [INFO] [stdout] 807 | 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:808:31 [INFO] [stdout] | [INFO] [stdout] 808 | } 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:808:52 [INFO] [stdout] | [INFO] [stdout] 808 | } 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:809:13 [INFO] [stdout] | [INFO] [stdout] 809 | 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:810:31 [INFO] [stdout] | [INFO] [stdout] 810 | } 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:810:55 [INFO] [stdout] | [INFO] [stdout] 810 | } 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:810:76 [INFO] [stdout] | [INFO] [stdout] 810 | } 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:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | 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:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | 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:817:26 [INFO] [stdout] | [INFO] [stdout] 817 | 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:817:55 [INFO] [stdout] | [INFO] [stdout] 817 | 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:818:27 [INFO] [stdout] | [INFO] [stdout] 818 | 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:550:12 [INFO] [stdout] | [INFO] [stdout] 550 | 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:566:14 [INFO] [stdout] | [INFO] [stdout] 566 | 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:590:12 [INFO] [stdout] | [INFO] [stdout] 590 | 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:594:16 [INFO] [stdout] | [INFO] [stdout] 594 | 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" "08de16747313b11cf62fd494e844e073d3fe6f13e4f1052076451a178a1d8d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08de16747313b11cf62fd494e844e073d3fe6f13e4f1052076451a178a1d8d57", kill_on_drop: false }` [INFO] [stdout] 08de16747313b11cf62fd494e844e073d3fe6f13e4f1052076451a178a1d8d57