[INFO] fetching crate wita 0.3.1... [INFO] checking wita-0.3.1 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate wita 0.3.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate wita 0.3.1 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wita 0.3.1 [INFO] finished tweaking crates.io crate wita 0.3.1 [INFO] tweaked toml for crates.io crate wita 0.3.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate wita 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d24e0fb2e476e41c3f00bfb4f1f8631e415f3f7d00363573a54e2bad6ec898ab [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" "d24e0fb2e476e41c3f00bfb4f1f8631e415f3f7d00363573a54e2bad6ec898ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d24e0fb2e476e41c3f00bfb4f1f8631e415f3f7d00363573a54e2bad6ec898ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d24e0fb2e476e41c3f00bfb4f1f8631e415f3f7d00363573a54e2bad6ec898ab", kill_on_drop: false }` [INFO] [stdout] d24e0fb2e476e41c3f00bfb4f1f8631e415f3f7d00363573a54e2bad6ec898ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68676e8aaf66f51f4597c5903e172b54b0e26374478dc0b02d721db3e90c372f [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" "68676e8aaf66f51f4597c5903e172b54b0e26374478dc0b02d721db3e90c372f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking wita v0.3.1 (/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 `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 `um` in `winapi` [INFO] [stdout] --> src/device.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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::DEFAULT_DPI`, `crate::ime`, `crate::DEFAULT_DPI` [INFO] [stdout] --> src/api/imm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ime; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/geometry.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::DEFAULT_DPI; [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] ::: src/window.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::DEFAULT_DPI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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 `um` in `winapi` [INFO] [stdout] --> src/device.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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::DEFAULT_DPI`, `crate::ime`, `crate::DEFAULT_DPI` [INFO] [stdout] --> src/api/imm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ime; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/geometry.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::DEFAULT_DPI; [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] ::: src/window.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::DEFAULT_DPI; [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: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: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 `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:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | 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:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | 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 `PAINTSTRUCT` [INFO] [stdout] --> src/procedure.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | 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:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | 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:365:30 [INFO] [stdout] | [INFO] [stdout] 365 | 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:384:56 [INFO] [stdout] | [INFO] [stdout] 384 | 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:396:30 [INFO] [stdout] | [INFO] [stdout] 396 | 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/procedure.rs:365:30 [INFO] [stdout] | [INFO] [stdout] 365 | 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:384:56 [INFO] [stdout] | [INFO] [stdout] 384 | 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:396:30 [INFO] [stdout] | [INFO] [stdout] 396 | 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:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | 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:379:26 [INFO] [stdout] | [INFO] [stdout] 379 | 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:518:26 [INFO] [stdout] | [INFO] [stdout] 518 | 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:534:26 [INFO] [stdout] | [INFO] [stdout] 534 | 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:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | 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[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/window.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | let mut rc = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [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[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[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 `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 `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[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[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 `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[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 `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[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 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 `HWND` in this scope [INFO] [stdout] --> src/context.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 30 | state: ContextState, [INFO] [stdout] 31 | 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:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | 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 `HWND` in this scope [INFO] [stdout] --> src/context.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | 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:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn remove_window(hwnd: HWND) { [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/device.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | 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 `VK_NUMPAD9` in this scope [INFO] [stdout] --> src/device.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | 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 `VK_NUMPAD0` in this scope [INFO] [stdout] --> src/device.rs:117:64 [INFO] [stdout] | [INFO] [stdout] 117 | 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 `VK_F1` in this scope [INFO] [stdout] --> src/device.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | 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 `VK_F24` in this scope [INFO] [stdout] --> src/device.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | 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 `VK_F1` in this scope [INFO] [stdout] --> src/device.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | 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 `GetKeyboardState` in this scope [INFO] [stdout] --> src/device.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | GetKeyboardState(ks.as_mut_ptr()); [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 `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 `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[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[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[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 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 `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 `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 `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[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/window.rs:379:26 [INFO] [stdout] | [INFO] [stdout] 379 | let mut rc = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [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 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 `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 `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 `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[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 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 `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 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[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: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[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 i32, GET_Y_LPARAM(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 `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 i32, GET_Y_LPARAM(lparam) as i32) [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[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[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 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 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 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 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 `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 `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[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[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | 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:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/procedure.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> LRESULT { [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:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/procedure.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | 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:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | 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:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/procedure.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | ) -> LRESULT { [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:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | 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 `BeginPaint` in this scope [INFO] [stdout] --> src/procedure.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | 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 `EndPaint` in this scope [INFO] [stdout] --> src/procedure.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | EndPaint(hwnd, &ps); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackMouseEvent` in this scope [INFO] [stdout] --> src/procedure.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | 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:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | TrackMouseEvent(&mut TRACKMOUSEEVENT { [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:117:57 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) unsafe extern "system" fn window_proc( [INFO] [stdout] | - help: you might be missing a type parameter: `, TRACKMOUSEEVENT` [INFO] [stdout] ... [INFO] [stdout] 117 | 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:117:79 [INFO] [stdout] | [INFO] [stdout] 117 | ... 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 `TME_LEAVE` in this scope [INFO] [stdout] --> src/procedure.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | ... 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 `GetCursorPos` in this scope [INFO] [stdout] --> src/procedure.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | 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:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | DefWindowProcW(hwnd, msg, wparam, 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:259:48 [INFO] [stdout] | [INFO] [stdout] 259 | if lparam & GCS_COMPSTR as LPARAM != 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:274:50 [INFO] [stdout] | [INFO] [stdout] 274 | if lparam & GCS_RESULTSTR 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | 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:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | DefWindowProcW(hwnd, msg, wparam, lparam) [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:310:30 [INFO] [stdout] | [INFO] [stdout] 310 | 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:310:43 [INFO] [stdout] | [INFO] [stdout] 310 | 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 value `WA_CLICKACTIVE` in this scope [INFO] [stdout] --> src/procedure.rs:310:69 [INFO] [stdout] | [INFO] [stdout] 310 | 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 `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:310:87 [INFO] [stdout] | [INFO] [stdout] 310 | 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 `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:318:39 [INFO] [stdout] | [INFO] [stdout] 318 | 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 `LOWORD` in this scope [INFO] [stdout] --> src/procedure.rs:319:46 [INFO] [stdout] | [INFO] [stdout] 319 | let size = PhysicalSize::new(LOWORD(value) as u32, HIWORD(value) 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 `HIWORD` in this scope [INFO] [stdout] --> src/procedure.rs:319:68 [INFO] [stdout] | [INFO] [stdout] 319 | let size = PhysicalSize::new(LOWORD(value) as u32, HIWORD(value) as u32); [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:330:47 [INFO] [stdout] | [INFO] [stdout] 330 | let pos = &*(lparam as *const WINDOWPOS); [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:331:32 [INFO] [stdout] | [INFO] [stdout] 331 | 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:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | 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:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | 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:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | DefWindowProcW(hwnd, msg, wparam, lparam) [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:349:45 [INFO] [stdout] | [INFO] [stdout] 349 | 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 `SetWindowPos` in this scope [INFO] [stdout] --> src/procedure.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | 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:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | SWP_NOZORDER | SWP_NOACTIVATE, [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:357:36 [INFO] [stdout] | [INFO] [stdout] 357 | 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 `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 363 | 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 `GetClientRect` in this scope [INFO] [stdout] --> src/procedure.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | GetWindowLongPtrW(hwnd, GWL_STYLE) 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:373:45 [INFO] [stdout] | [INFO] [stdout] 373 | GetWindowLongPtrW(hwnd, GWL_STYLE) 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:373:59 [INFO] [stdout] | [INFO] [stdout] 373 | 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | 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:374:45 [INFO] [stdout] | [INFO] [stdout] 374 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) 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:374:61 [INFO] [stdout] | [INFO] [stdout] 374 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as DWORD, [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:377:47 [INFO] [stdout] | [INFO] [stdout] 377 | 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 value `TRUE` in this scope [INFO] [stdout] --> src/procedure.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | TRUE as LRESULT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/procedure.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | TRUE as LRESULT [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:383:39 [INFO] [stdout] | [INFO] [stdout] 383 | let hdrop = wparam as HDROP; [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:384:34 [INFO] [stdout] | [INFO] [stdout] 384 | 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 `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:388:35 [INFO] [stdout] | [INFO] [stdout] 388 | 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 function, tuple struct or tuple variant `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:390:25 [INFO] [stdout] | [INFO] [stdout] 390 | 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:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | 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:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | 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 `PostQuitMessage` in this scope [INFO] [stdout] --> src/procedure.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | PostQuitMessage(0); [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:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | EnableNonClientDpiScaling(hwnd); [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:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | 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:440:25 [INFO] [stdout] | [INFO] [stdout] 440 | 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 `SetWindowPos` in this scope [INFO] [stdout] --> src/procedure.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | 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:451:29 [INFO] [stdout] | [INFO] [stdout] 451 | ... 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_NOSIZE` in this scope [INFO] [stdout] --> src/procedure.rs:451:44 [INFO] [stdout] | [INFO] [stdout] 451 | ... SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/window.rs:518:26 [INFO] [stdout] | [INFO] [stdout] 518 | let mut rc = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope [INFO] [stdout] --> src/procedure.rs:451:57 [INFO] [stdout] | [INFO] [stdout] 451 | ... 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:458:29 [INFO] [stdout] | [INFO] [stdout] 458 | ... GetWindowLongPtrW(hwnd, GWL_STYLE) as u32, [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:458:53 [INFO] [stdout] | [INFO] [stdout] 458 | ... 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:459:29 [INFO] [stdout] | [INFO] [stdout] 459 | ... 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:459:53 [INFO] [stdout] | [INFO] [stdout] 459 | ... 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 `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | ... 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:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/window.rs:534:26 [INFO] [stdout] | [INFO] [stdout] 534 | let mut rc = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:469:29 [INFO] [stdout] | [INFO] [stdout] 469 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [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:469:44 [INFO] [stdout] | [INFO] [stdout] 469 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [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:469:57 [INFO] [stdout] | [INFO] [stdout] 469 | ... 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 `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:487:29 [INFO] [stdout] | [INFO] [stdout] 487 | ... 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:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | 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 `GWL_STYLE` in this scope [INFO] [stdout] --> src/procedure.rs:489:49 [INFO] [stdout] | [INFO] [stdout] 489 | 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 `SetWindowPos` in this scope [INFO] [stdout] --> src/procedure.rs:490:25 [INFO] [stdout] | [INFO] [stdout] 490 | SetWindowPos( [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:497:29 [INFO] [stdout] | [INFO] [stdout] 497 | ... SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED, [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:497:42 [INFO] [stdout] | [INFO] [stdout] 497 | ... SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED, [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:497:57 [INFO] [stdout] | [INFO] [stdout] 497 | ... 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 `ShowWindow` in this scope [INFO] [stdout] --> src/procedure.rs:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | ShowWindow(hwnd, 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/procedure.rs:499:42 [INFO] [stdout] | [INFO] [stdout] 499 | 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 `DragAcceptFiles` in this scope [INFO] [stdout] --> src/procedure.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | 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:508:18 [INFO] [stdout] | [INFO] [stdout] 508 | _ => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | 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:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | fn value(&self) -> DWORD; [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:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | self.value() == WS_POPUP [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:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn value(&self) -> DWORD { [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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | WS_POPUP [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:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct WindowStyle(DWORD); [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:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | WS_OVERLAPPED [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:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | | WS_CAPTION [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:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | | WS_SYSMENU [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:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | | 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:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | | 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:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | | 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:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | 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:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | 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:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | 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:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | 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:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | self.0 |= WS_MAXIMIZEBOX; [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:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | 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:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | self.value() == WS_POPUP [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:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | fn value(&self) -> 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:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | 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:235:18 [INFO] [stdout] | [INFO] [stdout] 235 | let wc = WNDCLASSEXW { [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:236:41 [INFO] [stdout] | [INFO] [stdout] 232 | pub(crate) fn register_class() { [INFO] [stdout] | - help: you might be missing a type parameter: `, WNDCLASSEXW` [INFO] [stdout] ... [INFO] [stdout] 236 | 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 `UINT` in this scope [INFO] [stdout] --> src/window.rs:236:59 [INFO] [stdout] | [INFO] [stdout] 236 | 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 `CS_VREDRAW` in this scope [INFO] [stdout] --> src/window.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | style: CS_VREDRAW | CS_HREDRAW, [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:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | 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 `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | 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 `LoadCursorW` in this scope [INFO] [stdout] --> src/window.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | 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 `IDC_ARROW` in this scope [INFO] [stdout] --> src/window.rs:243:56 [INFO] [stdout] | [INFO] [stdout] 243 | 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 `GetStockObject` in this scope [INFO] [stdout] --> src/window.rs:244:28 [INFO] [stdout] | [INFO] [stdout] 244 | 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 `WHITE_BRUSH` in this scope [INFO] [stdout] --> src/window.rs:244:43 [INFO] [stdout] | [INFO] [stdout] 244 | 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:244:66 [INFO] [stdout] | [INFO] [stdout] 244 | 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 `RegisterClassExW` in this scope [INFO] [stdout] --> src/window.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | if RegisterClassExW(&wc) == 0 { [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:271:53 [INFO] [stdout] | [INFO] [stdout] 271 | 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:272:24 [INFO] [stdout] | [INFO] [stdout] 272 | 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:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | 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:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | 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:310:39 [INFO] [stdout] | [INFO] [stdout] 310 | 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:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | 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:339:29 [INFO] [stdout] | [INFO] [stdout] 339 | pub(crate) fn new(hwnd: HWND, state: WindowState, children: Vec) -> 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:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | 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:357:39 [INFO] [stdout] | [INFO] [stdout] 357 | 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:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | 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:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | 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:373:39 [INFO] [stdout] | [INFO] [stdout] 373 | 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:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | 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:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | 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:389:39 [INFO] [stdout] | [INFO] [stdout] 389 | 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:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | unsafe { GetDpiForWindow(self.hwnd.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:398:18 [INFO] [stdout] | [INFO] [stdout] 398 | unsafe { GetDpiForWindow(self.hwnd.0) as f32 / DEFAULT_DPI 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 `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | 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:403:42 [INFO] [stdout] | [INFO] [stdout] 403 | 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:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | 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:409:42 [INFO] [stdout] | [INFO] [stdout] 409 | 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 `RedrawWindow` in this scope [INFO] [stdout] --> src/window.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | RedrawWindow(self.hwnd.0, std::ptr::null(), std::ptr::null_mut(), RDW_INTERNALPAINT); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RDW_INTERNALPAINT` in this scope [INFO] [stdout] --> src/window.rs:415:79 [INFO] [stdout] | [INFO] [stdout] 415 | RedrawWindow(self.hwnd.0, std::ptr::null(), std::ptr::null_mut(), RDW_INTERNALPAINT); [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:427:17 [INFO] [stdout] | [INFO] [stdout] 427 | 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:427:43 [INFO] [stdout] | [INFO] [stdout] 427 | 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:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | 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:446:39 [INFO] [stdout] | [INFO] [stdout] 446 | 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:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | 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:452:39 [INFO] [stdout] | [INFO] [stdout] 452 | 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:465:36 [INFO] [stdout] | [INFO] [stdout] 465 | 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:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | 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:472:39 [INFO] [stdout] | [INFO] [stdout] 472 | 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:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | 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:480:17 [INFO] [stdout] | [INFO] [stdout] 480 | WM_USER, [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:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let mut msg = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:482:31 [INFO] [stdout] | [INFO] [stdout] 482 | (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:482:45 [INFO] [stdout] | [INFO] [stdout] 482 | (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:482:57 [INFO] [stdout] | [INFO] [stdout] 482 | (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 `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | 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:512:39 [INFO] [stdout] | [INFO] [stdout] 512 | 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:519:13 [INFO] [stdout] | [INFO] [stdout] 519 | 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:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | 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:528:39 [INFO] [stdout] | [INFO] [stdout] 528 | 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:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | 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:544:13 [INFO] [stdout] | [INFO] [stdout] 544 | 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:544:39 [INFO] [stdout] | [INFO] [stdout] 544 | 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:549:18 [INFO] [stdout] | [INFO] [stdout] 549 | unsafe { GetDpiForWindow(self.hwnd.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:553:18 [INFO] [stdout] | [INFO] [stdout] 553 | unsafe { GetDpiForWindow(self.hwnd.0) as f32 / DEFAULT_DPI 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 `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | 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:558:42 [INFO] [stdout] | [INFO] [stdout] 558 | 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:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | 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:564:42 [INFO] [stdout] | [INFO] [stdout] 564 | 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 `RedrawWindow` in this scope [INFO] [stdout] --> src/window.rs:570:13 [INFO] [stdout] | [INFO] [stdout] 570 | RedrawWindow(self.hwnd.0, std::ptr::null(), std::ptr::null_mut(), RDW_INTERNALPAINT); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RDW_INTERNALPAINT` in this scope [INFO] [stdout] --> src/window.rs:570:79 [INFO] [stdout] | [INFO] [stdout] 570 | RedrawWindow(self.hwnd.0, std::ptr::null(), std::ptr::null_mut(), RDW_INTERNALPAINT); [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:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | 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:582:43 [INFO] [stdout] | [INFO] [stdout] 582 | 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:601:13 [INFO] [stdout] | [INFO] [stdout] 601 | 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:601:39 [INFO] [stdout] | [INFO] [stdout] 601 | 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:607:13 [INFO] [stdout] | [INFO] [stdout] 607 | 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:607:39 [INFO] [stdout] | [INFO] [stdout] 607 | 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:620:36 [INFO] [stdout] | [INFO] [stdout] 620 | 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:627:13 [INFO] [stdout] | [INFO] [stdout] 627 | 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[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 value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:627:39 [INFO] [stdout] | [INFO] [stdout] 627 | 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[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[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:633:13 [INFO] [stdout] | [INFO] [stdout] 633 | PostMessageW( [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[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:635:17 [INFO] [stdout] | [INFO] [stdout] 635 | WM_USER, [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[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:637:31 [INFO] [stdout] | [INFO] [stdout] 637 | (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 `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[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:637:45 [INFO] [stdout] | [INFO] [stdout] 637 | (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 `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[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 `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:637:57 [INFO] [stdout] | [INFO] [stdout] 637 | (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 `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[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/lib.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | while msg.message != WM_QUIT { [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[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/lib.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | 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 `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[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/lib.rs:107:61 [INFO] [stdout] | [INFO] [stdout] 107 | 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 `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[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/lib.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/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[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/lib.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | 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:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | let ret = GetMessageW(&mut msg, null_mut(), 0, 0); [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[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/lib.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/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[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/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[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 `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 `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[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[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 `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[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 `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[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 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 `HWND` in this scope [INFO] [stdout] --> src/context.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 30 | state: ContextState, [INFO] [stdout] 31 | 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:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | 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 `HWND` in this scope [INFO] [stdout] --> src/context.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | 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:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn remove_window(hwnd: HWND) { [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/device.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | 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 `VK_NUMPAD9` in this scope [INFO] [stdout] --> src/device.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | 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 `VK_NUMPAD0` in this scope [INFO] [stdout] --> src/device.rs:117:64 [INFO] [stdout] | [INFO] [stdout] 117 | 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 `VK_F1` in this scope [INFO] [stdout] --> src/device.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | 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 `VK_F24` in this scope [INFO] [stdout] --> src/device.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | 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 `VK_F1` in this scope [INFO] [stdout] --> src/device.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | 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 `GetKeyboardState` in this scope [INFO] [stdout] --> src/device.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | GetKeyboardState(ks.as_mut_ptr()); [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 `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 `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[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[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[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 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 `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 `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 `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 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 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 `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 `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 `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[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 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 `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 `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[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 i32, GET_Y_LPARAM(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 `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 i32, GET_Y_LPARAM(lparam) as i32) [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[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[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 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 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 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 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 `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 `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[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[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | 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:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/procedure.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> LRESULT { [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:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/procedure.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | 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:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | 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:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/procedure.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | ) -> LRESULT { [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:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | 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 `BeginPaint` in this scope [INFO] [stdout] --> src/procedure.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | 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 `EndPaint` in this scope [INFO] [stdout] --> src/procedure.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | EndPaint(hwnd, &ps); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackMouseEvent` in this scope [INFO] [stdout] --> src/procedure.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | 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:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | TrackMouseEvent(&mut TRACKMOUSEEVENT { [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:117:57 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) unsafe extern "system" fn window_proc( [INFO] [stdout] | - help: you might be missing a type parameter: `, TRACKMOUSEEVENT` [INFO] [stdout] ... [INFO] [stdout] 117 | 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:117:79 [INFO] [stdout] | [INFO] [stdout] 117 | ... 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 `TME_LEAVE` in this scope [INFO] [stdout] --> src/procedure.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | ... 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 `GetCursorPos` in this scope [INFO] [stdout] --> src/procedure.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | 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:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | DefWindowProcW(hwnd, msg, wparam, 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:259:48 [INFO] [stdout] | [INFO] [stdout] 259 | if lparam & GCS_COMPSTR as LPARAM != 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:274:50 [INFO] [stdout] | [INFO] [stdout] 274 | if lparam & GCS_RESULTSTR 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | 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:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | DefWindowProcW(hwnd, msg, wparam, lparam) [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:310:30 [INFO] [stdout] | [INFO] [stdout] 310 | 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:310:43 [INFO] [stdout] | [INFO] [stdout] 310 | 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 value `WA_CLICKACTIVE` in this scope [INFO] [stdout] --> src/procedure.rs:310:69 [INFO] [stdout] | [INFO] [stdout] 310 | 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 `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:310:87 [INFO] [stdout] | [INFO] [stdout] 310 | 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 `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:318:39 [INFO] [stdout] | [INFO] [stdout] 318 | 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 `LOWORD` in this scope [INFO] [stdout] --> src/procedure.rs:319:46 [INFO] [stdout] | [INFO] [stdout] 319 | let size = PhysicalSize::new(LOWORD(value) as u32, HIWORD(value) 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 `HIWORD` in this scope [INFO] [stdout] --> src/procedure.rs:319:68 [INFO] [stdout] | [INFO] [stdout] 319 | let size = PhysicalSize::new(LOWORD(value) as u32, HIWORD(value) as u32); [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:330:47 [INFO] [stdout] | [INFO] [stdout] 330 | let pos = &*(lparam as *const WINDOWPOS); [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:331:32 [INFO] [stdout] | [INFO] [stdout] 331 | 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:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | 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:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | 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:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | DefWindowProcW(hwnd, msg, wparam, lparam) [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:349:45 [INFO] [stdout] | [INFO] [stdout] 349 | 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 `SetWindowPos` in this scope [INFO] [stdout] --> src/procedure.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | 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:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | SWP_NOZORDER | SWP_NOACTIVATE, [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:357:36 [INFO] [stdout] | [INFO] [stdout] 357 | 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 `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 363 | 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 `GetClientRect` in this scope [INFO] [stdout] --> src/procedure.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | GetWindowLongPtrW(hwnd, GWL_STYLE) 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:373:45 [INFO] [stdout] | [INFO] [stdout] 373 | GetWindowLongPtrW(hwnd, GWL_STYLE) 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:373:59 [INFO] [stdout] | [INFO] [stdout] 373 | 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | 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:374:45 [INFO] [stdout] | [INFO] [stdout] 374 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) 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:374:61 [INFO] [stdout] | [INFO] [stdout] 374 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as DWORD, [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:377:47 [INFO] [stdout] | [INFO] [stdout] 377 | 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 value `TRUE` in this scope [INFO] [stdout] --> src/procedure.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | TRUE as LRESULT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/procedure.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | TRUE as LRESULT [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:383:39 [INFO] [stdout] | [INFO] [stdout] 383 | let hdrop = wparam as HDROP; [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:384:34 [INFO] [stdout] | [INFO] [stdout] 384 | 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 `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:388:35 [INFO] [stdout] | [INFO] [stdout] 388 | 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 function, tuple struct or tuple variant `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:390:25 [INFO] [stdout] | [INFO] [stdout] 390 | 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:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | 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:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | 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 `PostQuitMessage` in this scope [INFO] [stdout] --> src/procedure.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | PostQuitMessage(0); [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:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | EnableNonClientDpiScaling(hwnd); [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:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | 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:440:25 [INFO] [stdout] | [INFO] [stdout] 440 | 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 `SetWindowPos` in this scope [INFO] [stdout] --> src/procedure.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | 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:451:29 [INFO] [stdout] | [INFO] [stdout] 451 | ... 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_NOSIZE` in this scope [INFO] [stdout] --> src/procedure.rs:451:44 [INFO] [stdout] | [INFO] [stdout] 451 | ... 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_NOACTIVATE` in this scope [INFO] [stdout] --> src/procedure.rs:451:57 [INFO] [stdout] | [INFO] [stdout] 451 | ... 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:458:29 [INFO] [stdout] | [INFO] [stdout] 458 | ... GetWindowLongPtrW(hwnd, GWL_STYLE) as u32, [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:458:53 [INFO] [stdout] | [INFO] [stdout] 458 | ... 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:459:29 [INFO] [stdout] | [INFO] [stdout] 459 | ... 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:459:53 [INFO] [stdout] | [INFO] [stdout] 459 | ... 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 `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | ... 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:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | 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:469:29 [INFO] [stdout] | [INFO] [stdout] 469 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [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:469:44 [INFO] [stdout] | [INFO] [stdout] 469 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [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:469:57 [INFO] [stdout] | [INFO] [stdout] 469 | ... 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 `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:487:29 [INFO] [stdout] | [INFO] [stdout] 487 | ... 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:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | 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 `GWL_STYLE` in this scope [INFO] [stdout] --> src/procedure.rs:489:49 [INFO] [stdout] | [INFO] [stdout] 489 | 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 `SetWindowPos` in this scope [INFO] [stdout] --> src/procedure.rs:490:25 [INFO] [stdout] | [INFO] [stdout] 490 | SetWindowPos( [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:497:29 [INFO] [stdout] | [INFO] [stdout] 497 | ... SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED, [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:497:42 [INFO] [stdout] | [INFO] [stdout] 497 | ... SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED, [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:497:57 [INFO] [stdout] | [INFO] [stdout] 497 | ... 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 `ShowWindow` in this scope [INFO] [stdout] --> src/procedure.rs:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | ShowWindow(hwnd, 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/procedure.rs:499:42 [INFO] [stdout] | [INFO] [stdout] 499 | 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 `DragAcceptFiles` in this scope [INFO] [stdout] --> src/procedure.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | 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:508:18 [INFO] [stdout] | [INFO] [stdout] 508 | _ => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | 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:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | fn value(&self) -> DWORD; [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:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | self.value() == WS_POPUP [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:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn value(&self) -> DWORD { [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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | WS_POPUP [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:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct WindowStyle(DWORD); [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:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | WS_OVERLAPPED [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:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | | WS_CAPTION [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:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | | WS_SYSMENU [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:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | | 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:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | | 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:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | | 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:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | 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:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | 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:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | 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:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | 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:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | self.0 |= WS_MAXIMIZEBOX; [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:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | 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:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | self.value() == WS_POPUP [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:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | fn value(&self) -> 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:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | 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:235:18 [INFO] [stdout] | [INFO] [stdout] 235 | let wc = WNDCLASSEXW { [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:236:41 [INFO] [stdout] | [INFO] [stdout] 232 | pub(crate) fn register_class() { [INFO] [stdout] | - help: you might be missing a type parameter: `, WNDCLASSEXW` [INFO] [stdout] ... [INFO] [stdout] 236 | 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 `UINT` in this scope [INFO] [stdout] --> src/window.rs:236:59 [INFO] [stdout] | [INFO] [stdout] 236 | 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 `CS_VREDRAW` in this scope [INFO] [stdout] --> src/window.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | style: CS_VREDRAW | CS_HREDRAW, [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:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | 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 `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | 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 `LoadCursorW` in this scope [INFO] [stdout] --> src/window.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | 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 `IDC_ARROW` in this scope [INFO] [stdout] --> src/window.rs:243:56 [INFO] [stdout] | [INFO] [stdout] 243 | 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 `GetStockObject` in this scope [INFO] [stdout] --> src/window.rs:244:28 [INFO] [stdout] | [INFO] [stdout] 244 | 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 `WHITE_BRUSH` in this scope [INFO] [stdout] --> src/window.rs:244:43 [INFO] [stdout] | [INFO] [stdout] 244 | 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:244:66 [INFO] [stdout] | [INFO] [stdout] 244 | 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 `RegisterClassExW` in this scope [INFO] [stdout] --> src/window.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | if RegisterClassExW(&wc) == 0 { [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:271:53 [INFO] [stdout] | [INFO] [stdout] 271 | 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:272:24 [INFO] [stdout] | [INFO] [stdout] 272 | 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:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | 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:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | 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:310:39 [INFO] [stdout] | [INFO] [stdout] 310 | 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:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | 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:339:29 [INFO] [stdout] | [INFO] [stdout] 339 | pub(crate) fn new(hwnd: HWND, state: WindowState, children: Vec) -> 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:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | 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:357:39 [INFO] [stdout] | [INFO] [stdout] 357 | 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:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | 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:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | 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:373:39 [INFO] [stdout] | [INFO] [stdout] 373 | 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:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | 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:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | 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:389:39 [INFO] [stdout] | [INFO] [stdout] 389 | 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:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | unsafe { GetDpiForWindow(self.hwnd.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:398:18 [INFO] [stdout] | [INFO] [stdout] 398 | unsafe { GetDpiForWindow(self.hwnd.0) as f32 / DEFAULT_DPI 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 `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | 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:403:42 [INFO] [stdout] | [INFO] [stdout] 403 | 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:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | 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:409:42 [INFO] [stdout] | [INFO] [stdout] 409 | 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 `RedrawWindow` in this scope [INFO] [stdout] --> src/window.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | RedrawWindow(self.hwnd.0, std::ptr::null(), std::ptr::null_mut(), RDW_INTERNALPAINT); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RDW_INTERNALPAINT` in this scope [INFO] [stdout] --> src/window.rs:415:79 [INFO] [stdout] | [INFO] [stdout] 415 | RedrawWindow(self.hwnd.0, std::ptr::null(), std::ptr::null_mut(), RDW_INTERNALPAINT); [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:427:17 [INFO] [stdout] | [INFO] [stdout] 427 | 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:427:43 [INFO] [stdout] | [INFO] [stdout] 427 | 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:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | 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:446:39 [INFO] [stdout] | [INFO] [stdout] 446 | 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:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | 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:452:39 [INFO] [stdout] | [INFO] [stdout] 452 | 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:465:36 [INFO] [stdout] | [INFO] [stdout] 465 | 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:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | 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:472:39 [INFO] [stdout] | [INFO] [stdout] 472 | 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:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | 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:480:17 [INFO] [stdout] | [INFO] [stdout] 480 | 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:482:31 [INFO] [stdout] | [INFO] [stdout] 482 | (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:482:45 [INFO] [stdout] | [INFO] [stdout] 482 | (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:482:57 [INFO] [stdout] | [INFO] [stdout] 482 | (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 `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | 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:512:39 [INFO] [stdout] | [INFO] [stdout] 512 | 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:519:13 [INFO] [stdout] | [INFO] [stdout] 519 | GetWindowRect(self.hwnd.0, &mut rc); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/context.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | window_table: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [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:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | 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:528:39 [INFO] [stdout] | [INFO] [stdout] 528 | 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:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | 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:544:13 [INFO] [stdout] | [INFO] [stdout] 544 | 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:544:39 [INFO] [stdout] | [INFO] [stdout] 544 | 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:549:18 [INFO] [stdout] | [INFO] [stdout] 549 | unsafe { GetDpiForWindow(self.hwnd.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:553:18 [INFO] [stdout] | [INFO] [stdout] 553 | unsafe { GetDpiForWindow(self.hwnd.0) as f32 / DEFAULT_DPI 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 `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | 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:558:42 [INFO] [stdout] | [INFO] [stdout] 558 | 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:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | 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:564:42 [INFO] [stdout] | [INFO] [stdout] 564 | 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 `RedrawWindow` in this scope [INFO] [stdout] --> src/window.rs:570:13 [INFO] [stdout] | [INFO] [stdout] 570 | RedrawWindow(self.hwnd.0, std::ptr::null(), std::ptr::null_mut(), RDW_INTERNALPAINT); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RDW_INTERNALPAINT` in this scope [INFO] [stdout] --> src/window.rs:570:79 [INFO] [stdout] | [INFO] [stdout] 570 | RedrawWindow(self.hwnd.0, std::ptr::null(), std::ptr::null_mut(), RDW_INTERNALPAINT); [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:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | 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:582:43 [INFO] [stdout] | [INFO] [stdout] 582 | 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:601:13 [INFO] [stdout] | [INFO] [stdout] 601 | 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:601:39 [INFO] [stdout] | [INFO] [stdout] 601 | 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:607:13 [INFO] [stdout] | [INFO] [stdout] 607 | 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:607:39 [INFO] [stdout] | [INFO] [stdout] 607 | 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:620:36 [INFO] [stdout] | [INFO] [stdout] 620 | 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:627:13 [INFO] [stdout] | [INFO] [stdout] 627 | 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:627:39 [INFO] [stdout] | [INFO] [stdout] 627 | 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:633:13 [INFO] [stdout] | [INFO] [stdout] 633 | 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:635:17 [INFO] [stdout] | [INFO] [stdout] 635 | 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:637:31 [INFO] [stdout] | [INFO] [stdout] 637 | (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:637:45 [INFO] [stdout] | [INFO] [stdout] 637 | (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:637:57 [INFO] [stdout] | [INFO] [stdout] 637 | (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:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | 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:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | 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:107:61 [INFO] [stdout] | [INFO] [stdout] 107 | 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:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | 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:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | 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:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | 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:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | 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:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | 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:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | window_table: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 351 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 349 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" "68676e8aaf66f51f4597c5903e172b54b0e26374478dc0b02d721db3e90c372f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68676e8aaf66f51f4597c5903e172b54b0e26374478dc0b02d721db3e90c372f", kill_on_drop: false }` [INFO] [stdout] 68676e8aaf66f51f4597c5903e172b54b0e26374478dc0b02d721db3e90c372f