[INFO] cloning repository https://github.com/Exactol/Hammer-Reforged [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Exactol/Hammer-Reforged" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FExactol%2FHammer-Reforged", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FExactol%2FHammer-Reforged'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a25effe4e13a4f419cffca76a4a837951f9a6586 [INFO] checking Exactol/Hammer-Reforged against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FExactol%2FHammer-Reforged" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Exactol/Hammer-Reforged on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Exactol/Hammer-Reforged [INFO] finished tweaking git repo https://github.com/Exactol/Hammer-Reforged [INFO] tweaked toml for git repo https://github.com/Exactol/Hammer-Reforged written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Exactol/Hammer-Reforged 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded widestring v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e00366a60313ca8d51a1dd4984da0d725b366bc189e6aa2c4b3e807597920a3 [INFO] running `Command { std: "docker" "start" "-a" "3e00366a60313ca8d51a1dd4984da0d725b366bc189e6aa2c4b3e807597920a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e00366a60313ca8d51a1dd4984da0d725b366bc189e6aa2c4b3e807597920a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e00366a60313ca8d51a1dd4984da0d725b366bc189e6aa2c4b3e807597920a3", kill_on_drop: false }` [INFO] [stdout] 3e00366a60313ca8d51a1dd4984da0d725b366bc189e6aa2c4b3e807597920a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 112b9f925f0106a5535a2cfb54a141a5b3434663a655f1f06c985b0d7ef6f2c9 [INFO] running `Command { std: "docker" "start" "-a" "112b9f925f0106a5535a2cfb54a141a5b3434663a655f1f06c985b0d7ef6f2c9", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Checking widestring v0.3.0 [INFO] [stderr] Checking hammer_reforged v0.1.0 (/opt/rustwide/workdir/hammer_reforged) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> hammer_reforged/src/reforged.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::{HWND, HMENU }; [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] --> hammer_reforged/src/reforged.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{FALSE, TRUE}; [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] --> hammer_reforged/src/reforged.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{MB_OK, MB_ICONINFORMATION, MessageBoxA, FindWindowA, GetMenu, DrawMenuBar}; [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] --> hammer_reforged/src/reforged.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::{ LPCWSTR, MEMORY_BASIC_INFORMATION }; [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] --> hammer_reforged/src/reforged.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::consoleapi::AllocConsole; [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] --> hammer_reforged/src/reforged.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::memoryapi::{VirtualQuery, }; [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] --> hammer_reforged/src/sigscan.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::libloaderapi::{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] --> hammer_reforged/src/sigscan.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::psapi::{GetModuleInformation, MODULEINFO}; [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] --> hammer_reforged/src/ui/reforged_menu.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::{ MF_STRING, MF_POPUP, MF_BYCOMMAND, MF_SEPARATOR, AppendMenuA, CreateMenu, RemoveMenu }; [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] --> hammer_reforged/src/ui/reforged_menu.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::{ HMENU }; [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] --> hammer_reforged/src/ui/window_proc.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{ LPARAM, WPARAM, LRESULT }; [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] --> hammer_reforged/src/ui/window_proc.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::{ HWND }; [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] --> hammer_reforged/src/ui/window_proc.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::*; [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] --> hammer_reforged/src/utils/string_utils.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{ LPCSTR }; [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] --> hammer_reforged/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{HINSTANCE, DWORD, LPVOID, 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] --> hammer_reforged/src/reforged.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::{HWND, HMENU }; [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] --> hammer_reforged/src/reforged.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{FALSE, TRUE}; [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] --> hammer_reforged/src/reforged.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{MB_OK, MB_ICONINFORMATION, MessageBoxA, FindWindowA, GetMenu, DrawMenuBar}; [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] --> hammer_reforged/src/reforged.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::{ LPCWSTR, MEMORY_BASIC_INFORMATION }; [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] --> hammer_reforged/src/reforged.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::consoleapi::AllocConsole; [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] --> hammer_reforged/src/reforged.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::memoryapi::{VirtualQuery, }; [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] --> hammer_reforged/src/sigscan.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::libloaderapi::{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] --> hammer_reforged/src/sigscan.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::psapi::{GetModuleInformation, MODULEINFO}; [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] --> hammer_reforged/src/ui/reforged_menu.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::{ MF_STRING, MF_POPUP, MF_BYCOMMAND, MF_SEPARATOR, AppendMenuA, CreateMenu, RemoveMenu }; [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] --> hammer_reforged/src/ui/reforged_menu.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::{ HMENU }; [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] --> hammer_reforged/src/ui/window_proc.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{ LPARAM, WPARAM, LRESULT }; [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] --> hammer_reforged/src/ui/window_proc.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::{ HWND }; [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] --> hammer_reforged/src/ui/window_proc.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::*; [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] --> hammer_reforged/src/utils/string_utils.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{ LPCSTR }; [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] --> hammer_reforged/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{HINSTANCE, DWORD, LPVOID, BOOL, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDPROC` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | old_wnd_proc: WNDPROC, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_WNDPROC` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | let proc_location = unsafe { SetWindowLongA(*hwnd, GWL_WNDPROC, wnd_proc as i32) } as isize; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDPROC` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | static mut g_old_wnd_proc: WNDPROC = None; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> hammer_reforged/src/reforged.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> hammer_reforged/src/reforged.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> hammer_reforged/src/reforged.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::widestring::WideCString` [INFO] [stdout] --> hammer_reforged/src/sigscan.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::widestring::WideCString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> hammer_reforged/src/sigscan.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | #[allow(private_no_mangle_fns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDPROC` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | old_wnd_proc: WNDPROC, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_WNDPROC` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | let proc_location = unsafe { SetWindowLongA(*hwnd, GWL_WNDPROC, wnd_proc as i32) } as isize; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDPROC` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | static mut g_old_wnd_proc: WNDPROC = None; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> hammer_reforged/src/reforged.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> hammer_reforged/src/reforged.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> hammer_reforged/src/reforged.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::widestring::WideCString` [INFO] [stdout] --> hammer_reforged/src/sigscan.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::widestring::WideCString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> hammer_reforged/src/sigscan.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | #[allow(private_no_mangle_fns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 74 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 75 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 74 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 75 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let proc_location = unsafe { SetWindowLongA(*hwnd, GWL_WNDPROC, wnd_proc as i32) } as isize; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallWindowProcA` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:77:2 [INFO] [stdout] | [INFO] [stdout] 77 | CallWindowProcA(g_old_wnd_proc, hwnd, message, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let proc_location = unsafe { SetWindowLongA(*hwnd, GWL_WNDPROC, wnd_proc as i32) } as isize; [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] --> hammer_reforged/src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub extern "stdcall" fn DllMain(dll_handle: HINSTANCE, reason: DWORD, reserved: LPVOID) -> BOOL { [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] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> hammer_reforged/src/sigscan.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_sig(sig: &FunctionSig) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallWindowProcA` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:77:2 [INFO] [stdout] | [INFO] [stdout] 77 | CallWindowProcA(g_old_wnd_proc, hwnd, message, wParam, lParam) [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] --> hammer_reforged/src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub extern "stdcall" fn DllMain(dll_handle: HINSTANCE, reason: DWORD, reserved: LPVOID) -> BOOL { [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] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 10 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] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> hammer_reforged/src/sigscan.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_sig(sig: &FunctionSig) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 10 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: could not compile `hammer_reforged` (lib) due to 21 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hammer_reforged` (lib test) due to 21 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "112b9f925f0106a5535a2cfb54a141a5b3434663a655f1f06c985b0d7ef6f2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "112b9f925f0106a5535a2cfb54a141a5b3434663a655f1f06c985b0d7ef6f2c9", kill_on_drop: false }` [INFO] [stdout] 112b9f925f0106a5535a2cfb54a141a5b3434663a655f1f06c985b0d7ef6f2c9