[INFO] fetching crate wita 0.1.1... [INFO] checking wita-0.1.1 against beta for pr-78714 [INFO] extracting crate wita 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate wita 0.1.1 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wita 0.1.1 [INFO] finished tweaking crates.io crate wita 0.1.1 [INFO] tweaked toml for crates.io crate wita 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate wita 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f4cc47665705a82ab55fce787964fdcbcc1c88f0d46ff8ec0be736c4162ed76 [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" "7f4cc47665705a82ab55fce787964fdcbcc1c88f0d46ff8ec0be736c4162ed76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f4cc47665705a82ab55fce787964fdcbcc1c88f0d46ff8ec0be736c4162ed76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f4cc47665705a82ab55fce787964fdcbcc1c88f0d46ff8ec0be736c4162ed76", kill_on_drop: false }` [INFO] [stdout] 7f4cc47665705a82ab55fce787964fdcbcc1c88f0d46ff8ec0be736c4162ed76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 24e8742533c7139c6b7403b9bd03d91666b9811b47b15c6d76b0ea0ded892f9c [INFO] running `Command { std: "docker" "start" "-a" "24e8742533c7139c6b7403b9bd03d91666b9811b47b15c6d76b0ea0ded892f9c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking wita v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/api.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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 `shared` in `winapi` [INFO] [stdout] --> src/api.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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/api.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/context.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::{shellscalingapi::*, 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::{ [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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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 `shared` in `winapi` [INFO] [stdout] --> src/monitor.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared:: { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/monitor.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/api.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/context.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::{shellscalingapi::*, 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::{ [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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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 `shared` in `winapi` [INFO] [stdout] --> src/monitor.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared:: { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/monitor.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/api/imm.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | 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:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | 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:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | 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:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | 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 `MSG` [INFO] [stdout] --> src/context.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let mut msg = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> src/context.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let mut msg = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT` [INFO] [stdout] --> src/procedure.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | 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:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | 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:322:30 [INFO] [stdout] | [INFO] [stdout] 322 | 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 `PAINTSTRUCT` [INFO] [stdout] --> src/procedure.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | 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 `UINT` [INFO] [stdout] --> src/procedure.rs:341:56 [INFO] [stdout] | [INFO] [stdout] 341 | 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:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | let mut pos = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> src/procedure.rs:351:30 [INFO] [stdout] | [INFO] [stdout] 351 | 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:322:30 [INFO] [stdout] | [INFO] [stdout] 322 | 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:341:56 [INFO] [stdout] | [INFO] [stdout] 341 | 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:351:30 [INFO] [stdout] | [INFO] [stdout] 351 | 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:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | 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:348:26 [INFO] [stdout] | [INFO] [stdout] 348 | 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:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | 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:348:26 [INFO] [stdout] | [INFO] [stdout] 348 | 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 `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:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let mut info = MONITORINFO::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MONITORINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GCS_COMPSTR: DWORD = 0x0008; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pub const GCS_COMPATTR: DWORD = 0x0010; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub const GCS_RESULTSTR: DWORD = 0x0800; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/api/imm.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ISC_SHOWUICOMPOSITIONWINDOW: LPARAM = 0x80000000; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/api/imm.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ISC_SHOWUICANDIDATEWINDOW: LPARAM = 0x00000001; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/api/imm.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub const IMM_ERROR_NODATA: LONG = -1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/api/imm.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub const IMM_ERROR_GENERAL: LONG = -2; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub const IACE_CHILDREN: DWORD = 0x0001; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub const IACE_DEFAULT: DWORD = 0x0010; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub const IACE_IGNORENOCONTEXT: DWORD = 0x0020; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | dwIndex: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | dwStyle: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/api/imm.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | ptCurrentPos: POINT, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/api/imm.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | rcArea: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | dwSize: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | dwStyle: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | dwCount: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | dwSelection: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | dwPageStart: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | dwPageSize: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | dwOffset: [DWORD; 1], [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn ImmDestroyContext(himc: HIMC); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | fn ImmSetCandidateWindow(himc: HIMC, form: *mut CANDIDATEFORM) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/api/imm.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | fn ImmSetCandidateWindow(himc: HIMC, form: *mut CANDIDATEFORM) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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[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:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | fn ImmGetCandidateListW(himc: HIMC, index: DWORD, list: *mut CANDIDATELIST, len: DWORD) -> 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:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | fn ImmGetCandidateListW(himc: HIMC, index: DWORD, list: *mut CANDIDATELIST, len: DWORD) -> 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:48:86 [INFO] [stdout] | [INFO] [stdout] 48 | fn ImmGetCandidateListW(himc: HIMC, index: DWORD, list: *mut CANDIDATELIST, len: DWORD) -> 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:48:96 [INFO] [stdout] | [INFO] [stdout] 48 | fn ImmGetCandidateListW(himc: HIMC, index: DWORD, list: *mut CANDIDATELIST, len: DWORD) -> 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:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | 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:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | 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:49:60 [INFO] [stdout] | [INFO] [stdout] 49 | 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:49:70 [INFO] [stdout] | [INFO] [stdout] 49 | 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:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | 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:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | 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:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | 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:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | 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:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | 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:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | 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:101:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ------------------------------ similarly named function `ImmCreateContext` defined here [INFO] [stdout] ... [INFO] [stdout] 101 | 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:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | 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:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | 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:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | 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:116: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] 116 | 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:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | 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:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | 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:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | 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:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | 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:150:49 [INFO] [stdout] | [INFO] [stdout] 150 | 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:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | 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:151:49 [INFO] [stdout] | [INFO] [stdout] 151 | 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:159:91 [INFO] [stdout] | [INFO] [stdout] 159 | 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:168:35 [INFO] [stdout] | [INFO] [stdout] 168 | 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:176:98 [INFO] [stdout] | [INFO] [stdout] 176 | ImmGetCompositionStringW(himc, GCS_COMPATTR, 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 `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:210:94 [INFO] [stdout] | [INFO] [stdout] 210 | 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:217:81 [INFO] [stdout] | [INFO] [stdout] 217 | let offset = 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:231:13 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ------------------------------ similarly named function `ImmCreateContext` defined here [INFO] [stdout] ... [INFO] [stdout] 231 | 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:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | 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:14:58 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn adjust_window_rect(size: PhysicalSize, style: DWORD, ex_style: DWORD, dpi: u32) -> 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.rs:23:76 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn adjust_window_rect(size: PhysicalSize, style: DWORD, ex_style: DWORD, dpi: u32) -> RECT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/api.rs:23:96 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn adjust_window_rect(size: PhysicalSize, style: DWORD, ex_style: DWORD, dpi: u32) -> 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:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | 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:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | 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:31:50 [INFO] [stdout] | [INFO] [stdout] 31 | AdjustWindowRectExForDpi(&mut rc, style, FALSE, ex_style, dpi); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/context.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct ContextImpl { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 38 | window_table: RefCell>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MONITORINFO` [INFO] [stdout] --> src/monitor.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let mut info = MONITORINFO::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MONITORINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDpiAwarenessContext` in this scope [INFO] [stdout] --> src/context.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | 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/context.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | 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/context.rs:68:93 [INFO] [stdout] | [INFO] [stdout] 68 | 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/context.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | } 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/context.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | } 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/context.rs:70:97 [INFO] [stdout] | [INFO] [stdout] 70 | } 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/context.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | } 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/context.rs:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | } 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/context.rs:72:80 [INFO] [stdout] | [INFO] [stdout] 72 | } else if SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE) == S_OK { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/context.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) 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:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn manage_window_table(f: impl FnOnce(&mut Vec<(HWND, Window)>)) { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/context.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | 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/context.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | if PeekMessageW(&mut msg, std::ptr::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/context.rs:133:75 [INFO] [stdout] | [INFO] [stdout] 133 | if PeekMessageW(&mut msg, std::ptr::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/context.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | 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/context.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | 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/context.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | let ret = GetMessageW(&mut msg, std::ptr::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/context.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | 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/context.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | 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/context.rs:160:54 [INFO] [stdout] | [INFO] [stdout] 114 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 160 | pub(crate) fn window_table(&self) -> RefMut> { [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:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | 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:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | PhysicalPosition::new(GET_X_LPARAM(lparam) as f32, GET_Y_LPARAM(lparam) as f32) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_Y_LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | PhysicalPosition::new(GET_X_LPARAM(lparam) as f32, GET_Y_LPARAM(lparam) as f32) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | 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:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | fn update_buttons(buttons: &mut Vec, wparam: WPARAM) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GCS_COMPSTR: DWORD = 0x0008; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pub const GCS_COMPATTR: DWORD = 0x0010; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_KEYSTATE_WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let values = GET_KEYSTATE_WPARAM(wparam) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `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[E0425]: cannot find value `MK_LBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | if values & MK_LBUTTON != 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/api/imm.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ISC_SHOWUICANDIDATEWINDOW: LPARAM = 0x00000001; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_RBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | if values & MK_RBUTTON != 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/api/imm.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub const IMM_ERROR_NODATA: LONG = -1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_MBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | if values & MK_MBUTTON != 0 { [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[E0425]: cannot find value `MK_XBUTTON1` in this scope [INFO] [stdout] --> src/procedure.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | if values & MK_XBUTTON1 != 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: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[E0425]: cannot find value `MK_XBUTTON2` in this scope [INFO] [stdout] --> src/procedure.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | if values & MK_XBUTTON2 != 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: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 `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | wparam: WPARAM, [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 `LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | lparam: 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: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 `LRESULT` in this scope [INFO] [stdout] --> src/procedure.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> LRESULT { [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 `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn as_virtual_key(wparam: WPARAM) -> VirtualKey { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `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[E0425]: cannot find value `VK_NUMPAD0` in this scope [INFO] [stdout] --> src/procedure.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `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[E0425]: cannot find value `VK_NUMPAD9` in this scope [INFO] [stdout] --> src/procedure.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `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[E0425]: cannot find value `VK_NUMPAD0` in this scope [INFO] [stdout] --> src/procedure.rs:105:64 [INFO] [stdout] | [INFO] [stdout] 105 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | fn ImmGetCandidateListW(himc: HIMC, index: DWORD, list: *mut CANDIDATELIST, len: DWORD) -> DWORD; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> src/procedure.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | 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[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | fn ImmGetCandidateListW(himc: HIMC, index: DWORD, list: *mut CANDIDATELIST, len: DWORD) -> 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:48:86 [INFO] [stdout] | [INFO] [stdout] 48 | fn ImmGetCandidateListW(himc: HIMC, index: DWORD, list: *mut CANDIDATELIST, len: DWORD) -> DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F24` in this scope [INFO] [stdout] --> src/procedure.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | 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[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:48:96 [INFO] [stdout] | [INFO] [stdout] 48 | fn ImmGetCandidateListW(himc: HIMC, index: DWORD, list: *mut CANDIDATELIST, len: DWORD) -> 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:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | 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 `VK_F1` in this scope [INFO] [stdout] --> src/procedure.rs:111:50 [INFO] [stdout] | [INFO] [stdout] 111 | 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[E0412]: cannot find type `HIMC` in this scope [INFO] [stdout] --> src/api/imm.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | 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:49:60 [INFO] [stdout] | [INFO] [stdout] 49 | 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 `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:116:56 [INFO] [stdout] | [INFO] [stdout] 116 | fn key_input(window: &Window, state: KeyState, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/api/imm.rs:49:70 [INFO] [stdout] | [INFO] [stdout] 49 | 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:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | hwnd: HWND, [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:116:72 [INFO] [stdout] | [INFO] [stdout] 116 | fn key_input(window: &Window, state: KeyState, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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:11 [INFO] [stdout] | [INFO] [stdout] 54 | 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:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(hwnd: HWND) -> Self { [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:116:83 [INFO] [stdout] | [INFO] [stdout] 116 | fn key_input(window: &Window, state: KeyState, wparam: WPARAM, lparam: LPARAM) -> 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/api/imm.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | 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:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | 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:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get(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/procedure.rs:124:56 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImmGetContext` in this scope [INFO] [stdout] --> src/api/imm.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ------------------------------ similarly named function `ImmCreateContext` defined here [INFO] [stdout] ... [INFO] [stdout] 101 | let himc = unsafe { ImmGetContext(hwnd) }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `ImmCreateContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/procedure.rs:124:67 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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/imm.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | 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:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | let mut form = COMPOSITIONFORM { [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:124:81 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | dwStyle: CFS_POINT, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:124:97 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImmSetCompositionWindow` in this scope [INFO] [stdout] --> src/api/imm.rs:116: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] 116 | 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:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | 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:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | dwStyle: CFS_CANDIDATEPOS, [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:124:108 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | 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:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | 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:150:49 [INFO] [stdout] | [INFO] [stdout] 150 | 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:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | 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:151:49 [INFO] [stdout] | [INFO] [stdout] 151 | 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:159:91 [INFO] [stdout] | [INFO] [stdout] 159 | 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:168:35 [INFO] [stdout] | [INFO] [stdout] 168 | 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:176:98 [INFO] [stdout] | [INFO] [stdout] 176 | ImmGetCompositionStringW(himc, GCS_COMPATTR, 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 `DWORD` in this scope [INFO] [stdout] --> src/api/imm.rs:210:94 [INFO] [stdout] | [INFO] [stdout] 210 | 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:217:81 [INFO] [stdout] | [INFO] [stdout] 217 | let offset = 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:231:13 [INFO] [stdout] | [INFO] [stdout] 44 | fn ImmCreateContext() -> HIMC; [INFO] [stdout] | ------------------------------ similarly named function `ImmCreateContext` defined here [INFO] [stdout] ... [INFO] [stdout] 231 | 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:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | 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:14:58 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn adjust_window_rect(size: PhysicalSize, style: DWORD, ex_style: DWORD, dpi: u32) -> 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.rs:23:76 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn adjust_window_rect(size: PhysicalSize, style: DWORD, ex_style: DWORD, dpi: u32) -> RECT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/api.rs:23:96 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn adjust_window_rect(size: PhysicalSize, style: DWORD, ex_style: DWORD, dpi: u32) -> 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:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | 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:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | 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:31:50 [INFO] [stdout] | [INFO] [stdout] 31 | AdjustWindowRectExForDpi(&mut rc, style, FALSE, ex_style, dpi); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/context.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct ContextImpl { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 38 | window_table: RefCell>, [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/context.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | 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/context.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | 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/context.rs:68:93 [INFO] [stdout] | [INFO] [stdout] 68 | 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/context.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | } 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/context.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | } 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/context.rs:70:97 [INFO] [stdout] | [INFO] [stdout] 70 | } 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | 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 `SetProcessDpiAwareness` in this scope [INFO] [stdout] --> src/context.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | } 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/context.rs:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | } 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/context.rs:72:80 [INFO] [stdout] | [INFO] [stdout] 72 | } else if SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE) == S_OK { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/context.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) 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:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn manage_window_table(f: impl FnOnce(&mut Vec<(HWND, Window)>)) { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/context.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | 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 `BeginPaint` in this scope [INFO] [stdout] --> src/procedure.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | 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 `PeekMessageW` in this scope [INFO] [stdout] --> src/context.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | if PeekMessageW(&mut msg, std::ptr::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/context.rs:133:75 [INFO] [stdout] | [INFO] [stdout] 133 | if PeekMessageW(&mut msg, std::ptr::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/context.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | 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/context.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | 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/context.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | let ret = GetMessageW(&mut msg, std::ptr::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/context.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | 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 `EndPaint` in this scope [INFO] [stdout] --> src/procedure.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | 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 `DispatchMessageW` in this scope [INFO] [stdout] --> src/context.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | 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/context.rs:160:54 [INFO] [stdout] | [INFO] [stdout] 114 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 160 | pub(crate) fn window_table(&self) -> RefMut> { [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:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | 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 `TrackMouseEvent` in this scope [INFO] [stdout] --> src/procedure.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | 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:146:46 [INFO] [stdout] | [INFO] [stdout] 146 | TrackMouseEvent(&mut TRACKMOUSEEVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_X_LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | PhysicalPosition::new(GET_X_LPARAM(lparam) as f32, GET_Y_LPARAM(lparam) as f32) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/procedure.rs:147:57 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 147 | cbSize: std::mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_Y_LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | PhysicalPosition::new(GET_X_LPARAM(lparam) as f32, GET_Y_LPARAM(lparam) as f32) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:147:79 [INFO] [stdout] | [INFO] [stdout] 147 | ... 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 `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn wparam_to_button(wparam: WPARAM) -> MouseButton { [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:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | ... 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 `GET_XBUTTON_WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | match GET_XBUTTON_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 `GetCursorPos` in this scope [INFO] [stdout] --> src/procedure.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | GetCursorPos(&mut pos); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | 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 `GET_KEYSTATE_WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let values = GET_KEYSTATE_WPARAM(wparam) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | 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:241:48 [INFO] [stdout] | [INFO] [stdout] 241 | if lparam & GCS_COMPSTR as LPARAM != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_LBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | if values & MK_LBUTTON != 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:252:50 [INFO] [stdout] | [INFO] [stdout] 252 | 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:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | 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:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_RBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | if values & MK_RBUTTON != 0 { [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:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | 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[E0425]: cannot find value `MK_MBUTTON` in this scope [INFO] [stdout] --> src/procedure.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | if values & MK_MBUTTON != 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:284:43 [INFO] [stdout] | [INFO] [stdout] 284 | 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 `MK_XBUTTON1` in this scope [INFO] [stdout] --> src/procedure.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | if values & MK_XBUTTON1 != 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:284:69 [INFO] [stdout] | [INFO] [stdout] 284 | 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 `MK_XBUTTON2` in this scope [INFO] [stdout] --> src/procedure.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | 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:284:87 [INFO] [stdout] | [INFO] [stdout] 284 | 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:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | wparam: WPARAM, [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:292:39 [INFO] [stdout] | [INFO] [stdout] 292 | let value = lparam as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/procedure.rs:294:39 [INFO] [stdout] | [INFO] [stdout] 294 | PhysicalSize::new(LOWORD(value) as f32, HIWORD(value) as f32).to_logical(window.scale_factor()); [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:294:61 [INFO] [stdout] | [INFO] [stdout] 294 | PhysicalSize::new(LOWORD(value) as f32, HIWORD(value) as f32).to_logical(window.scale_factor()); [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:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> LRESULT { [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:299:47 [INFO] [stdout] | [INFO] [stdout] 299 | let pos = &*(lparam as *const WINDOWPOS); [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:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn as_virtual_key(wparam: WPARAM) -> VirtualKey { [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:300:32 [INFO] [stdout] | [INFO] [stdout] 300 | if pos.flags & SWP_NOMOVE == 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD0` in this scope [INFO] [stdout] --> src/procedure.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | 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:306:45 [INFO] [stdout] | [INFO] [stdout] 306 | let rc = *(lparam as *const RECT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD9` in this scope [INFO] [stdout] --> src/procedure.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | v @ VK_NUMPAD0..=VK_NUMPAD9 => VirtualKey::NumPad((v - VK_NUMPAD0) as u8), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/procedure.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD0` in this scope [INFO] [stdout] --> src/procedure.rs:105:64 [INFO] [stdout] | [INFO] [stdout] 105 | 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 `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | SWP_NOZORDER | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> src/procedure.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | 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 `SWP_NOACTIVATE` in this scope [INFO] [stdout] --> src/procedure.rs:314:36 [INFO] [stdout] | [INFO] [stdout] 314 | 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:320:32 [INFO] [stdout] | [INFO] [stdout] 320 | 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:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | 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:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | 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:330:45 [INFO] [stdout] | [INFO] [stdout] 330 | GetWindowLongPtrW(hwnd, GWL_STYLE) as DWORD, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F24` in this scope [INFO] [stdout] --> src/procedure.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | 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[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procedure.rs:330:59 [INFO] [stdout] | [INFO] [stdout] 330 | GetWindowLongPtrW(hwnd, GWL_STYLE) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> src/procedure.rs:111:50 [INFO] [stdout] | [INFO] [stdout] 111 | 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | 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:331:45 [INFO] [stdout] | [INFO] [stdout] 331 | GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as DWORD, [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:116:56 [INFO] [stdout] | [INFO] [stdout] 116 | fn key_input(window: &Window, state: KeyState, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:116:72 [INFO] [stdout] | [INFO] [stdout] 116 | fn key_input(window: &Window, state: KeyState, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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:331:61 [INFO] [stdout] | [INFO] [stdout] 331 | 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:334:47 [INFO] [stdout] | [INFO] [stdout] 334 | let mut ret = (lparam as *mut SIZE).as_mut().unwrap(); [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:116:83 [INFO] [stdout] | [INFO] [stdout] 116 | fn key_input(window: &Window, state: KeyState, wparam: WPARAM, lparam: LPARAM) -> 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:124:56 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/procedure.rs:124:67 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:124:81 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/procedure.rs:124:97 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/procedure.rs:124:108 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | 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:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | 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:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | 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:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | 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:146:46 [INFO] [stdout] | [INFO] [stdout] 146 | TrackMouseEvent(&mut TRACKMOUSEEVENT { [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:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | TRUE as LRESULT [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:147:57 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 147 | 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 `LRESULT` in this scope [INFO] [stdout] --> src/procedure.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | TRUE as LRESULT [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:147:79 [INFO] [stdout] | [INFO] [stdout] 147 | ... 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 `HDROP` in this scope [INFO] [stdout] --> src/procedure.rs:340:39 [INFO] [stdout] | [INFO] [stdout] 340 | let hdrop = wparam as HDROP; [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:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | ... 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 `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:341:34 [INFO] [stdout] | [INFO] [stdout] 341 | 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 `GetCursorPos` in this scope [INFO] [stdout] --> src/procedure.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | 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 `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:344:31 [INFO] [stdout] | [INFO] [stdout] 344 | 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | 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 `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | 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:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | 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:241:48 [INFO] [stdout] | [INFO] [stdout] 241 | 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:252:50 [INFO] [stdout] | [INFO] [stdout] 252 | 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:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | 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:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | 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:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | 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:284:43 [INFO] [stdout] | [INFO] [stdout] 284 | 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:284:69 [INFO] [stdout] | [INFO] [stdout] 284 | 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:284:87 [INFO] [stdout] | [INFO] [stdout] 284 | 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:292:39 [INFO] [stdout] | [INFO] [stdout] 292 | 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:294:39 [INFO] [stdout] | [INFO] [stdout] 294 | PhysicalSize::new(LOWORD(value) as f32, HIWORD(value) as f32).to_logical(window.scale_factor()); [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:294:61 [INFO] [stdout] | [INFO] [stdout] 294 | PhysicalSize::new(LOWORD(value) as f32, HIWORD(value) as f32).to_logical(window.scale_factor()); [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:299:47 [INFO] [stdout] | [INFO] [stdout] 299 | 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:300:32 [INFO] [stdout] | [INFO] [stdout] 300 | 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:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | 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:306:45 [INFO] [stdout] | [INFO] [stdout] 306 | 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:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | 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:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | 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 `DragFinish` in this scope [INFO] [stdout] --> src/procedure.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | DragFinish(hdrop); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/procedure.rs:376:83 [INFO] [stdout] | [INFO] [stdout] 376 | ... .position(|elem| elem.0 == window.raw_handle() as HWND) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/procedure.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | ... 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:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | 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:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | 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:395:25 [INFO] [stdout] | [INFO] [stdout] 395 | 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:399:25 [INFO] [stdout] | [INFO] [stdout] 399 | 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:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | ... 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:406:44 [INFO] [stdout] | [INFO] [stdout] 406 | ... 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:406:57 [INFO] [stdout] | [INFO] [stdout] 406 | ... 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:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | ... 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:413:53 [INFO] [stdout] | [INFO] [stdout] 413 | ... 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:414:29 [INFO] [stdout] | [INFO] [stdout] 414 | ... 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:414:53 [INFO] [stdout] | [INFO] [stdout] 414 | ... 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:415:29 [INFO] [stdout] | [INFO] [stdout] 415 | ... 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:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | 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:424:29 [INFO] [stdout] | [INFO] [stdout] 424 | ... 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:314:36 [INFO] [stdout] | [INFO] [stdout] 314 | 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:320:32 [INFO] [stdout] | [INFO] [stdout] 320 | let prev_dpi = GetDpiForWindow(hwnd) as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> src/procedure.rs:424:44 [INFO] [stdout] | [INFO] [stdout] 424 | ... 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 `GetClientRect` in this scope [INFO] [stdout] --> src/procedure.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | 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:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | 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:330:45 [INFO] [stdout] | [INFO] [stdout] 330 | 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:330:59 [INFO] [stdout] | [INFO] [stdout] 330 | 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:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | 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:331:45 [INFO] [stdout] | [INFO] [stdout] 331 | 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:331:61 [INFO] [stdout] | [INFO] [stdout] 331 | 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:334:47 [INFO] [stdout] | [INFO] [stdout] 334 | 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:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | TRUE as LRESULT [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:424:57 [INFO] [stdout] | [INFO] [stdout] 424 | ... 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:444:29 [INFO] [stdout] | [INFO] [stdout] 444 | ... 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:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | 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:446:49 [INFO] [stdout] | [INFO] [stdout] 446 | 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:447:25 [INFO] [stdout] | [INFO] [stdout] 447 | 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:454:29 [INFO] [stdout] | [INFO] [stdout] 454 | ... 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:454:42 [INFO] [stdout] | [INFO] [stdout] 454 | ... 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:454:57 [INFO] [stdout] | [INFO] [stdout] 454 | ... 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:456:25 [INFO] [stdout] | [INFO] [stdout] 456 | 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:456:42 [INFO] [stdout] | [INFO] [stdout] 456 | 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:459:25 [INFO] [stdout] | [INFO] [stdout] 459 | DragAcceptFiles(hwnd, lparam as i32); [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:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | TRUE as LRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/procedure.rs:465:18 [INFO] [stdout] | [INFO] [stdout] 465 | _ => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | 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:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | 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:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | 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:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | 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:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct WindowStyle(DWORD); [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:340:39 [INFO] [stdout] | [INFO] [stdout] 340 | let hdrop = wparam as HDROP; [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:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) [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:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) [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:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | 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:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) [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:45:72 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:341:34 [INFO] [stdout] | [INFO] [stdout] 341 | 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 value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:45:89 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | 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:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | 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:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | 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:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | 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:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 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:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | self.0 |= WS_MAXIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryFileW` in this scope [INFO] [stdout] --> src/procedure.rs:344:31 [INFO] [stdout] | [INFO] [stdout] 344 | 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:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | 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 value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | self.0 &= !WS_MAXIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragQueryPoint` in this scope [INFO] [stdout] --> src/procedure.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | DragQueryPoint(hdrop, &mut pt); [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:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | self.value() == WS_POPUP [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragFinish` in this scope [INFO] [stdout] --> src/procedure.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | DragFinish(hdrop); [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:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | fn value(&self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/procedure.rs:376:83 [INFO] [stdout] | [INFO] [stdout] 376 | ... .position(|elem| elem.0 == window.raw_handle() as 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:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | style: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/procedure.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | ... 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:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | 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:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | 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:395:25 [INFO] [stdout] | [INFO] [stdout] 395 | 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:399:25 [INFO] [stdout] | [INFO] [stdout] 399 | 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:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | ... 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:406:44 [INFO] [stdout] | [INFO] [stdout] 406 | ... SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE, [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:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | let wc = WNDCLASSEXW { [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:406:57 [INFO] [stdout] | [INFO] [stdout] 406 | ... SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE, [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:207:45 [INFO] [stdout] | [INFO] [stdout] 200 | fn register_class() -> &'static Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 207 | cbSize: std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | ... 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:413:53 [INFO] [stdout] | [INFO] [stdout] 413 | ... GetWindowLongPtrW(hwnd, GWL_STYLE) as u32, [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:207:63 [INFO] [stdout] | [INFO] [stdout] 207 | cbSize: std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/procedure.rs:414:29 [INFO] [stdout] | [INFO] [stdout] 414 | ... GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as u32, [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:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | style: CS_VREDRAW | CS_HREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> src/procedure.rs:414:53 [INFO] [stdout] | [INFO] [stdout] 414 | ... GetWindowLongPtrW(hwnd, GWL_EXSTYLE) as u32, [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:208:37 [INFO] [stdout] | [INFO] [stdout] 208 | style: CS_VREDRAW | CS_HREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/procedure.rs:415:29 [INFO] [stdout] | [INFO] [stdout] 415 | ... GetDpiForWindow(hwnd), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window.rs:212:28 [INFO] [stdout] | [INFO] [stdout] 212 | 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:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/procedure.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | SetWindowPos( [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:214:60 [INFO] [stdout] | [INFO] [stdout] 214 | 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 `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/procedure.rs:424:29 [INFO] [stdout] | [INFO] [stdout] 424 | ... 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 `GetStockObject` in this scope [INFO] [stdout] --> src/window.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | hbrBackground: GetStockObject(WHITE_BRUSH as i32) as HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> src/procedure.rs:424:44 [INFO] [stdout] | [INFO] [stdout] 424 | ... SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE, [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:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | hbrBackground: GetStockObject(WHITE_BRUSH as i32) as HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope [INFO] [stdout] --> src/procedure.rs:424:57 [INFO] [stdout] | [INFO] [stdout] 424 | ... 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:444:29 [INFO] [stdout] | [INFO] [stdout] 444 | ... 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:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | 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:446:49 [INFO] [stdout] | [INFO] [stdout] 446 | 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:447:25 [INFO] [stdout] | [INFO] [stdout] 447 | 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:454:29 [INFO] [stdout] | [INFO] [stdout] 454 | ... 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:454:42 [INFO] [stdout] | [INFO] [stdout] 454 | ... 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:454:57 [INFO] [stdout] | [INFO] [stdout] 454 | ... 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:456:25 [INFO] [stdout] | [INFO] [stdout] 456 | 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:456:42 [INFO] [stdout] | [INFO] [stdout] 456 | 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:459:25 [INFO] [stdout] | [INFO] [stdout] 459 | 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:465:18 [INFO] [stdout] | [INFO] [stdout] 465 | _ => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | 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:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | 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:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | 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:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | 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:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | 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:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) [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:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) [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:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) [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:215:70 [INFO] [stdout] | [INFO] [stdout] 215 | 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 `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/window.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) [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:45:72 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | if RegisterClassExW(&wc) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:45:89 [INFO] [stdout] | [INFO] [stdout] 45 | Self(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) [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:240:53 [INFO] [stdout] | [INFO] [stdout] 240 | 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 value `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/window.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | self.0 |= WS_THICKFRAME; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | let hwnd = CreateWindowExW( [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:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | self.0 &= !WS_THICKFRAME; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | GetModuleHandleW(std::ptr::null_mut()), [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:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | self.0 |= WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DragAcceptFiles` in this scope [INFO] [stdout] --> src/window.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | DragAcceptFiles(hwnd, TRUE); [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:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | self.0 &= !WS_MINIMIZEBOX; [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:281:39 [INFO] [stdout] | [INFO] [stdout] 281 | 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:291:16 [INFO] [stdout] | [INFO] [stdout] 291 | pub style: DWORD, [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:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | self.0 |= WS_MAXIMIZEBOX; [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:310:29 [INFO] [stdout] | [INFO] [stdout] 310 | pub(crate) fn new(hwnd: HWND, state: WindowState) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/window.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | self.0 &= !WS_MAXIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetTitle as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | self.value() == WS_POPUP [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:326:39 [INFO] [stdout] | [INFO] [stdout] 326 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::SetTitle as usize, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | fn value(&self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/window.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | GetWindowRect(self.hwnd.0, &mut rc); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | style: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | 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:342:39 [INFO] [stdout] | [INFO] [stdout] 342 | 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[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | let wc = WNDCLASSEXW { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/window.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | GetClientRect(self.hwnd.0, &mut rc); [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:207:45 [INFO] [stdout] | [INFO] [stdout] 200 | fn register_class() -> &'static Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 207 | cbSize: std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | 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:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | 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[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:207:63 [INFO] [stdout] | [INFO] [stdout] 207 | cbSize: std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/window.rs:363:18 [INFO] [stdout] | [INFO] [stdout] 363 | unsafe { GetDpiForWindow(self.hwnd.0) as f32 / DEFAULT_DPI } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/window.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | 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 `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | ShowWindowAsync(self.hwnd.0, SW_SHOW); [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:208:37 [INFO] [stdout] | [INFO] [stdout] 208 | style: CS_VREDRAW | CS_HREDRAW, [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:368:42 [INFO] [stdout] | [INFO] [stdout] 368 | 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:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | 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 `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window.rs:212:28 [INFO] [stdout] | [INFO] [stdout] 212 | hInstance: GetModuleHandleW(std::ptr::null_mut()), [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:374:42 [INFO] [stdout] | [INFO] [stdout] 374 | 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 `LoadCursorW` in this scope [INFO] [stdout] --> src/window.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | 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 `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | InvalidateRect(self.hwnd.0, std::ptr::null_mut(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:380:63 [INFO] [stdout] | [INFO] [stdout] 380 | InvalidateRect(self.hwnd.0, std::ptr::null_mut(), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/window.rs:214:60 [INFO] [stdout] | [INFO] [stdout] 214 | 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 `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | 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 `GetStockObject` in this scope [INFO] [stdout] --> src/window.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | hbrBackground: GetStockObject(WHITE_BRUSH as i32) as HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/window.rs:392:43 [INFO] [stdout] | [INFO] [stdout] 392 | 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 `WHITE_BRUSH` in this scope [INFO] [stdout] --> src/window.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | 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 `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::EnableIme as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/window.rs:215:70 [INFO] [stdout] | [INFO] [stdout] 215 | hbrBackground: GetStockObject(WHITE_BRUSH as i32) as HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:411:39 [INFO] [stdout] | [INFO] [stdout] 411 | 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 `RegisterClassExW` in this scope [INFO] [stdout] --> src/window.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | 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:240:53 [INFO] [stdout] | [INFO] [stdout] 240 | 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:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | 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:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | 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:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | 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:281:39 [INFO] [stdout] | [INFO] [stdout] 281 | 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:291:16 [INFO] [stdout] | [INFO] [stdout] 291 | 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:310:29 [INFO] [stdout] | [INFO] [stdout] 310 | pub(crate) fn new(hwnd: HWND, state: WindowState) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | 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:326:39 [INFO] [stdout] | [INFO] [stdout] 326 | 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:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | 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:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | 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:342:39 [INFO] [stdout] | [INFO] [stdout] 342 | 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:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | 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:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | 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 `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | 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:417:39 [INFO] [stdout] | [INFO] [stdout] 417 | 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:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | 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[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:430:36 [INFO] [stdout] | [INFO] [stdout] 430 | 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:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | 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 `GetDpiForWindow` in this scope [INFO] [stdout] --> src/window.rs:363:18 [INFO] [stdout] | [INFO] [stdout] 363 | unsafe { GetDpiForWindow(self.hwnd.0) as f32 / DEFAULT_DPI } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:437:39 [INFO] [stdout] | [INFO] [stdout] 437 | 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:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::AcceptDragFiles as usize, (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 `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | ShowWindowAsync(self.hwnd.0, SW_SHOW); [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:443:39 [INFO] [stdout] | [INFO] [stdout] 443 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::AcceptDragFiles as usize, (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 `SW_SHOW` in this scope [INFO] [stdout] --> src/window.rs:368:42 [INFO] [stdout] | [INFO] [stdout] 368 | ShowWindowAsync(self.hwnd.0, SW_SHOW); [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:443:101 [INFO] [stdout] | [INFO] [stdout] 443 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::AcceptDragFiles as usize, (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 `ShowWindowAsync` in this scope [INFO] [stdout] --> src/window.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | ShowWindowAsync(self.hwnd.0, SW_HIDE); [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:443:115 [INFO] [stdout] | [INFO] [stdout] 443 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::AcceptDragFiles as usize, (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 `SW_HIDE` in this scope [INFO] [stdout] --> src/window.rs:374:42 [INFO] [stdout] | [INFO] [stdout] 374 | ShowWindowAsync(self.hwnd.0, SW_HIDE); [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:443:127 [INFO] [stdout] | [INFO] [stdout] 443 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::AcceptDragFiles as usize, (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 `HMONITOR` in this scope [INFO] [stdout] --> src/monitor.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | hmonitor: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | InvalidateRect(self.hwnd.0, std::ptr::null_mut(), FALSE); [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:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [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:380:63 [INFO] [stdout] | [INFO] [stdout] 380 | InvalidateRect(self.hwnd.0, std::ptr::null_mut(), FALSE); [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:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [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:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | PostMessageW(self.hwnd.0, WM_CLOSE, 0, 0); [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:25:77 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [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:392:43 [INFO] [stdout] | [INFO] [stdout] 392 | PostMessageW(self.hwnd.0, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/monitor.rs:25:93 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/monitor.rs:25:104 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [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:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | 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:411:39 [INFO] [stdout] | [INFO] [stdout] 411 | 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:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | 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:417:39 [INFO] [stdout] | [INFO] [stdout] 417 | 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:430:36 [INFO] [stdout] | [INFO] [stdout] 430 | 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:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | 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:437:39 [INFO] [stdout] | [INFO] [stdout] 437 | 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:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::AcceptDragFiles as usize, (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_USER` in this scope [INFO] [stdout] --> src/window.rs:443:39 [INFO] [stdout] | [INFO] [stdout] 443 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::AcceptDragFiles as usize, (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 `TRUE` in this scope [INFO] [stdout] --> src/window.rs:443:101 [INFO] [stdout] | [INFO] [stdout] 443 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::AcceptDragFiles as usize, (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:443:115 [INFO] [stdout] | [INFO] [stdout] 443 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::AcceptDragFiles as usize, (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:443:127 [INFO] [stdout] | [INFO] [stdout] 443 | PostMessageW(self.hwnd.0, WM_USER, UserMessage::AcceptDragFiles as usize, (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 `MONITORINFO` in this scope [INFO] [stdout] --> src/monitor.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 29 | info.cbSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/monitor.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | hmonitor: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/monitor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | GetMonitorInfoW(hmonitor, &mut info); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/monitor.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITORINFOF_PRIMARY` in this scope [INFO] [stdout] --> src/monitor.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | is_primary: (info.dwFlags & MONITORINFOF_PRIMARY) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/monitor.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [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[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/monitor.rs:25:77 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CMONITORS` in this scope [INFO] [stdout] --> src/monitor.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | let len = GetSystemMetrics(SM_CMONITORS) as usize; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/monitor.rs:25:93 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [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(std::ptr::null_mut(), std::ptr::null_mut(), Some(get_monitors_proc), (&mut v) as *mut Vec as 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:104 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/monitor.rs:45:131 [INFO] [stdout] | [INFO] [stdout] 45 | EnumDisplayMonitors(std::ptr::null_mut(), std::ptr::null_mut(), Some(get_monitors_proc), (&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:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let hmonitor = MonitorFromPoint(POINT { x: point.x, y: point.y }, 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:29:39 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn get_monitors_proc(hmonitor: HMONITOR, _: HDC, rc: LPRECT, lparam: LPARAM) -> BOOL { [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[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/monitor.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | let hmonitor = MonitorFromPoint(POINT { x: point.x, y: point.y }, MONITOR_DEFAULTTONULL); [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:53:75 [INFO] [stdout] | [INFO] [stdout] 53 | let hmonitor = MonitorFromPoint(POINT { x: point.x, y: point.y }, MONITOR_DEFAULTTONULL); [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[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stdout] --> src/monitor.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn monitor_from_point(point: ScreenPosition) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 58 | 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:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | 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(std::ptr::null_mut(), std::ptr::null_mut(), Some(get_monitors_proc), (&mut v) as *mut Vec 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/monitor.rs:45:131 [INFO] [stdout] | [INFO] [stdout] 45 | EnumDisplayMonitors(std::ptr::null_mut(), std::ptr::null_mut(), Some(get_monitors_proc), (&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:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let hmonitor = MonitorFromPoint(POINT { x: point.x, y: point.y }, MONITOR_DEFAULTTONULL); [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:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | let hmonitor = MonitorFromPoint(POINT { x: point.x, y: point.y }, MONITOR_DEFAULTTONULL); [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:53:75 [INFO] [stdout] | [INFO] [stdout] 53 | let hmonitor = MonitorFromPoint(POINT { x: point.x, y: point.y }, 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:58:43 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn monitor_from_point(point: ScreenPosition) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 58 | 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:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | 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:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | 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:76:57 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(monitors.len(), GetSystemMetrics(SM_CMONITORS) as usize); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/context.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | window_table: RefCell::new(Vec::new()), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/context.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | window_table: RefCell::new(Vec::new()), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 311 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, 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 313 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, 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" "24e8742533c7139c6b7403b9bd03d91666b9811b47b15c6d76b0ea0ded892f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e8742533c7139c6b7403b9bd03d91666b9811b47b15c6d76b0ea0ded892f9c", kill_on_drop: false }` [INFO] [stdout] 24e8742533c7139c6b7403b9bd03d91666b9811b47b15c6d76b0ea0ded892f9c