[INFO] cloning repository https://github.com/resorted/rust-dx9-imgui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/resorted/rust-dx9-imgui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresorted%2Frust-dx9-imgui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresorted%2Frust-dx9-imgui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a10c57332affa244c2301020bb1cb8c8cada9271 [INFO] testing resorted/rust-dx9-imgui against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresorted%2Frust-dx9-imgui" "/workspace/builds/worker-58/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-58/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/resorted/rust-dx9-imgui on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/resorted/rust-dx9-imgui [INFO] finished tweaking git repo https://github.com/resorted/rust-dx9-imgui [INFO] tweaked toml for git repo https://github.com/resorted/rust-dx9-imgui written to /workspace/builds/worker-58/source/Cargo.toml [INFO] crate git repo https://github.com/resorted/rust-dx9-imgui already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad39c62b4c2f87622a9f9076d5512343b8ebce49ab6c036b8d159c90b3dd8377 [INFO] running `Command { std: "docker" "start" "-a" "ad39c62b4c2f87622a9f9076d5512343b8ebce49ab6c036b8d159c90b3dd8377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad39c62b4c2f87622a9f9076d5512343b8ebce49ab6c036b8d159c90b3dd8377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad39c62b4c2f87622a9f9076d5512343b8ebce49ab6c036b8d159c90b3dd8377", kill_on_drop: false }` [INFO] [stdout] ad39c62b4c2f87622a9f9076d5512343b8ebce49ab6c036b8d159c90b3dd8377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef31f9ac015f26dc2381343e3ed64cbb6a18557f6fd1fda9c45a1ad410591ada [INFO] running `Command { std: "docker" "start" "-a" "ef31f9ac015f26dc2381343e3ed64cbb6a18557f6fd1fda9c45a1ad410591ada", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling slice-pool v0.4.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling imgui-sys v0.4.0 [INFO] [stderr] Compiling libudis86-sys v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling mmap-fixed v0.1.5 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling detour v0.8.1 [INFO] [stderr] Compiling imgui v0.4.0 [INFO] [stderr] Compiling imgui-dx9-renderer v0.4.0 [INFO] [stderr] Compiling dxhook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::minwindef::{BOOL, DWORD, HINSTANCE, LPVOID, 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] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::{ [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] --> src/d3d9_util.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::windef::{HWND, RECT}; [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] --> src/d3d9_util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::{ [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] --> src/d3d9_util.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::GetWindowRect; [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] --> src/hook.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM, FALSE, 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] --> src/hook.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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] --> src/hook.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::{WM_LBUTTONDOWN, WM_RBUTTONDOWN, WM_MBUTTONDOWN, WM_LBUTTONUP, WM_RBUTTONUP, WM_MBUTTONUP, WM_MOUSEWHEEL, WM_MOU... [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] --> src/hook.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | shared::{ [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] --> src/hook.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | um::winnt::HRESULT, [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] --> src/hook.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::basetsd::LONG_PTR; [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] --> src/process.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{ [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] --> src/process.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `imgui_dx9_renderer::Renderer`, `imgui_dx9_renderer::RendererError` [INFO] [stdout] --> src/hook.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use imgui_dx9_renderer::{Renderer, RendererError}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ no `RendererError` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Renderer` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/hook.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | WM_LBUTTONDOWN | WM_RBUTTONDOWN | WM_MBUTTONDOWN => { [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDOWN` [INFO] [stdout] --> src/hook.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | WM_LBUTTONDOWN | WM_RBUTTONDOWN | WM_MBUTTONDOWN => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/hook.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | WM_LBUTTONDOWN | WM_RBUTTONDOWN | WM_MBUTTONDOWN => { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -------------- variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDOWN` [INFO] [stdout] --> src/hook.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | WM_LBUTTONDOWN | WM_RBUTTONDOWN | WM_MBUTTONDOWN => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/hook.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | WM_LBUTTONDOWN | WM_RBUTTONDOWN | WM_MBUTTONDOWN => { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDOWN` [INFO] [stdout] --> src/hook.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | WM_LBUTTONDOWN | WM_RBUTTONDOWN | WM_MBUTTONDOWN => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/hook.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | WM_LBUTTONUP | WM_RBUTTONUP | WM_MBUTTONUP => { [INFO] [stdout] | ------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONUP` [INFO] [stdout] --> src/hook.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | WM_LBUTTONUP | WM_RBUTTONUP | WM_MBUTTONUP => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/hook.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | WM_LBUTTONUP | WM_RBUTTONUP | WM_MBUTTONUP => { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONUP` [INFO] [stdout] --> src/hook.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | WM_LBUTTONUP | WM_RBUTTONUP | WM_MBUTTONUP => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/hook.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | WM_LBUTTONUP | WM_RBUTTONUP | WM_MBUTTONUP => { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONUP` [INFO] [stdout] --> src/hook.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | WM_LBUTTONUP | WM_RBUTTONUP | WM_MBUTTONUP => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/hook.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_KEYDOWN` [INFO] [stdout] --> src/hook.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/hook.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ ------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_SYSKEYDOWN` [INFO] [stdout] --> src/hook.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYUP` is not bound in all patterns [INFO] [stdout] --> src/hook.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | WM_KEYUP | WM_SYSKEYUP => { [INFO] [stdout] | -------- ^^^^^^^^^^^ pattern doesn't bind `WM_KEYUP` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_KEYUP` [INFO] [stdout] --> src/hook.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | WM_KEYUP | WM_SYSKEYUP => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYUP` is not bound in all patterns [INFO] [stdout] --> src/hook.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | WM_KEYUP | WM_SYSKEYUP => { [INFO] [stdout] | ^^^^^^^^ ----------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_SYSKEYUP` [INFO] [stdout] --> src/hook.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | WM_KEYUP | WM_SYSKEYUP => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/d3d9_util.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn get_d3d9_vtable(hwnd: HWND) -> Result, &'static str> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Direct3DCreate9` in this scope [INFO] [stdout] --> src/d3d9_util.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | let p_d3d = Direct3DCreate9(D3D_SDK_VERSION); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_SDK_VERSION` in this scope [INFO] [stdout] --> src/d3d9_util.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | let p_d3d = Direct3DCreate9(D3D_SDK_VERSION); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/d3d9_util.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | let rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/d3d9_util.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | GetWindowRect(hwnd, mem::transmute(&rect)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice9` in this scope [INFO] [stdout] --> src/d3d9_util.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let p_dummy_device: *mut IDirect3DDevice9 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DPRESENT_PARAMETERS` in this scope [INFO] [stdout] --> src/d3d9_util.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let mut d3dpp = D3DPRESENT_PARAMETERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DSWAPEFFECT_DISCARD` in this scope [INFO] [stdout] --> src/d3d9_util.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | SwapEffect: D3DSWAPEFFECT_DISCARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/d3d9_util.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | Windowed: FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DADAPTER_DEFAULT` in this scope [INFO] [stdout] --> src/d3d9_util.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 52 | let mut dummy_device_created = (*p_d3d).CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DDEVTYPE_HAL` in this scope [INFO] [stdout] --> src/d3d9_util.rs:52:76 [INFO] [stdout] | [INFO] [stdout] 52 | let mut dummy_device_created = (*p_d3d).CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DCREATE_SOFTWARE_VERTEXPROCESSING` in this scope [INFO] [stdout] --> src/d3d9_util.rs:53:77 [INFO] [stdout] | [INFO] [stdout] 53 | ... d3dpp.hDeviceWindow, D3DCREATE_SOFTWARE_VERTEXPROCESSING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DADAPTER_DEFAULT` in this scope [INFO] [stdout] --> src/d3d9_util.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | dummy_device_created = (*p_d3d).CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DDEVTYPE_HAL` in this scope [INFO] [stdout] --> src/d3d9_util.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | dummy_device_created = (*p_d3d).CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DCREATE_SOFTWARE_VERTEXPROCESSING` in this scope [INFO] [stdout] --> src/d3d9_util.rs:60:71 [INFO] [stdout] | [INFO] [stdout] 60 | ... d3dpp.hDeviceWindow, D3DCREATE_SOFTWARE_VERTEXPROCESSING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDPROC` in this scope [INFO] [stdout] --> src/hook.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | static mut O_WND_PROC: Option = None; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/hook.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe extern "stdcall" fn hk_wnd_proc(hwnd: HWND, u_msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/hook.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe extern "stdcall" fn hk_wnd_proc(hwnd: HWND, u_msg: UINT, w_param: WPARAM, l_param: 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] --> src/hook.rs:32:78 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe extern "stdcall" fn hk_wnd_proc(hwnd: HWND, u_msg: UINT, w_param: WPARAM, l_param: 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] --> src/hook.rs:32:95 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe extern "stdcall" fn hk_wnd_proc(hwnd: HWND, u_msg: UINT, w_param: WPARAM, l_param: 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] --> src/hook.rs:32:106 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe extern "stdcall" fn hk_wnd_proc(hwnd: HWND, u_msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/hook.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | return FALSE as 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] --> src/hook.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | return FALSE as LRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/hook.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | let ret: BOOL = match u_msg { [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] --> src/hook.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/hook.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_WHEEL_DELTA_WPARAM` in this scope [INFO] [stdout] --> src/hook.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | io.mouse_wheel += if GET_WHEEL_DELTA_WPARAM(w_param) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/hook.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/hook.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/hook.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/hook.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/hook.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/hook.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | _ => FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/hook.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | return if ret == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/hook.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | ret as LRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallWindowProcW` in this scope [INFO] [stdout] --> src/hook.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | CallWindowProcW(O_WND_PROC.unwrap(), hwnd, u_msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECT3DDEVICE9` in this scope [INFO] [stdout] --> src/hook.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | type EndScene = extern "stdcall" fn(LPDIRECT3DDEVICE9) -> HRESULT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/hook.rs:98:59 [INFO] [stdout] | [INFO] [stdout] 98 | type EndScene = extern "stdcall" fn(LPDIRECT3DDEVICE9) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECT3DDEVICE9` in this scope [INFO] [stdout] --> src/hook.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | pub extern "stdcall" fn hk_end_scene(p_device: LPDIRECT3DDEVICE9) -> HRESULT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/hook.rs:100:70 [INFO] [stdout] | [INFO] [stdout] 100 | pub extern "stdcall" fn hk_end_scene(p_device: LPDIRECT3DDEVICE9) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DRECT` in this scope [INFO] [stdout] --> src/hook.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | let rect = D3DRECT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/hook.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | pub unsafe fn hook_wnd_proc(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/hook.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | mem::transmute(SetWindowLongPtrW(hwnd, GWLP_WNDPROC, hk_wnd_proc as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_WNDPROC` in this scope [INFO] [stdout] --> src/hook.rs:167:44 [INFO] [stdout] | [INFO] [stdout] 167 | mem::transmute(SetWindowLongPtrW(hwnd, GWLP_WNDPROC, hk_wnd_proc as i32)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/process.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn get_process_window() -> Option { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/process.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | extern "system" fn enum_windows_callback(hwnd: HWND, l_param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/process.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | extern "system" fn enum_windows_callback(hwnd: HWND, l_param: LPARAM) -> 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] --> src/process.rs:16:78 [INFO] [stdout] | [INFO] [stdout] 16 | extern "system" fn enum_windows_callback(hwnd: HWND, l_param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | let mut wnd_proc_id: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/process.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | GetWindowThreadProcessId(hwnd, &mut wnd_proc_id as *mut DWORD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process.rs:19:65 [INFO] [stdout] | [INFO] [stdout] 19 | GetWindowThreadProcessId(hwnd, &mut wnd_proc_id as *mut DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope [INFO] [stdout] --> src/process.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if GetCurrentProcessId() != wnd_proc_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/process.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/process.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | *(l_param as *mut HWND) = hwnd; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/process.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | return FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/process.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let mut hwnd: HWND = ptr::null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/process.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | EnumWindows(Some(enum_windows_callback), &mut hwnd as *mut HWND as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/process.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | EnumWindows(Some(enum_windows_callback), &mut hwnd as *mut HWND as LPARAM); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/process.rs:29:72 [INFO] [stdout] | [INFO] [stdout] 29 | EnumWindows(Some(enum_windows_callback), &mut hwnd as *mut HWND as LPARAM); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope [INFO] [stdout] --> src/lib.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | AllocConsole(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | pub extern "stdcall" fn DllMain(h_inst: HINSTANCE, fdw_reason: DWORD, _: 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] --> src/lib.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | pub extern "stdcall" fn DllMain(h_inst: HINSTANCE, fdw_reason: DWORD, _: 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] --> src/lib.rs:35:74 [INFO] [stdout] | [INFO] [stdout] 35 | pub extern "stdcall" fn DllMain(h_inst: HINSTANCE, fdw_reason: DWORD, _: 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] --> src/lib.rs:35:85 [INFO] [stdout] | [INFO] [stdout] 35 | pub extern "stdcall" fn DllMain(h_inst: HINSTANCE, fdw_reason: DWORD, _: 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 `DLL_PROCESS_ATTACH` in this scope [INFO] [stdout] --> src/lib.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | if fdw_reason == DLL_PROCESS_ATTACH { [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] --> src/lib.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | DisableThreadLibraryCalls(h_inst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | return TRUE [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] --> src/hook.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe extern "stdcall" fn hk_wnd_proc(hwnd: HWND, u_msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [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] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/hook.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | pub extern "stdcall" fn hk_end_scene(p_device: LPDIRECT3DDEVICE9) -> HRESULT { [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] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub extern "stdcall" fn DllMain(h_inst: HINSTANCE, fdw_reason: DWORD, _: 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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Shr` [INFO] [stdout] --> src/hook.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::ops::Shr; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 91 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dxhook` due to 92 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ef31f9ac015f26dc2381343e3ed64cbb6a18557f6fd1fda9c45a1ad410591ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef31f9ac015f26dc2381343e3ed64cbb6a18557f6fd1fda9c45a1ad410591ada", kill_on_drop: false }` [INFO] [stdout] ef31f9ac015f26dc2381343e3ed64cbb6a18557f6fd1fda9c45a1ad410591ada