[INFO] updating cached repository https://github.com/TimUntersberger/wwm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa8992f2e5aa0458ac6f5421fa9d29c7d2f3975e [INFO] checking TimUntersberger/wwm against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimUntersberger%2Fwwm" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TimUntersberger/wwm on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TimUntersberger/wwm [INFO] finished tweaking git repo https://github.com/TimUntersberger/wwm [INFO] tweaked toml for git repo https://github.com/TimUntersberger/wwm written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/TimUntersberger/wwm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a144047d9357903875d4faa35a05e3e67b4cbad3c440e9e6b4c3098442b847ee [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" "a144047d9357903875d4faa35a05e3e67b4cbad3c440e9e6b4c3098442b847ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a144047d9357903875d4faa35a05e3e67b4cbad3c440e9e6b4c3098442b847ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a144047d9357903875d4faa35a05e3e67b4cbad3c440e9e6b4c3098442b847ee", kill_on_drop: false }` [INFO] [stdout] a144047d9357903875d4faa35a05e3e67b4cbad3c440e9e6b4c3098442b847ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba0e7ded497aae8fde9261de70697d4b28a9f5404c85b94e0ccc281298c925f5 [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" "ba0e7ded497aae8fde9261de70697d4b28a9f5404c85b94e0ccc281298c925f5", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Checking ctrlc v3.1.4 [INFO] [stderr] Checking wwm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::SendMessageA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::WM_DESTROY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::GetForegroundWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::SetWindowLongA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::SetWindowPos; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::ShowWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::SW_SHOW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::GWL_STYLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::windef::RECT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::SetForegroundWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::GetWindowRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::FindWindowA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::ShowWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::SW_HIDE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::RECT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::GetSystemMetrics; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::SM_CXSCREEN; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::SM_CYSCREEN; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::SetWindowPos; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser::WM_HOTKEY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::DispatchMessageW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::TranslateMessage; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::GetMessageW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::MSG; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::RegisterHotKey; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::LPARAM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::WPARAM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::windef::POINT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::windef::RECT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::GetWindowTextA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::LPARAM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::LRESULT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::WPARAM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::HBRUSH; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef::HCURSOR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::HICON; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::DefWindowProcA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::RegisterClassA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::ShowWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::SW_SHOW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::WNDCLASSA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::wingdi::CreateSolidBrush; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::EVENT_OBJECT_CREATE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::EVENT_OBJECT_SHOW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::EVENT_OBJECT_DESTROY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::GetParent; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::GetWindowLongA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::SetWindowLongA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::GetWindowRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::GWL_STYLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::WS_CAPTION; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::WS_THICKFRAME; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::SendMessageA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::WM_DESTROY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::GetForegroundWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::SetWindowLongA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::SetWindowPos; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::ShowWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::SW_SHOW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::GWL_STYLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::windef::RECT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::SetForegroundWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::GetWindowRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::FindWindowA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::ShowWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::SW_HIDE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::RECT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::GetSystemMetrics; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::SM_CXSCREEN; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::SM_CYSCREEN; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tile_grid.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::SetWindowPos; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser::WM_HOTKEY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::WS_BORDER; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::windef::HWINEVENTHOOK; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::windef::RECT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::ntdef::LONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::OBJID_WINDOW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::SetWinEventHook; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::UnhookWinEvent; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winuser::EVENT_MIN; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::EVENT_MAX; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::DispatchMessageW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::TranslateMessage; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::GetMessageW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::MSG; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::RegisterHotKey; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::LPARAM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::WPARAM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::windef::POINT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hot_key_manager.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::windef::RECT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::GetWindowTextA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::LPARAM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::LRESULT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::WPARAM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::HBRUSH; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef::HCURSOR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::HICON; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/app_bar.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::DefWindowProcA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::RegisterClassA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::ShowWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::SW_SHOW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::WNDCLASSA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::wingdi::CreateSolidBrush; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::EVENT_OBJECT_CREATE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::EVENT_OBJECT_SHOW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::EVENT_OBJECT_DESTROY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::GetParent; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::GetWindowLongA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::SetWindowLongA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::GetWindowRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::GWL_STYLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::WS_CAPTION; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::WS_THICKFRAME; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::WS_BORDER; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::windef::HWINEVENTHOOK; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::windef::RECT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::ntdef::LONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::OBJID_WINDOW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::SetWinEventHook; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::UnhookWinEvent; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winuser::EVENT_MIN; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_event_handler.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::EVENT_MAX; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | let instance = winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null_mut()); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let window_handle = winapi::um::winuser::CreateWindowExA( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | winapi::um::winuser::WS_EX_NOACTIVATE | winapi::um::winuser::WS_EX_TOPMOST, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | winapi::um::winuser::WS_EX_NOACTIVATE | winapi::um::winuser::WS_EX_TOPMOST, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | winapi::um::winuser::WS_POPUPWINDOW & !winapi::um::winuser::WS_BORDER, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | winapi::um::winuser::WS_POPUPWINDOW & !winapi::um::winuser::WS_BORDER, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | winapi::um::errhandlingapi::GetLastError() as i32 [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | let instance = winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null_mut()); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let window_handle = winapi::um::winuser::CreateWindowExA( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | winapi::um::winuser::WS_EX_NOACTIVATE | winapi::um::winuser::WS_EX_TOPMOST, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | winapi::um::winuser::WS_EX_NOACTIVATE | winapi::um::winuser::WS_EX_TOPMOST, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | winapi::um::winuser::WS_POPUPWINDOW & !winapi::um::winuser::WS_BORDER, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | winapi::um::winuser::WS_POPUPWINDOW & !winapi::um::winuser::WS_BORDER, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/app_bar.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | winapi::um::errhandlingapi::GetLastError() as i32 [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/tile_grid.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | SetForegroundWindow(next_tile.window.id 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/tile_grid.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | SetForegroundWindow(next_tile.window.id 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> src/tile_grid.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | SetForegroundWindow(next_tile.window.id 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/tile_grid.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 89 | SetForegroundWindow(next_tile.window.id 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> src/tile_grid.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | SetForegroundWindow(next_tile.window.id 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/tile_grid.rs:105:60 [INFO] [stdout] | [INFO] [stdout] 105 | SetForegroundWindow(next_tile.window.id 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> src/tile_grid.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | SetForegroundWindow(next_tile.window.id 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/tile_grid.rs:121:60 [INFO] [stdout] | [INFO] [stdout] 121 | SetForegroundWindow(next_tile.window.id as HWND); [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/tile_grid.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | 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 `GetSystemMetrics` in this scope [INFO] [stdout] --> src/tile_grid.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | self.height = GetSystemMetrics(SM_CYSCREEN) - 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stdout] --> src/tile_grid.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | self.height = GetSystemMetrics(SM_CYSCREEN) - 20; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/tile_grid.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | self.width = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stdout] --> src/tile_grid.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | self.width = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope [INFO] [stdout] --> src/tile_grid.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | self.taskbar_window = FindWindowA("Shell_TrayWnd".as_ptr() as *const i8, std::ptr::null()) as i32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/tile_grid.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | GetWindowRect(self.taskbar_window as HWND, &mut rect); [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/tile_grid.rs:144:46 [INFO] [stdout] | [INFO] [stdout] 144 | GetWindowRect(self.taskbar_window as HWND, &mut rect); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/tile_grid.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | ShowWindow(self.taskbar_window as HWND, SW_HIDE); [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/tile_grid.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | ShowWindow(self.taskbar_window as HWND, SW_HIDE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/tile_grid.rs:148:57 [INFO] [stdout] | [INFO] [stdout] 148 | ShowWindow(self.taskbar_window as HWND, SW_HIDE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/tile_grid.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y + 20, width, height, 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/tile_grid.rs:317:40 [INFO] [stdout] | [INFO] [stdout] 317 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y + 20, width, height, 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/tile_grid.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y + 20, width, height, 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/tile_grid.rs:344:40 [INFO] [stdout] | [INFO] [stdout] 344 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y + 20, width, height, 0); [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 this scope [INFO] [stdout] --> src/hot_key_manager.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | RegisterHotKey( [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/hot_key_manager.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | 0 as HWND, [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/hot_key_manager.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let mut msg: MSG = MSG { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MSG` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | let mut msg: MSG = MSG { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | hwnd : 0 as 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/hot_key_manager.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | message : 0 as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | wParam : 0 as WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | lParam : 0 as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | time : 0 as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | pt : POINT { x: 0, y: 0, }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 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/hot_key_manager.rs:107:43 [INFO] [stdout] | [INFO] [stdout] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 0 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 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/hot_key_manager.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | 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/hot_key_manager.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | if msg.message == WM_HOTKEY { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/window.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub original_rect: RECT [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/util.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe fn get_title_of_window(window_handle: HWND) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextA` in this scope [INFO] [stdout] --> src/util.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let result = GetWindowTextA(window_handle, buffer.as_mut_ptr(), buffer.len() as 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/app_bar.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe extern "system" fn window_cb(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/app_bar.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe extern "system" fn window_cb(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/app_bar.rs:16:69 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe extern "system" fn window_cb(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/app_bar.rs:16:86 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe extern "system" fn window_cb(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/app_bar.rs:16:97 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe extern "system" fn window_cb(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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 `DefWindowProcA` in this scope [INFO] [stdout] --> src/app_bar.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | return DefWindowProcA(hwnd, msg, w_param, l_param); [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 this scope [INFO] [stdout] --> src/app_bar.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | let background_brush = CreateSolidBrush(0x0027242c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSA` in this scope [INFO] [stdout] --> src/app_bar.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let class = WNDCLASSA { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/app_bar.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | hIcon: 0 as HICON, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stdout] --> src/app_bar.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | hCursor: 0 as HCURSOR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in this scope [INFO] [stdout] --> src/app_bar.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | RegisterClassA(&class); [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/app_bar.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | if window_handle == 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 `ShowWindow` in this scope [INFO] [stdout] --> src/app_bar.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ShowWindow(window_handle, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/app_bar.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | ShowWindow(window_handle, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_SHOW` in this scope [INFO] [stdout] --> src/win_event_handler.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | static HANDLED_EVENTS: [u32; 2] = [EVENT_OBJECT_SHOW, EVENT_OBJECT_DESTROY]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_DESTROY` in this scope [INFO] [stdout] --> src/win_event_handler.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | static HANDLED_EVENTS: [u32; 2] = [EVENT_OBJECT_SHOW, EVENT_OBJECT_DESTROY]; [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/win_event_handler.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | static mut hook: Option = None; [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/win_event_handler.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe fn split_window(window_handle: 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/win_event_handler.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe fn handle_event_object_show(window_handle: HWND, window_title: &str, ignore_window_style: bool){ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongA` in this scope [INFO] [stdout] --> src/win_event_handler.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let window_style = GetWindowLongA(window_handle, GWL_STYLE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/win_event_handler.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 70 | let window_style = GetWindowLongA(window_handle, GWL_STYLE); [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 this scope [INFO] [stdout] --> src/win_event_handler.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let parent = GetParent(window_handle) as i32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/win_event_handler.rs:74:80 [INFO] [stdout] | [INFO] [stdout] 74 | let should_manage = parent == 0 && (ignore_window_style || (window_style & WS_CAPTION as i32) == WS_CAPTION as i32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/win_event_handler.rs:74:102 [INFO] [stdout] | [INFO] [stdout] 74 | let should_manage = parent == 0 && (ignore_window_style || (window_style & WS_CAPTION as i32) == WS_CAPTION as i32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> src/win_event_handler.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | SetWindowLongA(window_handle, GWL_STYLE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/win_event_handler.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | SetWindowLongA(window_handle, GWL_STYLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/win_event_handler.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | !WS_CAPTION as i32 & [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/win_event_handler.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | !WS_THICKFRAME as i32 | [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_BORDER` in this scope [INFO] [stdout] --> src/win_event_handler.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | WS_BORDER as i32 [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/win_event_handler.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | let mut rect: RECT = RECT { bottom: 0, left: 0, right: 0, top: 0}; [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/win_event_handler.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | let mut rect: RECT = RECT { bottom: 0, left: 0, right: 0, top: 0}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/win_event_handler.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | GetWindowRect(window_handle, &mut rect); [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/win_event_handler.rs:104:54 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe fn handle_event_object_destroy(window_handle: 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/win_event_handler.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:60 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:82 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:101 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:114 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:123 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:133 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: LONG, _: DWORD, _: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OBJID_WINDOW` in this scope [INFO] [stdout] --> src/win_event_handler.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | if object_type != OBJID_WINDOW { [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/win_event_handler.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | hook = Some(SetWinEventHook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_MIN` in this scope [INFO] [stdout] --> src/win_event_handler.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | EVENT_MIN, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_MAX` in this scope [INFO] [stdout] --> src/win_event_handler.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | EVENT_MAX, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWinEvent` in this scope [INFO] [stdout] --> src/win_event_handler.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | UnhookWinEvent(hook.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe fn on_quit(){ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 58 | .collect::>() // collect because of borrow checker [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> src/main.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | SetWindowLongA(*id as HWND, GWL_STYLE, *style); [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/main.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | SetWindowLongA(*id as HWND, GWL_STYLE, *style); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/main.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | SetWindowLongA(*id as HWND, GWL_STYLE, *style); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/main.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | SetWindowPos( [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/main.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | *id 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 `ShowWindow` in this scope [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(grid.taskbar_window as HWND, SW_SHOW); [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/main.rs:74:47 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(grid.taskbar_window as HWND, SW_SHOW); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/main.rs:74:53 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(grid.taskbar_window as HWND, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageA` in this scope [INFO] [stdout] --> src/main.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | ... SendMessageA(id as HWND, WM_DESTROY, 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/main.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | ... SendMessageA(id as HWND, WM_DESTROY, 0, 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_DESTROY` in this scope [INFO] [stdout] --> src/main.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | ... SendMessageA(id as HWND, WM_DESTROY, 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 `GetForegroundWindow` in this scope [INFO] [stdout] --> src/main.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | let window_handle = 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/main.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | if window_id as HWND == window_handle { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> src/main.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | ... SetWindowLongA(window_handle, GWL_STYLE, tile.window.original_style); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/main.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | ... SetWindowLongA(window_handle, GWL_STYLE, tile.window.original_styl... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/main.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | ... SetWindowPos( [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/main.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | ... window_id 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/main.rs:139:78 [INFO] [stdout] | [INFO] [stdout] 139 | ... win_event_handler::split_window(window_handle 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/main.rs:142:74 [INFO] [stdout] | [INFO] [stdout] 142 | win_event_handler::split_window(window_handle as HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/tile_grid.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | SetForegroundWindow(next_tile.window.id 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/tile_grid.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | SetForegroundWindow(next_tile.window.id 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> src/tile_grid.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | SetForegroundWindow(next_tile.window.id 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/tile_grid.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 89 | SetForegroundWindow(next_tile.window.id 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> src/tile_grid.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | SetForegroundWindow(next_tile.window.id 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/tile_grid.rs:105:60 [INFO] [stdout] | [INFO] [stdout] 105 | SetForegroundWindow(next_tile.window.id 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> src/tile_grid.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | SetForegroundWindow(next_tile.window.id 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/tile_grid.rs:121:60 [INFO] [stdout] | [INFO] [stdout] 121 | SetForegroundWindow(next_tile.window.id as HWND); [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/tile_grid.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | 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 `GetSystemMetrics` in this scope [INFO] [stdout] --> src/tile_grid.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | self.height = GetSystemMetrics(SM_CYSCREEN) - 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stdout] --> src/tile_grid.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | self.height = GetSystemMetrics(SM_CYSCREEN) - 20; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/tile_grid.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | self.width = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stdout] --> src/tile_grid.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | self.width = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope [INFO] [stdout] --> src/tile_grid.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | self.taskbar_window = FindWindowA("Shell_TrayWnd".as_ptr() as *const i8, std::ptr::null()) as i32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/tile_grid.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | GetWindowRect(self.taskbar_window as HWND, &mut rect); [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/tile_grid.rs:144:46 [INFO] [stdout] | [INFO] [stdout] 144 | GetWindowRect(self.taskbar_window as HWND, &mut rect); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/tile_grid.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | ShowWindow(self.taskbar_window as HWND, SW_HIDE); [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/tile_grid.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | ShowWindow(self.taskbar_window as HWND, SW_HIDE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/tile_grid.rs:148:57 [INFO] [stdout] | [INFO] [stdout] 148 | ShowWindow(self.taskbar_window as HWND, SW_HIDE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/tile_grid.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y + 20, width, height, 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/tile_grid.rs:317:40 [INFO] [stdout] | [INFO] [stdout] 317 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y + 20, width, height, 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/tile_grid.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y + 20, width, height, 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/tile_grid.rs:344:40 [INFO] [stdout] | [INFO] [stdout] 344 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y + 20, width, height, 0); [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 this scope [INFO] [stdout] --> src/hot_key_manager.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | RegisterHotKey( [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/hot_key_manager.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | 0 as HWND, [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/hot_key_manager.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let mut msg: MSG = MSG { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MSG` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | let mut msg: MSG = MSG { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | hwnd : 0 as 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/hot_key_manager.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | message : 0 as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | wParam : 0 as WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | lParam : 0 as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | time : 0 as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | pt : POINT { x: 0, y: 0, }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 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/hot_key_manager.rs:107:43 [INFO] [stdout] | [INFO] [stdout] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 0 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 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/hot_key_manager.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | 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/hot_key_manager.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stdout] --> src/hot_key_manager.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | if msg.message == WM_HOTKEY { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/window.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub original_rect: RECT [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/util.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe fn get_title_of_window(window_handle: HWND) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextA` in this scope [INFO] [stdout] --> src/util.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let result = GetWindowTextA(window_handle, buffer.as_mut_ptr(), buffer.len() as 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/app_bar.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe extern "system" fn window_cb(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/app_bar.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe extern "system" fn window_cb(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/app_bar.rs:16:69 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe extern "system" fn window_cb(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/app_bar.rs:16:86 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe extern "system" fn window_cb(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/app_bar.rs:16:97 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe extern "system" fn window_cb(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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 `DefWindowProcA` in this scope [INFO] [stdout] --> src/app_bar.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | return DefWindowProcA(hwnd, msg, w_param, l_param); [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 this scope [INFO] [stdout] --> src/app_bar.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | let background_brush = CreateSolidBrush(0x0027242c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSA` in this scope [INFO] [stdout] --> src/app_bar.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let class = WNDCLASSA { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/app_bar.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | hIcon: 0 as HICON, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stdout] --> src/app_bar.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | hCursor: 0 as HCURSOR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in this scope [INFO] [stdout] --> src/app_bar.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | RegisterClassA(&class); [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/app_bar.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | if window_handle == 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 `ShowWindow` in this scope [INFO] [stdout] --> src/app_bar.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ShowWindow(window_handle, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/app_bar.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | ShowWindow(window_handle, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_SHOW` in this scope [INFO] [stdout] --> src/win_event_handler.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | static HANDLED_EVENTS: [u32; 2] = [EVENT_OBJECT_SHOW, EVENT_OBJECT_DESTROY]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_DESTROY` in this scope [INFO] [stdout] --> src/win_event_handler.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | static HANDLED_EVENTS: [u32; 2] = [EVENT_OBJECT_SHOW, EVENT_OBJECT_DESTROY]; [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/win_event_handler.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | static mut hook: Option = None; [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/win_event_handler.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe fn split_window(window_handle: 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/win_event_handler.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe fn handle_event_object_show(window_handle: HWND, window_title: &str, ignore_window_style: bool){ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongA` in this scope [INFO] [stdout] --> src/win_event_handler.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let window_style = GetWindowLongA(window_handle, GWL_STYLE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/win_event_handler.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 70 | let window_style = GetWindowLongA(window_handle, GWL_STYLE); [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 this scope [INFO] [stdout] --> src/win_event_handler.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let parent = GetParent(window_handle) as i32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/win_event_handler.rs:74:80 [INFO] [stdout] | [INFO] [stdout] 74 | let should_manage = parent == 0 && (ignore_window_style || (window_style & WS_CAPTION as i32) == WS_CAPTION as i32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/win_event_handler.rs:74:102 [INFO] [stdout] | [INFO] [stdout] 74 | let should_manage = parent == 0 && (ignore_window_style || (window_style & WS_CAPTION as i32) == WS_CAPTION as i32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> src/win_event_handler.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | SetWindowLongA(window_handle, GWL_STYLE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/win_event_handler.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | SetWindowLongA(window_handle, GWL_STYLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/win_event_handler.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | !WS_CAPTION as i32 & [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/win_event_handler.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | !WS_THICKFRAME as i32 | [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_BORDER` in this scope [INFO] [stdout] --> src/win_event_handler.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | WS_BORDER as i32 [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/win_event_handler.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | let mut rect: RECT = RECT { bottom: 0, left: 0, right: 0, top: 0}; [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/win_event_handler.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | let mut rect: RECT = RECT { bottom: 0, left: 0, right: 0, top: 0}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/win_event_handler.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | GetWindowRect(window_handle, &mut rect); [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/win_event_handler.rs:104:54 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe fn handle_event_object_destroy(window_handle: 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/win_event_handler.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:60 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:82 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:101 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:114 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:123 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: 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/win_event_handler.rs:110:133 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: LONG, _: DWORD, _: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OBJID_WINDOW` in this scope [INFO] [stdout] --> src/win_event_handler.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | if object_type != OBJID_WINDOW { [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/win_event_handler.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | hook = Some(SetWinEventHook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_MIN` in this scope [INFO] [stdout] --> src/win_event_handler.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | EVENT_MIN, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_MAX` in this scope [INFO] [stdout] --> src/win_event_handler.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | EVENT_MAX, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWinEvent` in this scope [INFO] [stdout] --> src/win_event_handler.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | UnhookWinEvent(hook.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe fn on_quit(){ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 58 | .collect::>() // collect because of borrow checker [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> src/main.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | SetWindowLongA(*id as HWND, GWL_STYLE, *style); [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/main.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | SetWindowLongA(*id as HWND, GWL_STYLE, *style); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/main.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | SetWindowLongA(*id as HWND, GWL_STYLE, *style); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/main.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | SetWindowPos( [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/main.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | *id 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 `ShowWindow` in this scope [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(grid.taskbar_window as HWND, SW_SHOW); [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/main.rs:74:47 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(grid.taskbar_window as HWND, SW_SHOW); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/main.rs:74:53 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(grid.taskbar_window as HWND, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageA` in this scope [INFO] [stdout] --> src/main.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | ... SendMessageA(id as HWND, WM_DESTROY, 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/main.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | ... SendMessageA(id as HWND, WM_DESTROY, 0, 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_DESTROY` in this scope [INFO] [stdout] --> src/main.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | ... SendMessageA(id as HWND, WM_DESTROY, 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 `GetForegroundWindow` in this scope [INFO] [stdout] --> src/main.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | let window_handle = 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/main.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | if window_id as HWND == window_handle { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> src/main.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | ... SetWindowLongA(window_handle, GWL_STYLE, tile.window.original_style); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/main.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | ... SetWindowLongA(window_handle, GWL_STYLE, tile.window.original_styl... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/main.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | ... SetWindowPos( [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/main.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | ... window_id 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/main.rs:139:78 [INFO] [stdout] | [INFO] [stdout] 139 | ... win_event_handler::split_window(window_handle 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/main.rs:142:74 [INFO] [stdout] | [INFO] [stdout] 142 | win_event_handler::split_window(window_handle as HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 186 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wwm`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 186 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ba0e7ded497aae8fde9261de70697d4b28a9f5404c85b94e0ccc281298c925f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba0e7ded497aae8fde9261de70697d4b28a9f5404c85b94e0ccc281298c925f5", kill_on_drop: false }` [INFO] [stdout] ba0e7ded497aae8fde9261de70697d4b28a9f5404c85b94e0ccc281298c925f5