[INFO] cloning repository https://github.com/PumpedSardines/controller-mapper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PumpedSardines/controller-mapper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPumpedSardines%2Fcontroller-mapper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPumpedSardines%2Fcontroller-mapper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48ab211d5636dad9a1fbfd4302fbc9121d0f1f13 [INFO] checking PumpedSardines/controller-mapper against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPumpedSardines%2Fcontroller-mapper" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PumpedSardines/controller-mapper on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PumpedSardines/controller-mapper [INFO] finished tweaking git repo https://github.com/PumpedSardines/controller-mapper [INFO] tweaked toml for git repo https://github.com/PumpedSardines/controller-mapper written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/PumpedSardines/controller-mapper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2781b57951c331965755cda37ba9bff51ffd83b27ee904d31e232916393d5f28 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2781b57951c331965755cda37ba9bff51ffd83b27ee904d31e232916393d5f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2781b57951c331965755cda37ba9bff51ffd83b27ee904d31e232916393d5f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2781b57951c331965755cda37ba9bff51ffd83b27ee904d31e232916393d5f28", kill_on_drop: false }` [INFO] [stdout] 2781b57951c331965755cda37ba9bff51ffd83b27ee904d31e232916393d5f28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f2452fa57d213d296cc94f6796ebbb82d004c914eba15d360943280d1838d53 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6f2452fa57d213d296cc94f6796ebbb82d004c914eba15d360943280d1838d53", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling enigo v0.0.14 [INFO] [stderr] Checking controller-mapper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `shared` in `winapi` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::*; [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/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::*; [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/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::wingdi::*; [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] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::xinput::*; [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/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::winerror::*; [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/window.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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] --> src/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `shared` in `winapi` [INFO] [stdout] --> src/window.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::*; [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/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/window.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/mouse.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `shared` in `winapi` [INFO] [stdout] --> src/mouse.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::windef::{ [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/xbox.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::winerror::*; [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/xbox.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::xinput::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::*; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `shared` in `winapi` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::*; [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/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::*; [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/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::wingdi::*; [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] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::xinput::*; [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/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::winerror::*; [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/window.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | 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] --> src/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `shared` in `winapi` [INFO] [stdout] --> src/window.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::*; [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/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/window.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/mouse.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `shared` in `winapi` [INFO] [stdout] --> src/mouse.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::windef::{ [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/xbox.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::winerror::*; [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/xbox.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::xinput::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::*; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub handle: 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] --> src/window.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 20 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 21 | pub unsafe fn New( [INFO] [stdout] 22 | proc: Option isize> [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] --> src/window.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let hinstance = GetModuleHandleW(null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/window.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let wnd_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> src/window.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/window.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/window.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> src/window.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | RegisterClassW(&wnd_class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | let handle = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/window.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_COMPOSITED, // Keps the window on top [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> src/window.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_COMPOSITED, // Keps the window on top [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope [INFO] [stdout] --> src/window.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_COMPOSITED, // Keps the window on top [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUPWINDOW` in this scope [INFO] [stdout] --> src/window.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | WS_POPUPWINDOW, // This makes the window borderless [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | CW_USEDEFAULT, [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/window.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | 0 as 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] --> src/window.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | 0 as HMENU, [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/window.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | 0 as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/window.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let mut rect: RECT = MaybeUninit::uninit().assume_init(); [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/window.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | GetWindowRect(self.handle, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/window.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | let mut rect: RECT = MaybeUninit::uninit().assume_init(); [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/window.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | GetWindowRect(self.handle, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> src/window.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | HWND_TOPMOST, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stdout] --> src/window.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOREDRAW [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> src/window.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOREDRAW [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope [INFO] [stdout] --> src/window.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOREDRAW [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOREDRAW` in this scope [INFO] [stdout] --> src/window.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOREDRAW [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> src/window.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | HWND_TOPMOST, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stdout] --> src/window.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | SWP_SHOWWINDOW | SWP_NOMOVE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> src/window.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | SWP_SHOWWINDOW | SWP_NOMOVE [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/window.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let mut flag = SW_HIDE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> src/window.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | let current_show = unsafe { IsWindowVisible(self.handle) != 0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stdout] --> src/window.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | flag = SW_RESTORE; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/window.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe { ShowWindow(self.handle,flag) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | InvalidateRect(self.handle, 0 as LPRECT, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/window.rs:119:42 [INFO] [stdout] | [INFO] [stdout] 119 | InvalidateRect(self.handle, 0 as LPRECT, 1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/mouse.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let mut cur_pt: POINT = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/mouse.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { GetCursorPos(&mut cur_pt) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope [INFO] [stdout] --> src/mouse.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { SetCursorPos( [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/mouse.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn set_show(&mut self, show: bool, hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/mouse.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | let mut cur_pt: POINT = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/mouse.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | unsafe { GetCursorPos(&mut cur_pt) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/mouse.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | let mut screen: RECT = unsafe { MaybeUninit::uninit().assume_init() }; [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/mouse.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | GetWindowRect(hwnd, &mut screen); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClipCursor` in this scope [INFO] [stdout] --> src/mouse.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | ClipCursor(&screen); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowCursor` in this scope [INFO] [stdout] --> src/mouse.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | ShowCursor(0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClipCursor` in this scope [INFO] [stdout] --> src/mouse.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | ClipCursor(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 `ShowCursor` in this scope [INFO] [stdout] --> src/mouse.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | ShowCursor(1); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope [INFO] [stdout] --> src/mouse.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | SetCursorPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xbox.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut state: XINPUT_STATE = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xbox.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let code = XInputGetState(0, &mut state); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/xbox.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | if code == ERROR_SUCCESS { exist.0 = true; } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xbox.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut state: XINPUT_STATE = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xbox.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let code = XInputGetState(1, &mut state); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/xbox.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | if code == ERROR_SUCCESS { exist.1 = true; } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xbox.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut state: XINPUT_STATE = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xbox.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let code = XInputGetState(2, &mut state); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/xbox.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | if code == ERROR_SUCCESS { exist.2 = true; } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xbox.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut state: XINPUT_STATE = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xbox.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let code = XInputGetState(3, &mut state); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/xbox.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | if code == ERROR_SUCCESS { exist.3 = true; } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xbox.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | let mut state: XINPUT_STATE = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xbox.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let code = unsafe { XInputGetState(self.port, &mut state) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/xbox.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | if code != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_A` in this scope [INFO] [stdout] --> src/xbox.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | self.a = self.a.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_A != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_Y` in this scope [INFO] [stdout] --> src/xbox.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 135 | self.y = self.y.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_Y != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_B` in this scope [INFO] [stdout] --> src/xbox.rs:136:51 [INFO] [stdout] | [INFO] [stdout] 136 | self.b = self.b.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_B != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_X` in this scope [INFO] [stdout] --> src/xbox.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 137 | self.x = self.x.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_X != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_RIGHT_SHOULDER` in this scope [INFO] [stdout] --> src/xbox.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | self.r_shoulder = state.Gamepad.wButtons & XINPUT_GAMEPAD_RIGHT_SHOULDER != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_SHOULDER` in this scope [INFO] [stdout] --> src/xbox.rs:171:46 [INFO] [stdout] | [INFO] [stdout] 171 | self.l_shoulder = state.Gamepad.wButtons & XINPUT_GAMEPAD_LEFT_SHOULDER != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_LEFT` in this scope [INFO] [stdout] --> src/xbox.rs:174:65 [INFO] [stdout] | [INFO] [stdout] 174 | self.pad_left = self.pad_left.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_DPAD_LEFT != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_RIGHT` in this scope [INFO] [stdout] --> src/xbox.rs:175:67 [INFO] [stdout] | [INFO] [stdout] 175 | self.pad_right = self.pad_right.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_DPAD_RIGHT != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_UP` in this scope [INFO] [stdout] --> src/xbox.rs:176:61 [INFO] [stdout] | [INFO] [stdout] 176 | self.pad_up = self.pad_up.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_DPAD_UP != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_DOWN` in this scope [INFO] [stdout] --> src/xbox.rs:177:65 [INFO] [stdout] | [INFO] [stdout] 177 | self.pad_down = self.pad_down.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_DPAD_DOWN != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_THUMB` in this scope [INFO] [stdout] --> src/xbox.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | self.lb_thumb = state.Gamepad.wButtons & XINPUT_GAMEPAD_LEFT_THUMB != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_RIGHT_THUMB` in this scope [INFO] [stdout] --> src/xbox.rs:181:44 [INFO] [stdout] | [INFO] [stdout] 181 | self.rb_thumb = state.Gamepad.wButtons & XINPUT_GAMEPAD_RIGHT_THUMB != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_BACK` in this scope [INFO] [stdout] --> src/xbox.rs:184:57 [INFO] [stdout] | [INFO] [stdout] 184 | self.back = self.back.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_BACK != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_START` in this scope [INFO] [stdout] --> src/xbox.rs:185:59 [INFO] [stdout] | [INFO] [stdout] 185 | self.start = self.start.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_START != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/main.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | let mut wnd_x: f64 = unsafe {GetSystemMetrics(SM_CXSCREEN)} as f64 / 2.0 - 353.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stdout] --> src/main.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | let mut wnd_x: f64 = unsafe {GetSystemMetrics(SM_CXSCREEN)} as f64 / 2.0 - 353.0; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/main.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | let mut wnd_y: f64 = unsafe {GetSystemMetrics(SM_CYSCREEN)} as f64 - 356.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stdout] --> src/main.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | let mut wnd_y: f64 = unsafe {GetSystemMetrics(SM_CYSCREEN)} as f64 - 356.0; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | MessageBoxW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | MB_OK | MB_ICONERROR [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONERROR` in this scope [INFO] [stdout] --> src/main.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | MB_OK | MB_ICONERROR [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | let mut message: MSG = MSG { hwnd: 0 as HWND, message: 0, wParam: 0, lParam: 0, time: 0,pt: POINT{ x:0 , y:0 } }; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MSG` in this scope [INFO] [stdout] --> src/main.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | let mut message: MSG = MSG { hwnd: 0 as HWND, message: 0, wParam: 0, lParam: 0, time: 0,pt: POINT{ x:0 , y:0 } }; [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/main.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | let mut message: MSG = MSG { hwnd: 0 as HWND, message: 0, wParam: 0, lParam: 0, time: 0,pt: POINT{ x:0 , y:0 } }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/main.rs:84:101 [INFO] [stdout] | [INFO] [stdout] 84 | let mut message: MSG = MSG { hwnd: 0 as HWND, message: 0, wParam: 0, lParam: 0, time: 0,pt: POINT{ x:0 , y:0 } }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/main.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if PeekMessageW( &mut message as *mut MSG, win.handle, 0, 0, 1 ) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | if PeekMessageW( &mut message as *mut MSG, win.handle, 0, 0, 1 ) > 0 { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | TranslateMessage( &message as *const MSG ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:87:54 [INFO] [stdout] | [INFO] [stdout] 87 | TranslateMessage( &message as *const MSG ); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | DispatchMessageW( &message as *const MSG ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:88:54 [INFO] [stdout] | [INFO] [stdout] 88 | DispatchMessageW( &message as *const MSG ); [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/main.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | hwnd: HWND, [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/main.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | msg: UINT, [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/main.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | wparam: WPARAM, [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/main.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | lparam: LPARAM, [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/main.rs:220:6 [INFO] [stdout] | [INFO] [stdout] 220 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/main.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | DestroyWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/main.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> src/main.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | let mut ps: PAINTSTRUCT = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/main.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | let hdc = BeginPaint(hwnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/main.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 232 | let hdcBuffer = CreateCompatibleDC (hdc); // OFF screen DC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/main.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | let hBitmapBuffer = CreateCompatibleBitmap (hdc,706, 256); // create memory bitmap for that off screen DC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/main.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | SelectObject(hdcBuffer,hBitmapBuffer as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:234:53 [INFO] [stdout] | [INFO] [stdout] 234 | SelectObject(hdcBuffer,hBitmapBuffer as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:236:28 [INFO] [stdout] | [INFO] [stdout] 236 | let dark_one = RGB(20,20,30); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 237 | let dark_two = RGB(33,39,48); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | let white_one = RGB(220,220,220); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/main.rs:241:30 [INFO] [stdout] | [INFO] [stdout] 241 | let dark_brush = CreateSolidBrush(dark_one); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | FillRect(hdcBuffer, &mut ps.rcPaint, dark_brush); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | DeleteObject(dark_brush as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | DeleteObject(dark_brush as HGDIOBJ); [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/main.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | let mut cur_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 `CreateSolidBrush` in this scope [INFO] [stdout] --> src/main.rs:255:34 [INFO] [stdout] | [INFO] [stdout] 255 | let dark_brush = CreateSolidBrush(dark_two); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/main.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | FillRect(hdcBuffer, &cur_rect, dark_brush); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | DeleteObject(dark_brush as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:257:44 [INFO] [stdout] | [INFO] [stdout] 257 | DeleteObject(dark_brush as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontW` in this scope [INFO] [stdout] --> src/main.rs:259:28 [INFO] [stdout] | [INFO] [stdout] 259 | let font = CreateFontW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GM_COMPATIBLE` in this scope [INFO] [stdout] --> src/main.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | GM_COMPATIBLE as i32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ANSI_CHARSET` in this scope [INFO] [stdout] --> src/main.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | ANSI_CHARSET, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OUT_DEFAULT_PRECIS` in this scope [INFO] [stdout] --> src/main.rs:269:21 [INFO] [stdout] | [INFO] [stdout] 269 | OUT_DEFAULT_PRECIS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIP_DEFAULT_PRECIS` in this scope [INFO] [stdout] --> src/main.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | CLIP_DEFAULT_PRECIS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLEARTYPE_QUALITY` in this scope [INFO] [stdout] --> src/main.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | CLEARTYPE_QUALITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_PITCH` in this scope [INFO] [stdout] --> src/main.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | DEFAULT_PITCH, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/main.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | SelectObject(hdcBuffer, font as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:276:49 [INFO] [stdout] | [INFO] [stdout] 276 | SelectObject(hdcBuffer, font as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in this scope [INFO] [stdout] --> src/main.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | SetTextColor(hdcBuffer, white_one); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope [INFO] [stdout] --> src/main.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | SetBkColor(hdcBuffer, dark_two); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawTextW` in this scope [INFO] [stdout] --> src/main.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | DrawTextW( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_VCENTER` in this scope [INFO] [stdout] --> src/main.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | DT_VCENTER | DT_SINGLELINE | DT_CENTER [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SINGLELINE` in this scope [INFO] [stdout] --> src/main.rs:287:34 [INFO] [stdout] | [INFO] [stdout] 287 | DT_VCENTER | DT_SINGLELINE | DT_CENTER [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_CENTER` in this scope [INFO] [stdout] --> src/main.rs:287:51 [INFO] [stdout] | [INFO] [stdout] 287 | DT_VCENTER | DT_SINGLELINE | DT_CENTER [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | DeleteObject(font as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:289:38 [INFO] [stdout] | [INFO] [stdout] 289 | DeleteObject(font as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FrameRect` in this scope [INFO] [stdout] --> src/main.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | FrameRect( [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/main.rs:313:18 [INFO] [stdout] | [INFO] [stdout] 313 | &RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/main.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | CreateSolidBrush(RGB(255,255,255)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:319:34 [INFO] [stdout] | [INFO] [stdout] 319 | CreateSolidBrush(RGB(255,255,255)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/main.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | BitBlt(hdc,0,0,706,256,hdcBuffer,0,0,SRCCOPY); // copy the content of OFF screen DC to actual screen DC [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/main.rs:322:50 [INFO] [stdout] | [INFO] [stdout] 322 | BitBlt(hdc,0,0,706,256,hdcBuffer,0,0,SRCCOPY); // copy the content of OFF screen DC to actual screen DC [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/main.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | DeleteDC (hdcBuffer); // Release the OFF screen DC [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | DeleteObject (hBitmapBuffer as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:324:44 [INFO] [stdout] | [INFO] [stdout] 324 | DeleteObject (hBitmapBuffer as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> src/main.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | EndPaint(hwnd, &ps); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/main.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | _ => return DefWindowProcW(hwnd, msg, wparam, 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/window.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub handle: 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] --> src/window.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 20 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 21 | pub unsafe fn New( [INFO] [stdout] 22 | proc: Option isize> [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] --> src/window.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let hinstance = GetModuleHandleW(null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/window.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let wnd_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> src/window.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/window.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/window.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> src/window.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | RegisterClassW(&wnd_class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | let handle = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/window.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_COMPOSITED, // Keps the window on top [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> src/window.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_COMPOSITED, // Keps the window on top [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope [INFO] [stdout] --> src/window.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_COMPOSITED, // Keps the window on top [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUPWINDOW` in this scope [INFO] [stdout] --> src/window.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | WS_POPUPWINDOW, // This makes the window borderless [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | CW_USEDEFAULT, [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/window.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | 0 as 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] --> src/window.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | 0 as HMENU, [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/window.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | 0 as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/window.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let mut rect: RECT = MaybeUninit::uninit().assume_init(); [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/window.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | GetWindowRect(self.handle, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/window.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | let mut rect: RECT = MaybeUninit::uninit().assume_init(); [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/window.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | GetWindowRect(self.handle, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> src/window.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | HWND_TOPMOST, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stdout] --> src/window.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOREDRAW [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> src/window.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOREDRAW [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope [INFO] [stdout] --> src/window.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOREDRAW [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOREDRAW` in this scope [INFO] [stdout] --> src/window.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOREDRAW [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> src/window.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | HWND_TOPMOST, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stdout] --> src/window.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | SWP_SHOWWINDOW | SWP_NOMOVE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> src/window.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | SWP_SHOWWINDOW | SWP_NOMOVE [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/window.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let mut flag = SW_HIDE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> src/window.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | let current_show = unsafe { IsWindowVisible(self.handle) != 0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stdout] --> src/window.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | flag = SW_RESTORE; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/window.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe { ShowWindow(self.handle,flag) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | InvalidateRect(self.handle, 0 as LPRECT, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/window.rs:119:42 [INFO] [stdout] | [INFO] [stdout] 119 | InvalidateRect(self.handle, 0 as LPRECT, 1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/mouse.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let mut cur_pt: POINT = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/mouse.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { GetCursorPos(&mut cur_pt) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope [INFO] [stdout] --> src/mouse.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { SetCursorPos( [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/mouse.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn set_show(&mut self, show: bool, hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/mouse.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | let mut cur_pt: POINT = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/mouse.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | unsafe { GetCursorPos(&mut cur_pt) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/mouse.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | let mut screen: RECT = unsafe { MaybeUninit::uninit().assume_init() }; [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/mouse.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | GetWindowRect(hwnd, &mut screen); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClipCursor` in this scope [INFO] [stdout] --> src/mouse.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | ClipCursor(&screen); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowCursor` in this scope [INFO] [stdout] --> src/mouse.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | ShowCursor(0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClipCursor` in this scope [INFO] [stdout] --> src/mouse.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | ClipCursor(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 `ShowCursor` in this scope [INFO] [stdout] --> src/mouse.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | ShowCursor(1); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope [INFO] [stdout] --> src/mouse.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | SetCursorPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xbox.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut state: XINPUT_STATE = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xbox.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let code = XInputGetState(0, &mut state); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/xbox.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | if code == ERROR_SUCCESS { exist.0 = true; } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xbox.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut state: XINPUT_STATE = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xbox.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let code = XInputGetState(1, &mut state); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/xbox.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | if code == ERROR_SUCCESS { exist.1 = true; } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xbox.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut state: XINPUT_STATE = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xbox.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let code = XInputGetState(2, &mut state); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/xbox.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | if code == ERROR_SUCCESS { exist.2 = true; } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xbox.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut state: XINPUT_STATE = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xbox.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let code = XInputGetState(3, &mut state); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/xbox.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | if code == ERROR_SUCCESS { exist.3 = true; } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xbox.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | let mut state: XINPUT_STATE = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xbox.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let code = unsafe { XInputGetState(self.port, &mut state) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/xbox.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | if code != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_A` in this scope [INFO] [stdout] --> src/xbox.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | self.a = self.a.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_A != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_Y` in this scope [INFO] [stdout] --> src/xbox.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 135 | self.y = self.y.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_Y != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_B` in this scope [INFO] [stdout] --> src/xbox.rs:136:51 [INFO] [stdout] | [INFO] [stdout] 136 | self.b = self.b.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_B != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_X` in this scope [INFO] [stdout] --> src/xbox.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 137 | self.x = self.x.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_X != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_RIGHT_SHOULDER` in this scope [INFO] [stdout] --> src/xbox.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | self.r_shoulder = state.Gamepad.wButtons & XINPUT_GAMEPAD_RIGHT_SHOULDER != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_SHOULDER` in this scope [INFO] [stdout] --> src/xbox.rs:171:46 [INFO] [stdout] | [INFO] [stdout] 171 | self.l_shoulder = state.Gamepad.wButtons & XINPUT_GAMEPAD_LEFT_SHOULDER != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_LEFT` in this scope [INFO] [stdout] --> src/xbox.rs:174:65 [INFO] [stdout] | [INFO] [stdout] 174 | self.pad_left = self.pad_left.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_DPAD_LEFT != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_RIGHT` in this scope [INFO] [stdout] --> src/xbox.rs:175:67 [INFO] [stdout] | [INFO] [stdout] 175 | self.pad_right = self.pad_right.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_DPAD_RIGHT != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_UP` in this scope [INFO] [stdout] --> src/xbox.rs:176:61 [INFO] [stdout] | [INFO] [stdout] 176 | self.pad_up = self.pad_up.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_DPAD_UP != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_DOWN` in this scope [INFO] [stdout] --> src/xbox.rs:177:65 [INFO] [stdout] | [INFO] [stdout] 177 | self.pad_down = self.pad_down.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_DPAD_DOWN != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_THUMB` in this scope [INFO] [stdout] --> src/xbox.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | self.lb_thumb = state.Gamepad.wButtons & XINPUT_GAMEPAD_LEFT_THUMB != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_RIGHT_THUMB` in this scope [INFO] [stdout] --> src/xbox.rs:181:44 [INFO] [stdout] | [INFO] [stdout] 181 | self.rb_thumb = state.Gamepad.wButtons & XINPUT_GAMEPAD_RIGHT_THUMB != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_BACK` in this scope [INFO] [stdout] --> src/xbox.rs:184:57 [INFO] [stdout] | [INFO] [stdout] 184 | self.back = self.back.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_BACK != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_START` in this scope [INFO] [stdout] --> src/xbox.rs:185:59 [INFO] [stdout] | [INFO] [stdout] 185 | self.start = self.start.update(state.Gamepad.wButtons & XINPUT_GAMEPAD_START != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/main.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | let mut wnd_x: f64 = unsafe {GetSystemMetrics(SM_CXSCREEN)} as f64 / 2.0 - 353.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stdout] --> src/main.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | let mut wnd_x: f64 = unsafe {GetSystemMetrics(SM_CXSCREEN)} as f64 / 2.0 - 353.0; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/main.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | let mut wnd_y: f64 = unsafe {GetSystemMetrics(SM_CYSCREEN)} as f64 - 356.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stdout] --> src/main.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | let mut wnd_y: f64 = unsafe {GetSystemMetrics(SM_CYSCREEN)} as f64 - 356.0; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | MessageBoxW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | MB_OK | MB_ICONERROR [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONERROR` in this scope [INFO] [stdout] --> src/main.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | MB_OK | MB_ICONERROR [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | let mut message: MSG = MSG { hwnd: 0 as HWND, message: 0, wParam: 0, lParam: 0, time: 0,pt: POINT{ x:0 , y:0 } }; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MSG` in this scope [INFO] [stdout] --> src/main.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | let mut message: MSG = MSG { hwnd: 0 as HWND, message: 0, wParam: 0, lParam: 0, time: 0,pt: POINT{ x:0 , y:0 } }; [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/main.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | let mut message: MSG = MSG { hwnd: 0 as HWND, message: 0, wParam: 0, lParam: 0, time: 0,pt: POINT{ x:0 , y:0 } }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/main.rs:84:101 [INFO] [stdout] | [INFO] [stdout] 84 | let mut message: MSG = MSG { hwnd: 0 as HWND, message: 0, wParam: 0, lParam: 0, time: 0,pt: POINT{ x:0 , y:0 } }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/main.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if PeekMessageW( &mut message as *mut MSG, win.handle, 0, 0, 1 ) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | if PeekMessageW( &mut message as *mut MSG, win.handle, 0, 0, 1 ) > 0 { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | TranslateMessage( &message as *const MSG ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:87:54 [INFO] [stdout] | [INFO] [stdout] 87 | TranslateMessage( &message as *const MSG ); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | DispatchMessageW( &message as *const MSG ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:88:54 [INFO] [stdout] | [INFO] [stdout] 88 | DispatchMessageW( &message as *const MSG ); [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/main.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | hwnd: HWND, [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/main.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | msg: UINT, [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/main.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | wparam: WPARAM, [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/main.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | lparam: LPARAM, [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/main.rs:220:6 [INFO] [stdout] | [INFO] [stdout] 220 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/main.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | DestroyWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/main.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> src/main.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | let mut ps: PAINTSTRUCT = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/main.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | let hdc = BeginPaint(hwnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/main.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 232 | let hdcBuffer = CreateCompatibleDC (hdc); // OFF screen DC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/main.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | let hBitmapBuffer = CreateCompatibleBitmap (hdc,706, 256); // create memory bitmap for that off screen DC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/main.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | SelectObject(hdcBuffer,hBitmapBuffer as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:234:53 [INFO] [stdout] | [INFO] [stdout] 234 | SelectObject(hdcBuffer,hBitmapBuffer as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:236:28 [INFO] [stdout] | [INFO] [stdout] 236 | let dark_one = RGB(20,20,30); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 237 | let dark_two = RGB(33,39,48); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | let white_one = RGB(220,220,220); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/main.rs:241:30 [INFO] [stdout] | [INFO] [stdout] 241 | let dark_brush = CreateSolidBrush(dark_one); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | FillRect(hdcBuffer, &mut ps.rcPaint, dark_brush); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | DeleteObject(dark_brush as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | DeleteObject(dark_brush as HGDIOBJ); [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/main.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | let mut cur_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 `CreateSolidBrush` in this scope [INFO] [stdout] --> src/main.rs:255:34 [INFO] [stdout] | [INFO] [stdout] 255 | let dark_brush = CreateSolidBrush(dark_two); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/main.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | FillRect(hdcBuffer, &cur_rect, dark_brush); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | DeleteObject(dark_brush as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:257:44 [INFO] [stdout] | [INFO] [stdout] 257 | DeleteObject(dark_brush as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontW` in this scope [INFO] [stdout] --> src/main.rs:259:28 [INFO] [stdout] | [INFO] [stdout] 259 | let font = CreateFontW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GM_COMPATIBLE` in this scope [INFO] [stdout] --> src/main.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | GM_COMPATIBLE as i32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ANSI_CHARSET` in this scope [INFO] [stdout] --> src/main.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | ANSI_CHARSET, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OUT_DEFAULT_PRECIS` in this scope [INFO] [stdout] --> src/main.rs:269:21 [INFO] [stdout] | [INFO] [stdout] 269 | OUT_DEFAULT_PRECIS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIP_DEFAULT_PRECIS` in this scope [INFO] [stdout] --> src/main.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | CLIP_DEFAULT_PRECIS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLEARTYPE_QUALITY` in this scope [INFO] [stdout] --> src/main.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | CLEARTYPE_QUALITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_PITCH` in this scope [INFO] [stdout] --> src/main.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | DEFAULT_PITCH, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/main.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | SelectObject(hdcBuffer, font as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:276:49 [INFO] [stdout] | [INFO] [stdout] 276 | SelectObject(hdcBuffer, font as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in this scope [INFO] [stdout] --> src/main.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | SetTextColor(hdcBuffer, white_one); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope [INFO] [stdout] --> src/main.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | SetBkColor(hdcBuffer, dark_two); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawTextW` in this scope [INFO] [stdout] --> src/main.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | DrawTextW( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_VCENTER` in this scope [INFO] [stdout] --> src/main.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | DT_VCENTER | DT_SINGLELINE | DT_CENTER [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SINGLELINE` in this scope [INFO] [stdout] --> src/main.rs:287:34 [INFO] [stdout] | [INFO] [stdout] 287 | DT_VCENTER | DT_SINGLELINE | DT_CENTER [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_CENTER` in this scope [INFO] [stdout] --> src/main.rs:287:51 [INFO] [stdout] | [INFO] [stdout] 287 | DT_VCENTER | DT_SINGLELINE | DT_CENTER [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | DeleteObject(font as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:289:38 [INFO] [stdout] | [INFO] [stdout] 289 | DeleteObject(font as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FrameRect` in this scope [INFO] [stdout] --> src/main.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | FrameRect( [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/main.rs:313:18 [INFO] [stdout] | [INFO] [stdout] 313 | &RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/main.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | CreateSolidBrush(RGB(255,255,255)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:319:34 [INFO] [stdout] | [INFO] [stdout] 319 | CreateSolidBrush(RGB(255,255,255)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/main.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | BitBlt(hdc,0,0,706,256,hdcBuffer,0,0,SRCCOPY); // copy the content of OFF screen DC to actual screen DC [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/main.rs:322:50 [INFO] [stdout] | [INFO] [stdout] 322 | BitBlt(hdc,0,0,706,256,hdcBuffer,0,0,SRCCOPY); // copy the content of OFF screen DC to actual screen DC [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/main.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | DeleteDC (hdcBuffer); // Release the OFF screen DC [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | DeleteObject (hBitmapBuffer as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/main.rs:324:44 [INFO] [stdout] | [INFO] [stdout] 324 | DeleteObject (hBitmapBuffer as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> src/main.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | EndPaint(hwnd, &ps); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/main.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | _ => return DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/window.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/window.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 170 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 170 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `controller-mapper` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6f2452fa57d213d296cc94f6796ebbb82d004c914eba15d360943280d1838d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f2452fa57d213d296cc94f6796ebbb82d004c914eba15d360943280d1838d53", kill_on_drop: false }` [INFO] [stdout] 6f2452fa57d213d296cc94f6796ebbb82d004c914eba15d360943280d1838d53