[INFO] cloning repository https://github.com/TimUntersberger/wwm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TimUntersberger/wwm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimUntersberger%2Fwwm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimUntersberger%2Fwwm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d923561744eb11ff1325c47d69494ad9c7182bc8 [INFO] checking TimUntersberger/wwm against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimUntersberger%2Fwwm" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TimUntersberger/wwm on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-3/source/twm/Cargo.toml: unused manifest key: package.log [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.58 [INFO] [stderr] Downloaded flexi_logger v0.15.12 [INFO] [stderr] Downloaded mlua v0.5.4 [INFO] [stderr] Downloaded luajit-src v210.1.3+restyfe08842 [INFO] [stderr] Downloaded regex v1.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50fd42ec0c0e53be9cc2919980bec28c05b2df359151b6324b8a3afc10f00fa7 [INFO] running `Command { std: "docker" "start" "-a" "50fd42ec0c0e53be9cc2919980bec28c05b2df359151b6324b8a3afc10f00fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50fd42ec0c0e53be9cc2919980bec28c05b2df359151b6324b8a3afc10f00fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50fd42ec0c0e53be9cc2919980bec28c05b2df359151b6324b8a3afc10f00fa7", kill_on_drop: false }` [INFO] [stdout] 50fd42ec0c0e53be9cc2919980bec28c05b2df359151b6324b8a3afc10f00fa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f05cc7871531f86525f87f43161f5e3b87e6824eab85ac1a02a9c9abe26bb669 [INFO] running `Command { std: "docker" "start" "-a" "f05cc7871531f86525f87f43161f5e3b87e6824eab85ac1a02a9c9abe26bb669", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/twm/Cargo.toml: unused manifest key: package.log [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.58 [INFO] [stderr] Compiling lua-src v543.0.0 [INFO] [stderr] Compiling luajit-src v210.1.3+restyfe08842 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling mlua v0.5.4 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking regex v1.5.3 [INFO] [stderr] Checking notify v4.0.16 [INFO] [stderr] Checking erased-serde v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking ctrlc v3.1.9 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking flexi_logger v0.15.12 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking twm v0.13.0 (/opt/rustwide/workdir/twm) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/keybindings/key.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/message_loop.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> twm/src/renderer/win.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::{shared::windef::*, um::winuser::*}; [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] --> twm/src/renderer/win.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::{shared::windef::*, um::winuser::*}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> twm/src/system/win.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::{minwindef::*, windef::*}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/system/win.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{errhandlingapi::*, psapi::*, winnt::*, winuser::*, *}, [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] --> twm/src/keybindings/key.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/message_loop.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> twm/src/renderer/win.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::{shared::windef::*, um::winuser::*}; [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] --> twm/src/renderer/win.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::{shared::windef::*, um::winuser::*}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> twm/src/system/win.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::{minwindef::*, windef::*}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/system/win.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{errhandlingapi::*, psapi::*, winnt::*, winuser::*, *}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> twm/src/system/win/api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::{minwindef::*, windef::*}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/system/win/api.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> twm/src/system/win/menu.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::{minwindef::*, windef::*}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/system/win/menu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | shared::{minwindef::*, ntdef::*, windef::*}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | um::winuser::*, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> twm/src/tile_grid/tests.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::windef::{HMONITOR, HWND, 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] --> twm/src/tray.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::{minwindef::LOWORD, windef::HWND, windef::POINT}, [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] --> twm/src/tray.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | um::shellapi::Shell_NotifyIconW, [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] --> twm/src/tray.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | um::shellapi::NIF_ICON, [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] --> twm/src/tray.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::shellapi::NIF_MESSAGE, [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] --> twm/src/tray.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | um::shellapi::NIF_TIP, [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] --> twm/src/tray.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | um::shellapi::NIM_ADD, [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] --> twm/src/tray.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::shellapi::{NIM_DELETE, NOTIFYICONDATAW}, [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] --> twm/src/tray.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | um::winuser::CreateIconFromResourceEx, [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] --> twm/src/tray.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | um::winuser::CreatePopupMenu, [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] --> twm/src/tray.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | um::winuser::DestroyMenu, [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] --> twm/src/tray.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | um::winuser::GetCursorPos, [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] --> twm/src/tray.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | um::winuser::InsertMenuW, [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] --> twm/src/tray.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::winuser::PostMessageW, [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] --> twm/src/tray.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | um::winuser::SendMessageW, [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] --> twm/src/tray.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | um::winuser::SetFocus, [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] --> twm/src/tray.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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] --> twm/src/tray.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | um::winuser::SetMenuItemBitmaps, [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] --> twm/src/tray.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | um::winuser::TrackPopupMenu, [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] --> twm/src/tray.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | um::winuser::LR_DEFAULTCOLOR, [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] --> twm/src/tray.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | um::winuser::MF_BYPOSITION, [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] --> twm/src/tray.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | um::winuser::MF_STRING, [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] --> twm/src/tray.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | um::winuser::TPM_LEFTALIGN, [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] --> twm/src/tray.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | um::winuser::TPM_NONOTIFY, [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] --> twm/src/tray.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | um::winuser::TPM_RETURNCMD, [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] --> twm/src/tray.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | um::winuser::TPM_RIGHTBUTTON, [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] --> twm/src/tray.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | um::winuser::WM_APP, [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] --> twm/src/tray.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | um::winuser::WM_CLOSE, [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] --> twm/src/tray.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | um::winuser::WM_COMMAND, [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] --> twm/src/tray.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | um::winuser::WM_INITMENUPOPUP, [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] --> twm/src/tray.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | um::winuser::WM_RBUTTONUP, [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] --> twm/src/window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::wingdi::LOGFONTA; [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] --> twm/src/window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::wingdi::{GetBValue, GetGValue, GetRValue, RGB}; [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] --> twm/src/window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::{wingdi::CreateFontIndirectA, winuser::IDC_HAND, winuser::WM_MOUSEMOVE}; [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] --> twm/src/window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::{wingdi::DeleteObject, winuser::DT_SINGLELINE, winuser::DT_VCENTER}; [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] --> twm/src/window.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::{wingdi::SelectObject, winuser::SW_HIDE, 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 `shared` in `winapi` [INFO] [stdout] --> twm/src/window.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | shared::minwindef::LPARAM, shared::minwindef::LRESULT, 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] --> twm/src/window.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | shared::minwindef::LPARAM, shared::minwindef::LRESULT, 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] --> twm/src/window.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | shared::minwindef::LPARAM, shared::minwindef::LRESULT, 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] --> twm/src/window.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | shared::minwindef::WPARAM, shared::windef::HDC, shared::windef::HWND, 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] --> twm/src/window.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | shared::minwindef::WPARAM, shared::windef::HDC, shared::windef::HWND, 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] --> twm/src/window.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | shared::minwindef::WPARAM, shared::windef::HDC, shared::windef::HWND, 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] --> twm/src/window.rs:16:75 [INFO] [stdout] | [INFO] [stdout] 16 | shared::minwindef::WPARAM, shared::windef::HDC, shared::windef::HWND, 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] --> twm/src/window.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::windef::RECT, um::wingdi::CreateSolidBrush, um::wingdi::SetBkColor, [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] --> twm/src/window.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | shared::windef::RECT, um::wingdi::CreateSolidBrush, um::wingdi::SetBkColor, [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] --> twm/src/window.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | shared::windef::RECT, um::wingdi::CreateSolidBrush, um::wingdi::SetBkColor, [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] --> twm/src/window.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::wingdi::SetTextColor, um::winuser::BeginPaint, 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] --> twm/src/window.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | um::wingdi::SetTextColor, um::winuser::BeginPaint, 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] --> twm/src/window.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | um::wingdi::SetTextColor, um::winuser::BeginPaint, 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] --> twm/src/window.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | um::winuser::DefWindowProcA, um::winuser::DrawTextW, um::winuser::EndPaint, [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] --> twm/src/window.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | um::winuser::DefWindowProcA, um::winuser::DrawTextW, um::winuser::EndPaint, [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] --> twm/src/window.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | um::winuser::DefWindowProcA, um::winuser::DrawTextW, um::winuser::EndPaint, [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] --> twm/src/window.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | um::winuser::FillRect, um::winuser::GetCursorPos, um::winuser::GetDC, um::winuser::LoadCursorA, [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] --> twm/src/window.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | um::winuser::FillRect, um::winuser::GetCursorPos, um::winuser::GetDC, um::winuser::LoadCursorA, [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] --> twm/src/window.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | um::winuser::FillRect, um::winuser::GetCursorPos, um::winuser::GetDC, um::winuser::LoadCursorA, [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] --> twm/src/window.rs:20:75 [INFO] [stdout] | [INFO] [stdout] 20 | um::winuser::FillRect, um::winuser::GetCursorPos, um::winuser::GetDC, um::winuser::LoadCursorA, [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] --> twm/src/window.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | um::winuser::PostMessageA, um::winuser::RegisterClassA, um::winuser::ReleaseDC, [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] --> twm/src/window.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | um::winuser::PostMessageA, um::winuser::RegisterClassA, um::winuser::ReleaseDC, [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] --> twm/src/window.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | um::winuser::PostMessageA, um::winuser::RegisterClassA, um::winuser::ReleaseDC, [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] --> twm/src/window.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | um::winuser::SetCursor, um::winuser::UnregisterClassA, um::winuser::DT_CALCRECT, [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] --> twm/src/window.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | um::winuser::SetCursor, um::winuser::UnregisterClassA, um::winuser::DT_CALCRECT, [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] --> twm/src/window.rs:22:60 [INFO] [stdout] | [INFO] [stdout] 22 | um::winuser::SetCursor, um::winuser::UnregisterClassA, um::winuser::DT_CALCRECT, [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] --> twm/src/window.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | um::winuser::IDC_ARROW, um::winuser::PAINTSTRUCT, um::winuser::WM_APP, um::winuser::WM_CLOSE, [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] --> twm/src/window.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | um::winuser::IDC_ARROW, um::winuser::PAINTSTRUCT, um::winuser::WM_APP, um::winuser::WM_CLOSE, [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] --> twm/src/window.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | um::winuser::IDC_ARROW, um::winuser::PAINTSTRUCT, um::winuser::WM_APP, um::winuser::WM_CLOSE, [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] --> twm/src/window.rs:23:76 [INFO] [stdout] | [INFO] [stdout] 23 | um::winuser::IDC_ARROW, um::winuser::PAINTSTRUCT, um::winuser::WM_APP, um::winuser::WM_CLOSE, [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] --> twm/src/window.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | um::winuser::WM_CREATE, um::winuser::WM_KILLFOCUS, um::winuser::WM_LBUTTONDOWN, [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] --> twm/src/window.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | um::winuser::WM_CREATE, um::winuser::WM_KILLFOCUS, um::winuser::WM_LBUTTONDOWN, [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] --> twm/src/window.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | um::winuser::WM_CREATE, um::winuser::WM_KILLFOCUS, um::winuser::WM_LBUTTONDOWN, [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] --> twm/src/window.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | um::winuser::WM_PAINT, um::winuser::WM_SETCURSOR, 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] --> twm/src/window.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | um::winuser::WM_PAINT, um::winuser::WM_SETCURSOR, 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] --> twm/src/window.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | um::winuser::WM_PAINT, um::winuser::WM_SETCURSOR, 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] --> twm/src/window.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | um::winuser::WS_BORDER, um::winuser::WS_EX_NOACTIVATE, 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] --> twm/src/window.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | um::winuser::WS_BORDER, um::winuser::WS_EX_NOACTIVATE, 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] --> twm/src/window.rs:26:60 [INFO] [stdout] | [INFO] [stdout] 26 | um::winuser::WS_BORDER, um::winuser::WS_EX_NOACTIVATE, 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] --> twm/src/window.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | um::winuser::WS_OVERLAPPEDWINDOW, um::winuser::WS_POPUPWINDOW, [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] --> twm/src/system/win/api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::{minwindef::*, windef::*}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/window.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | um::winuser::WS_OVERLAPPEDWINDOW, um::winuser::WS_POPUPWINDOW, [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] --> twm/src/window/gwl_ex_style.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::WS_EX_ACCEPTFILES; [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] --> twm/src/system/win/api.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::WS_EX_APPWINDOW; [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] --> twm/src/system/win/menu.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::{minwindef::*, windef::*}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::WS_EX_CLIENTEDGE; [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] --> twm/src/system/win/menu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::WS_EX_COMPOSITED; [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] --> twm/src/system/win/win_event_listener.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | shared::{minwindef::*, ntdef::*, windef::*}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::WS_EX_CONTEXTHELP; [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] --> twm/src/system/win/win_event_listener.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | um::winuser::*, [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] --> twm/src/window/gwl_ex_style.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::WS_EX_CONTROLPARENT; [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] --> twm/src/tray.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::{minwindef::LOWORD, windef::HWND, windef::POINT}, [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] --> twm/src/window/gwl_ex_style.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::WS_EX_DLGMODALFRAME; [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] --> twm/src/tray.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | um::shellapi::Shell_NotifyIconW, [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] --> twm/src/window/gwl_ex_style.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::WS_EX_LAYERED; [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] --> twm/src/tray.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | um::shellapi::NIF_ICON, [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] --> twm/src/window/gwl_ex_style.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::WS_EX_LAYOUTRTL; [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] --> twm/src/tray.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::shellapi::NIF_MESSAGE, [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] --> twm/src/window/gwl_ex_style.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::WS_EX_LEFT; [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] --> twm/src/tray.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | um::shellapi::NIF_TIP, [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] --> twm/src/window/gwl_ex_style.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::WS_EX_LEFTSCROLLBAR; [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] --> twm/src/tray.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | um::shellapi::NIM_ADD, [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] --> twm/src/window/gwl_ex_style.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::WS_EX_LTRREADING; [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] --> twm/src/tray.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::shellapi::{NIM_DELETE, NOTIFYICONDATAW}, [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] --> twm/src/tray.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | um::winuser::CreateIconFromResourceEx, [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] --> twm/src/window/gwl_ex_style.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::WS_EX_MDICHILD; [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] --> twm/src/tray.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | um::winuser::CreatePopupMenu, [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] --> twm/src/window/gwl_ex_style.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::WS_EX_NOACTIVATE; [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] --> twm/src/tray.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | um::winuser::DestroyMenu, [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] --> twm/src/tray.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | um::winuser::GetCursorPos, [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] --> twm/src/window/gwl_ex_style.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winuser::WS_EX_NOINHERITLAYOUT; [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] --> twm/src/tray.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | um::winuser::InsertMenuW, [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] --> twm/src/window/gwl_ex_style.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::winuser::WS_EX_NOPARENTNOTIFY; [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] --> twm/src/tray.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::winuser::PostMessageW, [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] --> twm/src/tray.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | um::winuser::SendMessageW, [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] --> twm/src/tray.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | um::winuser::SetFocus, [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] --> twm/src/tray.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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] --> twm/src/tray.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | um::winuser::SetMenuItemBitmaps, [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] --> twm/src/tray.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | um::winuser::TrackPopupMenu, [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] --> twm/src/tray.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | um::winuser::LR_DEFAULTCOLOR, [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] --> twm/src/tray.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | um::winuser::MF_BYPOSITION, [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] --> twm/src/tray.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | um::winuser::MF_STRING, [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] --> twm/src/tray.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | um::winuser::TPM_LEFTALIGN, [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] --> twm/src/tray.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | um::winuser::TPM_NONOTIFY, [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] --> twm/src/tray.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | um::winuser::TPM_RETURNCMD, [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] --> twm/src/tray.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | um::winuser::TPM_RIGHTBUTTON, [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] --> twm/src/tray.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | um::winuser::WM_APP, [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] --> twm/src/tray.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | um::winuser::WM_CLOSE, [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] --> twm/src/tray.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | um::winuser::WM_COMMAND, [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] --> twm/src/tray.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | um::winuser::WM_INITMENUPOPUP, [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] --> twm/src/window/gwl_ex_style.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::WS_EX_NOREDIRECTIONBITMAP; [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] --> twm/src/tray.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | um::winuser::WM_RBUTTONUP, [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] --> twm/src/window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::wingdi::LOGFONTA; [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] --> twm/src/window/gwl_ex_style.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::WS_EX_OVERLAPPEDWINDOW; [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] --> twm/src/window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::wingdi::{GetBValue, GetGValue, GetRValue, RGB}; [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] --> twm/src/window/gwl_ex_style.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::WS_EX_PALETTEWINDOW; [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] --> twm/src/window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::{wingdi::CreateFontIndirectA, winuser::IDC_HAND, winuser::WM_MOUSEMOVE}; [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] --> twm/src/window/gwl_ex_style.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::WS_EX_RIGHT; [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] --> twm/src/window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::{wingdi::DeleteObject, winuser::DT_SINGLELINE, winuser::DT_VCENTER}; [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] --> twm/src/window.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::{wingdi::SelectObject, winuser::SW_HIDE, 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] --> twm/src/window/gwl_ex_style.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::WS_EX_RIGHTSCROLLBAR; [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] --> twm/src/window.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | shared::minwindef::LPARAM, shared::minwindef::LRESULT, 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 `um` in `winapi` [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::WS_EX_RTLREADING; [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] --> twm/src/window.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | shared::minwindef::LPARAM, shared::minwindef::LRESULT, 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] --> twm/src/window.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | shared::minwindef::LPARAM, shared::minwindef::LRESULT, 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 `um` in `winapi` [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winuser::WS_EX_STATICEDGE; [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] --> twm/src/window.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | shared::minwindef::WPARAM, shared::windef::HDC, shared::windef::HWND, 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 `um` in `winapi` [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::WS_EX_TOOLWINDOW; [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] --> twm/src/window.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | shared::minwindef::WPARAM, shared::windef::HDC, shared::windef::HWND, 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 `um` in `winapi` [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use 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 `shared` in `winapi` [INFO] [stdout] --> twm/src/window.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | shared::minwindef::WPARAM, shared::windef::HDC, shared::windef::HWND, 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] --> twm/src/window.rs:16:75 [INFO] [stdout] | [INFO] [stdout] 16 | shared::minwindef::WPARAM, shared::windef::HDC, shared::windef::HWND, 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 `um` in `winapi` [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::winuser::WS_EX_TRANSPARENT; [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] --> twm/src/window.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::windef::RECT, um::wingdi::CreateSolidBrush, um::wingdi::SetBkColor, [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] --> twm/src/window/gwl_ex_style.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::winuser::WS_EX_WINDOWEDGE; [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] --> twm/src/window.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | shared::windef::RECT, um::wingdi::CreateSolidBrush, um::wingdi::SetBkColor, [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] --> twm/src/window/gwl_style.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `um` in `winapi` [INFO] [stdout] --> twm/src/window.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | shared::windef::RECT, um::wingdi::CreateSolidBrush, um::wingdi::SetBkColor, [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] --> twm/src/window/gwl_style.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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] --> twm/src/window.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::wingdi::SetTextColor, um::winuser::BeginPaint, 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] --> twm/src/window.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | um::wingdi::SetTextColor, um::winuser::BeginPaint, 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] --> twm/src/window/gwl_style.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::WS_CHILD; [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] --> twm/src/window.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | um::wingdi::SetTextColor, um::winuser::BeginPaint, 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] --> twm/src/window/gwl_style.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::WS_CHILDWINDOW; [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] --> twm/src/window.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | um::winuser::DefWindowProcA, um::winuser::DrawTextW, um::winuser::EndPaint, [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] --> twm/src/window.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | um::winuser::DefWindowProcA, um::winuser::DrawTextW, um::winuser::EndPaint, [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] --> twm/src/window/gwl_style.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::WS_CLIPCHILDREN; [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] --> twm/src/window.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | um::winuser::DefWindowProcA, um::winuser::DrawTextW, um::winuser::EndPaint, [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] --> twm/src/window.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | um::winuser::FillRect, um::winuser::GetCursorPos, um::winuser::GetDC, um::winuser::LoadCursorA, [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] --> twm/src/window/gwl_style.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::WS_CLIPSIBLINGS; [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] --> twm/src/window.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | um::winuser::FillRect, um::winuser::GetCursorPos, um::winuser::GetDC, um::winuser::LoadCursorA, [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] --> twm/src/window/gwl_style.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::WS_DISABLED; [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] --> twm/src/window.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | um::winuser::FillRect, um::winuser::GetCursorPos, um::winuser::GetDC, um::winuser::LoadCursorA, [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] --> twm/src/window/gwl_style.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::WS_DLGFRAME; [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] --> twm/src/window/gwl_style.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::WS_GROUP; [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] --> twm/src/window.rs:20:75 [INFO] [stdout] | [INFO] [stdout] 20 | um::winuser::FillRect, um::winuser::GetCursorPos, um::winuser::GetDC, um::winuser::LoadCursorA, [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] --> twm/src/window/gwl_style.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::WS_HSCROLL; [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] --> twm/src/window.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | um::winuser::PostMessageA, um::winuser::RegisterClassA, um::winuser::ReleaseDC, [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] --> twm/src/window/gwl_style.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::WS_ICONIC; [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] --> twm/src/window/gwl_style.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::WS_MAXIMIZE; [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] --> twm/src/window.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | um::winuser::PostMessageA, um::winuser::RegisterClassA, um::winuser::ReleaseDC, [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] --> twm/src/window/gwl_style.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::WS_MAXIMIZEBOX; [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] --> twm/src/window.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | um::winuser::PostMessageA, um::winuser::RegisterClassA, um::winuser::ReleaseDC, [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] --> twm/src/window.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | um::winuser::SetCursor, um::winuser::UnregisterClassA, um::winuser::DT_CALCRECT, [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] --> twm/src/window/gwl_style.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::WS_MINIMIZE; [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] --> twm/src/window.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | um::winuser::SetCursor, um::winuser::UnregisterClassA, um::winuser::DT_CALCRECT, [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] --> twm/src/window/gwl_style.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winuser::WS_MINIMIZEBOX; [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] --> twm/src/window/gwl_style.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::winuser::WS_OVERLAPPED; [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] --> twm/src/window.rs:22:60 [INFO] [stdout] | [INFO] [stdout] 22 | um::winuser::SetCursor, um::winuser::UnregisterClassA, um::winuser::DT_CALCRECT, [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] --> twm/src/window/gwl_style.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::WS_OVERLAPPEDWINDOW; [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] --> twm/src/window/gwl_style.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::WS_POPUP; [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] --> twm/src/window.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | um::winuser::IDC_ARROW, um::winuser::PAINTSTRUCT, um::winuser::WM_APP, um::winuser::WM_CLOSE, [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] --> twm/src/window/gwl_style.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::WS_POPUPWINDOW; [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] --> twm/src/window.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | um::winuser::IDC_ARROW, um::winuser::PAINTSTRUCT, um::winuser::WM_APP, um::winuser::WM_CLOSE, [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] --> twm/src/window/gwl_style.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::WS_SIZEBOX; [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] --> twm/src/window.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | um::winuser::IDC_ARROW, um::winuser::PAINTSTRUCT, um::winuser::WM_APP, um::winuser::WM_CLOSE, [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] --> twm/src/window/gwl_style.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::WS_SYSMENU; [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] --> twm/src/window.rs:23:76 [INFO] [stdout] | [INFO] [stdout] 23 | um::winuser::IDC_ARROW, um::winuser::PAINTSTRUCT, um::winuser::WM_APP, um::winuser::WM_CLOSE, [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] --> twm/src/window/gwl_style.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::WS_TABSTOP; [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] --> twm/src/window/gwl_style.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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] --> twm/src/window.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | um::winuser::WM_CREATE, um::winuser::WM_KILLFOCUS, um::winuser::WM_LBUTTONDOWN, [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] --> twm/src/window/gwl_style.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::WS_TILED; [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] --> twm/src/window.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | um::winuser::WM_CREATE, um::winuser::WM_KILLFOCUS, um::winuser::WM_LBUTTONDOWN, [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] --> twm/src/window/gwl_style.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winuser::WS_TILEDWINDOW; [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] --> twm/src/window/gwl_style.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::winuser::WS_VISIBLE; [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] --> twm/src/window.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | um::winuser::WM_CREATE, um::winuser::WM_KILLFOCUS, um::winuser::WM_LBUTTONDOWN, [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] --> twm/src/window/gwl_style.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::winuser::WS_VSCROLL; [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] --> twm/src/window.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | um::winuser::WM_PAINT, um::winuser::WM_SETCURSOR, 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] --> twm/src/window.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | um::winuser::WM_PAINT, um::winuser::WM_SETCURSOR, 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] --> twm/src/window.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | um::winuser::WM_PAINT, um::winuser::WM_SETCURSOR, um::winuser::WNDCLASSA, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um`, `super::bool_to_result`, `super::nullable_to_result`, `super::Window`, `super::nullable_to_result` [INFO] [stdout] --> twm/src/system/win.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{errhandlingapi::*, psapi::*, winnt::*, winuser::*, *}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: twm/src/system/win/api.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use super::{bool_to_result, nullable_to_result, Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: twm/src/system/win/win_event_listener.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::nullable_to_result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/window.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | um::winuser::WS_BORDER, um::winuser::WS_EX_NOACTIVATE, 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] --> twm/src/window.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | um::winuser::WS_BORDER, um::winuser::WS_EX_NOACTIVATE, 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] --> twm/src/window.rs:26:60 [INFO] [stdout] | [INFO] [stdout] 26 | um::winuser::WS_BORDER, um::winuser::WS_EX_NOACTIVATE, 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] --> twm/src/window.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | um::winuser::WS_OVERLAPPEDWINDOW, um::winuser::WS_POPUPWINDOW, [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] --> twm/src/window.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | um::winuser::WS_OVERLAPPEDWINDOW, um::winuser::WS_POPUPWINDOW, [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] --> twm/src/window/gwl_ex_style.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::WS_EX_ACCEPTFILES; [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] --> twm/src/window/gwl_ex_style.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::WS_EX_APPWINDOW; [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] --> twm/src/window/gwl_ex_style.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::WS_EX_CLIENTEDGE; [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] --> twm/src/window/gwl_ex_style.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::WS_EX_COMPOSITED; [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] --> twm/src/window/gwl_ex_style.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::WS_EX_CONTEXTHELP; [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] --> twm/src/window/gwl_ex_style.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::WS_EX_CONTROLPARENT; [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] --> twm/src/window/gwl_ex_style.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::WS_EX_DLGMODALFRAME; [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] --> twm/src/window/gwl_ex_style.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::WS_EX_LAYERED; [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] --> twm/src/window/gwl_ex_style.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::WS_EX_LAYOUTRTL; [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] --> twm/src/window/gwl_ex_style.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::WS_EX_LEFT; [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] --> twm/src/window/gwl_ex_style.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::WS_EX_LEFTSCROLLBAR; [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] --> twm/src/window/gwl_ex_style.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::WS_EX_LTRREADING; [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] --> twm/src/window/gwl_ex_style.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::WS_EX_MDICHILD; [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] --> twm/src/window/gwl_ex_style.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::WS_EX_NOACTIVATE; [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] --> twm/src/window/gwl_ex_style.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winuser::WS_EX_NOINHERITLAYOUT; [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] --> twm/src/window/gwl_ex_style.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::winuser::WS_EX_NOPARENTNOTIFY; [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] --> twm/src/window/gwl_ex_style.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::WS_EX_NOREDIRECTIONBITMAP; [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] --> twm/src/window/gwl_ex_style.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::WS_EX_OVERLAPPEDWINDOW; [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] --> twm/src/window/gwl_ex_style.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::WS_EX_PALETTEWINDOW; [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] --> twm/src/window/gwl_ex_style.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::WS_EX_RIGHT; [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] --> twm/src/window/gwl_ex_style.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::WS_EX_RIGHTSCROLLBAR; [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] --> twm/src/window/gwl_ex_style.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::WS_EX_RTLREADING; [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] --> twm/src/window/gwl_ex_style.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winuser::WS_EX_STATICEDGE; [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] --> twm/src/window/gwl_ex_style.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::WS_EX_TOOLWINDOW; [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] --> twm/src/window/gwl_ex_style.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use 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] --> twm/src/window/gwl_ex_style.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::winuser::WS_EX_TRANSPARENT; [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] --> twm/src/window/gwl_ex_style.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::winuser::WS_EX_WINDOWEDGE; [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] --> twm/src/window/gwl_style.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `um` in `winapi` [INFO] [stdout] --> twm/src/window/gwl_style.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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] --> twm/src/window/gwl_style.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::WS_CHILD; [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] --> twm/src/window/gwl_style.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::WS_CHILDWINDOW; [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] --> twm/src/window/gwl_style.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::WS_CLIPCHILDREN; [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] --> twm/src/window/gwl_style.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::WS_CLIPSIBLINGS; [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] --> twm/src/window/gwl_style.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::WS_DISABLED; [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] --> twm/src/window/gwl_style.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::WS_DLGFRAME; [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] --> twm/src/window/gwl_style.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::WS_GROUP; [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] --> twm/src/window/gwl_style.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::WS_HSCROLL; [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] --> twm/src/window/gwl_style.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::WS_ICONIC; [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] --> twm/src/window/gwl_style.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::WS_MAXIMIZE; [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] --> twm/src/window/gwl_style.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::WS_MAXIMIZEBOX; [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] --> twm/src/window/gwl_style.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::WS_MINIMIZE; [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] --> twm/src/window/gwl_style.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winuser::WS_MINIMIZEBOX; [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] --> twm/src/window/gwl_style.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::winuser::WS_OVERLAPPED; [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] --> twm/src/window/gwl_style.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::WS_OVERLAPPEDWINDOW; [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] --> twm/src/window/gwl_style.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::WS_POPUP; [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] --> twm/src/window/gwl_style.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::WS_POPUPWINDOW; [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] --> twm/src/window/gwl_style.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::WS_SIZEBOX; [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] --> twm/src/window/gwl_style.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::WS_SYSMENU; [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] --> twm/src/window/gwl_style.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::WS_TABSTOP; [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] --> twm/src/window/gwl_style.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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] --> twm/src/window/gwl_style.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::WS_TILED; [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] --> twm/src/window/gwl_style.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winuser::WS_TILEDWINDOW; [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] --> twm/src/window/gwl_style.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::winuser::WS_VISIBLE; [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] --> twm/src/window/gwl_style.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::winuser::WS_VSCROLL; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um`, `super::bool_to_result`, `super::nullable_to_result`, `super::Window`, `super::nullable_to_result` [INFO] [stdout] --> twm/src/system/win.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{errhandlingapi::*, psapi::*, winnt::*, winuser::*, *}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: twm/src/system/win/api.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use super::{bool_to_result, nullable_to_result, Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: twm/src/system/win/win_event_listener.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::nullable_to_result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> twm/src/message_loop.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let mut msg: MSG = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> twm/src/message_loop.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let mut msg: MSG = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MONITORINFO` [INFO] [stdout] --> twm/src/system/win/api.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | ..MONITORINFO::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MONITORINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MONITORINFO` [INFO] [stdout] --> twm/src/system/win/api.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | ..MONITORINFO::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MONITORINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> twm/src/system/win/api.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | let mut msg: MSG = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `STARTUPINFOA` [INFO] [stdout] --> twm/src/system/win/api.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | let mut si = STARTUPINFOA::default(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `STARTUPINFOA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> twm/src/system/win/api.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | let mut msg: MSG = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PROCESS_INFORMATION` [INFO] [stdout] --> twm/src/system/win/api.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | let mut pi = PROCESS_INFORMATION::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PROCESS_INFORMATION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `STARTUPINFOA` [INFO] [stdout] --> twm/src/system/win/api.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | let mut si = STARTUPINFOA::default(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `STARTUPINFOA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PROCESS_INFORMATION` [INFO] [stdout] --> twm/src/system/win/api.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | let mut pi = PROCESS_INFORMATION::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PROCESS_INFORMATION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LOGFONTA` [INFO] [stdout] --> twm/src/system/win/menu.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | let mut logfont = LOGFONTA::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LOGFONTA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LOGFONTA` [INFO] [stdout] --> twm/src/system/win/menu.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | let mut logfont = LOGFONTA::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LOGFONTA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WNDCLASSA` [INFO] [stdout] --> twm/src/system/win/menu.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | ..WNDCLASSA::default() [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `WNDCLASSA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WNDCLASSA` [INFO] [stdout] --> twm/src/system/win/menu.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | ..WNDCLASSA::default() [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `WNDCLASSA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> twm/src/system/win.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | let mut temp = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> twm/src/system/win.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | let mut temp = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `processthreadsapi` [INFO] [stdout] --> twm/src/system/win.rs:310:34 [INFO] [stdout] | [INFO] [stdout] 310 | let process_handle = processthreadsapi::OpenProcess( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `processthreadsapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `processthreadsapi` [INFO] [stdout] --> twm/src/system/win.rs:310:34 [INFO] [stdout] | [INFO] [stdout] 310 | let process_handle = processthreadsapi::OpenProcess( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `processthreadsapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NOTIFYICONDATAW` [INFO] [stdout] --> twm/src/tray.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | let mut icon_data = NOTIFYICONDATAW::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `NOTIFYICONDATAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NOTIFYICONDATAW` [INFO] [stdout] --> twm/src/tray.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | let mut icon_data = NOTIFYICONDATAW::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `NOTIFYICONDATAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NOTIFYICONDATAW` [INFO] [stdout] --> twm/src/tray.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | let mut icon_data = NOTIFYICONDATAW::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `NOTIFYICONDATAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NOTIFYICONDATAW` [INFO] [stdout] --> twm/src/tray.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | let mut icon_data = NOTIFYICONDATAW::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `NOTIFYICONDATAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> twm/src/tray.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let mut point = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> twm/src/tray.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let mut point = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LOGFONTA` [INFO] [stdout] --> twm/src/window.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | let mut logfont = LOGFONTA::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LOGFONTA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LOGFONTA` [INFO] [stdout] --> twm/src/window.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | let mut logfont = LOGFONTA::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LOGFONTA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> twm/src/window.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | let mut rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/window.rs:345:36 [INFO] [stdout] | [INFO] [stdout] 345 | 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: use of undeclared type `WNDCLASSA` [INFO] [stdout] --> twm/src/window.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | ..WNDCLASSA::default() [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `WNDCLASSA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> twm/src/window.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | let mut rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT` [INFO] [stdout] --> twm/src/window.rs:443:45 [INFO] [stdout] | [INFO] [stdout] 443 | ... let mut paint = PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> twm/src/window.rs:345:36 [INFO] [stdout] | [INFO] [stdout] 345 | 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: use of undeclared type `POINT` [INFO] [stdout] --> twm/src/window.rs:462:45 [INFO] [stdout] | [INFO] [stdout] 462 | ... let mut point = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WNDCLASSA` [INFO] [stdout] --> twm/src/window.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | ..WNDCLASSA::default() [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `WNDCLASSA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> twm/src/window.rs:490:45 [INFO] [stdout] | [INFO] [stdout] 490 | ... let mut point = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT` [INFO] [stdout] --> twm/src/window.rs:443:45 [INFO] [stdout] | [INFO] [stdout] 443 | ... let mut paint = PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> twm/src/window.rs:462:45 [INFO] [stdout] | [INFO] [stdout] 462 | ... let mut point = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_TAB` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Tab = VK_TAB as isize, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SPACE` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Space = VK_SPACE as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | F1 = VK_F1 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F2` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | F2 = VK_F2 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F3` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | F3 = VK_F3 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F4` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | F4 = VK_F4 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F5` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | F5 = VK_F5 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F6` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | F6 = VK_F6 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F7` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | F7 = VK_F7 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F8` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | F8 = VK_F8 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F9` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | F9 = VK_F9 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F10` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | F10 = VK_F10 as isize, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F11` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | F11 = VK_F11 as isize, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F12` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | F12 = VK_F12 as isize, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_COMMA` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Comma = VK_OEM_COMMA as isize, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_PERIOD` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | Period = VK_OEM_PERIOD as isize, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LSHIFT` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | LShift = VK_LSHIFT as isize, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LCONTROL` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | LControl = VK_LCONTROL as isize, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LMENU` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | LAlt = VK_LMENU as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | Escape = VK_ESCAPE as isize, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_BACK` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | Backspace = VK_BACK as isize, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_1` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | OEM_1 = VK_OEM_1 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_2` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | OEM_2 = VK_OEM_2 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_3` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | OEM_3 = VK_OEM_3 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_4` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | OEM_4 = VK_OEM_4 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_5` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | OEM_5 = VK_OEM_5 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> twm/src/window.rs:490:45 [INFO] [stdout] | [INFO] [stdout] 490 | ... let mut point = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_6` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | OEM_6 = VK_OEM_6 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_7` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | OEM_7 = VK_OEM_7 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_8` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | OEM_8 = VK_OEM_8 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_102` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | OEM_102 = VK_OEM_102 as isize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_loop` in this scope [INFO] [stdout] --> twm/src/keybindings.rs:295:26 [INFO] [stdout] | [INFO] [stdout] 295 | let kb = do_loop(&inner_lock); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn start(cb: impl Fn(Option) -> bool) { [INFO] [stdout] | - ^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn start_with_sleep(sleep: u64, cb: impl Fn(Option) -> bool) { [INFO] [stdout] | - ^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let mut msg: MSG = MSG::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn start_with_sleep(sleep: u64, cb: impl Fn(Option) -> bool) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 13 | let mut value: Option = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:15:67 [INFO] [stdout] | [INFO] [stdout] 15 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | 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] --> twm/src/message_loop.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetricsForDpi` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | let border_width = GetSystemMetricsForDpi(SM_CXFRAME, display.dpi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXFRAME` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | let border_width = GetSystemMetricsForDpi(SM_CXFRAME, display.dpi); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetricsForDpi` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | let border_height = GetSystemMetricsForDpi(SM_CYFRAME, display.dpi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYFRAME` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | let border_height = GetSystemMetricsForDpi(SM_CYFRAME, display.dpi); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetricsForDpi` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | let caption_height = GetSystemMetricsForDpi(SM_CYCAPTION, display.dpi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYCAPTION` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | let caption_height = GetSystemMetricsForDpi(SM_CYCAPTION, display.dpi); [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] --> twm/src/renderer/win.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | 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 `AdjustWindowRectEx` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | AdjustWindowRectEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSENDCHANGING` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:92:53 [INFO] [stdout] | [INFO] [stdout] 92 | .set_window_pos(rect.into(), None, Some(SWP_NOSENDCHANGING)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | hmonitor: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | _: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | _: LPRECT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | ) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageA` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | FormatMessageA( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_TAB` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Tab = VK_TAB as isize, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SPACE` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Space = VK_SPACE as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | F1 = VK_F1 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F2` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | F2 = VK_F2 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F3` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | F3 = VK_F3 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F4` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | F4 = VK_F4 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F5` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | F5 = VK_F5 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | GetLastError(), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | bool_to_result(EnumDisplayMonitors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F6` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | F6 = VK_F6 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F7` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | F7 = VK_F7 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F8` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | F8 = VK_F8 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F9` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | F9 = VK_F9 as isize, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F10` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | F10 = VK_F10 as isize, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForMonitor` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | GetDpiForMonitor(id.into(), MDT_RAW_DPI, &mut dpi_x, &mut dpi_y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F11` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | F11 = VK_F11 as isize, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F12` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | F12 = VK_F12 as isize, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_COMMA` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Comma = VK_OEM_COMMA as isize, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MDT_RAW_DPI` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 85 | GetDpiForMonitor(id.into(), MDT_RAW_DPI, &mut dpi_x, &mut dpi_y); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_PERIOD` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | Period = VK_OEM_PERIOD as isize, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LSHIFT` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | LShift = VK_LSHIFT as isize, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:90:59 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe extern "system" fn enum_windows_task_bars_cb(hwnd: HWND, l_param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LCONTROL` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | LControl = VK_LCONTROL as isize, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LMENU` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | LAlt = VK_LMENU as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | Escape = VK_ESCAPE as isize, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_BACK` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | Backspace = VK_BACK as isize, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:90:74 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe extern "system" fn enum_windows_task_bars_cb(hwnd: HWND, l_param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:90:85 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe extern "system" fn enum_windows_task_bars_cb(hwnd: HWND, l_param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MONITORINFO` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | let mut monitor_info = MONITORINFO { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_1` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | OEM_1 = VK_OEM_1 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_2` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | OEM_2 = VK_OEM_2 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_3` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | OEM_3 = VK_OEM_3 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_4` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | OEM_4 = VK_OEM_4 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_5` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | OEM_5 = VK_OEM_5 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_6` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | OEM_6 = VK_OEM_6 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:108:38 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_display_rect(id: DisplayId) -> Rectangle { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 107 | let mut monitor_info = MONITORINFO { [INFO] [stdout] 108 | cbSize: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_7` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | OEM_7 = VK_OEM_7 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_8` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | OEM_8 = VK_OEM_8 as isize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_OEM_102` in this scope [INFO] [stdout] --> twm/src/keybindings/key.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | OEM_102 = VK_OEM_102 as isize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_loop` in this scope [INFO] [stdout] --> twm/src/keybindings.rs:295:26 [INFO] [stdout] | [INFO] [stdout] 295 | let kb = do_loop(&inner_lock); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoA` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | GetMonitorInfoA(id.into(), &mut monitor_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | EnumWindows( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let mut key: HKEY = std::mem::zeroed(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCreateKeyExW` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | if RegCreateKeyExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn start(cb: impl Fn(Option) -> bool) { [INFO] [stdout] | - ^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | HKEY_CURRENT_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_OPTION_NON_VOLATILE` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | REG_OPTION_NON_VOLATILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_SET_VALUE` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | KEY_SET_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn start_with_sleep(sleep: u64, cb: impl Fn(Option) -> bool) { [INFO] [stdout] | - ^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let mut msg: MSG = MSG::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn start_with_sleep(sleep: u64, cb: impl Fn(Option) -> bool) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 13 | let mut value: Option = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExW` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | RegSetValueExW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | REG_SZ, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> twm/src/message_loop.rs:15:67 [INFO] [stdout] | [INFO] [stdout] 15 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegDeleteKeyValueW` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | RegDeleteKeyValueW( [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] --> twm/src/message_loop.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | HKEY_CURRENT_USER, [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] --> twm/src/message_loop.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | let result = nullable_to_result(RegisterHotKey( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterHotKey` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | let result = bool_to_result(UnregisterHotKey(std::ptr::null_mut(), kb.get_id())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetricsForDpi` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | let border_width = GetSystemMetricsForDpi(SM_CXFRAME, display.dpi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterHotKey` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | UnregisterHotKey(id.into(), kb.get_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:221:43 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn get_current_window_msg() -> Option { [INFO] [stdout] | - ^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | let mut msg: MSG = MSG::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:225:63 [INFO] [stdout] | [INFO] [stdout] 225 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXFRAME` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | let border_width = GetSystemMetricsForDpi(SM_CXFRAME, display.dpi); [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] --> twm/src/system/win/api.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | 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] --> twm/src/system/win/api.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetricsForDpi` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | let border_height = GetSystemMetricsForDpi(SM_CYFRAME, display.dpi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessA` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let x = CreateProcessA( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYFRAME` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | let border_height = GetSystemMetricsForDpi(SM_CYFRAME, display.dpi); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | Created = (WM_APP + 1) as isize, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetricsForDpi` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | let caption_height = GetSystemMetricsForDpi(SM_CYCAPTION, display.dpi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYCAPTION` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | let caption_height = GetSystemMetricsForDpi(SM_CYCAPTION, display.dpi); [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] --> twm/src/renderer/win.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | 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 `AdjustWindowRectEx` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | AdjustWindowRectEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSENDCHANGING` in this scope [INFO] [stdout] --> twm/src/renderer/win.rs:92:53 [INFO] [stdout] | [INFO] [stdout] 92 | .set_window_pos(rect.into(), None, Some(SWP_NOSENDCHANGING)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | hmonitor: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | _: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | _: LPRECT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | ) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageA` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | FormatMessageA( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | if msg == WM_CREATE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let textbox = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | WS_CHILD | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | WS_CHILD | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontIndirectA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let font = CreateFontIndirectA(&logfont); [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] --> twm/src/system/win/menu.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | SendMessageA(textbox, WM_SETFONT, font as usize, 1); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETFONT` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | SendMessageA(textbox, WM_SETFONT, font as usize, 1); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetFocus` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | SetFocus(textbox); [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] --> twm/src/system/win/menu.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | RegisterHotKey(hwnd, HotKeyKind::Quit as i32, 0, Key::Escape as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | RegisterHotKey(hwnd, HotKeyKind::Execute as i32, 0, Key::Enter as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | RegisterHotKey( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | GetLastError(), [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] --> twm/src/system/win/menu.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | RegisterHotKey( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | PostMessageA(hwnd, WindowCommand::Created as u32, textbox as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | } else if msg == WM_COMMAND { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let kind = HIWORD(w_param as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EN_CHANGE` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if kind == EN_CHANGE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | PostMessageA(hwnd as HWND, WindowCommand::InputChanged as u32, 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 `EnumDisplayMonitors` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | bool_to_result(EnumDisplayMonitors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForMonitor` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | GetDpiForMonitor(id.into(), MDT_RAW_DPI, &mut dpi_x, &mut dpi_y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MDT_RAW_DPI` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 85 | GetDpiForMonitor(id.into(), MDT_RAW_DPI, &mut dpi_x, &mut dpi_y); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | PostMessageA(hwnd as HWND, WindowCommand::InputChanged as u32, 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] --> twm/src/system/win/api.rs:90:59 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe extern "system" fn enum_windows_task_bars_cb(hwnd: HWND, l_param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:90:74 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe extern "system" fn enum_windows_task_bars_cb(hwnd: HWND, l_param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:90:85 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe extern "system" fn enum_windows_task_bars_cb(hwnd: HWND, l_param: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EN_KILLFOCUS` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | } else if kind == EN_KILLFOCUS { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MONITORINFO` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | let mut monitor_info = MONITORINFO { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:108:38 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_display_rect(id: DisplayId) -> Rectangle { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 107 | let mut monitor_info = MONITORINFO { [INFO] [stdout] 108 | cbSize: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | PostMessageA(hwnd as HWND, WindowCommand::LostFocus as u32, 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 `GetMonitorInfoA` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | GetMonitorInfoA(id.into(), &mut monitor_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | EnumWindows( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let mut key: HKEY = std::mem::zeroed(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | PostMessageA(hwnd as HWND, WindowCommand::LostFocus as u32, 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 `RegCreateKeyExW` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | if RegCreateKeyExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | HKEY_CURRENT_USER, [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] --> twm/src/system/win/menu.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | DefWindowProcA(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_OPTION_NON_VOLATILE` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | REG_OPTION_NON_VOLATILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_SET_VALUE` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | KEY_SET_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExW` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | RegSetValueExW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | REG_SZ, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | CloseWindow((*self.menu_win_id.lock()).into()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::CloseWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegDeleteKeyValueW` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | RegDeleteKeyValueW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | HKEY_CURRENT_USER, [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] --> twm/src/system/win/api.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | let result = nullable_to_result(RegisterHotKey( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | CloseWindow((*self.tb_win_id.lock()).into()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::CloseWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterHotKey` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | let result = bool_to_result(UnregisterHotKey(std::ptr::null_mut(), kb.get_id())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterHotKey` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | UnregisterHotKey(id.into(), kb.get_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:221:43 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn get_current_window_msg() -> Option { [INFO] [stdout] | - ^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | let mut msg: MSG = MSG::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:191:28 [INFO] [stdout] | [INFO] [stdout] 191 | let instance = GetModuleHandleA(std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:225:63 [INFO] [stdout] | [INFO] [stdout] 225 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | 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] --> twm/src/system/win/api.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessA` in this scope [INFO] [stdout] --> twm/src/system/win/api.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let x = CreateProcessA( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | Created = (WM_APP + 1) as isize, [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] --> twm/src/system/win/menu.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let class = WNDCLASSA { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | if RegisterClassA(&class) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | UnregisterClassA(c_name.as_ptr(), instance); [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] --> twm/src/system/win/menu.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | RegisterClassA(&class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | w_param: 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] --> twm/src/system/win/menu.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | let hwnd = CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUPWINDOW` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | WS_POPUPWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | if msg == WM_CREATE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let textbox = CreateWindowExW( [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] --> twm/src/system/win/menu.rs:279:39 [INFO] [stdout] | [INFO] [stdout] 279 | if msg.message == WM_HOTKEY { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | WS_CHILD | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:295:54 [INFO] [stdout] | [INFO] [stdout] 295 | ... let buffer_len = GetWindowTextLengthA(tb.into()) + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | WS_CHILD | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontIndirectA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let font = CreateFontIndirectA(&logfont); [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] --> twm/src/system/win/menu.rs:297:37 [INFO] [stdout] | [INFO] [stdout] 297 | ... GetWindowTextA(tb.into(), buffer.as_mut_ptr(), buffer_len); [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] --> twm/src/system/win/menu.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | SendMessageA(textbox, WM_SETFONT, font as usize, 1); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | ... SetWindowTextA(tb.into(), buffer.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:313:37 [INFO] [stdout] | [INFO] [stdout] 313 | ... SendMessageA( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETFONT` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | SendMessageA(textbox, WM_SETFONT, font as usize, 1); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetFocus` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | SetFocus(textbox); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EM_SETSEL` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:315:41 [INFO] [stdout] | [INFO] [stdout] 315 | ... EM_SETSEL as u32, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | RegisterHotKey(hwnd, HotKeyKind::Quit as i32, 0, Key::Escape as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | CloseWindow(msg.hwnd); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::CloseWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | RegisterHotKey(hwnd, HotKeyKind::Execute as i32, 0, Key::Enter as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | RegisterHotKey( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:335:42 [INFO] [stdout] | [INFO] [stdout] 335 | let buffer_len = GetWindowTextLengthA(tb.into()) + 1; [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] --> twm/src/system/win/menu.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | RegisterHotKey( [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] --> twm/src/system/win/menu.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | GetWindowTextA(tb.into(), buffer.as_mut_ptr(), buffer_len); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:355:41 [INFO] [stdout] | [INFO] [stdout] 355 | ... MoveWindow(window_id.into(), x, y, 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 `PostMessageA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | PostMessageA(hwnd, WindowCommand::Created as u32, textbox as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | } else if msg == WM_COMMAND { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let kind = HIWORD(w_param as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:356:41 [INFO] [stdout] | [INFO] [stdout] 356 | ... ShowWindow(window_id.into(), SW_SHOWNOACTIVATE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::ShowWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EN_CHANGE` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | if kind == EN_CHANGE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNOACTIVATE` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:356:70 [INFO] [stdout] | [INFO] [stdout] 356 | ... ShowWindow(window_id.into(), SW_SHOWNOACTIVATE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | PostMessageA(hwnd as HWND, WindowCommand::InputChanged as u32, 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 `ShowWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:364:45 [INFO] [stdout] | [INFO] [stdout] 364 | ... ShowWindow(window_id.into(), SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::ShowWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | PostMessageA(hwnd as HWND, WindowCommand::InputChanged as u32, 0, 0); [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] --> twm/src/system/win/menu.rs:364:74 [INFO] [stdout] | [INFO] [stdout] 364 | ... ShowWindow(window_id.into(), SW_HIDE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | _: HWINEVENTHOOK, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | event_code: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EN_KILLFOCUS` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | } else if kind == EN_KILLFOCUS { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | PostMessageA(hwnd as HWND, WindowCommand::LostFocus as u32, 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] --> twm/src/system/win/menu.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | PostMessageA(hwnd as HWND, WindowCommand::LostFocus as u32, 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] --> twm/src/system/win/win_event_listener.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | object_type: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | _: LONG, [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] --> twm/src/system/win/menu.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | DefWindowProcA(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | _: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | CloseWindow((*self.menu_win_id.lock()).into()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::CloseWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | _: 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] --> twm/src/system/win/win_event_listener.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | if object_type != OBJID_WINDOW { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK__` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct WinEventListener { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 63 | stopped: Arc, [INFO] [stdout] 64 | hook: Arc>, [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] --> twm/src/system/win/win_event_listener.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 85 | let hook_ptr = nullable_to_result(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] --> twm/src/system/win/win_event_listener.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | 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] --> twm/src/system/win/win_event_listener.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | EVENT_MAX, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | hook.store(hook_ptr as HWINEVENTHOOK, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | CloseWindow((*self.tb_win_id.lock()).into()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::CloseWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:191:28 [INFO] [stdout] | [INFO] [stdout] 191 | let instance = GetModuleHandleA(std::ptr::null_mut()); [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] --> twm/src/system/win/menu.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let class = WNDCLASSA { [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] --> twm/src/system/win/menu.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | if RegisterClassA(&class) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | UnregisterClassA(c_name.as_ptr(), instance); [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] --> twm/src/system/win/menu.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | RegisterClassA(&class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | let hwnd = CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | impl From for WindowId { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn from(val: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | impl Into for WindowId { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn into(self) -> 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] --> twm/src/system/win.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | self.0 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] --> twm/src/system/win.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | impl PartialEq for WindowId { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn eq(&self, other: &HWND) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | impl From for DisplayId { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | fn from(val: HMONITOR) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | impl Into for DisplayId { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | fn into(self) -> HMONITOR { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUPWINDOW` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | WS_POPUPWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | self.0 as HMONITOR [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] --> twm/src/system/win/menu.rs:279:39 [INFO] [stdout] | [INFO] [stdout] 279 | if msg.message == WM_HOTKEY { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | impl From for Display { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:295:54 [INFO] [stdout] | [INFO] [stdout] 295 | ... let buffer_len = GetWindowTextLengthA(tb.into()) + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | fn from(val: HMONITOR) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | impl From for Rectangle { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | fn from(rect: RECT) -> Self { [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] --> twm/src/system/win/menu.rs:297:37 [INFO] [stdout] | [INFO] [stdout] 297 | ... GetWindowTextA(tb.into(), buffer.as_mut_ptr(), buffer_len); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | impl Into for Rectangle { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | fn into(self) -> RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | ... SetWindowTextA(tb.into(), buffer.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:313:37 [INFO] [stdout] | [INFO] [stdout] 313 | ... SendMessageA( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EM_SETSEL` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:315:41 [INFO] [stdout] | [INFO] [stdout] 315 | ... EM_SETSEL as u32, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> twm/src/system/win.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | fn bool_to_result(v: BOOL) -> WinResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | fn lresult_to_result(v: LRESULT) -> WinResult { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | CloseWindow(msg.hwnd); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::CloseWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | fn lresult_to_result(v: LRESULT) -> WinResult { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | impl From for Window { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthA` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:335:42 [INFO] [stdout] | [INFO] [stdout] 335 | let buffer_len = GetWindowTextLengthA(tb.into()) + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | fn from(val: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> twm/src/system/win.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | unsafe { IsWindowVisible(self.id.into()) == 0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | nullable_to_result(MonitorFromWindow(self.id.into(), MONITOR_DEFAULTTONULL).into()) [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] --> twm/src/system/win/menu.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | GetWindowTextA(tb.into(), buffer.as_mut_ptr(), buffer_len); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTONULL` in this scope [INFO] [stdout] --> twm/src/system/win.rs:195:66 [INFO] [stdout] | [INFO] [stdout] 195 | nullable_to_result(MonitorFromWindow(self.id.into(), MONITOR_DEFAULTTONULL).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:355:41 [INFO] [stdout] | [INFO] [stdout] 355 | ... MoveWindow(window_id.into(), x, y, 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 `GetForegroundWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | nullable_to_result(GetForegroundWindow().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::GetForegroundWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:356:41 [INFO] [stdout] | [INFO] [stdout] 356 | ... ShowWindow(window_id.into(), SW_SHOWNOACTIVATE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::ShowWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClassNameA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | nullable_to_result(GetClassNameA( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNOACTIVATE` in this scope [INFO] [stdout] --> twm/src/system/win/menu.rs:356:70 [INFO] [stdout] | [INFO] [stdout] 356 | ... ShowWindow(window_id.into(), SW_SHOWNOACTIVATE); [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] --> twm/src/system/win.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { nullable_to_result(GetParent(self.id.into()).into()) } [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] --> twm/src/system/win/menu.rs:364:45 [INFO] [stdout] | [INFO] [stdout] 364 | ... ShowWindow(window_id.into(), SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::ShowWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | nullable_to_result(GetWindowLongA(self.id.into(), GWL_STYLE)) [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] --> twm/src/system/win/menu.rs:364:74 [INFO] [stdout] | [INFO] [stdout] 364 | ... ShowWindow(window_id.into(), SW_HIDE); [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] --> twm/src/system/win.rs:221:63 [INFO] [stdout] | [INFO] [stdout] 221 | nullable_to_result(GetWindowLongA(self.id.into(), GWL_STYLE)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | _: HWINEVENTHOOK, [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] --> twm/src/system/win.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | nullable_to_result(GetWindowLongA(self.id.into(), GWL_EXSTYLE)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | event_code: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:227:63 [INFO] [stdout] | [INFO] [stdout] 227 | nullable_to_result(GetWindowLongA(self.id.into(), GWL_EXSTYLE)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> twm/src/system/win.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | nullable_to_result(GetWindowTextW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | object_type: LONG, [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] --> twm/src/system/win.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | nullable_to_result(GetWindowRect(self.id.into(), &mut temp)).map(|_| temp.into()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | _: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | unsafe { IsWindow(self.id.into()) != 0 } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | _: DWORD, [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] --> twm/src/system/win.rs:257:39 [INFO] [stdout] | [INFO] [stdout] 257 | nullable_to_result::(SetWindowLongA(self.id.into(), GWL_STYLE, self.style.bits())) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | _: 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] --> twm/src/system/win/win_event_listener.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | if object_type != OBJID_WINDOW { [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] --> twm/src/system/win.rs:257:70 [INFO] [stdout] | [INFO] [stdout] 257 | nullable_to_result::(SetWindowLongA(self.id.into(), GWL_STYLE, self.style.bits())) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> twm/src/system/win.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | Some(if topmost { HWND_TOPMOST } else { HWND_TOP }), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK__` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct WinEventListener { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 63 | stopped: Arc, [INFO] [stdout] 64 | hook: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stdout] --> twm/src/system/win.rs:264:53 [INFO] [stdout] | [INFO] [stdout] 264 | Some(if topmost { HWND_TOPMOST } else { HWND_TOP }), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | Some(SWP_NOMOVE | SWP_NOSIZE), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | Some(SWP_NOMOVE | SWP_NOSIZE), [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] --> twm/src/system/win/win_event_listener.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 85 | let hook_ptr = nullable_to_result(SetWinEventHook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_NOTOPMOST` in this scope [INFO] [stdout] --> twm/src/system/win.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | Some(HWND_NOTOPMOST), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | Some(SWP_NOMOVE | SWP_NOSIZE), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:272:31 [INFO] [stdout] | [INFO] [stdout] 272 | Some(SWP_NOMOVE | SWP_NOSIZE), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 146 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 278 | order: Option, [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] --> twm/src/system/win.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | bool_to_result(SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> twm/src/system/win.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | GetWindowThreadProcessId(self.id.into(), &mut process_id); [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] --> twm/src/system/win/win_event_listener.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | EVENT_MIN, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> twm/src/system/win.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, [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] --> twm/src/system/win/win_event_listener.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | EVENT_MAX, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> twm/src/system/win.rs:311:45 [INFO] [stdout] | [INFO] [stdout] 311 | PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | hook.store(hook_ptr as HWINEVENTHOOK, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | impl From for WindowId { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> twm/src/system/win.rs:317:38 [INFO] [stdout] | [INFO] [stdout] 317 | error!("winapi: {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameExA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 319 | if GetModuleFileNameExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> twm/src/system/win.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 326 | error!("winapi: {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn from(val: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | ShowWindow(self.id.into(), SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::ShowWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> twm/src/system/win.rs:357:40 [INFO] [stdout] | [INFO] [stdout] 357 | ShowWindow(self.id.into(), 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 `ShowWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | ShowWindow(self.id.into(), SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::ShowWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:362:40 [INFO] [stdout] | [INFO] [stdout] 362 | ShowWindow(self.id.into(), 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 `SendNotifyMessageA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:367:28 [INFO] [stdout] | [INFO] [stdout] 367 | bool_to_result(SendNotifyMessageA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | WM_SYSCOMMAND, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | impl Into for WindowId { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn into(self) -> 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] --> twm/src/system/win.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | self.0 as HWND [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_CLOSE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | SC_CLOSE, [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] --> twm/src/system/win.rs:379:28 [INFO] [stdout] | [INFO] [stdout] 379 | bool_to_result(SetForegroundWindow(self.id.into())) [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] --> twm/src/system/win.rs:386:31 [INFO] [stdout] | [INFO] [stdout] 386 | lresult_to_result(SendMessageA(self.id.into(), WM_PAINT, 0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_PAINT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:386:60 [INFO] [stdout] | [INFO] [stdout] 386 | lresult_to_result(SendMessageA(self.id.into(), WM_PAINT, 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] --> twm/src/system/win.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | impl PartialEq for WindowId { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:432:31 [INFO] [stdout] | [INFO] [stdout] 432 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_RESTORE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:432:60 [INFO] [stdout] | [INFO] [stdout] 432 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_RESTORE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_RESTORE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:432:75 [INFO] [stdout] | [INFO] [stdout] 432 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_RESTORE, 0)) [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] --> twm/src/system/win.rs:438:31 [INFO] [stdout] | [INFO] [stdout] 438 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MINIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:438:60 [INFO] [stdout] | [INFO] [stdout] 438 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MINIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MINIMIZE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:438:75 [INFO] [stdout] | [INFO] [stdout] 438 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MINIMIZE, 0)) [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] --> twm/src/system/win.rs:445:31 [INFO] [stdout] | [INFO] [stdout] 445 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MAXIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:445:60 [INFO] [stdout] | [INFO] [stdout] 445 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MAXIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MAXIMIZE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:445:75 [INFO] [stdout] | [INFO] [stdout] 445 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MAXIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stdout] --> twm/src/tray.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | if msg.code == WM_COMMAND { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn eq(&self, other: &HWND) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> twm/src/tray.rs:68:57 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(id) = PopupId::from_u16(LOWORD(msg.params.0 as u32)) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> twm/src/tray.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | ... PostMessageW(msg.hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | impl From for DisplayId { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> twm/src/tray.rs:71:56 [INFO] [stdout] | [INFO] [stdout] 71 | ... PostMessageW(msg.hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | fn from(val: HMONITOR) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> twm/src/tray.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | } else if msg.code == WM_APP && msg.params.1 as u32 == WM_RBUTTONUP { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | impl Into for DisplayId { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_RBUTTONUP` in this scope [INFO] [stdout] --> twm/src/tray.rs:81:72 [INFO] [stdout] | [INFO] [stdout] 81 | } else if msg.code == WM_APP && msg.params.1 as u32 == WM_RBUTTONUP { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | fn into(self) -> HMONITOR { [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] --> twm/src/tray.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | SetForegroundWindow(msg.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | self.0 as HMONITOR [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> twm/src/tray.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | PostMessageW(msg.hwnd, WM_APP + 1, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> twm/src/tray.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | PostMessageW(msg.hwnd, WM_APP + 1, 0, 0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | impl From for Display { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/tray.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn add_icon(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> twm/src/system/win.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | fn from(val: HMONITOR) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIconFromResourceEx` in this scope [INFO] [stdout] --> twm/src/tray.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let icon_handle = CreateIconFromResourceEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | impl From for Rectangle { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_DEFAULTCOLOR` in this scope [INFO] [stdout] --> twm/src/tray.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | LR_DEFAULTCOLOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> twm/src/tray.rs:121:48 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn add_icon(hwnd: HWND) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 121 | icon_data.cbSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | fn from(rect: RECT) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> twm/src/tray.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | icon_data.uCallbackMessage = WM_APP; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope [INFO] [stdout] --> twm/src/tray.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | icon_data.uFlags = NIF_ICON | NIF_TIP | NIF_MESSAGE; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | impl Into for Rectangle { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope [INFO] [stdout] --> twm/src/tray.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | icon_data.uFlags = NIF_ICON | NIF_TIP | NIF_MESSAGE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | fn into(self) -> RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope [INFO] [stdout] --> twm/src/tray.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | icon_data.uFlags = NIF_ICON | NIF_TIP | NIF_MESSAGE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> twm/src/tray.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Shell_NotifyIconW(NIM_ADD, &mut icon_data); [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] --> twm/src/system/win.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_ADD` in this scope [INFO] [stdout] --> twm/src/tray.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | Shell_NotifyIconW(NIM_ADD, &mut icon_data); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/tray.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn remove_icon(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> twm/src/system/win.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | fn bool_to_result(v: BOOL) -> WinResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> twm/src/tray.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Shell_NotifyIconW(NIM_DELETE, &mut icon_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | fn lresult_to_result(v: LRESULT) -> WinResult { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope [INFO] [stdout] --> twm/src/tray.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | Shell_NotifyIconW(NIM_DELETE, &mut icon_data); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | fn lresult_to_result(v: LRESULT) -> WinResult { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/tray.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe fn show_popup_menu(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope [INFO] [stdout] --> twm/src/tray.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | let menu = CreatePopupMenu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuW` in this scope [INFO] [stdout] --> twm/src/tray.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> twm/src/tray.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | impl From for Window { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | fn from(val: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> twm/src/tray.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> twm/src/system/win.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | unsafe { IsWindowVisible(self.id.into()) == 0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuW` in this scope [INFO] [stdout] --> twm/src/tray.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> twm/src/tray.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | nullable_to_result(MonitorFromWindow(self.id.into(), MONITOR_DEFAULTTONULL).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> twm/src/tray.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetMenuItemBitmaps` in this scope [INFO] [stdout] --> twm/src/tray.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | SetMenuItemBitmaps( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTONULL` in this scope [INFO] [stdout] --> twm/src/system/win.rs:195:66 [INFO] [stdout] | [INFO] [stdout] 195 | nullable_to_result(MonitorFromWindow(self.id.into(), MONITOR_DEFAULTTONULL).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> twm/src/tray.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | MF_BYPOSITION, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetFocus` in this scope [INFO] [stdout] --> twm/src/tray.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | SetFocus(hwnd); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | nullable_to_result(GetForegroundWindow().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::GetForegroundWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> twm/src/tray.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | SendMessageW(hwnd, WM_INITMENUPOPUP, menu as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClassNameA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | nullable_to_result(GetClassNameA( [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] --> twm/src/system/win.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { nullable_to_result(GetParent(self.id.into()).into()) } [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] --> twm/src/system/win.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | nullable_to_result(GetWindowLongA(self.id.into(), GWL_STYLE)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INITMENUPOPUP` in this scope [INFO] [stdout] --> twm/src/tray.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | SendMessageW(hwnd, WM_INITMENUPOPUP, menu as usize, 0); [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] --> twm/src/system/win.rs:221:63 [INFO] [stdout] | [INFO] [stdout] 221 | nullable_to_result(GetWindowLongA(self.id.into(), 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 `GetWindowLongA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | nullable_to_result(GetWindowLongA(self.id.into(), GWL_EXSTYLE)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> twm/src/tray.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | GetCursorPos(&mut point); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:227:63 [INFO] [stdout] | [INFO] [stdout] 227 | nullable_to_result(GetWindowLongA(self.id.into(), GWL_EXSTYLE)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> twm/src/system/win.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | nullable_to_result(GetWindowTextW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope [INFO] [stdout] --> twm/src/tray.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | let cmd = TrackPopupMenu( [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] --> twm/src/system/win.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | nullable_to_result(GetWindowRect(self.id.into(), &mut temp)).map(|_| temp.into()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | unsafe { IsWindow(self.id.into()) != 0 } [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] --> twm/src/system/win.rs:257:39 [INFO] [stdout] | [INFO] [stdout] 257 | nullable_to_result::(SetWindowLongA(self.id.into(), GWL_STYLE, self.style.bits())) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_LEFTALIGN` in this scope [INFO] [stdout] --> twm/src/tray.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [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] --> twm/src/system/win.rs:257:70 [INFO] [stdout] | [INFO] [stdout] 257 | nullable_to_result::(SetWindowLongA(self.id.into(), GWL_STYLE, self.style.bits())) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> twm/src/system/win.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | Some(if topmost { HWND_TOPMOST } else { HWND_TOP }), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stdout] --> twm/src/system/win.rs:264:53 [INFO] [stdout] | [INFO] [stdout] 264 | Some(if topmost { HWND_TOPMOST } else { HWND_TOP }), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RIGHTBUTTON` in this scope [INFO] [stdout] --> twm/src/tray.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | Some(SWP_NOMOVE | SWP_NOSIZE), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | Some(SWP_NOMOVE | SWP_NOSIZE), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RETURNCMD` in this scope [INFO] [stdout] --> twm/src/tray.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_NOTOPMOST` in this scope [INFO] [stdout] --> twm/src/system/win.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | Some(HWND_NOTOPMOST), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | Some(SWP_NOMOVE | SWP_NOSIZE), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_NONOTIFY` in this scope [INFO] [stdout] --> twm/src/tray.rs:181:59 [INFO] [stdout] | [INFO] [stdout] 181 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:272:31 [INFO] [stdout] | [INFO] [stdout] 272 | Some(SWP_NOMOVE | SWP_NOSIZE), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 146 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 278 | order: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> twm/src/tray.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | SendMessageW(hwnd, WM_COMMAND, cmd as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> twm/src/system/win.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | bool_to_result(SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stdout] --> twm/src/tray.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | SendMessageW(hwnd, WM_COMMAND, cmd as usize, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> twm/src/system/win.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | GetWindowThreadProcessId(self.id.into(), &mut process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> twm/src/system/win.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope [INFO] [stdout] --> twm/src/tray.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | DestroyMenu(menu); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> twm/src/system/win.rs:311:45 [INFO] [stdout] | [INFO] [stdout] 311 | PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> twm/src/system/win.rs:317:38 [INFO] [stdout] | [INFO] [stdout] 317 | error!("winapi: {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_ACCEPTFILES` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | const ACCEPTFILES = WS_EX_ACCEPTFILES 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 `GetModuleFileNameExA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 319 | if GetModuleFileNameExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> twm/src/system/win.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 326 | error!("winapi: {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_APPWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | const APPWINDOW = WS_EX_APPWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | const CLIENTEDGE = WS_EX_CLIENTEDGE as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | const COMPOSITED = WS_EX_COMPOSITED 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 `ShowWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | ShowWindow(self.id.into(), SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::ShowWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> twm/src/system/win.rs:357:40 [INFO] [stdout] | [INFO] [stdout] 357 | ShowWindow(self.id.into(), 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 `ShowWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | ShowWindow(self.id.into(), SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SystemError::ShowWindow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:362:40 [INFO] [stdout] | [INFO] [stdout] 362 | ShowWindow(self.id.into(), 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 `SendNotifyMessageA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:367:28 [INFO] [stdout] | [INFO] [stdout] 367 | bool_to_result(SendNotifyMessageA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | WM_SYSCOMMAND, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_CLOSE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | SC_CLOSE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_CONTEXTHELP` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | const CONTEXTHELP = WS_EX_CONTEXTHELP 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> twm/src/system/win.rs:379:28 [INFO] [stdout] | [INFO] [stdout] 379 | bool_to_result(SetForegroundWindow(self.id.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_CONTROLPARENT` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | const CONTROLPARENT = WS_EX_CONTROLPARENT as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_DLGMODALFRAME` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | const DLGMODALFRAME = WS_EX_DLGMODALFRAME 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 `SendMessageA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:386:31 [INFO] [stdout] | [INFO] [stdout] 386 | lresult_to_result(SendMessageA(self.id.into(), WM_PAINT, 0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_PAINT` in this scope [INFO] [stdout] --> twm/src/system/win.rs:386:60 [INFO] [stdout] | [INFO] [stdout] 386 | lresult_to_result(SendMessageA(self.id.into(), WM_PAINT, 0, 0)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | const LAYERED = WS_EX_LAYERED 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 `SendMessageA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:432:31 [INFO] [stdout] | [INFO] [stdout] 432 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_RESTORE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYOUTRTL` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | const LAYOUTRTL = WS_EX_LAYOUTRTL as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:432:60 [INFO] [stdout] | [INFO] [stdout] 432 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_RESTORE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LEFT` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | const LEFT = WS_EX_LEFT as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_RESTORE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:432:75 [INFO] [stdout] | [INFO] [stdout] 432 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_RESTORE, 0)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LEFTSCROLLBAR` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | const LEFTSCROLLBAR = WS_EX_LEFTSCROLLBAR 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 `SendMessageA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:438:31 [INFO] [stdout] | [INFO] [stdout] 438 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MINIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:438:60 [INFO] [stdout] | [INFO] [stdout] 438 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MINIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LTRREADING` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | const LTRREADING = WS_EX_LTRREADING as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MINIMIZE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:438:75 [INFO] [stdout] | [INFO] [stdout] 438 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MINIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_MDICHILD` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | const MDICHILD = WS_EX_MDICHILD 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 `SendMessageA` in this scope [INFO] [stdout] --> twm/src/system/win.rs:445:31 [INFO] [stdout] | [INFO] [stdout] 445 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MAXIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | const NOACTIVATE = WS_EX_NOACTIVATE as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> twm/src/system/win.rs:445:60 [INFO] [stdout] | [INFO] [stdout] 445 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MAXIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MAXIMIZE` in this scope [INFO] [stdout] --> twm/src/system/win.rs:445:75 [INFO] [stdout] | [INFO] [stdout] 445 | lresult_to_result(SendMessageA(self.id.into(), WM_SYSCOMMAND, SC_MAXIMIZE, 0)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOINHERITLAYOUT` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | const NOINHERITLAYOUT = WS_EX_NOINHERITLAYOUT as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stdout] --> twm/src/tray.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | if msg.code == WM_COMMAND { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOPARENTNOTIFY` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | const NOPARENTNOTIFY = WS_EX_NOPARENTNOTIFY 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 `LOWORD` in this scope [INFO] [stdout] --> twm/src/tray.rs:68:57 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(id) = PopupId::from_u16(LOWORD(msg.params.0 as u32)) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOREDIRECTIONBITMAP` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | const NOREDIRECTIONBITMAP = WS_EX_NOREDIRECTIONBITMAP as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | const OVERLAPPEDWINDOW = WS_EX_OVERLAPPEDWINDOW 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 `PostMessageW` in this scope [INFO] [stdout] --> twm/src/tray.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | ... PostMessageW(msg.hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_PALETTEWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | const PALETTEWINDOW = WS_EX_PALETTEWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> twm/src/tray.rs:71:56 [INFO] [stdout] | [INFO] [stdout] 71 | ... PostMessageW(msg.hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_RIGHT` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | const RIGHT = WS_EX_RIGHT as i32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_RIGHTSCROLLBAR` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | const RIGHTSCROLLBAR = WS_EX_RIGHTSCROLLBAR as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> twm/src/tray.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | } else if msg.code == WM_APP && msg.params.1 as u32 == WM_RBUTTONUP { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_RBUTTONUP` in this scope [INFO] [stdout] --> twm/src/tray.rs:81:72 [INFO] [stdout] | [INFO] [stdout] 81 | } else if msg.code == WM_APP && msg.params.1 as u32 == WM_RBUTTONUP { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_RTLREADING` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | const RTLREADING = WS_EX_RTLREADING 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> twm/src/tray.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | SetForegroundWindow(msg.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_STATICEDGE` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | const STATICEDGE = WS_EX_STATICEDGE as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | const TOOLWINDOW = WS_EX_TOOLWINDOW 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 `PostMessageW` in this scope [INFO] [stdout] --> twm/src/tray.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | PostMessageW(msg.hwnd, WM_APP + 1, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> twm/src/tray.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | PostMessageW(msg.hwnd, WM_APP + 1, 0, 0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | const TOPMOST = WS_EX_TOPMOST 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] --> twm/src/tray.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn add_icon(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | const TRANSPARENT = WS_EX_TRANSPARENT 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 `CreateIconFromResourceEx` in this scope [INFO] [stdout] --> twm/src/tray.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let icon_handle = CreateIconFromResourceEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_WINDOWEDGE` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | const WINDOWEDGE = WS_EX_WINDOWEDGE as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_DEFAULTCOLOR` in this scope [INFO] [stdout] --> twm/src/tray.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | LR_DEFAULTCOLOR, [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] --> twm/src/window/gwl_style.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | const BORDER = WS_BORDER as i32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> twm/src/tray.rs:121:48 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn add_icon(hwnd: HWND) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 121 | icon_data.cbSize = std::mem::size_of::() as u32; [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] --> twm/src/window/gwl_style.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | const CAPTION = WS_CAPTION as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> twm/src/tray.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | icon_data.uCallbackMessage = WM_APP; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | const CHILD = WS_CHILD as i32; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILDWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | const CHILDWINDOW = WS_CHILDWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope [INFO] [stdout] --> twm/src/tray.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | icon_data.uFlags = NIF_ICON | NIF_TIP | NIF_MESSAGE; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope [INFO] [stdout] --> twm/src/tray.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | icon_data.uFlags = NIF_ICON | NIF_TIP | NIF_MESSAGE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | const CLIPCHILDREN = WS_CLIPCHILDREN as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope [INFO] [stdout] --> twm/src/tray.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | icon_data.uFlags = NIF_ICON | NIF_TIP | NIF_MESSAGE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | const CLIPSIBLINGS = WS_CLIPSIBLINGS 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 `Shell_NotifyIconW` in this scope [INFO] [stdout] --> twm/src/tray.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Shell_NotifyIconW(NIM_ADD, &mut icon_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_DISABLED` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | const DISABLED = WS_DISABLED as i32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_ADD` in this scope [INFO] [stdout] --> twm/src/tray.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | Shell_NotifyIconW(NIM_ADD, &mut icon_data); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_DLGFRAME` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | const DLGFRAME = WS_DLGFRAME 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] --> twm/src/tray.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn remove_icon(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_GROUP` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | const GROUP = WS_GROUP 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 `Shell_NotifyIconW` in this scope [INFO] [stdout] --> twm/src/tray.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Shell_NotifyIconW(NIM_DELETE, &mut icon_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_HSCROLL` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | const HSCROLL = WS_HSCROLL as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope [INFO] [stdout] --> twm/src/tray.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | Shell_NotifyIconW(NIM_DELETE, &mut icon_data); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_ICONIC` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | const ICONIC = WS_ICONIC 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] --> twm/src/tray.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe fn show_popup_menu(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZE` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | const MAXIMIZE = WS_MAXIMIZE 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 `CreatePopupMenu` in this scope [INFO] [stdout] --> twm/src/tray.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | let menu = CreatePopupMenu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | const MAXIMIZEBOX = WS_MAXIMIZEBOX 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 `InsertMenuW` in this scope [INFO] [stdout] --> twm/src/tray.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> twm/src/tray.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZE` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | const MINIMIZE = WS_MINIMIZE as i32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> twm/src/tray.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | const MINIMIZEBOX = WS_MINIMIZEBOX 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 `InsertMenuW` in this scope [INFO] [stdout] --> twm/src/tray.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | const OVERLAPPED = WS_OVERLAPPED as i32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> twm/src/tray.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | const OVERLAPPEDWINDOW = WS_OVERLAPPEDWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> twm/src/tray.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | const POPUP = WS_POPUP 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 `SetMenuItemBitmaps` in this scope [INFO] [stdout] --> twm/src/tray.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | SetMenuItemBitmaps( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> twm/src/tray.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | MF_BYPOSITION, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUPWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | const POPUPWINDOW = WS_POPUPWINDOW 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 `SetFocus` in this scope [INFO] [stdout] --> twm/src/tray.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | SetFocus(hwnd); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SIZEBOX` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | const SIZEBOX = WS_SIZEBOX 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 `SendMessageW` in this scope [INFO] [stdout] --> twm/src/tray.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | SendMessageW(hwnd, WM_INITMENUPOPUP, menu as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | const SYSMENU = WS_SYSMENU as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_TABSTOP` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | const TABSTOP = WS_TABSTOP as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INITMENUPOPUP` in this scope [INFO] [stdout] --> twm/src/tray.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | SendMessageW(hwnd, WM_INITMENUPOPUP, menu as usize, 0); [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] --> twm/src/window/gwl_style.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | const THICKFRAME = WS_THICKFRAME 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 `GetCursorPos` in this scope [INFO] [stdout] --> twm/src/tray.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | GetCursorPos(&mut point); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_TILED` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | const TILED = WS_TILED 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 `TrackPopupMenu` in this scope [INFO] [stdout] --> twm/src/tray.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | let cmd = TrackPopupMenu( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_TILEDWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | const TILEDWINDOW = WS_TILEDWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_LEFTALIGN` in this scope [INFO] [stdout] --> twm/src/tray.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | const VISIBLE = WS_VISIBLE as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RIGHTBUTTON` in this scope [INFO] [stdout] --> twm/src/tray.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | const VSCROLL = WS_VSCROLL as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> twm/src/window.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | const WM_IDENT: u32 = WM_APP + 80; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RETURNCMD` in this scope [INFO] [stdout] --> twm/src/tray.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/window.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_NONOTIFY` in this scope [INFO] [stdout] --> twm/src/tray.rs:181:59 [INFO] [stdout] | [INFO] [stdout] 181 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/window.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> twm/src/tray.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | SendMessageW(hwnd, WM_COMMAND, cmd as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> twm/src/window.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stdout] --> twm/src/tray.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | SendMessageW(hwnd, WM_COMMAND, cmd as usize, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> twm/src/window.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | w_param: 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] --> twm/src/window.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope [INFO] [stdout] --> twm/src/tray.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | DestroyMenu(menu); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> twm/src/window.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_ACCEPTFILES` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | const ACCEPTFILES = WS_EX_ACCEPTFILES as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETCURSOR` in this scope [INFO] [stdout] --> twm/src/window.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | if msg == WM_SETCURSOR { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_APPWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | const APPWINDOW = WS_EX_APPWINDOW 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 `PostMessageA` in this scope [INFO] [stdout] --> twm/src/window.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | PostMessageA(hwnd, WM_IDENT, ptr as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> twm/src/window.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | DefWindowProcA(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | const CLIENTEDGE = WS_EX_CLIENTEDGE 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 `RGB` in this scope [INFO] [stdout] --> twm/src/window.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | RGB(GetRValue(color), GetGValue(color), GetBValue(color)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | const COMPOSITED = WS_EX_COMPOSITED 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 `GetRValue` in this scope [INFO] [stdout] --> twm/src/window.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | RGB(GetRValue(color), GetGValue(color), GetBValue(color)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetGValue` in this scope [INFO] [stdout] --> twm/src/window.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | RGB(GetRValue(color), GetGValue(color), GetBValue(color)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_CONTEXTHELP` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | const CONTEXTHELP = WS_EX_CONTEXTHELP 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 `GetBValue` in this scope [INFO] [stdout] --> twm/src/window.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | RGB(GetRValue(color), GetGValue(color), GetBValue(color)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_CONTROLPARENT` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | const CONTROLPARENT = WS_EX_CONTROLPARENT 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 `SetCursor` in this scope [INFO] [stdout] --> twm/src/window.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_HAND as *const i8)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorA` in this scope [INFO] [stdout] --> twm/src/window.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_HAND as *const i8)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_DLGMODALFRAME` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | const DLGMODALFRAME = WS_EX_DLGMODALFRAME as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_HAND` in this scope [INFO] [stdout] --> twm/src/window.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_HAND as *const i8)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | const LAYERED = WS_EX_LAYERED 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 `SetCursor` in this scope [INFO] [stdout] --> twm/src/window.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_ARROW as *const i8)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorA` in this scope [INFO] [stdout] --> twm/src/window.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_ARROW as *const i8)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYOUTRTL` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | const LAYOUTRTL = WS_EX_LAYOUTRTL as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> twm/src/window.rs:97:57 [INFO] [stdout] | [INFO] [stdout] 97 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_ARROW as *const i8)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LEFT` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | const LEFT = WS_EX_LEFT 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 `SetTextColor` in this scope [INFO] [stdout] --> twm/src/window.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | SetTextColor(self.hdc as HDC, convert_color_to_winapi(color as u32)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LEFTSCROLLBAR` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | const LEFTSCROLLBAR = WS_EX_LEFTSCROLLBAR as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | SetTextColor(self.hdc as HDC, convert_color_to_winapi(color as u32)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontIndirectA` in this scope [INFO] [stdout] --> twm/src/window.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let font = CreateFontIndirectA(&logfont); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> twm/src/window.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | SelectObject(self.hdc as HDC, font as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LTRREADING` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | const LTRREADING = WS_EX_LTRREADING as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:123:38 [INFO] [stdout] | [INFO] [stdout] 123 | SelectObject(self.hdc as HDC, font as *mut c_void); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> twm/src/window.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | DeleteObject(font as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_MDICHILD` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | const MDICHILD = WS_EX_MDICHILD 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 `SetBkColor` in this scope [INFO] [stdout] --> twm/src/window.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | SetBkColor(self.hdc as HDC, convert_color_to_winapi(color as u32)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | SetBkColor(self.hdc as HDC, convert_color_to_winapi(color as u32)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | const NOACTIVATE = WS_EX_NOACTIVATE 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 `CreateSolidBrush` in this scope [INFO] [stdout] --> twm/src/window.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let brush = CreateSolidBrush(convert_color_to_winapi(color as u32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOINHERITLAYOUT` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | const NOINHERITLAYOUT = WS_EX_NOINHERITLAYOUT as i32; [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] --> twm/src/window.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | 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 `FillRect` in this scope [INFO] [stdout] --> twm/src/window.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | FillRect(self.hdc as HDC, &mut rect, brush); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOPARENTNOTIFY` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | const NOPARENTNOTIFY = WS_EX_NOPARENTNOTIFY as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 147 | FillRect(self.hdc as HDC, &mut rect, brush); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOREDIRECTIONBITMAP` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | const NOREDIRECTIONBITMAP = WS_EX_NOREDIRECTIONBITMAP 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 `DeleteObject` in this scope [INFO] [stdout] --> twm/src/window.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | DeleteObject(brush as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawTextW` in this scope [INFO] [stdout] --> twm/src/window.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | DrawTextW(self.hdc as HDC, c_text.as_ptr(), -1, &mut rect, DT_CALCRECT); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | const OVERLAPPEDWINDOW = WS_EX_OVERLAPPEDWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | DrawTextW(self.hdc as HDC, c_text.as_ptr(), -1, &mut rect, DT_CALCRECT); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_CALCRECT` in this scope [INFO] [stdout] --> twm/src/window.rs:156:72 [INFO] [stdout] | [INFO] [stdout] 156 | DrawTextW(self.hdc as HDC, c_text.as_ptr(), -1, &mut rect, DT_CALCRECT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_PALETTEWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | const PALETTEWINDOW = WS_EX_PALETTEWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_VCENTER` in this scope [INFO] [stdout] --> twm/src/window.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | flags = DT_VCENTER | DT_SINGLELINE; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SINGLELINE` in this scope [INFO] [stdout] --> twm/src/window.rs:173:34 [INFO] [stdout] | [INFO] [stdout] 173 | flags = DT_VCENTER | DT_SINGLELINE; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_RIGHT` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | const RIGHT = WS_EX_RIGHT 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 `DrawTextW` in this scope [INFO] [stdout] --> twm/src/window.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | DrawTextW(self.hdc as HDC, c_text.as_ptr(), -1, &mut rect, flags); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | DrawTextW(self.hdc as HDC, c_text.as_ptr(), -1, &mut rect, flags); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_RIGHTSCROLLBAR` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | const RIGHTSCROLLBAR = WS_EX_RIGHTSCROLLBAR as i32; [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] --> twm/src/window.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | let class = WNDCLASSA { [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] --> twm/src/window.rs:352:32 [INFO] [stdout] | [INFO] [stdout] 352 | hbrBackground: CreateSolidBrush(inner.background_color as u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in this scope [INFO] [stdout] --> twm/src/window.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | if RegisterClassA(&class) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_RTLREADING` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | const RTLREADING = WS_EX_RTLREADING 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 `UnregisterClassA` in this scope [INFO] [stdout] --> twm/src/window.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | UnregisterClassA(c_name.as_ptr(), instance); [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] --> twm/src/window.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | RegisterClassA(&class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_STATICEDGE` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | const STATICEDGE = WS_EX_STATICEDGE as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> twm/src/window.rs:362:29 [INFO] [stdout] | [INFO] [stdout] 362 | let mut style = WS_OVERLAPPEDWINDOW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> twm/src/window.rs:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | exstyle = WS_EX_NOACTIVATE | WS_EX_TOPMOST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | const TOOLWINDOW = WS_EX_TOOLWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> twm/src/window.rs:365:46 [INFO] [stdout] | [INFO] [stdout] 365 | exstyle = WS_EX_NOACTIVATE | WS_EX_TOPMOST; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUPWINDOW` in this scope [INFO] [stdout] --> twm/src/window.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | style = WS_POPUPWINDOW; [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] --> twm/src/window.rs:370:27 [INFO] [stdout] | [INFO] [stdout] 370 | style &= !WS_BORDER [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | const TOPMOST = WS_EX_TOPMOST 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 `CreateWindowExA` in this scope [INFO] [stdout] --> twm/src/window.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 373 | let hwnd = CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | const TRANSPARENT = WS_EX_TRANSPARENT as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_WINDOWEDGE` in this scope [INFO] [stdout] --> twm/src/window/gwl_ex_style.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | const WINDOWEDGE = WS_EX_WINDOWEDGE 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 `GetDC` in this scope [INFO] [stdout] --> twm/src/window.rs:429:35 [INFO] [stdout] | [INFO] [stdout] 429 | let hdc = GetDC(hwnd); [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] --> twm/src/window/gwl_style.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | const BORDER = WS_BORDER as i32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_PAINT` in this scope [INFO] [stdout] --> twm/src/window.rs:442:40 [INFO] [stdout] | [INFO] [stdout] 442 | if msg.code == WM_PAINT { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> twm/src/window.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... BeginPaint(hwnd, &mut paint); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope [INFO] [stdout] --> twm/src/window.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... SetBkColor(hdc, background_color as u32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> twm/src/window.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | ... EndPaint(hwnd, &paint); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_LBUTTONDOWN` in this scope [INFO] [stdout] --> twm/src/window.rs:461:47 [INFO] [stdout] | [INFO] [stdout] 461 | } else if msg.code == WM_LBUTTONDOWN { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> twm/src/window.rs:463:29 [INFO] [stdout] | [INFO] [stdout] 463 | ... GetCursorPos(&mut point); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> twm/src/window.rs:473:47 [INFO] [stdout] | [INFO] [stdout] 473 | } else if msg.code == WM_CLOSE { [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] --> twm/src/window/gwl_style.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | const CAPTION = WS_CAPTION as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stdout] --> twm/src/window.rs:479:47 [INFO] [stdout] | [INFO] [stdout] 479 | } else if msg.code == WM_CREATE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_KILLFOCUS` in this scope [INFO] [stdout] --> twm/src/window.rs:485:47 [INFO] [stdout] | [INFO] [stdout] 485 | } else if msg.code == WM_KILLFOCUS { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | const CHILD = WS_CHILD as i32; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_MOUSEMOVE` in this scope [INFO] [stdout] --> twm/src/window.rs:489:47 [INFO] [stdout] | [INFO] [stdout] 489 | } else if msg.code == WM_MOUSEMOVE { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> twm/src/window.rs:491:29 [INFO] [stdout] | [INFO] [stdout] 491 | ... GetCursorPos(&mut point); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILDWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | const CHILDWINDOW = WS_CHILDWINDOW 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 `ReleaseDC` in this scope [INFO] [stdout] --> twm/src/window.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | ReleaseDC(hwnd, hdc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `os_specific_cleanup` in this scope [INFO] [stdout] --> twm/src/main.rs:966:5 [INFO] [stdout] | [INFO] [stdout] 966 | os_specific_cleanup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `os_specific_setup` in this scope [INFO] [stdout] --> twm/src/main.rs:1001:5 [INFO] [stdout] | [INFO] [stdout] 1001 | os_specific_setup(state_arc.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | const CLIPCHILDREN = WS_CLIPCHILDREN as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | const CLIPSIBLINGS = WS_CLIPSIBLINGS as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_DISABLED` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | const DISABLED = WS_DISABLED as i32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_DLGFRAME` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | const DLGFRAME = WS_DLGFRAME as i32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_GROUP` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | const GROUP = WS_GROUP as i32; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_HSCROLL` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | const HSCROLL = WS_HSCROLL as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_ICONIC` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | const ICONIC = WS_ICONIC as i32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZE` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | const MAXIMIZE = WS_MAXIMIZE as i32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | const MAXIMIZEBOX = WS_MAXIMIZEBOX as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZE` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | const MINIMIZE = WS_MINIMIZE as i32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | const MINIMIZEBOX = WS_MINIMIZEBOX as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | const OVERLAPPED = WS_OVERLAPPED as i32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | const OVERLAPPEDWINDOW = WS_OVERLAPPEDWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | const POPUP = WS_POPUP as i32; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentText`, `Component`, `self` [INFO] [stdout] --> twm/src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use bar::component::{self, Component, ComponentText}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bar_config::BarConfig` [INFO] [stdout] --> twm/src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use config::{bar_config::BarConfig, rule::{Rule, Action as RuleAction}, workspace_setting::WorkspaceSetting, Config}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hot_reload::update_config` [INFO] [stdout] --> twm/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hot_reload::update_config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keybinding::KeybindingKind` [INFO] [stdout] --> twm/src/main.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | use keybindings::{keybinding::Keybinding, keybinding::KeybindingKind, KbManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `popup::Popup` [INFO] [stdout] --> twm/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use popup::Popup; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> twm/src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUPWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | const POPUPWINDOW = WS_POPUPWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> twm/src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> twm/src/main.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | use std::{fmt::Debug, fs::ReadDir, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::atomic::AtomicBool` [INFO] [stdout] --> twm/src/main.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | use std::{process, sync::atomic::AtomicBool, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppState`, `display::Display` [INFO] [stdout] --> twm/src/bar/component.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{display::Display, system::DisplayId, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> twm/src/bar/component.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `any::Any`, `collections::HashMap` [INFO] [stdout] --> twm/src/bar/component.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{any::Any, collections::HashMap, fmt::Debug, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `display::Display` [INFO] [stdout] --> twm/src/bar/create.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | config::Config, display::Display, event::Event, system::DisplayId, system::Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> twm/src/config/bar_config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> twm/src/config/bar_config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppState`, `self` [INFO] [stdout] --> twm/src/config/bar_config.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | bar::component::{self, Component}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | AppState, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keybindings::KbManager` [INFO] [stdout] --> twm/src/hot_reload.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{bar, config::Config, keybindings::KbManager, startup, system::SystemResult, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `system` [INFO] [stdout] --> twm/src/keybindings.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{config::Config, event::Event, popup::Popup, system, system::api, AppState}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> twm/src/keybindings.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> twm/src/keybindings.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_1` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | OEM_1 = VK_OEM_1 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_2` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | OEM_2 = VK_OEM_2 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_3` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | OEM_3 = VK_OEM_3 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_4` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | OEM_4 = VK_OEM_4 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_5` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | OEM_5 = VK_OEM_5 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_6` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | OEM_6 = VK_OEM_6 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_7` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | OEM_7 = VK_OEM_7 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_8` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | OEM_8 = VK_OEM_8 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_102` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | OEM_102 = VK_OEM_102 as isize, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Oem102` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SIZEBOX` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | const SIZEBOX = WS_SIZEBOX as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `system::Rectangle`, `system::win` [INFO] [stdout] --> twm/src/system/win/menu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | system::win, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | system::NativeWindow, [INFO] [stdout] 6 | system::Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `slice::Iter`, `sync::atomic::AtomicBool`, `sync::atomic::Ordering` [INFO] [stdout] --> twm/src/system/win/menu.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{ffi::CString, slice::Iter, sync::atomic::AtomicBool, sync::atomic::Ordering, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | const SYSMENU = WS_SYSMENU as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::mpsc::Receiver`, `sync::mpsc::Sender`, `time::Duration` [INFO] [stdout] --> twm/src/window.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | sync::mpsc::channel, sync::mpsc::Receiver, sync::mpsc::Sender, sync::Arc, thread, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `display::Display` [INFO] [stdout] --> twm/src/window.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | display::Display, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_TABSTOP` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | const TABSTOP = WS_TABSTOP 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] --> twm/src/window/gwl_style.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | const THICKFRAME = WS_THICKFRAME as i32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_TILED` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | const TILED = WS_TILED as i32; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_TILEDWINDOW` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | const TILEDWINDOW = WS_TILEDWINDOW as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | const VISIBLE = WS_VISIBLE as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stdout] --> twm/src/window/gwl_style.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | const VSCROLL = WS_VSCROLL as i32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> twm/src/window.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | const WM_IDENT: u32 = WM_APP + 80; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/window.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> twm/src/window.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> twm/src/window.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> twm/src/window.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | w_param: 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] --> twm/src/window.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> twm/src/window.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETCURSOR` in this scope [INFO] [stdout] --> twm/src/window.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | if msg == WM_SETCURSOR { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stdout] --> twm/src/window.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | PostMessageA(hwnd, WM_IDENT, ptr as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> twm/src/window.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | 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 `RGB` in this scope [INFO] [stdout] --> twm/src/window.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | RGB(GetRValue(color), GetGValue(color), GetBValue(color)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRValue` in this scope [INFO] [stdout] --> twm/src/window.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | RGB(GetRValue(color), GetGValue(color), GetBValue(color)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetGValue` in this scope [INFO] [stdout] --> twm/src/window.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | RGB(GetRValue(color), GetGValue(color), GetBValue(color)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetBValue` in this scope [INFO] [stdout] --> twm/src/window.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | RGB(GetRValue(color), GetGValue(color), GetBValue(color)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> twm/src/window.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_HAND as *const i8)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorA` in this scope [INFO] [stdout] --> twm/src/window.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_HAND as *const i8)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_HAND` in this scope [INFO] [stdout] --> twm/src/window.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_HAND as *const i8)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> twm/src/window.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_ARROW as *const i8)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorA` in this scope [INFO] [stdout] --> twm/src/window.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_ARROW as *const i8)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> twm/src/window.rs:97:57 [INFO] [stdout] | [INFO] [stdout] 97 | SetCursor(LoadCursorA(std::ptr::null_mut(), IDC_ARROW as *const i8)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in this scope [INFO] [stdout] --> twm/src/window.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | SetTextColor(self.hdc as HDC, convert_color_to_winapi(color as u32)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | SetTextColor(self.hdc as HDC, convert_color_to_winapi(color as u32)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontIndirectA` in this scope [INFO] [stdout] --> twm/src/window.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let font = CreateFontIndirectA(&logfont); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> twm/src/window.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | SelectObject(self.hdc as HDC, font as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:123:38 [INFO] [stdout] | [INFO] [stdout] 123 | SelectObject(self.hdc as HDC, font as *mut c_void); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> twm/src/window.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | DeleteObject(font as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope [INFO] [stdout] --> twm/src/window.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | SetBkColor(self.hdc as HDC, convert_color_to_winapi(color as u32)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | SetBkColor(self.hdc as HDC, convert_color_to_winapi(color as u32)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> twm/src/window.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let brush = CreateSolidBrush(convert_color_to_winapi(color as u32)); [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] --> twm/src/window.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | 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 `FillRect` in this scope [INFO] [stdout] --> twm/src/window.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | FillRect(self.hdc as HDC, &mut rect, brush); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 147 | FillRect(self.hdc as HDC, &mut rect, brush); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> twm/src/window.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | DeleteObject(brush as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawTextW` in this scope [INFO] [stdout] --> twm/src/window.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | DrawTextW(self.hdc as HDC, c_text.as_ptr(), -1, &mut rect, DT_CALCRECT); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | DrawTextW(self.hdc as HDC, c_text.as_ptr(), -1, &mut rect, DT_CALCRECT); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_CALCRECT` in this scope [INFO] [stdout] --> twm/src/window.rs:156:72 [INFO] [stdout] | [INFO] [stdout] 156 | DrawTextW(self.hdc as HDC, c_text.as_ptr(), -1, &mut rect, DT_CALCRECT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_VCENTER` in this scope [INFO] [stdout] --> twm/src/window.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | flags = DT_VCENTER | DT_SINGLELINE; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SINGLELINE` in this scope [INFO] [stdout] --> twm/src/window.rs:173:34 [INFO] [stdout] | [INFO] [stdout] 173 | flags = DT_VCENTER | DT_SINGLELINE; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawTextW` in this scope [INFO] [stdout] --> twm/src/window.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | DrawTextW(self.hdc as HDC, c_text.as_ptr(), -1, &mut rect, flags); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> twm/src/window.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | DrawTextW(self.hdc as HDC, c_text.as_ptr(), -1, &mut rect, flags); [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] --> twm/src/window.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | let class = WNDCLASSA { [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] --> twm/src/window.rs:352:32 [INFO] [stdout] | [INFO] [stdout] 352 | hbrBackground: CreateSolidBrush(inner.background_color as u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in this scope [INFO] [stdout] --> twm/src/window.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | if RegisterClassA(&class) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassA` in this scope [INFO] [stdout] --> twm/src/window.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | UnregisterClassA(c_name.as_ptr(), instance); [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] --> twm/src/window.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | RegisterClassA(&class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> twm/src/window.rs:362:29 [INFO] [stdout] | [INFO] [stdout] 362 | let mut style = WS_OVERLAPPEDWINDOW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> twm/src/window.rs:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | exstyle = WS_EX_NOACTIVATE | WS_EX_TOPMOST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> twm/src/window.rs:365:46 [INFO] [stdout] | [INFO] [stdout] 365 | exstyle = WS_EX_NOACTIVATE | WS_EX_TOPMOST; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUPWINDOW` in this scope [INFO] [stdout] --> twm/src/window.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | style = WS_POPUPWINDOW; [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] --> twm/src/window.rs:370:27 [INFO] [stdout] | [INFO] [stdout] 370 | style &= !WS_BORDER [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> twm/src/window.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 373 | let hwnd = CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> twm/src/window.rs:429:35 [INFO] [stdout] | [INFO] [stdout] 429 | let hdc = GetDC(hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_PAINT` in this scope [INFO] [stdout] --> twm/src/window.rs:442:40 [INFO] [stdout] | [INFO] [stdout] 442 | if msg.code == WM_PAINT { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> twm/src/window.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... BeginPaint(hwnd, &mut paint); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope [INFO] [stdout] --> twm/src/window.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... SetBkColor(hdc, background_color as u32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> twm/src/window.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | ... EndPaint(hwnd, &paint); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_LBUTTONDOWN` in this scope [INFO] [stdout] --> twm/src/window.rs:461:47 [INFO] [stdout] | [INFO] [stdout] 461 | } else if msg.code == WM_LBUTTONDOWN { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> twm/src/window.rs:463:29 [INFO] [stdout] | [INFO] [stdout] 463 | ... GetCursorPos(&mut point); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> twm/src/window.rs:473:47 [INFO] [stdout] | [INFO] [stdout] 473 | } else if msg.code == WM_CLOSE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stdout] --> twm/src/window.rs:479:47 [INFO] [stdout] | [INFO] [stdout] 479 | } else if msg.code == WM_CREATE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_KILLFOCUS` in this scope [INFO] [stdout] --> twm/src/window.rs:485:47 [INFO] [stdout] | [INFO] [stdout] 485 | } else if msg.code == WM_KILLFOCUS { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_MOUSEMOVE` in this scope [INFO] [stdout] --> twm/src/window.rs:489:47 [INFO] [stdout] | [INFO] [stdout] 489 | } else if msg.code == WM_MOUSEMOVE { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> twm/src/window.rs:491:29 [INFO] [stdout] | [INFO] [stdout] 491 | ... GetCursorPos(&mut point); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> twm/src/window.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | ReleaseDC(hwnd, hdc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `os_specific_cleanup` in this scope [INFO] [stdout] --> twm/src/main.rs:966:5 [INFO] [stdout] | [INFO] [stdout] 966 | os_specific_cleanup(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `os_specific_setup` in this scope [INFO] [stdout] --> twm/src/main.rs:1001:5 [INFO] [stdout] | [INFO] [stdout] 1001 | os_specific_setup(state_arc.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentText`, `Component`, `self` [INFO] [stdout] --> twm/src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use bar::component::{self, Component, ComponentText}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bar_config::BarConfig` [INFO] [stdout] --> twm/src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use config::{bar_config::BarConfig, rule::{Rule, Action as RuleAction}, workspace_setting::WorkspaceSetting, Config}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0081]: discriminant value `65` already exists [INFO] [stdout] --> twm/src/keybindings/key.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 10 | A = 0x41, [INFO] [stdout] | ---- first use of `65` [INFO] [stdout] ... [INFO] [stdout] 93 | OEM_8 = VK_OEM_8 as isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ enum already has `65` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hot_reload::update_config` [INFO] [stdout] --> twm/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hot_reload::update_config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0081]: discriminant value `66` already exists [INFO] [stdout] --> twm/src/keybindings/key.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 11 | B = 0x42, [INFO] [stdout] | ---- first use of `66` [INFO] [stdout] ... [INFO] [stdout] 94 | OEM_102 = VK_OEM_102 as isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ enum already has `66` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keybinding::KeybindingKind` [INFO] [stdout] --> twm/src/main.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | use keybindings::{keybinding::Keybinding, keybinding::KeybindingKind, KbManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `popup::Popup` [INFO] [stdout] --> twm/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use popup::Popup; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> twm/src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> twm/src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> twm/src/main.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | use std::{fmt::Debug, fs::ReadDir, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::atomic::AtomicBool` [INFO] [stdout] --> twm/src/main.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | use std::{process, sync::atomic::AtomicBool, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppState`, `display::Display` [INFO] [stdout] --> twm/src/bar/component.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{display::Display, system::DisplayId, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> twm/src/bar/component.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `any::Any`, `collections::HashMap` [INFO] [stdout] --> twm/src/bar/component.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{any::Any, collections::HashMap, fmt::Debug, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `display::Display` [INFO] [stdout] --> twm/src/bar/create.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | config::Config, display::Display, event::Event, system::DisplayId, system::Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> twm/src/config/bar_config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> twm/src/config/bar_config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppState`, `self` [INFO] [stdout] --> twm/src/config/bar_config.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | bar::component::{self, Component}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | AppState, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keybindings::KbManager` [INFO] [stdout] --> twm/src/hot_reload.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{bar, config::Config, keybindings::KbManager, startup, system::SystemResult, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `system` [INFO] [stdout] --> twm/src/keybindings.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{config::Config, event::Event, popup::Popup, system, system::api, AppState}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> twm/src/keybindings.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> twm/src/keybindings.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_1` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | OEM_1 = VK_OEM_1 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_2` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | OEM_2 = VK_OEM_2 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_3` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | OEM_3 = VK_OEM_3 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_4` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | OEM_4 = VK_OEM_4 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_5` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | OEM_5 = VK_OEM_5 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_6` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | OEM_6 = VK_OEM_6 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_7` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | OEM_7 = VK_OEM_7 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_8` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | OEM_8 = VK_OEM_8 as isize, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Oem8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OEM_102` should have an upper camel case name [INFO] [stdout] --> twm/src/keybindings/key.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | OEM_102 = VK_OEM_102 as isize, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Oem102` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `system::Rectangle`, `system::win` [INFO] [stdout] --> twm/src/system/win/menu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | system::win, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | system::NativeWindow, [INFO] [stdout] 6 | system::Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `slice::Iter`, `sync::atomic::AtomicBool`, `sync::atomic::Ordering` [INFO] [stdout] --> twm/src/system/win/menu.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{ffi::CString, slice::Iter, sync::atomic::AtomicBool, sync::atomic::Ordering, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeInfo` [INFO] [stdout] --> twm/src/tile_grid/tests.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use super::node::{Node, NodeInfo}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::Window` [INFO] [stdout] --> twm/src/tile_grid/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::window::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> twm/src/tile_grid/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> twm/src/tile_grid/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::mpsc::Receiver`, `sync::mpsc::Sender`, `time::Duration` [INFO] [stdout] --> twm/src/window.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | sync::mpsc::channel, sync::mpsc::Receiver, sync::mpsc::Sender, sync::Arc, thread, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `display::Display` [INFO] [stdout] --> twm/src/window.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | display::Display, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0081]: discriminant value `65` already exists [INFO] [stdout] --> twm/src/keybindings/key.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 10 | A = 0x41, [INFO] [stdout] | ---- first use of `65` [INFO] [stdout] ... [INFO] [stdout] 93 | OEM_8 = VK_OEM_8 as isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ enum already has `65` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0081]: discriminant value `66` already exists [INFO] [stdout] --> twm/src/keybindings/key.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 11 | B = 0x42, [INFO] [stdout] | ---- first use of `66` [INFO] [stdout] ... [INFO] [stdout] 94 | OEM_102 = VK_OEM_102 as isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ enum already has `66` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_u32` found for enum `WinEventType` in the current scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | let win_event_type = match WinEventType::from_u32(event_code) { [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `WinEventType` [INFO] [stdout] | [INFO] [stdout] ::: twm/src/win_event_handler/win_event_type.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum WinEventType { [INFO] [stdout] | --------------------- variant or associated item `from_u32` not found here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_u32`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `gimli::read::reader::ReaderOffset` [INFO] [stdout] candidate #2: `FromPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | hook: Arc::new(AtomicPtr::new(ptr::null_mut())), [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the function `null_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 553 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0081, E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0081`. [INFO] [stdout] [INFO] [stderr] error: could not compile `twm` [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[E0599]: no variant or associated item named `from_u32` found for enum `WinEventType` in the current scope [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | let win_event_type = match WinEventType::from_u32(event_code) { [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `WinEventType` [INFO] [stdout] | [INFO] [stdout] ::: twm/src/win_event_handler/win_event_type.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum WinEventType { [INFO] [stdout] | --------------------- variant or associated item `from_u32` not found here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_u32`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `gimli::read::reader::ReaderOffset` [INFO] [stdout] candidate #2: `FromPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> twm/src/system/win/win_event_listener.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | hook: Arc::new(AtomicPtr::new(ptr::null_mut())), [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the function `null_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 554 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0081, E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0081`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f05cc7871531f86525f87f43161f5e3b87e6824eab85ac1a02a9c9abe26bb669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f05cc7871531f86525f87f43161f5e3b87e6824eab85ac1a02a9c9abe26bb669", kill_on_drop: false }` [INFO] [stdout] f05cc7871531f86525f87f43161f5e3b87e6824eab85ac1a02a9c9abe26bb669