[INFO] cloning repository https://github.com/AnthIste/WinMan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnthIste/WinMan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnthIste%2FWinMan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnthIste%2FWinMan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab2a8aaeef28207ee233626601c5d899a19c8e96 [INFO] checking AnthIste/WinMan against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnthIste%2FWinMan" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnthIste/WinMan on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AnthIste/WinMan [INFO] finished tweaking git repo https://github.com/AnthIste/WinMan [INFO] tweaked toml for git repo https://github.com/AnthIste/WinMan written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/AnthIste/WinMan already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41873c858415df6d534915895127be94456d0725c56e7e529cbab9dfbd8a1042 [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" "41873c858415df6d534915895127be94456d0725c56e7e529cbab9dfbd8a1042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41873c858415df6d534915895127be94456d0725c56e7e529cbab9dfbd8a1042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41873c858415df6d534915895127be94456d0725c56e7e529cbab9dfbd8a1042", kill_on_drop: false }` [INFO] [stdout] 41873c858415df6d534915895127be94456d0725c56e7e529cbab9dfbd8a1042 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de8fe4dbc3b9a14e3f66d2ac62e85871e2b8754f459f9ff621ca4f20e67e58fc [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" "de8fe4dbc3b9a14e3f66d2ac62e85871e2b8754f459f9ff621ca4f20e67e58fc", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Compiling winman v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking spmc v0.2.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling user32-sys v0.1.2 [INFO] [stderr] Compiling gdi32-sys v0.2.0 [INFO] [stderr] Compiling comctl32-sys v0.2.0 [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> build.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking fuzzy v0.1.0 (/opt/rustwide/workdir/deps/fuzzy) [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/winman.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::minwindef::*; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/winman.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::windef::*; [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/constants.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::minwindef::*; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/utils/api_wrappers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::minwindef::*; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/utils/api_wrappers.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::windef::*; [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/window_tracking.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::minwindef::*; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/window_tracking.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::windef::*; [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/windows/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::windef::*; [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/winman.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::minwindef::*; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/winman.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::windef::*; [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/constants.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::minwindef::*; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/utils/api_wrappers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::minwindef::*; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/utils/api_wrappers.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::windef::*; [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/window_tracking.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::minwindef::*; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::winuser`, `winapi`, `kernel32`, `user32`, `utils`, `kernel32`, `user32`, `utils`, `user32`, `user32`, `kernel32`, `kernel32`, `user32`, `spmc`, `utils`, `windows::ManagedWindow2`, `kernel32`, `user32`, `gdi32`, `spmc`, `utils`, `comctl32`, `kernel32`, `user32`, `utils` [INFO] [stdout] | [INFO] [stdout] ::: src/windows/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | use winapi::windef::*; [INFO] [stdout] 4 | use winapi::winuser; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `winuser` in the root [INFO] [stdout] --> src/utils/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/api_wrappers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/window_tracking.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/windows/main/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use spmc; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | use utils::Win32Result; [INFO] [stdout] 9 | use windows::ManagedWindow2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/windows/popup/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use gdi32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | use spmc; [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/windows/popup/edit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use comctl32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/window_tracking.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::windef::*; [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/windows/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::windef::*; [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::winuser`, `winapi`, `kernel32`, `user32`, `utils`, `kernel32`, `user32`, `utils`, `user32`, `user32`, `kernel32`, `kernel32`, `user32`, `spmc`, `utils`, `windows::ManagedWindow2`, `kernel32`, `user32`, `gdi32`, `spmc`, `utils`, `comctl32`, `kernel32`, `user32`, `utils` [INFO] [stdout] | [INFO] [stdout] ::: src/windows/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | use winapi::windef::*; [INFO] [stdout] 4 | use winapi::winuser; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `winuser` in the root [INFO] [stdout] --> src/utils/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/api_wrappers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/window_tracking.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/windows/main/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use spmc; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | use utils::Win32Result; [INFO] [stdout] 9 | use windows::ManagedWindow2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/windows/popup/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use gdi32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | use spmc; [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/windows/popup/edit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use comctl32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | use kernel32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/window_tracking.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | let mut placement: winuser::WINDOWPLACEMENT = ::std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/window_tracking.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | placement.length = ::std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/window_tracking.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | let mut placement: winuser::WINDOWPLACEMENT = ::std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/window_tracking.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | placement.length = ::std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/constants.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MOD_ALT: UINT = 0x0001; [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/constants.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MOD_CONTROL: UINT = 0x0002; [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/constants.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MOD_NOREPEAT: UINT = 0x4000; [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/constants.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MOD_SHIFT: UINT = 0x0004; [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/constants.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MOD_WIN: UINT = 0x0008; [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/constants.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub const VK_0: UINT = 0x30; [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/constants.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub const VK_1: UINT = 0x31; [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/constants.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub const VK_2: UINT = 0x32; [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/constants.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub const VK_3: UINT = 0x33; [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/constants.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub const VK_4: UINT = 0x34; [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/constants.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub const VK_5: UINT = 0x35; [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/constants.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | pub const VK_6: UINT = 0x36; [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/constants.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub const VK_7: UINT = 0x37; [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/constants.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub const VK_8: UINT = 0x38; [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/constants.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub const VK_9: UINT = 0x39; [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/constants.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub const VK_Q: UINT = 0x51; [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/utils/api_wrappers.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | where T: FnMut(HWND) -> 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/utils/api_wrappers.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | where T: FnMut(HWND) -> 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/utils/api_wrappers.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe extern "system" fn helper BOOL>(hwnd: HWND, 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/utils/api_wrappers.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe extern "system" fn helper BOOL>(hwnd: HWND, lparam: LPARAM) -> 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/utils/api_wrappers.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe extern "system" fn helper BOOL>(hwnd: HWND, 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/utils/api_wrappers.rs:13:82 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe extern "system" fn helper BOOL>(hwnd: HWND, 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/utils/api_wrappers.rs:13:93 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe extern "system" fn helper BOOL>(hwnd: HWND, 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 `EnumWindows` in crate `user32` [INFO] [stdout] --> src/utils/api_wrappers.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | user32::EnumWindows(Some(helper::), ppfn as LPARAM) [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/utils/api_wrappers.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | user32::EnumWindows(Some(helper::), ppfn 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 `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/utils/api_wrappers.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | FALSE => match unsafe { kernel32::GetLastError() } { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/utils/api_wrappers.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_window_text(hwnd: HWND) -> Win32Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in crate `user32` [INFO] [stdout] --> src/utils/api_wrappers.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | match user32::GetWindowTextLengthW(hwnd) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/utils/api_wrappers.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | return Err(kernel32::GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in crate `user32` [INFO] [stdout] --> src/utils/api_wrappers.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | user32::GetWindowTextW(hwnd, buffer.as_mut_ptr(), buffer.len() as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in crate `winapi` [INFO] [stdout] --> src/utils/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Win32Result = Result; [INFO] [stdout] | ^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window_tracking.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window_tracking.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(hwnd: HWND, title: String) -> 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/window_tracking.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn hwnd(&self) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window_tracking.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Config { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 79 | windows: HashMap [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_tracking.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn track_window(&mut self, vk: UINT, window: Window) { [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_tracking.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_windows(&mut self, vk: UINT) -> Option<&mut WindowSet> { [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_tracking.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn clear_windows(&mut self, vk: UINT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in crate `user32` [INFO] [stdout] --> src/window_tracking.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let hwnd = user32::GetForegroundWindow(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window_tracking.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | if hwnd == 0 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 `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/window_tracking.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | return Err(kernel32::GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window_tracking.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn set_foreground_window(hwnd: HWND) -> Win32Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowPlacement` in crate `user32` [INFO] [stdout] --> src/window_tracking.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | user32::GetWindowPlacement(hwnd, &mut placement); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stdout] --> src/window_tracking.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | SW_SHOWMINIMIZED => SW_RESTORE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in this scope [INFO] [stdout] --> src/window_tracking.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | _ => SW_NORMAL, [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 crate `user32` [INFO] [stdout] --> src/window_tracking.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | user32::ShowWindow(hwnd, sw); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/constants.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MOD_ALT: UINT = 0x0001; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in crate `user32` [INFO] [stdout] --> src/window_tracking.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | if user32::SetForegroundWindow(hwnd) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/constants.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MOD_CONTROL: UINT = 0x0002; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/window_tracking.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | return Err(kernel32::GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/constants.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MOD_NOREPEAT: UINT = 0x4000; [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/constants.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MOD_SHIFT: UINT = 0x0004; [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/windows/main/mod.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/constants.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MOD_WIN: UINT = 0x0008; [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/constants.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub const VK_0: UINT = 0x30; [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/constants.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub const VK_1: UINT = 0x31; [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/constants.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub const VK_2: UINT = 0x32; [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/constants.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub const VK_3: UINT = 0x33; [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/constants.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub const VK_4: UINT = 0x34; [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/constants.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub const VK_5: UINT = 0x35; [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/windows/main/mod.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | let mut window_class: WNDCLASSEXW = unsafe { ::std::mem::zeroed() }; [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/constants.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | pub const VK_6: UINT = 0x36; [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/constants.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub const VK_7: UINT = 0x37; [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/constants.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub const VK_8: UINT = 0x38; [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/constants.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub const VK_9: UINT = 0x39; [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/windows/main/mod.rs:43:53 [INFO] [stdout] | [INFO] [stdout] 38 | impl AppWindow { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 43 | window_class.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 `UINT` in this scope [INFO] [stdout] --> src/constants.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub const VK_Q: UINT = 0x51; [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/utils/api_wrappers.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | where T: FnMut(HWND) -> BOOL { [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 crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | match user32::RegisterClassExW(&window_class) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/utils/api_wrappers.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | where T: FnMut(HWND) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/main/mod.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | 0 => Err(kernel32::GetLastError()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/utils/api_wrappers.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe extern "system" fn helper BOOL>(hwnd: HWND, 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 `CreateWindowExW` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let hwnd = user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/utils/api_wrappers.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe extern "system" fn helper BOOL>(hwnd: HWND, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | 0 as LPCWSTR, [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/utils/api_wrappers.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe extern "system" fn helper BOOL>(hwnd: HWND, lparam: LPARAM) -> 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/windows/main/mod.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | 0 as 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/utils/api_wrappers.rs:13:82 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe extern "system" fn helper BOOL>(hwnd: HWND, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | 0 as HMENU, [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/utils/api_wrappers.rs:13:93 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe extern "system" fn helper BOOL>(hwnd: HWND, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in crate `user32` [INFO] [stdout] --> src/utils/api_wrappers.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | user32::EnumWindows(Some(helper::), ppfn as LPARAM) [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | 0 as LPVOID); [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/windows/main/mod.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | if hwnd == 0 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 `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/main/mod.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | return Err(kernel32::GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | unsafe { user32::PostQuitMessage(0); } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:122:49 [INFO] [stdout] | [INFO] [stdout] 122 | 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/windows/main/mod.rs:122:60 [INFO] [stdout] | [INFO] [stdout] 122 | 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/windows/main/mod.rs:122:74 [INFO] [stdout] | [INFO] [stdout] 122 | 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/windows/main/mod.rs:122:90 [INFO] [stdout] | [INFO] [stdout] 122 | 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/windows/main/mod.rs:122:101 [INFO] [stdout] | [INFO] [stdout] 122 | 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 `LOWORD` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | let modifiers = LOWORD(lparam as DWORD) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:129:54 [INFO] [stdout] | [INFO] [stdout] 129 | let modifiers = LOWORD(lparam as DWORD) as u32; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | let vk = HIWORD(lparam as DWORD) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:130:47 [INFO] [stdout] | [INFO] [stdout] 130 | let vk = HIWORD(lparam as DWORD) 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 `PostQuitMessage` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | user32::PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | user32::DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | fn register_hotkeys(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | user32::RegisterHotKey(hwnd, HK_QUIT, MOD_QUIT, VK_Q); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | user32::RegisterHotKey(hwnd, HK_POPUP, MOD_POPUP, 0x20); // VK_SPACE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | user32::RegisterHotKey(hwnd, HK_GRAB, MOD_GRAB, vk_n); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/utils/api_wrappers.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | user32::EnumWindows(Some(helper::), ppfn 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 `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/utils/api_wrappers.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | FALSE => match unsafe { kernel32::GetLastError() } { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/utils/api_wrappers.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_window_text(hwnd: HWND) -> Win32Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in crate `user32` [INFO] [stdout] --> src/utils/api_wrappers.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | match user32::GetWindowTextLengthW(hwnd) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/utils/api_wrappers.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | return Err(kernel32::GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in crate `user32` [INFO] [stdout] --> src/utils/api_wrappers.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | user32::GetWindowTextW(hwnd, buffer.as_mut_ptr(), buffer.len() as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in crate `winapi` [INFO] [stdout] --> src/utils/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Win32Result = Result; [INFO] [stdout] | ^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window_tracking.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window_tracking.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(hwnd: HWND, title: String) -> 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/window_tracking.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn hwnd(&self) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window_tracking.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Config { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 79 | windows: HashMap [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_tracking.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn track_window(&mut self, vk: UINT, window: Window) { [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_tracking.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_windows(&mut self, vk: UINT) -> Option<&mut WindowSet> { [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_tracking.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn clear_windows(&mut self, vk: UINT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in crate `user32` [INFO] [stdout] --> src/window_tracking.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let hwnd = user32::GetForegroundWindow(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window_tracking.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | if hwnd == 0 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 `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/window_tracking.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | return Err(kernel32::GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window_tracking.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn set_foreground_window(hwnd: HWND) -> Win32Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowPlacement` in crate `user32` [INFO] [stdout] --> src/window_tracking.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | user32::GetWindowPlacement(hwnd, &mut placement); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stdout] --> src/window_tracking.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | SW_SHOWMINIMIZED => SW_RESTORE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in this scope [INFO] [stdout] --> src/window_tracking.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | _ => SW_NORMAL, [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 crate `user32` [INFO] [stdout] --> src/window_tracking.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | user32::ShowWindow(hwnd, sw); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in crate `user32` [INFO] [stdout] --> src/window_tracking.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | if user32::SetForegroundWindow(hwnd) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/window_tracking.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | return Err(kernel32::GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub hwnd: HWND, [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/windows/main/mod.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | let mut window_class: WNDCLASSEXW = unsafe { ::std::mem::zeroed() }; [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/windows/main/mod.rs:43:53 [INFO] [stdout] | [INFO] [stdout] 38 | impl AppWindow { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 43 | window_class.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 `RegisterClassExW` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | match user32::RegisterClassExW(&window_class) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/main/mod.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | 0 => Err(kernel32::GetLastError()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let hwnd = user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | user32::RegisterHotKey(hwnd, HK_SWITCH, MOD_SWITCH, vk_n); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | user32::RegisterHotKey(hwnd, HK_CLEAR, MOD_CLEAR, vk_n); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct EditBox { pub hwnd: HWND } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(parent: HWND, bounds: Bounds) -> Win32Result { [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 crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | let hwnd = user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | 0 as LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ES_AUTOVSCROLL` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | | winuser::ES_LEFT | winuser::ES_AUTOHSCROLL | ES_AUTOVSCROLL, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | 0 as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | 0 as HINSTANCE, [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/windows/popup/edit.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | 0 as LPVOID); [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/windows/popup/edit.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | if hwnd == 0 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 `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/popup/edit.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | return Err(kernel32::GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let mut rect = RECT { left: 0, top: 0, right: 0, bottom: 0 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | user32::SendMessageW(hwnd, EM_GETRECT as UINT, 0, (&rect as *const _) as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EM_GETRECT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | user32::SendMessageW(hwnd, EM_GETRECT as UINT, 0, (&rect as *const _) as LPARAM); [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/windows/popup/edit.rs:51:54 [INFO] [stdout] | [INFO] [stdout] 51 | user32::SendMessageW(hwnd, EM_GETRECT as UINT, 0, (&rect as *const _) 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/windows/popup/edit.rs:51:86 [INFO] [stdout] | [INFO] [stdout] 51 | user32::SendMessageW(hwnd, EM_GETRECT as UINT, 0, (&rect as *const _) as LPARAM); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | 0 as LPCWSTR, [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/windows/main/mod.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | 0 as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | 0 as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | 0 as HINSTANCE, [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/windows/main/mod.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | 0 as LPVOID); [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/windows/main/mod.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | if hwnd == 0 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 `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/main/mod.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | return Err(kernel32::GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | unsafe { user32::PostQuitMessage(0); } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:122:49 [INFO] [stdout] | [INFO] [stdout] 122 | 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/windows/main/mod.rs:122:60 [INFO] [stdout] | [INFO] [stdout] 122 | 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/windows/main/mod.rs:122:74 [INFO] [stdout] | [INFO] [stdout] 122 | 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/windows/main/mod.rs:122:90 [INFO] [stdout] | [INFO] [stdout] 122 | 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/windows/main/mod.rs:122:101 [INFO] [stdout] | [INFO] [stdout] 122 | 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 `LOWORD` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | let modifiers = LOWORD(lparam as DWORD) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:129:54 [INFO] [stdout] | [INFO] [stdout] 129 | let modifiers = LOWORD(lparam as DWORD) as u32; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | let vk = HIWORD(lparam as DWORD) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:130:47 [INFO] [stdout] | [INFO] [stdout] 130 | let vk = HIWORD(lparam as DWORD) 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 `PostQuitMessage` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | user32::PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | user32::DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/main/mod.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | fn register_hotkeys(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | user32::RegisterHotKey(hwnd, HK_QUIT, MOD_QUIT, VK_Q); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | user32::RegisterHotKey(hwnd, HK_POPUP, MOD_POPUP, 0x20); // VK_SPACE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | user32::RegisterHotKey(hwnd, HK_GRAB, MOD_GRAB, vk_n); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | user32::RegisterHotKey(hwnd, HK_SWITCH, MOD_SWITCH, vk_n); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in crate `user32` [INFO] [stdout] --> src/windows/main/mod.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | user32::RegisterHotKey(hwnd, HK_CLEAR, MOD_CLEAR, vk_n); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct EditBox { pub hwnd: HWND } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(parent: HWND, bounds: Bounds) -> Win32Result { [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 crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | let hwnd = user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | 0 as LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ES_AUTOVSCROLL` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | | winuser::ES_LEFT | winuser::ES_AUTOHSCROLL | ES_AUTOVSCROLL, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | 0 as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | 0 as HINSTANCE, [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/windows/popup/edit.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | 0 as LPVOID); [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/windows/popup/edit.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | if hwnd == 0 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 `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/popup/edit.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | return Err(kernel32::GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let mut rect = RECT { left: 0, top: 0, right: 0, bottom: 0 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | user32::SendMessageW(hwnd, EM_GETRECT as UINT, 0, (&rect as *const _) as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EM_GETRECT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | user32::SendMessageW(hwnd, EM_GETRECT as UINT, 0, (&rect as *const _) as LPARAM); [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/windows/popup/edit.rs:51:54 [INFO] [stdout] | [INFO] [stdout] 51 | user32::SendMessageW(hwnd, EM_GETRECT as UINT, 0, (&rect as *const _) 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/windows/popup/edit.rs:51:86 [INFO] [stdout] | [INFO] [stdout] 51 | user32::SendMessageW(hwnd, EM_GETRECT as UINT, 0, (&rect as *const _) 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 `SendMessageW` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | user32::SendMessageW(hwnd, EM_SETRECT as UINT, 0, (&rect as *const _) as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EM_SETRECT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | user32::SendMessageW(hwnd, EM_SETRECT as UINT, 0, (&rect as *const _) as LPARAM); [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/windows/popup/edit.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | user32::SendMessageW(hwnd, EM_SETRECT as UINT, 0, (&rect as *const _) 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/windows/popup/edit.rs:55:86 [INFO] [stdout] | [INFO] [stdout] 55 | user32::SendMessageW(hwnd, EM_SETRECT as UINT, 0, (&rect as *const _) 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 `SetWindowSubclass` in crate `comctl32` [INFO] [stdout] --> src/windows/popup/edit.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | comctl32::SetWindowSubclass(hwnd, Some(subclass_proc_edit), 666, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `comctl32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | user32::SendMessageW(self.hwnd, WM_GETTEXT, BUFFER_LEN as WPARAM, buffer.as_ptr() as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_GETTEXT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | user32::SendMessageW(self.hwnd, WM_GETTEXT, BUFFER_LEN as WPARAM, buffer.as_ptr() as LPARAM); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:73:71 [INFO] [stdout] | [INFO] [stdout] 73 | user32::SendMessageW(self.hwnd, WM_GETTEXT, BUFFER_LEN as WPARAM, buffer.as_ptr() 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 `SendMessageW` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | user32::SendMessageW(hwnd, EM_SETRECT as UINT, 0, (&rect as *const _) as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:73:98 [INFO] [stdout] | [INFO] [stdout] 73 | user32::SendMessageW(self.hwnd, WM_GETTEXT, BUFFER_LEN as WPARAM, buffer.as_ptr() 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 `SendMessageW` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | user32::SendMessageW(self.hwnd, WM_SETTEXT, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETTEXT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | user32::SendMessageW(self.hwnd, WM_SETTEXT, 0, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> 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/windows/popup/edit.rs:92:63 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> 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/windows/popup/edit.rs:92:77 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EM_SETRECT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | user32::SendMessageW(hwnd, EM_SETRECT as UINT, 0, (&rect as *const _) as LPARAM); [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/windows/popup/edit.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | user32::SendMessageW(hwnd, EM_SETRECT as UINT, 0, (&rect as *const _) 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/windows/popup/edit.rs:55:86 [INFO] [stdout] | [INFO] [stdout] 55 | user32::SendMessageW(hwnd, EM_SETRECT as UINT, 0, (&rect as *const _) 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 `SetWindowSubclass` in crate `comctl32` [INFO] [stdout] --> src/windows/popup/edit.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | comctl32::SetWindowSubclass(hwnd, Some(subclass_proc_edit), 666, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `comctl32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | user32::SendMessageW(self.hwnd, WM_GETTEXT, BUFFER_LEN as WPARAM, buffer.as_ptr() as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_GETTEXT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | user32::SendMessageW(self.hwnd, WM_GETTEXT, BUFFER_LEN as WPARAM, buffer.as_ptr() as LPARAM); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:73:71 [INFO] [stdout] | [INFO] [stdout] 73 | user32::SendMessageW(self.hwnd, WM_GETTEXT, BUFFER_LEN as WPARAM, buffer.as_ptr() 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/windows/popup/edit.rs:73:98 [INFO] [stdout] | [INFO] [stdout] 73 | user32::SendMessageW(self.hwnd, WM_GETTEXT, BUFFER_LEN as WPARAM, buffer.as_ptr() 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/windows/popup/edit.rs:92:93 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:92:104 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:92:117 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | user32::SendMessageW(self.hwnd, WM_SETTEXT, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:92:131 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetParent` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | let hwnd_parent = user32::GetParent(hwnd); [INFO] [stdout] | ^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | user32::SendMessageW(hwnd_parent, WM_NOTIFY, 0 as WPARAM, (&nmhdr as *const _) as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_NOTIFY` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | user32::SendMessageW(hwnd_parent, WM_NOTIFY, 0 as WPARAM, (&nmhdr as *const _) as LPARAM); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:100:59 [INFO] [stdout] | [INFO] [stdout] 100 | user32::SendMessageW(hwnd_parent, WM_NOTIFY, 0 as WPARAM, (&nmhdr as *const _) 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/windows/popup/edit.rs:100:91 [INFO] [stdout] | [INFO] [stdout] 100 | user32::SendMessageW(hwnd_parent, WM_NOTIFY, 0 as WPARAM, (&nmhdr as *const _) as LPARAM); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETTEXT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | user32::SendMessageW(self.hwnd, WM_SETTEXT, 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 `DefSubclassProc` in crate `comctl32` [INFO] [stdout] --> src/windows/popup/edit.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | comctl32::DefSubclassProc(hwnd, msg, wparam, lparam); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `comctl32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefSubclassProc` in crate `comctl32` [INFO] [stdout] --> src/windows/popup/edit.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | comctl32::DefSubclassProc(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `comctl32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | hwnd: HWND, [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/windows/popup/mod.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | hbrush_primary: HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | hbrush_secondary: HBRUSH, [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/windows/popup/mod.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | let mut window_class: WNDCLASSEXW = unsafe { ::std::mem::zeroed() }; [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/windows/popup/mod.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 40 | impl PopupWindow { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | window_class.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 `HWND` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [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 crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | window_class.hCursor = unsafe { user32::LoadCursorW(0 as HINSTANCE, winuser::IDC_ARROW) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:92:63 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | window_class.hCursor = unsafe { user32::LoadCursorW(0 as HINSTANCE, winuser::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 `RegisterClassExW` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | match user32::RegisterClassExW(&window_class) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:92:77 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/popup/mod.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | 0 => Err(kernel32::GetLastError()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:92:93 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> 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/windows/popup/mod.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new(hwnd_parent: HWND) -> Win32Result> { [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 crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:92:104 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | 0 as LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | 0 as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:92:117 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | 0 as HINSTANCE, [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/windows/popup/edit.rs:92:131 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern "system" fn subclass_proc_edit(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM, _: UINT_PTR, _: DWORD_PTR) -> LRESULT { [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/windows/popup/mod.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | 0 as LPVOID) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | unsafe { user32::DestroyWindow(hwnd); } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetParent` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | let hwnd_parent = user32::GetParent(hwnd); [INFO] [stdout] | ^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | fn new_impl(hwnd: HWND) -> Win32Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/windows/popup/edit.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | user32::SendMessageW(hwnd_parent, WM_NOTIFY, 0 as WPARAM, (&nmhdr as *const _) as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in crate `gdi32` [INFO] [stdout] --> src/windows/popup/mod.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | let hbrush_primary = unsafe { gdi32::CreateSolidBrush(THEME_BG_COLOR) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_NOTIFY` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | user32::SendMessageW(hwnd_parent, WM_NOTIFY, 0 as WPARAM, (&nmhdr as *const _) 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 `CreateSolidBrush` in crate `gdi32` [INFO] [stdout] --> src/windows/popup/mod.rs:124:48 [INFO] [stdout] | [INFO] [stdout] 124 | let hbrush_secondary = unsafe { gdi32::CreateSolidBrush(THEME_EDIT_BG_COLOR) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | user32::SetWindowPos(self.hwnd, winuser::HWND_TOPMOST, x, y, w, h, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | user32::ShowWindow(self.hwnd, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:157:43 [INFO] [stdout] | [INFO] [stdout] 157 | user32::ShowWindow(self.hwnd, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | user32::SetForegroundWindow(self.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetFocus` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | user32::SetFocus(self.edit_box.hwnd); [INFO] [stdout] | ^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | user32::ShowWindow(self.hwnd, 0); // SW_HIDE [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | fn wm_erasebkgnd(&self, hdc: HDC) -> Option { [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/windows/popup/mod.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 40 | impl PopupWindow { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 171 | fn wm_erasebkgnd(&self, hdc: HDC) -> Option { [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/windows/popup/mod.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | let mut rc = RECT { left: 0, top: 0, right: 0, bottom: 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 crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | user32::GetClientRect(self.hwnd, &mut rc); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | user32::FillRect(hdc, &rc, brush); [INFO] [stdout] | ^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | fn wm_ctlcoloredit(&self, hdc: HDC) -> Option { [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/windows/popup/mod.rs:185:51 [INFO] [stdout] | [INFO] [stdout] 40 | impl PopupWindow { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 185 | fn wm_ctlcoloredit(&self, hdc: HDC) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in crate `gdi32` [INFO] [stdout] --> src/windows/popup/mod.rs:187:20 [INFO] [stdout] | [INFO] [stdout] 187 | gdi32::SetBkColor(hdc, THEME_EDIT_BG_COLOR); [INFO] [stdout] | ^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in crate `gdi32` [INFO] [stdout] --> src/windows/popup/mod.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | gdi32::SetTextColor(hdc, THEME_EDIT_COLOR); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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/windows/popup/mod.rs:226:60 [INFO] [stdout] | [INFO] [stdout] 226 | 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/windows/popup/mod.rs:226:74 [INFO] [stdout] | [INFO] [stdout] 226 | 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/windows/popup/mod.rs:226:90 [INFO] [stdout] | [INFO] [stdout] 226 | 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/windows/popup/mod.rs:226:101 [INFO] [stdout] | [INFO] [stdout] 226 | 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 `HDC` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | let hdc: HDC = wparam as HDC; [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/windows/popup/mod.rs:232:46 [INFO] [stdout] | [INFO] [stdout] 232 | let hdc: HDC = wparam as HDC; [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/windows/popup/mod.rs:234:60 [INFO] [stdout] | [INFO] [stdout] 234 | let dc_brush = dc_brush.unwrap_or(0 as HBRUSH); [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/windows/popup/mod.rs:236:40 [INFO] [stdout] | [INFO] [stdout] 236 | return dc_brush as LRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/windows/popup/edit.rs:100:59 [INFO] [stdout] | [INFO] [stdout] 100 | user32::SendMessageW(hwnd_parent, WM_NOTIFY, 0 as WPARAM, (&nmhdr as *const _) as LPARAM); [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/windows/popup/mod.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 240 | let hdc: HDC = wparam as HDC; [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/windows/popup/mod.rs:240:46 [INFO] [stdout] | [INFO] [stdout] 240 | let hdc: HDC = wparam as HDC; [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/windows/popup/edit.rs:100:91 [INFO] [stdout] | [INFO] [stdout] 100 | user32::SendMessageW(hwnd_parent, WM_NOTIFY, 0 as WPARAM, (&nmhdr as *const _) as LPARAM); [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/windows/popup/mod.rs:242:60 [INFO] [stdout] | [INFO] [stdout] 242 | let dc_brush = dc_brush.unwrap_or(0 as HBRUSH); [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/windows/popup/mod.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | return dc_brush 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 `PostQuitMessage` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | user32::PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefSubclassProc` in crate `comctl32` [INFO] [stdout] --> src/windows/popup/edit.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | comctl32::DefSubclassProc(hwnd, msg, wparam, lparam); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `comctl32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | user32::DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefSubclassProc` in crate `comctl32` [INFO] [stdout] --> src/windows/popup/edit.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | comctl32::DefSubclassProc(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `comctl32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/mod.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(hwnd: HWND, data: Box) -> Win32Result { [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/windows/popup/mod.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/mod.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | kernel32::SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | hbrush_primary: HBRUSH, [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 crate `user32` [INFO] [stdout] --> src/windows/mod.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | let prev_value = user32::SetWindowLongPtrW(hwnd, winuser::GWLP_USERDATA, (data.as_ref() as *const T) as LONG_PTR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | hbrush_secondary: HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stdout] --> src/windows/mod.rs:21:117 [INFO] [stdout] | [INFO] [stdout] 21 | let prev_value = user32::SetWindowLongPtrW(hwnd, winuser::GWLP_USERDATA, (data.as_ref() as *const T) as LONG_PTR); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/mod.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let err = kernel32::GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | let mut window_class: WNDCLASSEXW = unsafe { ::std::mem::zeroed() }; [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/windows/mod.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn get_instance_mut<'a>(hwnd: HWND) -> Option<&'a mut T> { [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 crate `user32` [INFO] [stdout] --> src/windows/mod.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | let ptr = user32::GetWindowLongPtrW(hwnd, winuser::GWLP_USERDATA) as *mut T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 40 | impl PopupWindow { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | window_class.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 `SetWindowLongPtrW` in crate `user32` [INFO] [stdout] --> src/windows/mod.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { user32::SetWindowLongPtrW(self.hwnd, GWLP_USERDATA, 0); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | window_class.hCursor = unsafe { user32::LoadCursorW(0 as HINSTANCE, winuser::IDC_ARROW) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/windows/mod.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { user32::SetWindowLongPtrW(self.hwnd, GWLP_USERDATA, 0); } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | window_class.hCursor = unsafe { user32::LoadCursorW(0 as HINSTANCE, winuser::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 `GetSystemMetrics` in crate `user32` [INFO] [stdout] --> src/windows/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | user32::GetSystemMetrics(winuser::SM_CXSCREEN), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | match user32::RegisterClassExW(&window_class) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in crate `user32` [INFO] [stdout] --> src/windows/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | user32::GetSystemMetrics(winuser::SM_CYSCREEN), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/popup/mod.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | 0 => Err(kernel32::GetLastError()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new(hwnd_parent: HWND) -> Win32Result> { [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 crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | 0 as LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | 0 as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | 0 as HINSTANCE, [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/windows/popup/mod.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | 0 as LPVOID) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | unsafe { user32::DestroyWindow(hwnd); } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | fn new_impl(hwnd: HWND) -> Win32Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in crate `gdi32` [INFO] [stdout] --> src/windows/popup/mod.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | let hbrush_primary = unsafe { gdi32::CreateSolidBrush(THEME_BG_COLOR) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in crate `gdi32` [INFO] [stdout] --> src/windows/popup/mod.rs:124:48 [INFO] [stdout] | [INFO] [stdout] 124 | let hbrush_secondary = unsafe { gdi32::CreateSolidBrush(THEME_EDIT_BG_COLOR) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | user32::SetWindowPos(self.hwnd, winuser::HWND_TOPMOST, x, y, w, h, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | user32::ShowWindow(self.hwnd, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:157:43 [INFO] [stdout] | [INFO] [stdout] 157 | user32::ShowWindow(self.hwnd, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | user32::SetForegroundWindow(self.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetFocus` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | user32::SetFocus(self.edit_box.hwnd); [INFO] [stdout] | ^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | user32::ShowWindow(self.hwnd, 0); // SW_HIDE [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | fn wm_erasebkgnd(&self, hdc: HDC) -> 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/windows/mod.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_window_bounds(hwnd: HWND) -> Bounds { [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/windows/mod.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let mut rect = RECT { [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/windows/popup/mod.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 40 | impl PopupWindow { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 171 | fn wm_erasebkgnd(&self, hdc: HDC) -> Option { [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 crate `user32` [INFO] [stdout] --> src/windows/mod.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | user32::GetWindowRect(hwnd, &mut rect as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | let mut rc = RECT { left: 0, top: 0, right: 0, bottom: 0 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winman.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | let mut window_list: Vec<(HWND, String)> = Vec::new(); [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 crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | user32::GetClientRect(self.hwnd, &mut rc); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in crate `user32` [INFO] [stdout] --> src/winman.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | while unsafe { user32::GetMessageW(&mut msg, 0 as HWND, 0, 0) } > 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winman.rs:41:55 [INFO] [stdout] | [INFO] [stdout] 41 | while unsafe { user32::GetMessageW(&mut msg, 0 as HWND, 0, 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 `FillRect` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | user32::FillRect(hdc, &rc, brush); [INFO] [stdout] | ^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in crate `user32` [INFO] [stdout] --> src/winman.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | user32::TranslateMessage(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | fn wm_ctlcoloredit(&self, hdc: HDC) -> Option { [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 crate `user32` [INFO] [stdout] --> src/winman.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | user32::DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:185:51 [INFO] [stdout] | [INFO] [stdout] 40 | impl PopupWindow { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 185 | fn wm_ctlcoloredit(&self, hdc: HDC) -> 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/winman.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | fn get_window_list(vec: &mut Vec<(HWND, String)>) { [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 `TRUE` in this scope [INFO] [stdout] --> src/winman.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in crate `gdi32` [INFO] [stdout] --> src/windows/popup/mod.rs:187:20 [INFO] [stdout] | [INFO] [stdout] 187 | gdi32::SetBkColor(hdc, THEME_EDIT_BG_COLOR); [INFO] [stdout] | ^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in crate `gdi32` [INFO] [stdout] --> src/windows/popup/mod.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | gdi32::SetTextColor(hdc, THEME_EDIT_COLOR); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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/windows/popup/mod.rs:226:60 [INFO] [stdout] | [INFO] [stdout] 226 | 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/windows/popup/mod.rs:226:74 [INFO] [stdout] | [INFO] [stdout] 226 | 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/windows/popup/mod.rs:226:90 [INFO] [stdout] | [INFO] [stdout] 226 | 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/windows/popup/mod.rs:226:101 [INFO] [stdout] | [INFO] [stdout] 226 | 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 `HDC` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | let hdc: HDC = wparam as HDC; [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/windows/popup/mod.rs:232:46 [INFO] [stdout] | [INFO] [stdout] 232 | let hdc: HDC = wparam as HDC; [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/windows/popup/mod.rs:234:60 [INFO] [stdout] | [INFO] [stdout] 234 | let dc_brush = dc_brush.unwrap_or(0 as HBRUSH); [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/windows/popup/mod.rs:236:40 [INFO] [stdout] | [INFO] [stdout] 236 | return dc_brush as LRESULT; [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/windows/popup/mod.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 240 | let hdc: HDC = wparam as HDC; [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/windows/popup/mod.rs:240:46 [INFO] [stdout] | [INFO] [stdout] 240 | let hdc: HDC = wparam as HDC; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/utils/api_wrappers.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use ::std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:242:60 [INFO] [stdout] | [INFO] [stdout] 242 | let dc_brush = dc_brush.unwrap_or(0 as HBRUSH); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/window_tracking.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/windows/popup/mod.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | return dc_brush as LRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `user32` is imported redundantly [INFO] [stdout] --> src/window_tracking.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 4 | use user32; [INFO] [stdout] | ------ the item `user32` is already imported here [INFO] [stdout] ... [INFO] [stdout] 126 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | user32::PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/windows/popup/mod.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | user32::DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/mod.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(hwnd: HWND, data: Box) -> Win32Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/mod.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | kernel32::SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in crate `user32` [INFO] [stdout] --> src/windows/mod.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | let prev_value = user32::SetWindowLongPtrW(hwnd, winuser::GWLP_USERDATA, (data.as_ref() as *const T) as LONG_PTR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stdout] --> src/windows/mod.rs:21:117 [INFO] [stdout] | [INFO] [stdout] 21 | let prev_value = user32::SetWindowLongPtrW(hwnd, winuser::GWLP_USERDATA, (data.as_ref() as *const T) as LONG_PTR); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32` [INFO] [stdout] --> src/windows/mod.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let err = kernel32::GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/mod.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn get_instance_mut<'a>(hwnd: HWND) -> Option<&'a mut T> { [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 crate `user32` [INFO] [stdout] --> src/windows/mod.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | let ptr = user32::GetWindowLongPtrW(hwnd, winuser::GWLP_USERDATA) as *mut T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in crate `user32` [INFO] [stdout] --> src/windows/mod.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { user32::SetWindowLongPtrW(self.hwnd, GWLP_USERDATA, 0); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/windows/mod.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { user32::SetWindowLongPtrW(self.hwnd, GWLP_USERDATA, 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 crate `user32` [INFO] [stdout] --> src/windows/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | user32::GetSystemMetrics(winuser::SM_CXSCREEN), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in crate `user32` [INFO] [stdout] --> src/windows/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | user32::GetSystemMetrics(winuser::SM_CYSCREEN), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/mod.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_window_bounds(hwnd: HWND) -> Bounds { [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/windows/mod.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let mut rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in crate `user32` [INFO] [stdout] --> src/windows/mod.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | user32::GetWindowRect(hwnd, &mut rect as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winman.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | let mut window_list: Vec<(HWND, String)> = Vec::new(); [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 crate `user32` [INFO] [stdout] --> src/winman.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | while unsafe { user32::GetMessageW(&mut msg, 0 as HWND, 0, 0) } > 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winman.rs:41:55 [INFO] [stdout] | [INFO] [stdout] 41 | while unsafe { user32::GetMessageW(&mut msg, 0 as HWND, 0, 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 crate `user32` [INFO] [stdout] --> src/winman.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | user32::TranslateMessage(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in crate `user32` [INFO] [stdout] --> src/winman.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | user32::DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/winman.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | fn get_window_list(vec: &mut Vec<(HWND, String)>) { [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 `TRUE` in this scope [INFO] [stdout] --> src/winman.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/windows/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/windows/main/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/windows/popup/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/windows/popup/edit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/windows/popup/mod.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | try!{ EditBox::new(hwnd, bounds_edit) } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/utils/api_wrappers.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use ::std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/window_tracking.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `user32` is imported redundantly [INFO] [stdout] --> src/window_tracking.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 4 | use user32; [INFO] [stdout] | ------ the item `user32` is already imported here [INFO] [stdout] ... [INFO] [stdout] 126 | use user32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/windows/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/windows/main/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/windows/popup/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/windows/popup/edit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/windows/popup/mod.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | try!{ EditBox::new(hwnd, bounds_edit) } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/utils/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | OsString::from_wide(slice).to_string_lossy().into_owned() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils/mod.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/window_tracking.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | windows: HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/utils/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | OsString::from_wide(slice).to_string_lossy().into_owned() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils/mod.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/window_tracking.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | windows: HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 206 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 206 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winman` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de8fe4dbc3b9a14e3f66d2ac62e85871e2b8754f459f9ff621ca4f20e67e58fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8fe4dbc3b9a14e3f66d2ac62e85871e2b8754f459f9ff621ca4f20e67e58fc", kill_on_drop: false }` [INFO] [stdout] de8fe4dbc3b9a14e3f66d2ac62e85871e2b8754f459f9ff621ca4f20e67e58fc