[INFO] fetching crate wita 0.2.2... [INFO] checking wita-0.2.2 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate wita 0.2.2 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate wita 0.2.2 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wita 0.2.2 [INFO] finished tweaking crates.io crate wita 0.2.2 [INFO] tweaked toml for crates.io crate wita 0.2.2 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate wita 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ece93823820699cca9e00908393f44e1c14405ed2e63eb7088c961683c1accd5 [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" "ece93823820699cca9e00908393f44e1c14405ed2e63eb7088c961683c1accd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ece93823820699cca9e00908393f44e1c14405ed2e63eb7088c961683c1accd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece93823820699cca9e00908393f44e1c14405ed2e63eb7088c961683c1accd5", kill_on_drop: false }` [INFO] [stdout] ece93823820699cca9e00908393f44e1c14405ed2e63eb7088c961683c1accd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6ab1c903531d1ca3253b0404b99dbebfafe3a5a01369c47d7c447e9c1f3e44c [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" "a6ab1c903531d1ca3253b0404b99dbebfafe3a5a01369c47d7c447e9c1f3e44c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking wita v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/api.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::{minwindef::*, windef::*, winerror::S_OK}; [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/api.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::{imm::*, shellscalingapi::*, winnt::*, 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/api.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::{minwindef::*, windef::*, winerror::S_OK}; [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/api.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::{imm::*, shellscalingapi::*, winnt::*, 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/context.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/monitor.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::{minwindef::*, windef::*}; [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/monitor.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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/procedure.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::{minwindef::*, windef::*, windowsx::*}; [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/procedure.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::{shellapi::*, 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/window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::{minwindef::*, windef::*}; [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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::{ [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/lib.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ime`, `crate::ime` [INFO] [stdout] --> src/api/imm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ime; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/procedure.rs:1:78 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{api::*, context::*, device::*, event::EventHandler, geometry::*, ime, window::Window}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/context.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/monitor.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::{minwindef::*, windef::*}; [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/monitor.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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/procedure.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::{minwindef::*, windef::*, windowsx::*}; [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/procedure.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::{shellapi::*, 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/window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::{minwindef::*, windef::*}; [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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::{ [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/lib.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ime`, `crate::ime` [INFO] [stdout] --> src/api/imm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ime; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/procedure.rs:1:78 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{api::*, context::*, device::*, event::EventHandler, geometry::*, ime, window::Window}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/api/imm.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | rcArea: RECT::default(), [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/api/imm.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | rcArea: RECT::default(), [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/api/imm.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | rcArea: RECT::default(), [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/api/imm.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | rcArea: RECT::default(), [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MONITORINFO` [INFO] [stdout] --> src/monitor.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let mut info = MONITORINFO::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MONITORINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MONITORINFO` [INFO] [stdout] --> src/monitor.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let mut info = MONITORINFO::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MONITORINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MONITORINFO` [INFO] [stdout] --> src/monitor.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let mut info = MONITORINFO::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MONITORINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MONITORINFO` [INFO] [stdout] --> src/monitor.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let mut info = MONITORINFO::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MONITORINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT` [INFO] [stdout] --> src/procedure.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | let mut ps = PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT` [INFO] [stdout] --> src/procedure.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | let mut ps = PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> src/procedure.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | let mut pos = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> src/procedure.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | let mut pos = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/procedure.rs:405:30 [INFO] [stdout] | [INFO] [stdout] 405 | let mut rc = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UINT` [INFO] [stdout] --> src/procedure.rs:424:56 [INFO] [stdout] | [INFO] [stdout] 424 | let file_count = DragQueryFileW(hdrop, UINT::MAX, std::ptr::null_mut(), 0); [INFO] [stdout] | ^^^^ use of undeclared type `UINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/procedure.rs:405:30 [INFO] [stdout] | [INFO] [stdout] 405 | let mut rc = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> src/procedure.rs:436:30 [INFO] [stdout] | [INFO] [stdout] 436 | let mut pt = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UINT` [INFO] [stdout] --> src/procedure.rs:424:56 [INFO] [stdout] | [INFO] [stdout] 424 | let file_count = DragQueryFileW(hdrop, UINT::MAX, std::ptr::null_mut(), 0); [INFO] [stdout] | ^^^^ use of undeclared type `UINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> src/procedure.rs:436:30 [INFO] [stdout] | [INFO] [stdout] 436 | let mut pt = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/window.rs:360:26 [INFO] [stdout] | [INFO] [stdout] 360 | let mut rc = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/window.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | let mut rc = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/window.rs:360:26 [INFO] [stdout] | [INFO] [stdout] 360 | let mut rc = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/window.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | let mut rc = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> src/lib.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let mut msg = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GCS_COMPSTR: DWORD = 0x0008; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pub const GCS_COMPATTR: DWORD = 0x0010; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub const GCS_RESULTSTR: DWORD = 0x0800; [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/api/imm.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ISC_SHOWUICOMPOSITIONWINDOW: LPARAM = 0x80000000; [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/api/imm.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ISC_SHOWUICANDIDATEWINDOW: LPARAM = 0x00000001; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/api/imm.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub const IMM_ERROR_NODATA: LONG = -1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/api/imm.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub const IMM_ERROR_GENERAL: LONG = -2; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub const IACE_CHILDREN: DWORD = 0x0001; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub const IACE_DEFAULT: DWORD = 0x0010; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub const IACE_IGNORENOCONTEXT: DWORD = 0x0020; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | dwIndex: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | dwStyle: DWORD, [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/api/imm.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | ptCurrentPos: POINT, [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/api/imm.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | rcArea: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | dwSize: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | dwStyle: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | dwCount: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | dwSelection: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | dwPageStart: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | dwPageSize: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | dwOffset: [DWORD; 1], [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn ImmDestroyContext(himc: HIMC); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | fn ImmSetCandidateWindow(himc: HIMC, form: *mut CANDIDATEFORM) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/api/imm.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | fn ImmSetCandidateWindow(himc: HIMC, form: *mut CANDIDATEFORM) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> src/lib.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let mut msg = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [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/api/imm.rs:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:47:82 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/api/imm.rs:47:92 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | himc: HIMC, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | index: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | len: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | ) -> DWORD; [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/api/imm.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | fn ImmAssociateContextEx(hwnd: HWND, himc: HIMC, flag: DWORD) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:54:48 [INFO] [stdout] | [INFO] [stdout] 54 | fn ImmAssociateContextEx(hwnd: HWND, himc: HIMC, flag: DWORD) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:54:60 [INFO] [stdout] | [INFO] [stdout] 54 | fn ImmAssociateContextEx(hwnd: HWND, himc: HIMC, flag: DWORD) -> BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/api/imm.rs:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | fn ImmAssociateContextEx(hwnd: HWND, himc: HIMC, flag: DWORD) -> BOOL; [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/api/imm.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | himc: HIMC, [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/api/imm.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(hwnd: HWND) -> Self { [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/api/imm.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | himc: HIMC, [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/api/imm.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get(hwnd: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImmGetContext` in this scope [INFO] [stdout] --> src/api/imm.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ------------------------------ similarly named function `ImmCreateContext` defined here [INFO] [stdout] ... [INFO] [stdout] 106 | let himc = unsafe { ImmGetContext(hwnd) }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `ImmCreateContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/api/imm.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let pt = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COMPOSITIONFORM` in this scope [INFO] [stdout] --> src/api/imm.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let mut form = COMPOSITIONFORM { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CFS_POINT` in this scope [INFO] [stdout] --> src/api/imm.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | dwStyle: CFS_POINT, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImmSetCompositionWindow` in this scope [INFO] [stdout] --> src/api/imm.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [INFO] [stdout] | -------------------------------------------------------------------------------------------- similarly named function `ImmGetCompositionStringW` defined here [INFO] [stdout] ... [INFO] [stdout] 121 | ImmSetCompositionWindow(self.himc, &mut form); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `ImmGetCompositionStringW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/api/imm.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | let pt = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CFS_CANDIDATEPOS` in this scope [INFO] [stdout] --> src/api/imm.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | dwStyle: CFS_CANDIDATEPOS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CFS_EXCLUDE` in this scope [INFO] [stdout] --> src/api/imm.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | dwStyle: CFS_EXCLUDE, [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/api/imm.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | rcArea: RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_composition_string(&self, index: DWORD) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | unsafe fn get_string(himc: HIMC, index: DWORD) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | unsafe fn get_string(himc: HIMC, index: DWORD) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:168:91 [INFO] [stdout] | [INFO] [stdout] 168 | ImmGetCompositionStringW(himc, index, buf.as_mut_ptr() as *mut _, byte_len as DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | unsafe fn get_attrs(himc: HIMC) -> Option> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | byte_len as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:228:94 [INFO] [stdout] | [INFO] [stdout] 228 | let ret = ImmGetCandidateListW(self.himc, 0, buf.as_mut_ptr() as *mut _, size as DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:236:72 [INFO] [stdout] | [INFO] [stdout] 236 | std::slice::from_raw_parts(&obj.dwOffset as *const DWORD, obj.dwCount as usize); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GCS_COMPSTR: DWORD = 0x0008; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImmReleaseContext` in this scope [INFO] [stdout] --> src/api/imm.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ------------------------------ similarly named function `ImmCreateContext` defined here [INFO] [stdout] ... [INFO] [stdout] 250 | ImmReleaseContext(self.hwnd, self.himc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `ImmCreateContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pub const GCS_COMPATTR: DWORD = 0x0010; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub const GCS_RESULTSTR: DWORD = 0x0800; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForMonitor` in this scope [INFO] [stdout] --> src/api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | GetDpiForMonitor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromPoint` in this scope [INFO] [stdout] --> src/api.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | MonitorFromPoint(POINT { x: pt.x, y: pt.y }, MONITOR_DEFAULTTOPRIMARY), [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/api/imm.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ISC_SHOWUICOMPOSITIONWINDOW: LPARAM = 0x80000000; [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/api.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | MonitorFromPoint(POINT { x: pt.x, y: pt.y }, MONITOR_DEFAULTTOPRIMARY), [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/api/imm.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ISC_SHOWUICANDIDATEWINDOW: LPARAM = 0x00000001; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTOPRIMARY` in this scope [INFO] [stdout] --> src/api.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | MonitorFromPoint(POINT { x: pt.x, y: pt.y }, MONITOR_DEFAULTTOPRIMARY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/api/imm.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub const IMM_ERROR_NODATA: LONG = -1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MDT_DEFAULT` in this scope [INFO] [stdout] --> src/api.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | MDT_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/api/imm.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub const IMM_ERROR_GENERAL: LONG = -2; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | style: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub const IACE_CHILDREN: DWORD = 0x0001; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub const IACE_DEFAULT: DWORD = 0x0010; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | ex_style: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub const IACE_IGNORENOCONTEXT: DWORD = 0x0020; [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/api.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | dwIndex: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | dwStyle: DWORD, [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/api.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let mut rc = RECT { [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/api/imm.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | ptCurrentPos: POINT, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRectExForDpi` in this scope [INFO] [stdout] --> src/api.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | AdjustWindowRectExForDpi(&mut rc, style, FALSE, ex_style, dpi); [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/api/imm.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | rcArea: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/api.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | AdjustWindowRectExForDpi(&mut rc, style, FALSE, ex_style, dpi); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | dwSize: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDpiAwarenessContext` in this scope [INFO] [stdout] --> src/api.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) == TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | dwStyle: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2` in this scope [INFO] [stdout] --> src/api.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) == TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | dwCount: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/api.rs:46:93 [INFO] [stdout] | [INFO] [stdout] 46 | if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | dwSelection: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDpiAwarenessContext` in this scope [INFO] [stdout] --> src/api.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | } else if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE) == TRUE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | dwPageStart: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE` in this scope [INFO] [stdout] --> src/api.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | } else if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE) == TRUE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | dwPageSize: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/api.rs:48:97 [INFO] [stdout] | [INFO] [stdout] 48 | } else if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE) == TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | dwOffset: [DWORD; 1], [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDpiAwareness` in this scope [INFO] [stdout] --> src/api.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | } else if SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE) == S_OK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn ImmDestroyContext(himc: HIMC); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_PER_MONITOR_DPI_AWARE` in this scope [INFO] [stdout] --> src/api.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | } else if SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE) == S_OK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | fn ImmSetCandidateWindow(himc: HIMC, form: *mut CANDIDATEFORM) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/api.rs:51:80 [INFO] [stdout] | [INFO] [stdout] 51 | } else if SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE) == S_OK { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/api/imm.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | fn ImmSetCandidateWindow(himc: HIMC, form: *mut CANDIDATEFORM) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsGUIThread` in this scope [INFO] [stdout] --> src/api.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | IsGUIThread(TRUE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/api.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | IsGUIThread(TRUE); [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/api/imm.rs:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:47:82 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [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/context.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 32 | state: ContextState, [INFO] [stdout] 33 | window_table: Vec<(HWND, Window)>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/api/imm.rs:47:92 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [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/context.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn push_window(hwnd: HWND, wnd: Window) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | himc: HIMC, [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/context.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn find_window(hwnd: HWND) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | index: DWORD, [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/context.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn remove_window(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | len: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | ) -> DWORD; [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/api/imm.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | fn ImmAssociateContextEx(hwnd: HWND, himc: HIMC, flag: DWORD) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:54:48 [INFO] [stdout] | [INFO] [stdout] 54 | fn ImmAssociateContextEx(hwnd: HWND, himc: HIMC, flag: DWORD) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/monitor.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | hmonitor: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:54:60 [INFO] [stdout] | [INFO] [stdout] 54 | fn ImmAssociateContextEx(hwnd: HWND, himc: HIMC, flag: DWORD) -> BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/api/imm.rs:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | fn ImmAssociateContextEx(hwnd: HWND, himc: HIMC, flag: DWORD) -> BOOL; [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/api/imm.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | himc: HIMC, [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/api/imm.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(hwnd: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/monitor.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | hmonitor: HMONITOR, [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/api/imm.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | himc: HIMC, [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/api/imm.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get(hwnd: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/monitor.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | _: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImmGetContext` in this scope [INFO] [stdout] --> src/api/imm.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ------------------------------ similarly named function `ImmCreateContext` defined here [INFO] [stdout] ... [INFO] [stdout] 106 | let himc = unsafe { ImmGetContext(hwnd) }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `ImmCreateContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/api/imm.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let pt = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COMPOSITIONFORM` in this scope [INFO] [stdout] --> src/api/imm.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let mut form = COMPOSITIONFORM { [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/monitor.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | rc: LPRECT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CFS_POINT` in this scope [INFO] [stdout] --> src/api/imm.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | dwStyle: CFS_POINT, [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/monitor.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImmSetCompositionWindow` in this scope [INFO] [stdout] --> src/api/imm.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 47 | fn ImmGetCompositionStringW(himc: HIMC, index: DWORD, lpbuf: LPVOID, buflen: DWORD) -> LONG; [INFO] [stdout] | -------------------------------------------------------------------------------------------- similarly named function `ImmGetCompositionStringW` defined here [INFO] [stdout] ... [INFO] [stdout] 121 | ImmSetCompositionWindow(self.himc, &mut form); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `ImmGetCompositionStringW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/api/imm.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | let pt = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CFS_CANDIDATEPOS` in this scope [INFO] [stdout] --> src/api/imm.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | dwStyle: CFS_CANDIDATEPOS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/monitor.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CFS_EXCLUDE` in this scope [INFO] [stdout] --> src/api/imm.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | dwStyle: CFS_EXCLUDE, [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/api/imm.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | rcArea: RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_composition_string(&self, index: DWORD) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | unsafe fn get_string(himc: HIMC, index: DWORD) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stdout] --> src/monitor.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe extern "system" fn get_monitors_proc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 29 | info.cbSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | unsafe fn get_string(himc: HIMC, index: DWORD) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:168:91 [INFO] [stdout] | [INFO] [stdout] 168 | ImmGetCompositionStringW(himc, index, buf.as_mut_ptr() as *mut _, byte_len as DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/monitor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | GetMonitorInfoW(hmonitor, &mut info); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | unsafe fn get_attrs(himc: HIMC) -> Option> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | byte_len as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITORINFOF_PRIMARY` in this scope [INFO] [stdout] --> src/monitor.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | is_primary: (info.dwFlags & MONITORINFOF_PRIMARY) != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:228:94 [INFO] [stdout] | [INFO] [stdout] 228 | let ret = ImmGetCandidateListW(self.himc, 0, buf.as_mut_ptr() as *mut _, size as DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:236:72 [INFO] [stdout] | [INFO] [stdout] 236 | std::slice::from_raw_parts(&obj.dwOffset as *const DWORD, obj.dwCount as usize); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/monitor.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImmReleaseContext` in this scope [INFO] [stdout] --> src/api/imm.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ------------------------------ similarly named function `ImmCreateContext` defined here [INFO] [stdout] ... [INFO] [stdout] 250 | ImmReleaseContext(self.hwnd, self.himc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `ImmCreateContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForMonitor` in this scope [INFO] [stdout] --> src/api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | GetDpiForMonitor( [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/monitor.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let len = GetSystemMetrics(SM_CMONITORS) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromPoint` in this scope [INFO] [stdout] --> src/api.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | MonitorFromPoint(POINT { x: pt.x, y: pt.y }, MONITOR_DEFAULTTOPRIMARY), [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/api.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | MonitorFromPoint(POINT { x: pt.x, y: pt.y }, MONITOR_DEFAULTTOPRIMARY), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTOPRIMARY` in this scope [INFO] [stdout] --> src/api.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | MonitorFromPoint(POINT { x: pt.x, y: pt.y }, MONITOR_DEFAULTTOPRIMARY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CMONITORS` in this scope [INFO] [stdout] --> src/monitor.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | let len = GetSystemMetrics(SM_CMONITORS) as usize; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MDT_DEFAULT` in this scope [INFO] [stdout] --> src/api.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | MDT_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | style: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stdout] --> src/monitor.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | EnumDisplayMonitors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | ex_style: DWORD, [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/api.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> RECT { [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/api.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let mut rc = RECT { [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/monitor.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | (&mut v) as *mut Vec as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRectExForDpi` in this scope [INFO] [stdout] --> src/api.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | AdjustWindowRectExForDpi(&mut rc, style, FALSE, ex_style, dpi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/api.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | AdjustWindowRectExForDpi(&mut rc, style, FALSE, ex_style, dpi); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromPoint` in this scope [INFO] [stdout] --> src/monitor.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let hmonitor = MonitorFromPoint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDpiAwarenessContext` in this scope [INFO] [stdout] --> src/api.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) == TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2` in this scope [INFO] [stdout] --> src/api.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) == TRUE { [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/monitor.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/api.rs:46:93 [INFO] [stdout] | [INFO] [stdout] 46 | if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDpiAwarenessContext` in this scope [INFO] [stdout] --> src/api.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | } else if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE) == TRUE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTONULL` in this scope [INFO] [stdout] --> src/monitor.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | MONITOR_DEFAULTTONULL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE` in this scope [INFO] [stdout] --> src/api.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | } else if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE) == TRUE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/api.rs:48:97 [INFO] [stdout] | [INFO] [stdout] 48 | } else if SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE) == TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDpiAwareness` in this scope [INFO] [stdout] --> src/api.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | } else if SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE) == S_OK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stdout] --> src/monitor.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn monitor_from_point(point: ScreenPosition) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 69 | info.cbSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_PER_MONITOR_DPI_AWARE` in this scope [INFO] [stdout] --> src/api.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | } else if SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE) == S_OK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/api.rs:51:80 [INFO] [stdout] | [INFO] [stdout] 51 | } else if SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE) == S_OK { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsGUIThread` in this scope [INFO] [stdout] --> src/api.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | IsGUIThread(TRUE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/monitor.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | GetMonitorInfoW(hmonitor, &mut info); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/api.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | IsGUIThread(TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITORINFOF_PRIMARY` in this scope [INFO] [stdout] --> src/monitor.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | is_primary: (info.dwFlags & MONITORINFOF_PRIMARY) != 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/context.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 32 | state: ContextState, [INFO] [stdout] 33 | window_table: Vec<(HWND, Window)>, [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/context.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn push_window(hwnd: HWND, wnd: Window) { [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/procedure.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn lparam_to_point(lparam: LPARAM) -> PhysicalPosition { [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/context.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn find_window(hwnd: HWND) -> Option { [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/context.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn remove_window(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_X_LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | PhysicalPosition::new(GET_X_LPARAM(lparam) as f32, GET_Y_LPARAM(lparam) as f32) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_Y_LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:20:56 [INFO] [stdout] | [INFO] [stdout] 20 | PhysicalPosition::new(GET_X_LPARAM(lparam) as f32, GET_Y_LPARAM(lparam) as f32) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/monitor.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | hmonitor: HMONITOR, [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/procedure.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn wparam_to_button(wparam: WPARAM) -> MouseButton { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/monitor.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | hmonitor: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_XBUTTON_WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | match GET_XBUTTON_WPARAM(wparam) { [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/procedure.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | fn update_buttons(buttons: &mut Vec, wparam: WPARAM) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/monitor.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | _: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_KEYSTATE_WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let values = GET_KEYSTATE_WPARAM(wparam) as usize; [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/monitor.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | rc: LPRECT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_LBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | if values & MK_LBUTTON != 0 { [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/monitor.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_RBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | if values & MK_RBUTTON != 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/monitor.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stdout] --> src/monitor.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe extern "system" fn get_monitors_proc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 29 | info.cbSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_MBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | if values & MK_MBUTTON != 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/monitor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | GetMonitorInfoW(hmonitor, &mut info); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_XBUTTON1` in this scope [INFO] [stdout] --> src/procedure.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | if values & MK_XBUTTON1 != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITORINFOF_PRIMARY` in this scope [INFO] [stdout] --> src/monitor.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | is_primary: (info.dwFlags & MONITORINFOF_PRIMARY) != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_XBUTTON2` in this scope [INFO] [stdout] --> src/procedure.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | if values & MK_XBUTTON2 != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/monitor.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | TRUE [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/procedure.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | wparam: WPARAM, [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/monitor.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let len = GetSystemMetrics(SM_CMONITORS) as usize; [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/procedure.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CMONITORS` in this scope [INFO] [stdout] --> src/monitor.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | let len = GetSystemMetrics(SM_CMONITORS) as usize; [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/procedure.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stdout] --> src/monitor.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | EnumDisplayMonitors( [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/procedure.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | fn as_virtual_key(wparam: WPARAM) -> VirtualKey { [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/monitor.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | (&mut v) as *mut Vec as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD0` in this scope [INFO] [stdout] --> src/procedure.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromPoint` in this scope [INFO] [stdout] --> src/monitor.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let hmonitor = MonitorFromPoint( [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/monitor.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD9` in this scope [INFO] [stdout] --> src/procedure.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTONULL` in this scope [INFO] [stdout] --> src/monitor.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | MONITOR_DEFAULTTONULL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD0` in this scope [INFO] [stdout] --> src/procedure.rs:103:64 [INFO] [stdout] | [INFO] [stdout] 103 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stdout] --> src/monitor.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn monitor_from_point(point: ScreenPosition) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 69 | info.cbSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> src/procedure.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | v @ VK_F1..=VK_F24 => VirtualKey::F((v - VK_F1 + 1) as u8), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/monitor.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | GetMonitorInfoW(hmonitor, &mut info); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F24` in this scope [INFO] [stdout] --> src/procedure.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | v @ VK_F1..=VK_F24 => VirtualKey::F((v - VK_F1 + 1) as u8), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITORINFOF_PRIMARY` in this scope [INFO] [stdout] --> src/monitor.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | is_primary: (info.dwFlags & MONITORINFOF_PRIMARY) != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> src/procedure.rs:109:50 [INFO] [stdout] | [INFO] [stdout] 109 | v @ VK_F1..=VK_F24 => VirtualKey::F((v - VK_F1 + 1) as u8), [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/monitor.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(monitors.len(), GetSystemMetrics(SM_CMONITORS) as usize); [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/procedure.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CMONITORS` in this scope [INFO] [stdout] --> src/monitor.rs:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(monitors.len(), GetSystemMetrics(SM_CMONITORS) as usize); [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/procedure.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn lparam_to_point(lparam: LPARAM) -> PhysicalPosition { [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/procedure.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_X_LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | PhysicalPosition::new(GET_X_LPARAM(lparam) as f32, GET_Y_LPARAM(lparam) as f32) [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/procedure.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_Y_LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:20:56 [INFO] [stdout] | [INFO] [stdout] 20 | PhysicalPosition::new(GET_X_LPARAM(lparam) as f32, GET_Y_LPARAM(lparam) as f32) [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/procedure.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | 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/procedure.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn wparam_to_button(wparam: WPARAM) -> MouseButton { [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/procedure.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_XBUTTON_WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | match GET_XBUTTON_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/procedure.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | lparam: LPARAM, [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/procedure.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | fn update_buttons(buttons: &mut Vec, wparam: WPARAM) { [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/procedure.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_KEYSTATE_WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let values = GET_KEYSTATE_WPARAM(wparam) as usize; [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/procedure.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | return DefWindowProcW(hwnd, msg, wparam, lparam); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_LBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | if values & MK_LBUTTON != 0 { [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/procedure.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | BeginPaint(hwnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_RBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | if values & MK_RBUTTON != 0 { [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/procedure.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | EndPaint(hwnd, &ps); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_MBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | if values & MK_MBUTTON != 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackMouseEvent` in this scope [INFO] [stdout] --> src/procedure.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | TrackMouseEvent(&mut TRACKMOUSEEVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_XBUTTON1` in this scope [INFO] [stdout] --> src/procedure.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | if values & MK_XBUTTON1 != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/procedure.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 156 | TrackMouseEvent(&mut TRACKMOUSEEVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_XBUTTON2` in this scope [INFO] [stdout] --> src/procedure.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | if values & MK_XBUTTON2 != 0 { [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/procedure.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/procedure.rs:157:57 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) unsafe extern "system" fn window_proc( [INFO] [stdout] | - help: you might be missing a type parameter: `, TRACKMOUSEEVENT` [INFO] [stdout] ... [INFO] [stdout] 157 | cbSize: std::mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:157:79 [INFO] [stdout] | [INFO] [stdout] 157 | ... cbSize: std::mem::size_of::() as DWORD, [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/procedure.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stdout] --> src/procedure.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | ... dwFlags: TME_LEAVE, [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/procedure.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> LRESULT { [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/procedure.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | GetCursorPos(&mut pos); [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/procedure.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | fn as_virtual_key(wparam: WPARAM) -> VirtualKey { [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/procedure.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD0` in this scope [INFO] [stdout] --> src/procedure.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [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/procedure.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD9` in this scope [INFO] [stdout] --> src/procedure.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [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/procedure.rs:299:48 [INFO] [stdout] | [INFO] [stdout] 299 | if lparam & GCS_COMPSTR as LPARAM != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD0` in this scope [INFO] [stdout] --> src/procedure.rs:103:64 [INFO] [stdout] | [INFO] [stdout] 103 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [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/procedure.rs:314:50 [INFO] [stdout] | [INFO] [stdout] 314 | if lparam & GCS_RESULTSTR as LPARAM != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> src/procedure.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | v @ VK_F1..=VK_F24 => VirtualKey::F((v - VK_F1 + 1) as u8), [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/procedure.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F24` in this scope [INFO] [stdout] --> src/procedure.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | v @ VK_F1..=VK_F24 => VirtualKey::F((v - VK_F1 + 1) as u8), [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/procedure.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> src/procedure.rs:109:50 [INFO] [stdout] | [INFO] [stdout] 109 | v @ VK_F1..=VK_F24 => VirtualKey::F((v - VK_F1 + 1) as u8), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WA_ACTIVE` in this scope [INFO] [stdout] --> src/procedure.rs:350:30 [INFO] [stdout] | [INFO] [stdout] 350 | if (wparam & WA_ACTIVE as WPARAM) != 0 || (wparam & WA_CLICKACTIVE as WPARAM) != 0 { [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `WM_ACTIVATE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | wparam: WPARAM, [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/procedure.rs:350:43 [INFO] [stdout] | [INFO] [stdout] 350 | if (wparam & WA_ACTIVE as WPARAM) != 0 || (wparam & WA_CLICKACTIVE as WPARAM) != 0 { [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/procedure.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WA_CLICKACTIVE` in this scope [INFO] [stdout] --> src/procedure.rs:350:69 [INFO] [stdout] | [INFO] [stdout] 350 | if (wparam & WA_ACTIVE as WPARAM) != 0 || (wparam & WA_CLICKACTIVE as WPARAM) != 0 { [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/procedure.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:350:87 [INFO] [stdout] | [INFO] [stdout] 350 | if (wparam & WA_ACTIVE as WPARAM) != 0 || (wparam & WA_CLICKACTIVE as WPARAM) != 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/procedure.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | let value = lparam as DWORD; [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/procedure.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/procedure.rs:359:46 [INFO] [stdout] | [INFO] [stdout] 359 | let size = PhysicalSize::new(LOWORD(value) as f32, HIWORD(value) as f32); [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/procedure.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/procedure.rs:359:68 [INFO] [stdout] | [INFO] [stdout] 359 | let size = PhysicalSize::new(LOWORD(value) as f32, HIWORD(value) as f32); [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/procedure.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWPOS` in this scope [INFO] [stdout] --> src/procedure.rs:370:47 [INFO] [stdout] | [INFO] [stdout] 370 | let pos = &*(lparam as *const WINDOWPOS); [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/procedure.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | ) -> LRESULT { [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/procedure.rs:371:32 [INFO] [stdout] | [INFO] [stdout] 371 | if pos.flags & SWP_NOMOVE == 0 { [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/procedure.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | return DefWindowProcW(hwnd, msg, wparam, lparam); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/procedure.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> src/procedure.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | EndPaint(hwnd, &ps); [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/procedure.rs:389:45 [INFO] [stdout] | [INFO] [stdout] 389 | let rc = *(lparam as *const RECT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackMouseEvent` in this scope [INFO] [stdout] --> src/procedure.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | TrackMouseEvent(&mut TRACKMOUSEEVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/procedure.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 156 | TrackMouseEvent(&mut TRACKMOUSEEVENT { [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/procedure.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | SWP_NOZORDER | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/procedure.rs:157:57 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) unsafe extern "system" fn window_proc( [INFO] [stdout] | - help: you might be missing a type parameter: `, TRACKMOUSEEVENT` [INFO] [stdout] ... [INFO] [stdout] 157 | cbSize: std::mem::size_of::() as DWORD, [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/procedure.rs:397:36 [INFO] [stdout] | [INFO] [stdout] 397 | SWP_NOZORDER | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:157:79 [INFO] [stdout] | [INFO] [stdout] 157 | ... cbSize: std::mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:403:32 [INFO] [stdout] | [INFO] [stdout] 403 | let prev_dpi = GetDpiForWindow(hwnd) as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stdout] --> src/procedure.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | ... dwFlags: TME_LEAVE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/procedure.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 406 | GetClientRect(hwnd, &mut rc); [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/procedure.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | GetCursorPos(&mut pos); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | GetWindowLongPtrW(hwnd, GWL_STYLE) as DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/procedure.rs:413:45 [INFO] [stdout] | [INFO] [stdout] 413 | GetWindowLongPtrW(hwnd, GWL_STYLE) as DWORD, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:413:59 [INFO] [stdout] | [INFO] [stdout] 413 | GetWindowLongPtrW(hwnd, GWL_STYLE) as DWORD, [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/procedure.rs:299:48 [INFO] [stdout] | [INFO] [stdout] 299 | if lparam & GCS_COMPSTR as LPARAM != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> src/procedure.rs:414:45 [INFO] [stdout] | [INFO] [stdout] 414 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as DWORD, [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/procedure.rs:314:50 [INFO] [stdout] | [INFO] [stdout] 314 | if lparam & GCS_RESULTSTR as LPARAM != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:414:61 [INFO] [stdout] | [INFO] [stdout] 414 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE` in this scope [INFO] [stdout] --> src/procedure.rs:417:47 [INFO] [stdout] | [INFO] [stdout] 417 | let mut ret = (lparam as *mut SIZE).as_mut().unwrap(); [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/procedure.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/procedure.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | TRUE as LRESULT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WA_ACTIVE` in this scope [INFO] [stdout] --> src/procedure.rs:350:30 [INFO] [stdout] | [INFO] [stdout] 350 | if (wparam & WA_ACTIVE as WPARAM) != 0 || (wparam & WA_CLICKACTIVE as WPARAM) != 0 { [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `WM_ACTIVATE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/procedure.rs:420:25 [INFO] [stdout] | [INFO] [stdout] 420 | TRUE as LRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:350:43 [INFO] [stdout] | [INFO] [stdout] 350 | if (wparam & WA_ACTIVE as WPARAM) != 0 || (wparam & WA_CLICKACTIVE as WPARAM) != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDROP` in this scope [INFO] [stdout] --> src/procedure.rs:423:39 [INFO] [stdout] | [INFO] [stdout] 423 | let hdrop = wparam as HDROP; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WA_CLICKACTIVE` in this scope [INFO] [stdout] --> src/procedure.rs:350:69 [INFO] [stdout] | [INFO] [stdout] 350 | if (wparam & WA_ACTIVE as WPARAM) != 0 || (wparam & WA_CLICKACTIVE as WPARAM) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:424:34 [INFO] [stdout] | [INFO] [stdout] 424 | let file_count = DragQueryFileW(hdrop, UINT::MAX, std::ptr::null_mut(), 0); [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/procedure.rs:350:87 [INFO] [stdout] | [INFO] [stdout] 350 | if (wparam & WA_ACTIVE as WPARAM) != 0 || (wparam & WA_CLICKACTIVE as WPARAM) != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:428:35 [INFO] [stdout] | [INFO] [stdout] 428 | let len = DragQueryFileW(hdrop, i, std::ptr::null_mut(), 0) as usize + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | let value = lparam as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:430:25 [INFO] [stdout] | [INFO] [stdout] 430 | DragQueryFileW(hdrop, i, buffer.as_mut_ptr(), len as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryPoint` in this scope [INFO] [stdout] --> src/procedure.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | DragQueryPoint(hdrop, &mut pt); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/procedure.rs:359:46 [INFO] [stdout] | [INFO] [stdout] 359 | let size = PhysicalSize::new(LOWORD(value) as f32, HIWORD(value) as f32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragFinish` in this scope [INFO] [stdout] --> src/procedure.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | DragFinish(hdrop); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/procedure.rs:359:68 [INFO] [stdout] | [INFO] [stdout] 359 | let size = PhysicalSize::new(LOWORD(value) as f32, HIWORD(value) as f32); [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/procedure.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWPOS` in this scope [INFO] [stdout] --> src/procedure.rs:370:47 [INFO] [stdout] | [INFO] [stdout] 370 | let pos = &*(lparam as *const WINDOWPOS); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnableNonClientDpiScaling` in this scope [INFO] [stdout] --> src/procedure.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | EnableNonClientDpiScaling(hwnd); [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/procedure.rs:371:32 [INFO] [stdout] | [INFO] [stdout] 371 | if pos.flags & SWP_NOMOVE == 0 { [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/procedure.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextW` in this scope [INFO] [stdout] --> src/procedure.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | SetWindowTextW(hwnd, s.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/procedure.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | SetWindowPos( [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/procedure.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:492:29 [INFO] [stdout] | [INFO] [stdout] 492 | ... SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE, [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/procedure.rs:389:45 [INFO] [stdout] | [INFO] [stdout] 389 | let rc = *(lparam as *const RECT); [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/procedure.rs:492:44 [INFO] [stdout] | [INFO] [stdout] 492 | ... SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE, [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/procedure.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | SetWindowPos( [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/procedure.rs:492:57 [INFO] [stdout] | [INFO] [stdout] 492 | ... SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | SWP_NOZORDER | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:499:29 [INFO] [stdout] | [INFO] [stdout] 499 | ... GetWindowLongPtrW(hwnd, GWL_STYLE) as u32, [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/procedure.rs:397:36 [INFO] [stdout] | [INFO] [stdout] 397 | SWP_NOZORDER | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/procedure.rs:499:53 [INFO] [stdout] | [INFO] [stdout] 499 | ... GetWindowLongPtrW(hwnd, GWL_STYLE) as u32, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:403:32 [INFO] [stdout] | [INFO] [stdout] 403 | let prev_dpi = GetDpiForWindow(hwnd) as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:500:29 [INFO] [stdout] | [INFO] [stdout] 500 | ... GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> src/procedure.rs:500:53 [INFO] [stdout] | [INFO] [stdout] 500 | ... GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/procedure.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 406 | GetClientRect(hwnd, &mut rc); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:501:29 [INFO] [stdout] | [INFO] [stdout] 501 | ... GetDpiForWindow(hwnd), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | GetWindowLongPtrW(hwnd, GWL_STYLE) as DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/procedure.rs:503:25 [INFO] [stdout] | [INFO] [stdout] 503 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/procedure.rs:413:45 [INFO] [stdout] | [INFO] [stdout] 413 | GetWindowLongPtrW(hwnd, GWL_STYLE) as DWORD, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:510:29 [INFO] [stdout] | [INFO] [stdout] 510 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:413:59 [INFO] [stdout] | [INFO] [stdout] 413 | GetWindowLongPtrW(hwnd, GWL_STYLE) as DWORD, [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/procedure.rs:510:44 [INFO] [stdout] | [INFO] [stdout] 510 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as DWORD, [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/procedure.rs:510:57 [INFO] [stdout] | [INFO] [stdout] 510 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> src/procedure.rs:414:45 [INFO] [stdout] | [INFO] [stdout] 414 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as DWORD, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:530:29 [INFO] [stdout] | [INFO] [stdout] 530 | ... GetDpiForWindow(hwnd), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:532:25 [INFO] [stdout] | [INFO] [stdout] 532 | SetWindowLongPtrW(hwnd, GWL_STYLE, style as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:414:61 [INFO] [stdout] | [INFO] [stdout] 414 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/procedure.rs:532:49 [INFO] [stdout] | [INFO] [stdout] 532 | SetWindowLongPtrW(hwnd, GWL_STYLE, style as isize); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE` in this scope [INFO] [stdout] --> src/procedure.rs:417:47 [INFO] [stdout] | [INFO] [stdout] 417 | let mut ret = (lparam as *mut SIZE).as_mut().unwrap(); [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/procedure.rs:533:25 [INFO] [stdout] | [INFO] [stdout] 533 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/procedure.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | TRUE as LRESULT [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/procedure.rs:540:29 [INFO] [stdout] | [INFO] [stdout] 540 | ... SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED, [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/procedure.rs:420:25 [INFO] [stdout] | [INFO] [stdout] 420 | TRUE as LRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:540:42 [INFO] [stdout] | [INFO] [stdout] 540 | ... SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDROP` in this scope [INFO] [stdout] --> src/procedure.rs:423:39 [INFO] [stdout] | [INFO] [stdout] 423 | let hdrop = wparam as HDROP; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_FRAMECHANGED` in this scope [INFO] [stdout] --> src/procedure.rs:540:57 [INFO] [stdout] | [INFO] [stdout] 540 | ... SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:424:34 [INFO] [stdout] | [INFO] [stdout] 424 | let file_count = DragQueryFileW(hdrop, UINT::MAX, std::ptr::null_mut(), 0); [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/procedure.rs:542:25 [INFO] [stdout] | [INFO] [stdout] 542 | ShowWindow(hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:428:35 [INFO] [stdout] | [INFO] [stdout] 428 | let len = DragQueryFileW(hdrop, i, std::ptr::null_mut(), 0) as usize + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/procedure.rs:542:42 [INFO] [stdout] | [INFO] [stdout] 542 | ShowWindow(hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:430:25 [INFO] [stdout] | [INFO] [stdout] 430 | DragQueryFileW(hdrop, i, buffer.as_mut_ptr(), len as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragAcceptFiles` in this scope [INFO] [stdout] --> src/procedure.rs:545:25 [INFO] [stdout] | [INFO] [stdout] 545 | DragAcceptFiles(hwnd, lparam as i32); [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/procedure.rs:551:18 [INFO] [stdout] | [INFO] [stdout] 551 | _ => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryPoint` in this scope [INFO] [stdout] --> src/procedure.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | DragQueryPoint(hdrop, &mut pt); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragFinish` in this scope [INFO] [stdout] --> src/procedure.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | DragFinish(hdrop); [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:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct WindowHandle(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/procedure.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn value(&self) -> DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnableNonClientDpiScaling` in this scope [INFO] [stdout] --> src/procedure.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | EnableNonClientDpiScaling(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | self.value() == WS_POPUP [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/procedure.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | fn value(&self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextW` in this scope [INFO] [stdout] --> src/procedure.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | SetWindowTextW(hwnd, s.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | WS_POPUP [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/procedure.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct WindowStyle(DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:492:29 [INFO] [stdout] | [INFO] [stdout] 492 | ... SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> src/window.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | WS_OVERLAPPED [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/procedure.rs:492:44 [INFO] [stdout] | [INFO] [stdout] 492 | ... SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/window.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | | WS_CAPTION [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/procedure.rs:492:57 [INFO] [stdout] | [INFO] [stdout] 492 | ... SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/window.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | | WS_SYSMENU [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:499:29 [INFO] [stdout] | [INFO] [stdout] 499 | ... GetWindowLongPtrW(hwnd, GWL_STYLE) as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/window.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | | WS_THICKFRAME [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | | WS_MINIMIZEBOX [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | | WS_MAXIMIZEBOX, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/window.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | self.0 |= WS_THICKFRAME; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/window.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | self.0 &= !WS_THICKFRAME; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | self.0 |= WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | self.0 &= !WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | self.0 |= WS_MAXIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/procedure.rs:499:53 [INFO] [stdout] | [INFO] [stdout] 499 | ... GetWindowLongPtrW(hwnd, GWL_STYLE) as u32, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | self.0 &= !WS_MAXIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | self.value() == WS_POPUP [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:500:29 [INFO] [stdout] | [INFO] [stdout] 500 | ... GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | fn value(&self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> src/procedure.rs:500:53 [INFO] [stdout] | [INFO] [stdout] 500 | ... GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | style: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | let wc = WNDCLASSEXW { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:501:29 [INFO] [stdout] | [INFO] [stdout] 501 | ... GetDpiForWindow(hwnd), [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/procedure.rs:503:25 [INFO] [stdout] | [INFO] [stdout] 503 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window.rs:233:41 [INFO] [stdout] | [INFO] [stdout] 229 | pub(crate) fn register_class() { [INFO] [stdout] | - help: you might be missing a type parameter: `, WNDCLASSEXW` [INFO] [stdout] ... [INFO] [stdout] 233 | cbSize: std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:510:29 [INFO] [stdout] | [INFO] [stdout] 510 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [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/window.rs:233:59 [INFO] [stdout] | [INFO] [stdout] 233 | cbSize: std::mem::size_of::() as UINT, [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/procedure.rs:510:44 [INFO] [stdout] | [INFO] [stdout] 510 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [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:234:20 [INFO] [stdout] | [INFO] [stdout] 234 | style: CS_VREDRAW | CS_HREDRAW, [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/procedure.rs:510:57 [INFO] [stdout] | [INFO] [stdout] 510 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [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:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | style: CS_VREDRAW | CS_HREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:530:29 [INFO] [stdout] | [INFO] [stdout] 530 | ... GetDpiForWindow(hwnd), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | hInstance: GetModuleHandleW(std::ptr::null_mut()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:532:25 [INFO] [stdout] | [INFO] [stdout] 532 | SetWindowLongPtrW(hwnd, GWL_STYLE, style as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/window.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/procedure.rs:532:49 [INFO] [stdout] | [INFO] [stdout] 532 | SetWindowLongPtrW(hwnd, GWL_STYLE, style as isize); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/window.rs:240:56 [INFO] [stdout] | [INFO] [stdout] 240 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [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/procedure.rs:533:25 [INFO] [stdout] | [INFO] [stdout] 533 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in this scope [INFO] [stdout] --> src/window.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | hbrBackground: GetStockObject(WHITE_BRUSH as i32) as HBRUSH, [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/procedure.rs:540:29 [INFO] [stdout] | [INFO] [stdout] 540 | ... SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE_BRUSH` in this scope [INFO] [stdout] --> src/window.rs:241:43 [INFO] [stdout] | [INFO] [stdout] 241 | hbrBackground: GetStockObject(WHITE_BRUSH as i32) as HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/window.rs:241:66 [INFO] [stdout] | [INFO] [stdout] 241 | hbrBackground: GetStockObject(WHITE_BRUSH as i32) as HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:540:42 [INFO] [stdout] | [INFO] [stdout] 540 | ... SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | if RegisterClassExW(&wc) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_FRAMECHANGED` in this scope [INFO] [stdout] --> src/procedure.rs:540:57 [INFO] [stdout] | [INFO] [stdout] 540 | ... SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/window.rs:268:53 [INFO] [stdout] | [INFO] [stdout] 268 | let rc = adjust_window_rect(inner_size, WS_OVERLAPPEDWINDOW, 0, dpi); [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/procedure.rs:542:25 [INFO] [stdout] | [INFO] [stdout] 542 | ShowWindow(hwnd, SW_SHOW); [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:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/procedure.rs:542:42 [INFO] [stdout] | [INFO] [stdout] 542 | ShowWindow(hwnd, SW_SHOW); [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:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | GetModuleHandleW(std::ptr::null_mut()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragAcceptFiles` in this scope [INFO] [stdout] --> src/procedure.rs:545:25 [INFO] [stdout] | [INFO] [stdout] 545 | DragAcceptFiles(hwnd, lparam as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragAcceptFiles` in this scope [INFO] [stdout] --> src/window.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | DragAcceptFiles(hwnd, TRUE); [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/procedure.rs:551:18 [INFO] [stdout] | [INFO] [stdout] 551 | _ => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:309:39 [INFO] [stdout] | [INFO] [stdout] 309 | DragAcceptFiles(hwnd, TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct WindowHandle(HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 319 | pub style: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn value(&self) -> DWORD; [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:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | pub(crate) fn new(hwnd: HWND, state: WindowState) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | self.value() == WS_POPUP [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetTitle as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | fn value(&self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:354:39 [INFO] [stdout] | [INFO] [stdout] 354 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetTitle as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | WS_POPUP [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:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | GetWindowRect(self.hwnd.0, &mut rc); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct WindowStyle(DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetPosition as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> src/window.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | WS_OVERLAPPED [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:370:39 [INFO] [stdout] | [INFO] [stdout] 370 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetPosition as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/window.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | | WS_CAPTION [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/window.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | GetClientRect(self.hwnd.0, &mut rc); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/window.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | | WS_SYSMENU [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetInnerSize as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/window.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | | WS_THICKFRAME [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:386:39 [INFO] [stdout] | [INFO] [stdout] 386 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetInnerSize as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | | WS_MINIMIZEBOX [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/window.rs:391:18 [INFO] [stdout] | [INFO] [stdout] 391 | unsafe { GetDpiForWindow(self.hwnd.0) as f32 / DEFAULT_DPI } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | | WS_MAXIMIZEBOX, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | ShowWindowAsync(self.hwnd.0, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/window.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | self.0 |= WS_THICKFRAME; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/window.rs:396:42 [INFO] [stdout] | [INFO] [stdout] 396 | ShowWindowAsync(self.hwnd.0, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/window.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | self.0 &= !WS_THICKFRAME; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | ShowWindowAsync(self.hwnd.0, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | self.0 |= WS_MINIMIZEBOX; [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:402:42 [INFO] [stdout] | [INFO] [stdout] 402 | ShowWindowAsync(self.hwnd.0, SW_HIDE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | self.0 &= !WS_MINIMIZEBOX; [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:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | InvalidateRect(self.hwnd.0, std::ptr::null_mut(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | self.0 |= WS_MAXIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:408:63 [INFO] [stdout] | [INFO] [stdout] 408 | InvalidateRect(self.hwnd.0, std::ptr::null_mut(), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | PostMessageW(self.hwnd.0, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | self.0 &= !WS_MAXIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/window.rs:420:43 [INFO] [stdout] | [INFO] [stdout] 420 | PostMessageW(self.hwnd.0, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | self.value() == WS_POPUP [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::EnableIme as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | fn value(&self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:439:39 [INFO] [stdout] | [INFO] [stdout] 439 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::EnableIme as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | style: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::DisableIme as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | let wc = WNDCLASSEXW { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:445:39 [INFO] [stdout] | [INFO] [stdout] 445 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::DisableIme as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window.rs:233:41 [INFO] [stdout] | [INFO] [stdout] 229 | pub(crate) fn register_class() { [INFO] [stdout] | - help: you might be missing a type parameter: `, WNDCLASSEXW` [INFO] [stdout] ... [INFO] [stdout] 233 | cbSize: std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:458:36 [INFO] [stdout] | [INFO] [stdout] 458 | WindowStyle(state.style as DWORD) [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/window.rs:233:59 [INFO] [stdout] | [INFO] [stdout] 233 | cbSize: std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetStyle as usize, 0); [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:234:20 [INFO] [stdout] | [INFO] [stdout] 234 | style: CS_VREDRAW | CS_HREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:465:39 [INFO] [stdout] | [INFO] [stdout] 465 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetStyle as usize, 0); [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:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | style: CS_VREDRAW | CS_HREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | PostMessageW( [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:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | hInstance: GetModuleHandleW(std::ptr::null_mut()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | WM_USER, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/window.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:475:31 [INFO] [stdout] | [INFO] [stdout] 475 | (if enabled { TRUE } else { FALSE }) as LPARAM, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/window.rs:240:56 [INFO] [stdout] | [INFO] [stdout] 240 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:475:45 [INFO] [stdout] | [INFO] [stdout] 475 | (if enabled { TRUE } else { FALSE }) as LPARAM, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in this scope [INFO] [stdout] --> src/window.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | hbrBackground: GetStockObject(WHITE_BRUSH as i32) as HBRUSH, [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/window.rs:475:57 [INFO] [stdout] | [INFO] [stdout] 475 | (if enabled { TRUE } else { FALSE }) as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE_BRUSH` in this scope [INFO] [stdout] --> src/window.rs:241:43 [INFO] [stdout] | [INFO] [stdout] 241 | hbrBackground: GetStockObject(WHITE_BRUSH as i32) as HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/lib.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | while msg.message != WM_QUIT { [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/lib.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | if PeekMessageW(&mut msg, null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/lib.rs:105:61 [INFO] [stdout] | [INFO] [stdout] 105 | if PeekMessageW(&mut msg, null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/window.rs:241:66 [INFO] [stdout] | [INFO] [stdout] 241 | hbrBackground: GetStockObject(WHITE_BRUSH as i32) as HBRUSH, [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/lib.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | TranslateMessage(&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/lib.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | if RegisterClassExW(&wc) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/lib.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | let ret = GetMessageW(&mut msg, null_mut(), 0, 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/lib.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | TranslateMessage(&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/lib.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/window.rs:268:53 [INFO] [stdout] | [INFO] [stdout] 268 | let rc = adjust_window_rect(inner_size, WS_OVERLAPPEDWINDOW, 0, dpi); [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:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | let hwnd = CreateWindowExW( [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:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | GetModuleHandleW(std::ptr::null_mut()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragAcceptFiles` in this scope [INFO] [stdout] --> src/window.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | DragAcceptFiles(hwnd, TRUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:309:39 [INFO] [stdout] | [INFO] [stdout] 309 | DragAcceptFiles(hwnd, TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 319 | pub style: DWORD, [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:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | pub(crate) fn new(hwnd: HWND, state: WindowState) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetTitle as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:354:39 [INFO] [stdout] | [INFO] [stdout] 354 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetTitle as usize, 0); [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:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | GetWindowRect(self.hwnd.0, &mut rc); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetPosition as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:370:39 [INFO] [stdout] | [INFO] [stdout] 370 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetPosition as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/window.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | GetClientRect(self.hwnd.0, &mut rc); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetInnerSize as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:386:39 [INFO] [stdout] | [INFO] [stdout] 386 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetInnerSize as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/window.rs:391:18 [INFO] [stdout] | [INFO] [stdout] 391 | unsafe { GetDpiForWindow(self.hwnd.0) as f32 / DEFAULT_DPI } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | ShowWindowAsync(self.hwnd.0, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/window.rs:396:42 [INFO] [stdout] | [INFO] [stdout] 396 | ShowWindowAsync(self.hwnd.0, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | ShowWindowAsync(self.hwnd.0, SW_HIDE); [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:402:42 [INFO] [stdout] | [INFO] [stdout] 402 | ShowWindowAsync(self.hwnd.0, 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 `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | InvalidateRect(self.hwnd.0, std::ptr::null_mut(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:408:63 [INFO] [stdout] | [INFO] [stdout] 408 | InvalidateRect(self.hwnd.0, std::ptr::null_mut(), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | PostMessageW(self.hwnd.0, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/window.rs:420:43 [INFO] [stdout] | [INFO] [stdout] 420 | PostMessageW(self.hwnd.0, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::EnableIme as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:439:39 [INFO] [stdout] | [INFO] [stdout] 439 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::EnableIme as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::DisableIme as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:445:39 [INFO] [stdout] | [INFO] [stdout] 445 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::DisableIme as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:458:36 [INFO] [stdout] | [INFO] [stdout] 458 | WindowStyle(state.style as DWORD) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetStyle as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:465:39 [INFO] [stdout] | [INFO] [stdout] 465 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetStyle as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | PostMessageW( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | WM_USER, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:475:31 [INFO] [stdout] | [INFO] [stdout] 475 | (if enabled { TRUE } else { FALSE }) as LPARAM, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:475:45 [INFO] [stdout] | [INFO] [stdout] 475 | (if enabled { TRUE } else { FALSE }) as LPARAM, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:475:57 [INFO] [stdout] | [INFO] [stdout] 475 | (if enabled { TRUE } else { FALSE }) as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/lib.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | while msg.message != WM_QUIT { [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/lib.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | if PeekMessageW(&mut msg, null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/lib.rs:105:61 [INFO] [stdout] | [INFO] [stdout] 105 | if PeekMessageW(&mut msg, null_mut(), 0, 0, PM_REMOVE) != 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/lib.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | TranslateMessage(&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/lib.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/lib.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | let ret = GetMessageW(&mut msg, null_mut(), 0, 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/lib.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | TranslateMessage(&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/lib.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/context.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | window_table: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/context.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | window_table: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 315 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wita` [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] [stdout] error: aborting due to 317 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a6ab1c903531d1ca3253b0404b99dbebfafe3a5a01369c47d7c447e9c1f3e44c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6ab1c903531d1ca3253b0404b99dbebfafe3a5a01369c47d7c447e9c1f3e44c", kill_on_drop: false }` [INFO] [stdout] a6ab1c903531d1ca3253b0404b99dbebfafe3a5a01369c47d7c447e9c1f3e44c