[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] testing Exactol/Hammer-Reforged against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FExactol%2FHammer-Reforged" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Exactol/Hammer-Reforged on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-13/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55eabba0490e2a40eac5af877ed2cd493a0f6cc5b4aff6bfc46a4898c7062e89 [INFO] running `Command { std: "docker" "start" "-a" "55eabba0490e2a40eac5af877ed2cd493a0f6cc5b4aff6bfc46a4898c7062e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55eabba0490e2a40eac5af877ed2cd493a0f6cc5b4aff6bfc46a4898c7062e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55eabba0490e2a40eac5af877ed2cd493a0f6cc5b4aff6bfc46a4898c7062e89", kill_on_drop: false }` [INFO] [stdout] 55eabba0490e2a40eac5af877ed2cd493a0f6cc5b4aff6bfc46a4898c7062e89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ff5a0ffd6dccb58aeec1e76bdf111d994c92a0b07b34b9db54d1a5a4a105b30 [INFO] running `Command { std: "docker" "start" "-a" "1ff5a0ffd6dccb58aeec1e76bdf111d994c92a0b07b34b9db54d1a5a4a105b30", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Compiling widestring v0.3.0 [INFO] [stderr] Compiling hammer_reforged v0.1.0 (/opt/rustwide/workdir/hammer_reforged) [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[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[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope [INFO] [stdout] --> hammer_reforged/src/reforged.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { AllocConsole() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawMenuBar` in this scope [INFO] [stdout] --> hammer_reforged/src/reforged.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { DrawMenuBar(self.config.h_hammer_hwnd) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> hammer_reforged/src/reforged.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | h_hammer_hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> hammer_reforged/src/reforged.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | h_hammer_menu: HMENU [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope [INFO] [stdout] --> hammer_reforged/src/reforged.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let h_hammer_hwnd = unsafe { FindWindowA("VALVEWORLDCRAFT".as_LPCSTR(), ptr::null()) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMenu` in this scope [INFO] [stdout] --> hammer_reforged/src/reforged.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | let h_hammer_menu = unsafe { GetMenu(h_hammer_hwnd) }; [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] --> hammer_reforged/src/sigscan.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let hmodule = unsafe { GetModuleHandleW(ptr::null()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> hammer_reforged/src/sigscan.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let mut module_info: MODULEINFO; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | SubMenu { id, name: name.to_string(), flags: MF_STRING } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_SEPARATOR` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | SubMenu { id: 0, name: String::new(), flags: MF_SEPARATOR} [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn append_to_menu(&self, &h_parent_menu: &HMENU) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuA` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { AppendMenuA(h_parent_menu, self.flags, self.id as usize, self.name.as_LPCSTR()) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | h_self: HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | h_parent_menu: HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateMenu` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | h_self: unsafe { CreateMenu() }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn add_parent(&mut self, h_parent_menu: &mut HMENU) -> &mut Self{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuA` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { AppendMenuA(self.h_parent_menu, MF_STRING | MF_POPUP, self.h_self as usize, self.name.as_LPCSTR()) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:60:44 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { AppendMenuA(self.h_parent_menu, MF_STRING | MF_POPUP, self.h_self as usize, self.name.as_LPCSTR()) }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_POPUP` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:60:56 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { AppendMenuA(self.h_parent_menu, MF_STRING | MF_POPUP, self.h_self as usize, self.name.as_LPCSTR()) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RemoveMenu` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { RemoveMenu(self.h_parent_menu, self.h_self as u32, MF_BYCOMMAND) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYCOMMAND` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:71:63 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { RemoveMenu(self.h_parent_menu, self.h_self as u32, MF_BYCOMMAND) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/reforged_menu.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn remove_submenu(&mut self, target_menu: HMENU) -> &mut Self{ [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: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[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(hwnd: &HWND) -> Self { [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] 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 `HWND` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:26:54 [INFO] [stdout] | [INFO] [stdout] 16 | impl SubclassedWndProc { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 26 | mem::transmute:: LRESULT>(proc_location) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:26:82 [INFO] [stdout] | [INFO] [stdout] 16 | impl SubclassedWndProc { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 26 | mem::transmute:: LRESULT>(proc_location) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe extern "system" fn wnd_proc(hwnd: HWND, message: u32, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe extern "system" fn wnd_proc(hwnd: HWND, message: u32, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:59:86 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe extern "system" fn wnd_proc(hwnd: HWND, message: u32, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> hammer_reforged/src/ui/window_proc.rs:59:97 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe extern "system" fn wnd_proc(hwnd: HWND, message: u32, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [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[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] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> hammer_reforged/src/utils/string_utils.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | fn as_LPCSTR(&self) -> LPCSTR; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> hammer_reforged/src/utils/string_utils.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn as_LPCSTR(&self) -> LPCSTR { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> hammer_reforged/src/lib.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | const DLL_PROCESS_DETACH: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> hammer_reforged/src/lib.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | const DLL_PROCESS_ATTACH: DWORD = 1; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> hammer_reforged/src/lib.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | const DLL_THREAD_ATTACH: DWORD = 2; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> hammer_reforged/src/lib.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | const DLL_THREAD_DETACH: DWORD = 3; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> hammer_reforged/src/lib.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | pub extern "stdcall" fn DllMain(dll_handle: HINSTANCE, reason: DWORD, reserved: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> hammer_reforged/src/lib.rs:19:64 [INFO] [stdout] | [INFO] [stdout] 19 | pub extern "stdcall" fn DllMain(dll_handle: HINSTANCE, reason: DWORD, reserved: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> hammer_reforged/src/lib.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | pub extern "stdcall" fn DllMain(dll_handle: HINSTANCE, reason: DWORD, reserved: LPVOID) -> 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] --> hammer_reforged/src/lib.rs:19:92 [INFO] [stdout] | [INFO] [stdout] 19 | pub extern "stdcall" fn DllMain(dll_handle: HINSTANCE, reason: DWORD, reserved: LPVOID) -> 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] --> hammer_reforged/src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | return TRUE; [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: 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: 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] = 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: aborting due to 60 previous errors; 9 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` due to 61 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1ff5a0ffd6dccb58aeec1e76bdf111d994c92a0b07b34b9db54d1a5a4a105b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ff5a0ffd6dccb58aeec1e76bdf111d994c92a0b07b34b9db54d1a5a4a105b30", kill_on_drop: false }` [INFO] [stdout] 1ff5a0ffd6dccb58aeec1e76bdf111d994c92a0b07b34b9db54d1a5a4a105b30