[INFO] cloning repository https://github.com/MetricExpansion/SKSELoaderRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MetricExpansion/SKSELoaderRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetricExpansion%2FSKSELoaderRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetricExpansion%2FSKSELoaderRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 753d27a98632a00ae0b5e5b0de1eace9b7d45f56 [INFO] testing MetricExpansion/SKSELoaderRust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetricExpansion%2FSKSELoaderRust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MetricExpansion/SKSELoaderRust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MetricExpansion/SKSELoaderRust [INFO] finished tweaking git repo https://github.com/MetricExpansion/SKSELoaderRust [INFO] tweaked toml for git repo https://github.com/MetricExpansion/SKSELoaderRust written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/MetricExpansion/SKSELoaderRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v1.13.0 [INFO] [stderr] Downloaded byte-strings v0.1.3 [INFO] [stderr] Downloaded byte-strings-proc-macro v0.1.1 [INFO] [stderr] Downloaded slice-pool v0.4.1 [INFO] [stderr] Downloaded structopt-derive v0.4.16 [INFO] [stderr] Downloaded c_str_macro v1.0.3 [INFO] [stderr] Downloaded libudis86-sys v0.2.1 [INFO] [stderr] Downloaded structopt v0.3.23 [INFO] [stderr] Downloaded mmap-fixed v0.1.5 [INFO] [stderr] Downloaded detour v0.8.1 [INFO] [stderr] Downloaded scan_fmt v0.2.6 [INFO] [stderr] Downloaded wide-literals v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e119c41108cc0a0b03c09e762ebc9d93a2e8f085399b38d946146ddc22eb4441 [INFO] running `Command { std: "docker" "start" "-a" "e119c41108cc0a0b03c09e762ebc9d93a2e8f085399b38d946146ddc22eb4441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e119c41108cc0a0b03c09e762ebc9d93a2e8f085399b38d946146ddc22eb4441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e119c41108cc0a0b03c09e762ebc9d93a2e8f085399b38d946146ddc22eb4441", kill_on_drop: false }` [INFO] [stdout] e119c41108cc0a0b03c09e762ebc9d93a2e8f085399b38d946146ddc22eb4441 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1f469cdb8fdc544f58ee863eb59430a4666bea0f8a041cff24bea944be1ac7ec [INFO] running `Command { std: "docker" "start" "-a" "1f469cdb8fdc544f58ee863eb59430a4666bea0f8a041cff24bea944be1ac7ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling widestring v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling slice-pool v0.4.1 [INFO] [stderr] Compiling c_str_macro v1.0.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libudis86-sys v0.2.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling mmap-fixed v0.1.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling detour v0.8.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simple_logger v1.13.0 [INFO] [stderr] Compiling scan_fmt v0.2.6 [INFO] [stderr] Compiling byte-strings-proc-macro v0.1.1 [INFO] [stderr] Compiling byte-strings v0.1.3 [INFO] [stderr] Compiling wide-literals v0.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling victim v0.1.0 (/opt/rustwide/workdir/victim) [INFO] [stderr] Compiling skseloaderdll v0.1.0 (/opt/rustwide/workdir/skseloaderdll) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> skseloaderdll/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | shared::minwindef::{DWORD, HINSTANCE, LPVOID}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | um::{libloaderapi::DisableThreadLibraryCalls, processthreadsapi::ExitProcess}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::minwindef::{BOOL, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::ntdef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::libloaderapi::{GetModuleHandleW, GetProcAddress}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winnt::{HANDLE, PVOID}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> skseloaderdll/src/helpers.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::{DWORD, MAX_PATH}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/helpers.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::libloaderapi::{GetModuleFileNameW, GetModuleHandleW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/helpers.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::memoryapi::VirtualProtect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/helpers.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/helpers.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::{MessageBoxW, MB_OK}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/helpers.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winver::{GetFileVersionInfoSizeW, GetFileVersionInfoW, VerQueryValueW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> skseloaderdll/src/iat.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/iat.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/skse_load.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::libloaderapi::{GetModuleHandleW, LoadLibraryW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> skseloaderdll/src/lib.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | winapi::um::winnt::DLL_PROCESS_ATTACH => { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | type ThreadInfoFn = unsafe extern "stdcall" fn(HANDLE, ULONG, PVOID, ULONG) -> BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:20:56 [INFO] [stdout] | [INFO] [stdout] 20 | type ThreadInfoFn = unsafe extern "stdcall" fn(HANDLE, ULONG, PVOID, ULONG) -> BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:20:63 [INFO] [stdout] | [INFO] [stdout] 20 | type ThreadInfoFn = unsafe extern "stdcall" fn(HANDLE, ULONG, PVOID, ULONG) -> BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:20:70 [INFO] [stdout] | [INFO] [stdout] 20 | type ThreadInfoFn = unsafe extern "stdcall" fn(HANDLE, ULONG, PVOID, ULONG) -> BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:20:80 [INFO] [stdout] | [INFO] [stdout] 20 | type ThreadInfoFn = unsafe extern "stdcall" fn(HANDLE, ULONG, PVOID, ULONG) -> BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | thread_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | thread_information_class: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | thread_information: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | thread_information_length: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let addr = GetProcAddress(GetModuleHandleW(mod_name.as_ptr()), fn_name.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | let addr = GetProcAddress(GetModuleHandleW(mod_name.as_ptr()), fn_name.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | MessageBoxW(null_mut(), message.as_ptr(), title, MB_OK); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:24:58 [INFO] [stdout] | [INFO] [stdout] 24 | MessageBoxW(null_mut(), message.as_ptr(), title, MB_OK); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | VirtualProtect( [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] --> skseloaderdll/src/helpers.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | VirtualProtect(addr, length, old_protect, (&mut old_protect) as _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | let mut buffer = vec![0; MAX_PATH]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameW` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | if GetModuleFileNameW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | GetModuleHandleW(null()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | buffer.len() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileVersionInfoSizeW` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | let size = GetFileVersionInfoSizeW(exe_path.as_ptr(), &mut size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileVersionInfoW` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | if GetFileVersionInfoW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | buffer.len() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VerQueryValueW` in this scope [INFO] [stdout] --> skseloaderdll/src/helpers.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | if VerQueryValueW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_DESCRIPTOR` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | import_table: *const IMAGE_IMPORT_DESCRIPTOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | thunk_data: *const IMAGE_THUNK_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IMAGE_SNAP_BY_ORDINAL` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | if !IMAGE_SNAP_BY_ORDINAL(*(*self.thunk_data).u1.Ordinal()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_BY_NAME` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | as *const IMAGE_IMPORT_BY_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | as *const IMAGE_THUNK_DATA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | pub unsafe fn get_iat_iter(module: HMODULE) -> IatDllIter { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | let dos_header = base as *const IMAGE_DOS_HEADER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:92:72 [INFO] [stdout] | [INFO] [stdout] 92 | let nt_header = (base + (*dos_header).e_lfanew as usize) as *const IMAGE_NT_HEADERS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_IMPORT` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | + (*nt_header).OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT as usize] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_DESCRIPTOR` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | .VirtualAddress as usize) as *const IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | module: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | let dos_header = base as *const IMAGE_DOS_HEADER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:113:72 [INFO] [stdout] | [INFO] [stdout] 113 | let nt_header = (base + (*dos_header).e_lfanew as usize) as *const IMAGE_NT_HEADERS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_IMPORT` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | + (*nt_header).OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT as usize] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_DESCRIPTOR` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:116:49 [INFO] [stdout] | [INFO] [stdout] 116 | .VirtualAddress as usize) as *const IMAGE_IMPORT_DESCRIPTOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | as *const IMAGE_THUNK_DATA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IMAGE_SNAP_BY_ORDINAL` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | if !IMAGE_SNAP_BY_ORDINAL(*(*thunk_data).u1.Ordinal()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_IMPORT_BY_NAME` in this scope [INFO] [stdout] --> skseloaderdll/src/iat.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | as *const IMAGE_IMPORT_BY_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> skseloaderdll/src/skse_load.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | let addr = unsafe { get_iat_iter(GetModuleHandleW(null())) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> skseloaderdll/src/skse_load.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | let result = unsafe { LoadLibraryW(skse_path.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> skseloaderdll/src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | fn main(_base: LPVOID) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> skseloaderdll/src/lib.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | hinst_dll: HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> skseloaderdll/src/lib.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | fdw_reason: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> skseloaderdll/src/lib.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | _lpv_reserved: LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DisableThreadLibraryCalls` in this scope [INFO] [stdout] --> skseloaderdll/src/lib.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | DisableThreadLibraryCalls(hinst_dll); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExitProcess` in this scope [INFO] [stdout] --> skseloaderdll/src/lib.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | ExitProcess(42); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> skseloaderdll/src/antidebugger.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / unsafe extern "stdcall" fn zw_set_information_thread_detour( [INFO] [stdout] 31 | | thread_handle: HANDLE, [INFO] [stdout] 32 | | thread_information_class: ULONG, [INFO] [stdout] 33 | | thread_information: PVOID, [INFO] [stdout] 34 | | thread_information_length: ULONG, [INFO] [stdout] 35 | | ) -> BOOL { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> victim/src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{MessageBoxW, MB_OK}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> victim/src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | MessageBoxW(null_mut(), message, title, MB_OK); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> victim/src/main.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | MessageBoxW(null_mut(), message, title, MB_OK); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `victim` due to 4 previous errors [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> skseloaderdll/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / pub extern "stdcall" fn DllMain( [INFO] [stdout] 25 | | hinst_dll: HINSTANCE, [INFO] [stdout] 26 | | fdw_reason: DWORD, [INFO] [stdout] 27 | | _lpv_reserved: LPVOID, [INFO] [stdout] 28 | | ) -> i32 { [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 68 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1f469cdb8fdc544f58ee863eb59430a4666bea0f8a041cff24bea944be1ac7ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f469cdb8fdc544f58ee863eb59430a4666bea0f8a041cff24bea944be1ac7ec", kill_on_drop: false }` [INFO] [stdout] 1f469cdb8fdc544f58ee863eb59430a4666bea0f8a041cff24bea944be1ac7ec