[INFO] fetching crate tileme 0.0.3... [INFO] checking tileme-0.0.3 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate tileme 0.0.3 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate tileme 0.0.3 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 crates.io crate tileme 0.0.3 [INFO] finished tweaking crates.io crate tileme 0.0.3 [INFO] tweaked toml for crates.io crate tileme 0.0.3 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate tileme 0.0.3 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded com_macros v0.2.0 [INFO] [stderr] Downloaded com_macros_support v0.2.0 [INFO] [stderr] Downloaded com v0.2.0 [INFO] [stderr] Downloaded hotkey v0.3.1 [INFO] [stderr] Downloaded winvd v0.0.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 4bbd6e206cc24f4a5d62b99512ded465b35cb36abb8b0e952c5e4790803fd190 [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" "4bbd6e206cc24f4a5d62b99512ded465b35cb36abb8b0e952c5e4790803fd190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bbd6e206cc24f4a5d62b99512ded465b35cb36abb8b0e952c5e4790803fd190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bbd6e206cc24f4a5d62b99512ded465b35cb36abb8b0e952c5e4790803fd190", kill_on_drop: false }` [INFO] [stdout] 4bbd6e206cc24f4a5d62b99512ded465b35cb36abb8b0e952c5e4790803fd190 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 76a654273c2eb1b588db1ebab5f547a4944f10ca774db861e4f3ac1ae442a107 [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" "76a654273c2eb1b588db1ebab5f547a4944f10ca774db861e4f3ac1ae442a107", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking hotkey v0.3.1 [INFO] [stderr] Checking tileme v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/keys.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/keys.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/manager.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::GetForegroundWindow; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winvd` [INFO] [stdout] --> src/manager.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winvd::helpers::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winvd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/virtual_desktop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/virtual_desktop.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{SetForegroundWindow, GetForegroundWindow, IsIconic}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/windows.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser::{EnumWindows, }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/windows.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/windows.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::LPARAM; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winvd` [INFO] [stdout] --> src/windows.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winvd::helpers::get_desktop_number_by_window; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winvd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winvd` [INFO] [stdout] --> src/manager.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winvd::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winvd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/listeners/winevent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/listeners/winevent.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::ntdef::LONG; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/listeners/winevent.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::windef::{HWND, HWINEVENTHOOK}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/listeners/winevent.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winvd` [INFO] [stdout] --> src/windows.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winvd::Error; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winvd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/keys.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/keys.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/manager.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::GetForegroundWindow; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winvd` [INFO] [stdout] --> src/manager.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winvd::helpers::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winvd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/virtual_desktop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/virtual_desktop.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{SetForegroundWindow, GetForegroundWindow, IsIconic}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/windows.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser::{EnumWindows, }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/windows.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/windows.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::LPARAM; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winvd` [INFO] [stdout] --> src/windows.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winvd::helpers::get_desktop_number_by_window; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winvd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winvd` [INFO] [stdout] --> src/manager.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winvd::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winvd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/listeners/winevent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/listeners/winevent.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::ntdef::LONG; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/listeners/winevent.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::windef::{HWND, HWINEVENTHOOK}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/listeners/winevent.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winvd` [INFO] [stdout] --> src/windows.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winvd::Error; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winvd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winvd` [INFO] [stdout] --> src/manager.rs:340:63 [INFO] [stdout] | [INFO] [stdout] 340 | if move_window_to_desktop_number(foreground_window as winvd::HWND, number).is_err() { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winvd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/keys.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ALT: u32 = winuser::MOD_ALT 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/keys.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CONTROL: u32 = winuser::MOD_CONTROL 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/keys.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SHIFT: u32 = winuser::MOD_SHIFT 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/keys.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SUPER: u32 = winuser::MOD_WIN 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/keys.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub const BACKSPACE: i32 = winuser::VK_BACK; [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/keys.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub const TAB: i32 = winuser::VK_TAB; [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/keys.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ENTER: i32 = winuser::VK_RETURN; [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/keys.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub const CAPS_LOCK: i32 = winuser::VK_CAPITAL; [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/keys.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub const ESCAPE: i32 = winuser::VK_ESCAPE; [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/keys.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub const SPACE: i32 = winuser::VK_SPACE; [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/keys.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PAGE_UP: i32 = winuser::VK_PRIOR; [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/keys.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PAGE_DOWN: i32 = winuser::VK_NEXT; [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/keys.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub const END: i32 = winuser::VK_END; [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/keys.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub const HOME: i32 = winuser::VK_HOME; [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/keys.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub const ARROW_LEFT: i32 = winuser::VK_LEFT; [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/keys.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub const ARROW_RIGHT: i32 = winuser::VK_RIGHT; [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/keys.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub const ARROW_UP: i32 = winuser::VK_UP; [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/keys.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub const ARROW_DOWN: i32 = winuser::VK_DOWN; [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/keys.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | pub const PRINT_SCREEN: i32 = winuser::VK_SNAPSHOT; [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/keys.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | pub const INSERT: i32 = winuser::VK_INSERT; [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/keys.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub const DELETE: i32 = winuser::VK_DELETE; [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 `winvd` [INFO] [stdout] --> src/manager.rs:340:63 [INFO] [stdout] | [INFO] [stdout] 340 | if move_window_to_desktop_number(foreground_window as winvd::HWND, number).is_err() { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winvd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/keys.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ALT: u32 = winuser::MOD_ALT 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/keys.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CONTROL: u32 = winuser::MOD_CONTROL 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/keys.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SHIFT: u32 = winuser::MOD_SHIFT 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/keys.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SUPER: u32 = winuser::MOD_WIN 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/keys.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub const BACKSPACE: i32 = winuser::VK_BACK; [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/keys.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub const TAB: i32 = winuser::VK_TAB; [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/keys.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ENTER: i32 = winuser::VK_RETURN; [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/keys.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub const CAPS_LOCK: i32 = winuser::VK_CAPITAL; [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/keys.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub const ESCAPE: i32 = winuser::VK_ESCAPE; [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/keys.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub const SPACE: i32 = winuser::VK_SPACE; [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/keys.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PAGE_UP: i32 = winuser::VK_PRIOR; [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/keys.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PAGE_DOWN: i32 = winuser::VK_NEXT; [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/keys.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub const END: i32 = winuser::VK_END; [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/keys.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub const HOME: i32 = winuser::VK_HOME; [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/keys.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub const ARROW_LEFT: i32 = winuser::VK_LEFT; [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/keys.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub const ARROW_RIGHT: i32 = winuser::VK_RIGHT; [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/keys.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub const ARROW_UP: i32 = winuser::VK_UP; [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/keys.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub const ARROW_DOWN: i32 = winuser::VK_DOWN; [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/keys.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | pub const PRINT_SCREEN: i32 = winuser::VK_SNAPSHOT; [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/keys.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | pub const INSERT: i32 = winuser::VK_INSERT; [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/keys.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub const DELETE: i32 = winuser::VK_DELETE; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/manager.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct WindowManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 47 | hwnd_desktop: HashMap, [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/manager.rs:127:92 [INFO] [stdout] | [INFO] [stdout] 127 | VirtualDesktopEvent::WindowChanged(hwnd) => self.handle_window_changed(hwnd as 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/manager.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | fn handle_window_changed(&mut self, hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_desktop_number_by_window` in this scope [INFO] [stdout] --> src/manager.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | match get_desktop_number_by_window(hwnd as u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_desktop_number_by_window` in this scope [INFO] [stdout] --> src/manager.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | match get_desktop_number_by_window(hwnd 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/manager.rs:224:35 [INFO] [stdout] | [INFO] [stdout] 224 | let hwnd= hwnd as 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/manager.rs:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | let hwnd= hwnd as 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/manager.rs:260:35 [INFO] [stdout] | [INFO] [stdout] 260 | let hwnd= hwnd as HWND; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rename_desktop_number` in this scope [INFO] [stdout] --> src/manager.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | rename_desktop_number(i, &*desktop.name).unwrap(); [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 this scope [INFO] [stdout] --> src/manager.rs:313:39 [INFO] [stdout] | [INFO] [stdout] 313 | let focused_window = unsafe { GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `go_to_desktop_number` in this scope [INFO] [stdout] --> src/manager.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | if go_to_desktop_number(number).is_err() { [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/manager.rs:339:32 [INFO] [stdout] | [INFO] [stdout] 339 | let foreground_window: HWND = unsafe { GetForegroundWindow() }; [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 this scope [INFO] [stdout] --> src/manager.rs:339:48 [INFO] [stdout] | [INFO] [stdout] 339 | let foreground_window: HWND = unsafe { GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `move_window_to_desktop_number` in this scope [INFO] [stdout] --> src/manager.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | if move_window_to_desktop_number(foreground_window as winvd::HWND, number).is_err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsIconic` in this scope [INFO] [stdout] --> src/virtual_desktop.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let minimized = unsafe { IsIconic(window.hwnd()) } > 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/virtual_desktop.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn pull_window_by_hwnd(&mut self, hwnd: HWND) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/virtual_desktop.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set_focus_by_hwnd(&mut self, 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/virtual_desktop.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_minimized(&mut self, 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/virtual_desktop.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn set_unminimized(&mut self, 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> src/virtual_desktop.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | let result = unsafe{ SetForegroundWindow(window.hwnd()) }; [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 this scope [INFO] [stdout] --> src/virtual_desktop.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | self.set_focus_by_hwnd(unsafe{ GetForegroundWindow() }); [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.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | 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.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn init(hwnd: HWND) -> Window { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_desktop_number_by_window` in this scope [INFO] [stdout] --> src/windows.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | get_desktop_number_by_window(self.hwnd 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.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn hwnd(&self) -> HWND { [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 this scope [INFO] [stdout] --> src/windows.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | EnumWindows(Some(_get_all_windows_callback), &mut windows as *mut _ 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.rs:31:80 [INFO] [stdout] | [INFO] [stdout] 31 | EnumWindows(Some(_get_all_windows_callback), &mut windows as *mut _ as LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows.rs:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe extern "system" fn _get_all_windows_callback(hwnd: HWND, vec_pointer: LPARAM) -> i32 { [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/manager.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct WindowManager { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 47 | hwnd_desktop: HashMap, [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/manager.rs:127:92 [INFO] [stdout] | [INFO] [stdout] 127 | VirtualDesktopEvent::WindowChanged(hwnd) => self.handle_window_changed(hwnd as 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/manager.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | fn handle_window_changed(&mut self, hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_desktop_number_by_window` in this scope [INFO] [stdout] --> src/manager.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | match get_desktop_number_by_window(hwnd as u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_desktop_number_by_window` in this scope [INFO] [stdout] --> src/manager.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | match get_desktop_number_by_window(hwnd 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/manager.rs:224:35 [INFO] [stdout] | [INFO] [stdout] 224 | let hwnd= hwnd as 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/manager.rs:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | let hwnd= hwnd as 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/manager.rs:260:35 [INFO] [stdout] | [INFO] [stdout] 260 | let hwnd= hwnd as HWND; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rename_desktop_number` in this scope [INFO] [stdout] --> src/manager.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | rename_desktop_number(i, &*desktop.name).unwrap(); [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 this scope [INFO] [stdout] --> src/manager.rs:313:39 [INFO] [stdout] | [INFO] [stdout] 313 | let focused_window = unsafe { GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `go_to_desktop_number` in this scope [INFO] [stdout] --> src/manager.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | if go_to_desktop_number(number).is_err() { [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/manager.rs:339:32 [INFO] [stdout] | [INFO] [stdout] 339 | let foreground_window: HWND = unsafe { GetForegroundWindow() }; [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.rs:39:78 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe extern "system" fn _get_all_windows_callback(hwnd: HWND, vec_pointer: LPARAM) -> i32 { [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 this scope [INFO] [stdout] --> src/manager.rs:339:48 [INFO] [stdout] | [INFO] [stdout] 339 | let foreground_window: HWND = unsafe { GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | _: HWINEVENTHOOK, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `move_window_to_desktop_number` in this scope [INFO] [stdout] --> src/manager.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | if move_window_to_desktop_number(foreground_window as winvd::HWND, number).is_err() { [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/listeners/winevent.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | 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 `IsIconic` in this scope [INFO] [stdout] --> src/virtual_desktop.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let minimized = unsafe { IsIconic(window.hwnd()) } > 0; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/virtual_desktop.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn pull_window_by_hwnd(&mut self, hwnd: HWND) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/virtual_desktop.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set_focus_by_hwnd(&mut self, hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | _: HWINEVENTHOOK, [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/listeners/winevent.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | 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/virtual_desktop.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_minimized(&mut self, hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/virtual_desktop.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn set_unminimized(&mut self, hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | _: DWORD, [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 this scope [INFO] [stdout] --> src/virtual_desktop.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | let result = unsafe{ SetForegroundWindow(window.hwnd()) }; [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 this scope [INFO] [stdout] --> src/virtual_desktop.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | self.set_focus_by_hwnd(unsafe{ GetForegroundWindow() }); [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/listeners/winevent.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | 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.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn init(hwnd: HWND) -> Window { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_desktop_number_by_window` in this scope [INFO] [stdout] --> src/windows.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | get_desktop_number_by_window(self.hwnd 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.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn hwnd(&self) -> HWND { [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 this scope [INFO] [stdout] --> src/windows.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | EnumWindows(Some(_get_all_windows_callback), &mut windows as *mut _ 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.rs:31:80 [INFO] [stdout] | [INFO] [stdout] 31 | EnumWindows(Some(_get_all_windows_callback), &mut windows as *mut _ as LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows.rs:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe extern "system" fn _get_all_windows_callback(hwnd: HWND, vec_pointer: LPARAM) -> i32 { [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.rs:39:78 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe extern "system" fn _get_all_windows_callback(hwnd: HWND, vec_pointer: LPARAM) -> i32 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | _: HWINEVENTHOOK, [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/listeners/winevent.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | _: HWINEVENTHOOK, [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/listeners/winevent.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | _: HWINEVENTHOOK, [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/listeners/winevent.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | _: HWINEVENTHOOK, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct WinEventListener { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 71 | sender: Sender, [INFO] [stdout] 72 | hooks: Vec, [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/listeners/winevent.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | event: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:63 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:69 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:75 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:81 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:88 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | 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 `SetWinEventHook` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | SetWinEventHook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WINEVENT_OUTOFCONTEXT` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | WINEVENT_OUTOFCONTEXT | WINEVENT_SKIPOWNPROCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WINEVENT_SKIPOWNPROCESS` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | WINEVENT_OUTOFCONTEXT | WINEVENT_SKIPOWNPROCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | self.hook(EVENT_SYSTEM_FOREGROUND, _process_system_foreground); [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/listeners/winevent.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_MINIMIZESTART` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | self.hook(EVENT_SYSTEM_MINIMIZESTART, _process_system_minimize_start); [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/listeners/winevent.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_MINIMIZEEND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | self.hook(EVENT_SYSTEM_MINIMIZEEND, _process_system_minimize_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | let mut msg: MSG = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct WinEventListener { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 71 | sender: Sender, [INFO] [stdout] 72 | hooks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | while GetMessageW(&mut msg, 0 as HWND, 0, 0) > 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | event: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | while GetMessageW(&mut msg, 0 as HWND, 0, 0) > 0 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | DispatchMessageW(&msg); [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/listeners/winevent.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:63 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:69 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:75 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:81 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:86:88 [INFO] [stdout] | [INFO] [stdout] 86 | func: unsafe extern "system" fn(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD) -> () [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | SetWinEventHook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WINEVENT_OUTOFCONTEXT` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | WINEVENT_OUTOFCONTEXT | WINEVENT_SKIPOWNPROCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WINEVENT_SKIPOWNPROCESS` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | WINEVENT_OUTOFCONTEXT | WINEVENT_SKIPOWNPROCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | self.hook(EVENT_SYSTEM_FOREGROUND, _process_system_foreground); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_MINIMIZESTART` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | self.hook(EVENT_SYSTEM_MINIMIZESTART, _process_system_minimize_start); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_MINIMIZEEND` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | self.hook(EVENT_SYSTEM_MINIMIZEEND, _process_system_minimize_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | let mut msg: MSG = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | while GetMessageW(&mut msg, 0 as HWND, 0, 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/listeners/winevent.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | while 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 this scope [INFO] [stdout] --> src/listeners/winevent.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/listeners/winevent.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/listeners/winevent.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | hooks: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 110 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tileme` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/listeners/winevent.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | hooks: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 110 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "76a654273c2eb1b588db1ebab5f547a4944f10ca774db861e4f3ac1ae442a107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a654273c2eb1b588db1ebab5f547a4944f10ca774db861e4f3ac1ae442a107", kill_on_drop: false }` [INFO] [stdout] 76a654273c2eb1b588db1ebab5f547a4944f10ca774db861e4f3ac1ae442a107