[INFO] updating cached repository https://github.com/Argannor/poe-minimizer [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4a583f9f85f5dd39ffb82be51de923732649d6ff [INFO] checking Argannor/poe-minimizer against master#212aa3ea28d91a97d1e1261709c0b6e6790788e6 for pr-69340 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArgannor%2Fpoe-minimizer" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Argannor/poe-minimizer on toolchain 212aa3ea28d91a97d1e1261709c0b6e6790788e6 [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Argannor/poe-minimizer [INFO] finished tweaking git repo https://github.com/Argannor/poe-minimizer [INFO] tweaked toml for git repo https://github.com/Argannor/poe-minimizer written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Argannor/poe-minimizer already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8f078eab8bdf91bc63bf25764d299507520d351a89d7e5b78ecd259b5da1739e [INFO] running `"docker" "start" "-a" "8f078eab8bdf91bc63bf25764d299507520d351a89d7e5b78ecd259b5da1739e"` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking rev_lines v0.2.1 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking simplelog v0.7.4 [INFO] [stderr] Checking poe-minimizer v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stderr] --> src/main.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::_core::sync::atomic::{AtomicBool, Ordering}; [INFO] [stderr] | ^^^^^ could not find `_core` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::winreg::{HKEY_CURRENT_USER, RegQueryValueExA}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::winerror::{ERROR_SUCCESS, ERROR_FILE_NOT_FOUND}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/tray.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/tray.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tray.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::shellapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tray.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tray.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:8:57 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn get_window_handle(title: &str) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | winapi::um::winuser::FindWindowA(null_mut(), window_title.as_ptr()) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:20:65 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn get_process_path_by_window_handle(window_handle: winapi::shared::windef::HWND) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:27:47 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn minimize_window(window_handle: winapi::shared::windef::HWND) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | winapi::um::winuser::ShowWindow(window_handle, winapi::um::winuser::SW_MINIMIZE) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | winapi::um::winuser::ShowWindow(window_handle, winapi::um::winuser::SW_MINIMIZE) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:38:51 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn is_window_minimized(window_handle: winapi::shared::windef::HWND) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | winapi::um::winuser::GetWindowLongA(window_handle, winapi::um::winuser::GWL_STYLE) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:40:68 [INFO] [stderr] | [INFO] [stderr] 40 | winapi::um::winuser::GetWindowLongA(window_handle, winapi::um::winuser::GWL_STYLE) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:45:16 [INFO] [stderr] | [INFO] [stderr] 45 | Ok(winapi::um::winuser::WS_MINIMIZE as i32 & style != 0) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:48:42 [INFO] [stderr] | [INFO] [stderr] 48 | fn get_process_id(window_handle: winapi::shared::windef::HWND) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | winapi::um::winuser::GetWindowThreadProcessId(window_handle, &mut process_id); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:60:58 [INFO] [stderr] | [INFO] [stderr] 60 | fn get_process_handle(process_id: u32) -> Result { [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 61 | let handle: winapi::um::winnt::HANDLE = unsafe { [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | winapi::um::processthreadsapi::OpenProcess( [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | winapi::um::winnt::PROCESS_VM_READ | winapi::um::winnt::PROCESS_QUERY_INFORMATION, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:63:58 [INFO] [stderr] | [INFO] [stderr] 63 | winapi::um::winnt::PROCESS_VM_READ | winapi::um::winnt::PROCESS_QUERY_INFORMATION, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:75:47 [INFO] [stderr] | [INFO] [stderr] 75 | fn get_process_module(process_handle: winapi::um::winnt::HANDLE) -> Result { [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:75:84 [INFO] [stderr] | [INFO] [stderr] 75 | fn get_process_module(process_handle: winapi::um::winnt::HANDLE) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:79:17 [INFO] [stderr] | [INFO] [stderr] 79 | winapi::um::psapi::EnumProcessModulesEx( [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stderr] --> src/winutils.rs:81:40 [INFO] [stderr] | [INFO] [stderr] 81 | h_mod as *mut *mut winapi::ctypes::c_void as _, [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stderr] --> src/main.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::_core::sync::atomic::{AtomicBool, Ordering}; [INFO] [stderr] | ^^^^^ could not find `_core` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:84:21 [INFO] [stderr] | [INFO] [stderr] 84 | winapi::um::psapi::LIST_MODULES_ALL [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:93:50 [INFO] [stderr] | [INFO] [stderr] 93 | fn get_process_file_name(process_handle: winapi::um::winnt::HANDLE, module_handle: winapi::shared::minwindef::HMODULE) -> Result { [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:93:92 [INFO] [stderr] | [INFO] [stderr] 93 | fn get_process_file_name(process_handle: winapi::um::winnt::HANDLE, module_handle: winapi::shared::minwindef::HMODULE) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:94:42 [INFO] [stderr] | [INFO] [stderr] 94 | const BUFFER_LENGTH: usize = winapi::shared::minwindef::MAX_PATH + 1; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | winapi::um::psapi::GetModuleFileNameExW(process_handle, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::winreg::{HKEY_CURRENT_USER, RegQueryValueExA}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::winerror::{ERROR_SUCCESS, ERROR_FILE_NOT_FOUND}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/tray.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/tray.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tray.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::shellapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tray.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tray.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:8:57 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn get_window_handle(title: &str) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | winapi::um::winuser::FindWindowA(null_mut(), window_title.as_ptr()) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:20:65 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn get_process_path_by_window_handle(window_handle: winapi::shared::windef::HWND) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:27:47 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn minimize_window(window_handle: winapi::shared::windef::HWND) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | winapi::um::winuser::ShowWindow(window_handle, winapi::um::winuser::SW_MINIMIZE) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | winapi::um::winuser::ShowWindow(window_handle, winapi::um::winuser::SW_MINIMIZE) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:38:51 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn is_window_minimized(window_handle: winapi::shared::windef::HWND) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | winapi::um::winuser::GetWindowLongA(window_handle, winapi::um::winuser::GWL_STYLE) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:40:68 [INFO] [stderr] | [INFO] [stderr] 40 | winapi::um::winuser::GetWindowLongA(window_handle, winapi::um::winuser::GWL_STYLE) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:45:16 [INFO] [stderr] | [INFO] [stderr] 45 | Ok(winapi::um::winuser::WS_MINIMIZE as i32 & style != 0) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:48:42 [INFO] [stderr] | [INFO] [stderr] 48 | fn get_process_id(window_handle: winapi::shared::windef::HWND) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | winapi::um::winuser::GetWindowThreadProcessId(window_handle, &mut process_id); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:60:58 [INFO] [stderr] | [INFO] [stderr] 60 | fn get_process_handle(process_id: u32) -> Result { [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 61 | let handle: winapi::um::winnt::HANDLE = unsafe { [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | winapi::um::processthreadsapi::OpenProcess( [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | winapi::um::winnt::PROCESS_VM_READ | winapi::um::winnt::PROCESS_QUERY_INFORMATION, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:63:58 [INFO] [stderr] | [INFO] [stderr] 63 | winapi::um::winnt::PROCESS_VM_READ | winapi::um::winnt::PROCESS_QUERY_INFORMATION, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:75:47 [INFO] [stderr] | [INFO] [stderr] 75 | fn get_process_module(process_handle: winapi::um::winnt::HANDLE) -> Result { [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:75:84 [INFO] [stderr] | [INFO] [stderr] 75 | fn get_process_module(process_handle: winapi::um::winnt::HANDLE) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:79:17 [INFO] [stderr] | [INFO] [stderr] 79 | winapi::um::psapi::EnumProcessModulesEx( [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stderr] --> src/winutils.rs:81:40 [INFO] [stderr] | [INFO] [stderr] 81 | h_mod as *mut *mut winapi::ctypes::c_void as _, [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:84:21 [INFO] [stderr] | [INFO] [stderr] 84 | winapi::um::psapi::LIST_MODULES_ALL [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:93:50 [INFO] [stderr] | [INFO] [stderr] 93 | fn get_process_file_name(process_handle: winapi::um::winnt::HANDLE, module_handle: winapi::shared::minwindef::HMODULE) -> Result { [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:93:92 [INFO] [stderr] | [INFO] [stderr] 93 | fn get_process_file_name(process_handle: winapi::um::winnt::HANDLE, module_handle: winapi::shared::minwindef::HMODULE) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:94:42 [INFO] [stderr] | [INFO] [stderr] 94 | const BUFFER_LENGTH: usize = winapi::shared::minwindef::MAX_PATH + 1; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | winapi::um::psapi::GetModuleFileNameExW(process_handle, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:119:118 [INFO] [stderr] | [INFO] [stderr] 119 | let result = RegQueryValueExA(key, CString::new("poe-minimizer").unwrap().as_ptr(), null_mut(), &mut winapi::um::winnt::REG_SZ, null_mut(), null_mut()); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:136:17 [INFO] [stderr] | [INFO] [stderr] 136 | winapi::um::winreg::RegSetValueExA(key, CString::new("poe-minimizer").unwrap().as_ptr(), 0, winapi::um::winnt::REG_SZ, value.as_ptr(), value.len() as u32); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:136:109 [INFO] [stderr] | [INFO] [stderr] 136 | winapi::um::winreg::RegSetValueExA(key, CString::new("poe-minimizer").unwrap().as_ptr(), 0, winapi::um::winnt::REG_SZ, value.as_ptr(), value.len() as u32); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:144:17 [INFO] [stderr] | [INFO] [stderr] 144 | winapi::um::winreg::RegDeleteValueA(key, CString::new("poe-minimizer").unwrap().as_ptr()); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:149:43 [INFO] [stderr] | [INFO] [stderr] 149 | fn get_autostart_hkey() -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:150:26 [INFO] [stderr] | [INFO] [stderr] 150 | let mut key: winapi::shared::minwindef::HKEY = null_mut(); [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:152:30 [INFO] [stderr] | [INFO] [stderr] 152 | let result = winapi::um::winreg::RegCreateKeyA(HKEY_CURRENT_USER, CString::new("Software\\Microsoft\\Windows\\CurrentVersion\\Run").unwrap().as_ptr(), &mut key); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:119:118 [INFO] [stderr] | [INFO] [stderr] 119 | let result = RegQueryValueExA(key, CString::new("poe-minimizer").unwrap().as_ptr(), null_mut(), &mut winapi::um::winnt::REG_SZ, null_mut(), null_mut()); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:136:17 [INFO] [stderr] | [INFO] [stderr] 136 | winapi::um::winreg::RegSetValueExA(key, CString::new("poe-minimizer").unwrap().as_ptr(), 0, winapi::um::winnt::REG_SZ, value.as_ptr(), value.len() as u32); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:136:109 [INFO] [stderr] | [INFO] [stderr] 136 | winapi::um::winreg::RegSetValueExA(key, CString::new("poe-minimizer").unwrap().as_ptr(), 0, winapi::um::winnt::REG_SZ, value.as_ptr(), value.len() as u32); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:144:17 [INFO] [stderr] | [INFO] [stderr] 144 | winapi::um::winreg::RegDeleteValueA(key, CString::new("poe-minimizer").unwrap().as_ptr()); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:149:43 [INFO] [stderr] | [INFO] [stderr] 149 | fn get_autostart_hkey() -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/winutils.rs:150:26 [INFO] [stderr] | [INFO] [stderr] 150 | let mut key: winapi::shared::minwindef::HKEY = null_mut(); [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/winutils.rs:152:30 [INFO] [stderr] | [INFO] [stderr] 152 | let result = winapi::um::winreg::RegCreateKeyA(HKEY_CURRENT_USER, CString::new("Software\\Microsoft\\Windows\\CurrentVersion\\Run").unwrap().as_ptr(), &mut key); [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/tray.rs:166:27 [INFO] [stderr] | [INFO] [stderr] 166 | guidItem: winapi::shared::guiddef::GUID { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/tray.rs:166:27 [INFO] [stderr] | [INFO] [stderr] 166 | guidItem: winapi::shared::guiddef::GUID { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AtomicBool` [INFO] [stderr] --> src/main.rs:48:30 [INFO] [stderr] | [INFO] [stderr] 48 | static RUNNING: AtomicBool = AtomicBool::new(true); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `AtomicBool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AtomicBool` [INFO] [stderr] --> src/main.rs:48:30 [INFO] [stderr] | [INFO] [stderr] 48 | static RUNNING: AtomicBool = AtomicBool::new(true); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `AtomicBool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ordering` [INFO] [stderr] --> src/main.rs:88:24 [INFO] [stderr] | [INFO] [stderr] 88 | while RUNNING.load(Ordering::Relaxed) { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Ordering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ordering` [INFO] [stderr] --> src/main.rs:92:38 [INFO] [stderr] | [INFO] [stderr] 92 | RUNNING.store(false, Ordering::Relaxed); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Ordering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ordering` [INFO] [stderr] --> src/main.rs:88:24 [INFO] [stderr] | [INFO] [stderr] 88 | while RUNNING.load(Ordering::Relaxed) { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Ordering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ordering` [INFO] [stderr] --> src/main.rs:92:38 [INFO] [stderr] | [INFO] [stderr] 92 | RUNNING.store(false, Ordering::Relaxed); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Ordering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ordering` [INFO] [stderr] --> src/main.rs:118:26 [INFO] [stderr] | [INFO] [stderr] 118 | if !RUNNING.load(Ordering::Relaxed) { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Ordering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ordering` [INFO] [stderr] --> src/main.rs:118:26 [INFO] [stderr] | [INFO] [stderr] 118 | if !RUNNING.load(Ordering::Relaxed) { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Ordering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:125:41 [INFO] [stderr] | [INFO] [stderr] 125 | fn find_log_path(window_handle: winapi::shared::windef::HWND) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:125:41 [INFO] [stderr] | [INFO] [stderr] 125 | fn find_log_path(window_handle: winapi::shared::windef::HWND) -> Result { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:137:43 [INFO] [stderr] | [INFO] [stderr] 137 | fn check_for_minimization(handle: winapi::shared::windef::HWND, settings: &Settings) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ordering` [INFO] [stderr] --> src/main.rs:142:24 [INFO] [stderr] | [INFO] [stderr] 142 | while RUNNING.load(Ordering::Relaxed) { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Ordering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:137:43 [INFO] [stderr] | [INFO] [stderr] 137 | fn check_for_minimization(handle: winapi::shared::windef::HWND, settings: &Settings) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExA` in this scope [INFO] [stderr] --> src/winutils.rs:119:22 [INFO] [stderr] | [INFO] [stderr] 119 | let result = RegQueryValueExA(key, CString::new("poe-minimizer").unwrap().as_ptr(), null_mut(), &mut winapi::um::winnt::REG_SZ, null_mut(), null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ordering` [INFO] [stderr] --> src/main.rs:142:24 [INFO] [stderr] | [INFO] [stderr] 142 | while RUNNING.load(Ordering::Relaxed) { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Ordering` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExA` in this scope [INFO] [stderr] --> src/winutils.rs:119:22 [INFO] [stderr] | [INFO] [stderr] 119 | let result = RegQueryValueExA(key, CString::new("poe-minimizer").unwrap().as_ptr(), null_mut(), &mut winapi::um::winnt::REG_SZ, null_mut(), null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stderr] --> src/winutils.rs:152:56 [INFO] [stderr] | [INFO] [stderr] 152 | let result = winapi::um::winreg::RegCreateKeyA(HKEY_CURRENT_USER, CString::new("Software\\Microsoft\\Windows\\CurrentVersion\\Run").unwrap().as_ptr(), &mut key); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stderr] --> src/winutils.rs:152:56 [INFO] [stderr] | [INFO] [stderr] 152 | let result = winapi::um::winreg::RegCreateKeyA(HKEY_CURRENT_USER, CString::new("Software\\Microsoft\\Windows\\CurrentVersion\\Run").unwrap().as_ptr(), &mut key); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stderr] --> src/winutils.rs:153:22 [INFO] [stderr] | [INFO] [stderr] 153 | if result != ERROR_SUCCESS as i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stderr] --> src/winutils.rs:153:22 [INFO] [stderr] | [INFO] [stderr] 153 | if result != ERROR_SUCCESS as i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stderr] --> src/tray.rs:20:38 [INFO] [stderr] | [INFO] [stderr] 20 | const MESSAGE_SHOW_TRAY_POPUP: u32 = WM_APP + 1; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stderr] --> src/tray.rs:20:38 [INFO] [stderr] | [INFO] [stderr] 20 | const MESSAGE_SHOW_TRAY_POPUP: u32 = WM_APP + 1; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:29:20 [INFO] [stderr] | [INFO] [stderr] 29 | window_handle: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:29:20 [INFO] [stderr] | [INFO] [stderr] 29 | window_handle: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/tray.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | menu_handle: HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/tray.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | menu_handle: HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:63:38 [INFO] [stderr] | [INFO] [stderr] 63 | fn create_message_window() -> Result { [INFO] [stderr] | - ^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stderr] --> src/tray.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/tray.rs:66:35 [INFO] [stderr] | [INFO] [stderr] 66 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stderr] --> src/tray.rs:66:46 [INFO] [stderr] | [INFO] [stderr] 66 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stderr] --> src/tray.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | let cursor = LoadCursorW(0 as HINSTANCE, IDC_ARROW); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/tray.rs:67:39 [INFO] [stderr] | [INFO] [stderr] 67 | let cursor = LoadCursorW(0 as HINSTANCE, IDC_ARROW); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/tray.rs:67:50 [INFO] [stderr] | [INFO] [stderr] 67 | let cursor = LoadCursorW(0 as HINSTANCE, IDC_ARROW); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stderr] --> src/tray.rs:68:21 [INFO] [stderr] | [INFO] [stderr] 68 | let brush = CreateSolidBrush(0xffffffff); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stderr] --> src/tray.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | let window_class = WNDCLASSW { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/tray.rs:74:29 [INFO] [stderr] | [INFO] [stderr] 74 | hInstance: 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stderr] --> src/tray.rs:81:26 [INFO] [stderr] | [INFO] [stderr] 81 | let class_atom = RegisterClassW(&window_class); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stderr] --> src/tray.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | let style = WS_EX_NOACTIVATE | WS_EX_NOINHERITLAYOUT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_EX_NOINHERITLAYOUT` in this scope [INFO] [stderr] --> src/tray.rs:88:40 [INFO] [stderr] | [INFO] [stderr] 88 | let style = WS_EX_NOACTIVATE | WS_EX_NOINHERITLAYOUT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stderr] --> src/tray.rs:89:22 [INFO] [stderr] | [INFO] [stderr] 89 | let handle = CreateWindowExA(style, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_MESSAGE` in this scope [INFO] [stderr] --> src/tray.rs:93:38 [INFO] [stderr] | [INFO] [stderr] 93 | ... HWND_MESSAGE, null_mut(), 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/tray.rs:93:69 [INFO] [stderr] | [INFO] [stderr] 93 | ... HWND_MESSAGE, null_mut(), 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:104:42 [INFO] [stderr] | [INFO] [stderr] 104 | fn destroy_message_window(window_handle: HWND) -> Result<(), Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:63:38 [INFO] [stderr] | [INFO] [stderr] 63 | fn create_message_window() -> Result { [INFO] [stderr] | - ^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stderr] --> src/tray.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/tray.rs:66:35 [INFO] [stderr] | [INFO] [stderr] 66 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stderr] --> src/tray.rs:66:46 [INFO] [stderr] | [INFO] [stderr] 66 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stderr] --> src/tray.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | let cursor = LoadCursorW(0 as HINSTANCE, IDC_ARROW); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/tray.rs:67:39 [INFO] [stderr] | [INFO] [stderr] 67 | let cursor = LoadCursorW(0 as HINSTANCE, IDC_ARROW); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:109:38 [INFO] [stderr] | [INFO] [stderr] 109 | fn create_system_tray(window_handle: HWND) -> Result<(), Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/tray.rs:67:50 [INFO] [stderr] | [INFO] [stderr] 67 | let cursor = LoadCursorW(0 as HINSTANCE, IDC_ARROW); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stderr] --> src/tray.rs:68:21 [INFO] [stderr] | [INFO] [stderr] 68 | let brush = CreateSolidBrush(0xffffffff); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stderr] --> src/tray.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | let window_class = WNDCLASSW { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/tray.rs:74:29 [INFO] [stderr] | [INFO] [stderr] 74 | hInstance: 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stderr] --> src/tray.rs:81:26 [INFO] [stderr] | [INFO] [stderr] 81 | let class_atom = RegisterClassW(&window_class); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stderr] --> src/tray.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | let style = WS_EX_NOACTIVATE | WS_EX_NOINHERITLAYOUT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_EX_NOINHERITLAYOUT` in this scope [INFO] [stderr] --> src/tray.rs:88:40 [INFO] [stderr] | [INFO] [stderr] 88 | let style = WS_EX_NOACTIVATE | WS_EX_NOINHERITLAYOUT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadImageW` in this scope [INFO] [stderr] --> src/tray.rs:119:20 [INFO] [stderr] | [INFO] [stderr] 119 | let icon = LoadImageW(null_mut(), icon_path.as_ptr(), IMAGE_ICON, 0, 0, LR_LOADFROMFILE) as HICON; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stderr] --> src/tray.rs:89:22 [INFO] [stderr] | [INFO] [stderr] 89 | let handle = CreateWindowExA(style, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IMAGE_ICON` in this scope [INFO] [stderr] --> src/tray.rs:119:63 [INFO] [stderr] | [INFO] [stderr] 119 | let icon = LoadImageW(null_mut(), icon_path.as_ptr(), IMAGE_ICON, 0, 0, LR_LOADFROMFILE) as HICON; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LR_LOADFROMFILE` in this scope [INFO] [stderr] --> src/tray.rs:119:81 [INFO] [stderr] | [INFO] [stderr] 119 | let icon = LoadImageW(null_mut(), icon_path.as_ptr(), IMAGE_ICON, 0, 0, LR_LOADFROMFILE) as HICON; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/tray.rs:119:101 [INFO] [stderr] | [INFO] [stderr] 119 | let icon = LoadImageW(null_mut(), icon_path.as_ptr(), IMAGE_ICON, 0, 0, LR_LOADFROMFILE) as HICON; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconA` in this scope [INFO] [stderr] --> src/tray.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 128 | if 0 == Shell_NotifyIconA(NIM_ADD, &mut icon_data) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIM_ADD` in this scope [INFO] [stderr] --> src/tray.rs:128:35 [INFO] [stderr] | [INFO] [stderr] 128 | if 0 == Shell_NotifyIconA(NIM_ADD, &mut icon_data) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:136:38 [INFO] [stderr] | [INFO] [stderr] 136 | fn remove_system_tray(window_handle: HWND) -> Result<(), Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconA` in this scope [INFO] [stderr] --> src/tray.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | if 0 == Shell_NotifyIconA(NIM_DELETE, &mut icon_data) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIM_DELETE` in this scope [INFO] [stderr] --> src/tray.rs:140:35 [INFO] [stderr] | [INFO] [stderr] 140 | if 0 == Shell_NotifyIconA(NIM_DELETE, &mut icon_data) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NOTIFYICONDATAA` in this scope [INFO] [stderr] --> src/tray.rs:148:31 [INFO] [stderr] | [INFO] [stderr] 148 | fn init_notify_icon_data() -> NOTIFYICONDATAA { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NOTIFYICONDATAA_u` in this scope [INFO] [stderr] --> src/tray.rs:149:22 [INFO] [stderr] | [INFO] [stderr] 149 | let wtf_is_this: NOTIFYICONDATAA_u = unsafe { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NOTIFYICONDATAA_u` in this scope [INFO] [stderr] --> src/tray.rs:150:36 [INFO] [stderr] | [INFO] [stderr] 148 | fn init_notify_icon_data() -> NOTIFYICONDATAA { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 149 | let wtf_is_this: NOTIFYICONDATAA_u = unsafe { [INFO] [stderr] 150 | std::mem::transmute::(0 as u32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NOTIFYICONDATAA` in this scope [INFO] [stderr] --> src/tray.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | NOTIFYICONDATAA { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIF_ICON` in this scope [INFO] [stderr] --> src/tray.rs:156:17 [INFO] [stderr] | [INFO] [stderr] 156 | uFlags: NIF_ICON | NIF_MESSAGE | NIF_TIP, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIF_MESSAGE` in this scope [INFO] [stderr] --> src/tray.rs:156:28 [INFO] [stderr] | [INFO] [stderr] 156 | uFlags: NIF_ICON | NIF_MESSAGE | NIF_TIP, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIF_TIP` in this scope [INFO] [stderr] --> src/tray.rs:156:42 [INFO] [stderr] | [INFO] [stderr] 156 | uFlags: NIF_ICON | NIF_MESSAGE | NIF_TIP, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIS_SHAREDICON` in this scope [INFO] [stderr] --> src/tray.rs:160:18 [INFO] [stderr] | [INFO] [stderr] 160 | dwState: NIS_SHAREDICON, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_MESSAGE` in this scope [INFO] [stderr] --> src/tray.rs:93:38 [INFO] [stderr] | [INFO] [stderr] 93 | ... HWND_MESSAGE, null_mut(), 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/tray.rs:93:69 [INFO] [stderr] | [INFO] [stderr] 93 | ... HWND_MESSAGE, null_mut(), 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:104:42 [INFO] [stderr] | [INFO] [stderr] 104 | fn destroy_message_window(window_handle: HWND) -> Result<(), Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:109:38 [INFO] [stderr] | [INFO] [stderr] 109 | fn create_system_tray(window_handle: HWND) -> Result<(), Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadImageW` in this scope [INFO] [stderr] --> src/tray.rs:119:20 [INFO] [stderr] | [INFO] [stderr] 119 | let icon = LoadImageW(null_mut(), icon_path.as_ptr(), IMAGE_ICON, 0, 0, LR_LOADFROMFILE) as HICON; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IMAGE_ICON` in this scope [INFO] [stderr] --> src/tray.rs:119:63 [INFO] [stderr] | [INFO] [stderr] 119 | let icon = LoadImageW(null_mut(), icon_path.as_ptr(), IMAGE_ICON, 0, 0, LR_LOADFROMFILE) as HICON; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LR_LOADFROMFILE` in this scope [INFO] [stderr] --> src/tray.rs:119:81 [INFO] [stderr] | [INFO] [stderr] 119 | let icon = LoadImageW(null_mut(), icon_path.as_ptr(), IMAGE_ICON, 0, 0, LR_LOADFROMFILE) as HICON; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/tray.rs:119:101 [INFO] [stderr] | [INFO] [stderr] 119 | let icon = LoadImageW(null_mut(), icon_path.as_ptr(), IMAGE_ICON, 0, 0, LR_LOADFROMFILE) as HICON; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconA` in this scope [INFO] [stderr] --> src/tray.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 128 | if 0 == Shell_NotifyIconA(NIM_ADD, &mut icon_data) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIM_ADD` in this scope [INFO] [stderr] --> src/tray.rs:128:35 [INFO] [stderr] | [INFO] [stderr] 128 | if 0 == Shell_NotifyIconA(NIM_ADD, &mut icon_data) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:136:38 [INFO] [stderr] | [INFO] [stderr] 136 | fn remove_system_tray(window_handle: HWND) -> Result<(), Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconA` in this scope [INFO] [stderr] --> src/tray.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | if 0 == Shell_NotifyIconA(NIM_DELETE, &mut icon_data) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIM_DELETE` in this scope [INFO] [stderr] --> src/tray.rs:140:35 [INFO] [stderr] | [INFO] [stderr] 140 | if 0 == Shell_NotifyIconA(NIM_DELETE, &mut icon_data) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NOTIFYICONDATAA` in this scope [INFO] [stderr] --> src/tray.rs:148:31 [INFO] [stderr] | [INFO] [stderr] 148 | fn init_notify_icon_data() -> NOTIFYICONDATAA { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NOTIFYICONDATAA_u` in this scope [INFO] [stderr] --> src/tray.rs:149:22 [INFO] [stderr] | [INFO] [stderr] 149 | let wtf_is_this: NOTIFYICONDATAA_u = unsafe { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:176:43 [INFO] [stderr] | [INFO] [stderr] 176 | fn handle_windows_messages(window_handle: HWND, menu_handle: HMENU) -> Result { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NOTIFYICONDATAA_u` in this scope [INFO] [stderr] --> src/tray.rs:150:36 [INFO] [stderr] | [INFO] [stderr] 148 | fn init_notify_icon_data() -> NOTIFYICONDATAA { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 149 | let wtf_is_this: NOTIFYICONDATAA_u = unsafe { [INFO] [stderr] 150 | std::mem::transmute::(0 as u32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/tray.rs:176:62 [INFO] [stderr] | [INFO] [stderr] 176 | fn handle_windows_messages(window_handle: HWND, menu_handle: HMENU) -> Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MSG` in this scope [INFO] [stderr] --> src/tray.rs:178:23 [INFO] [stderr] | [INFO] [stderr] 178 | let mut msg = MSG { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/tray.rs:184:17 [INFO] [stderr] | [INFO] [stderr] 184 | pt: POINT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stderr] --> src/tray.rs:189:29 [INFO] [stderr] | [INFO] [stderr] 189 | let response_code = GetMessageW(&mut msg, window_handle, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stderr] --> src/tray.rs:195:27 [INFO] [stderr] | [INFO] [stderr] 195 | if msg.message == WM_COMMAND { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MFS_UNCHECKED` in this scope [INFO] [stderr] --> src/tray.rs:200:104 [INFO] [stderr] | [INFO] [stderr] 200 | update_tray_menu_item_state(window_handle, menu_handle, SYSTEM_TRAY_POPUP_STARTUP, MFS_UNCHECKED); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stderr] --> src/tray.rs:212:9 [INFO] [stderr] | [INFO] [stderr] 212 | TranslateMessage(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stderr] --> src/tray.rs:213:9 [INFO] [stderr] | [INFO] [stderr] 213 | DispatchMessageW(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:219:51 [INFO] [stderr] | [INFO] [stderr] 219 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/tray.rs:219:62 [INFO] [stderr] | [INFO] [stderr] 219 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/tray.rs:219:76 [INFO] [stderr] | [INFO] [stderr] 219 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/tray.rs:219:92 [INFO] [stderr] | [INFO] [stderr] 219 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/tray.rs:220:48 [INFO] [stderr] | [INFO] [stderr] 220 | ... -> LRESULT [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stderr] --> src/tray.rs:226:13 [INFO] [stderr] | [INFO] [stderr] 226 | PostMessageA(hwnd, MESSAGE_SHOW_TRAY_POPUP, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stderr] --> src/tray.rs:231:5 [INFO] [stderr] | [INFO] [stderr] 231 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/tray.rs:234:46 [INFO] [stderr] | [INFO] [stderr] 234 | fn create_tray_menu(run_on_startup: bool) -> HMENU { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope [INFO] [stderr] --> src/tray.rs:236:21 [INFO] [stderr] | [INFO] [stderr] 236 | let popup = CreatePopupMenu(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NOTIFYICONDATAA` in this scope [INFO] [stderr] --> src/tray.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | NOTIFYICONDATAA { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIF_ICON` in this scope [INFO] [stderr] --> src/tray.rs:156:17 [INFO] [stderr] | [INFO] [stderr] 156 | uFlags: NIF_ICON | NIF_MESSAGE | NIF_TIP, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIF_MESSAGE` in this scope [INFO] [stderr] --> src/tray.rs:156:28 [INFO] [stderr] | [INFO] [stderr] 156 | uFlags: NIF_ICON | NIF_MESSAGE | NIF_TIP, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIF_TIP` in this scope [INFO] [stderr] --> src/tray.rs:156:42 [INFO] [stderr] | [INFO] [stderr] 156 | uFlags: NIF_ICON | NIF_MESSAGE | NIF_TIP, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NIS_SHAREDICON` in this scope [INFO] [stderr] --> src/tray.rs:160:18 [INFO] [stderr] | [INFO] [stderr] 160 | dwState: NIS_SHAREDICON, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:176:43 [INFO] [stderr] | [INFO] [stderr] 176 | fn handle_windows_messages(window_handle: HWND, menu_handle: HMENU) -> Result { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/tray.rs:176:62 [INFO] [stderr] | [INFO] [stderr] 176 | fn handle_windows_messages(window_handle: HWND, menu_handle: HMENU) -> Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MSG` in this scope [INFO] [stderr] --> src/tray.rs:178:23 [INFO] [stderr] | [INFO] [stderr] 178 | let mut msg = MSG { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/tray.rs:184:17 [INFO] [stderr] | [INFO] [stderr] 184 | pt: POINT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stderr] --> src/tray.rs:189:29 [INFO] [stderr] | [INFO] [stderr] 189 | let response_code = GetMessageW(&mut msg, window_handle, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stderr] --> src/tray.rs:195:27 [INFO] [stderr] | [INFO] [stderr] 195 | if msg.message == WM_COMMAND { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MFS_UNCHECKED` in this scope [INFO] [stderr] --> src/tray.rs:200:104 [INFO] [stderr] | [INFO] [stderr] 200 | update_tray_menu_item_state(window_handle, menu_handle, SYSTEM_TRAY_POPUP_STARTUP, MFS_UNCHECKED); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stderr] --> src/tray.rs:212:9 [INFO] [stderr] | [INFO] [stderr] 212 | TranslateMessage(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stderr] --> src/tray.rs:213:9 [INFO] [stderr] | [INFO] [stderr] 213 | DispatchMessageW(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:219:51 [INFO] [stderr] | [INFO] [stderr] 219 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/tray.rs:219:62 [INFO] [stderr] | [INFO] [stderr] 219 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/tray.rs:219:76 [INFO] [stderr] | [INFO] [stderr] 219 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/tray.rs:219:92 [INFO] [stderr] | [INFO] [stderr] 219 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/tray.rs:220:48 [INFO] [stderr] | [INFO] [stderr] 220 | ... -> LRESULT [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stderr] --> src/tray.rs:226:13 [INFO] [stderr] | [INFO] [stderr] 226 | PostMessageA(hwnd, MESSAGE_SHOW_TRAY_POPUP, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stderr] --> src/tray.rs:231:5 [INFO] [stderr] | [INFO] [stderr] 231 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/tray.rs:234:46 [INFO] [stderr] | [INFO] [stderr] 234 | fn create_tray_menu(run_on_startup: bool) -> HMENU { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuA` in this scope [INFO] [stderr] --> src/tray.rs:238:9 [INFO] [stderr] | [INFO] [stderr] 238 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING | bool_as_menu_flag(run_on_startup), SYSTEM_TRAY_POPUP_STARTUP, CString::new("Run on startup").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope [INFO] [stderr] --> src/tray.rs:236:21 [INFO] [stderr] | [INFO] [stderr] 236 | let popup = CreatePopupMenu(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stderr] --> src/tray.rs:238:40 [INFO] [stderr] | [INFO] [stderr] 238 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING | bool_as_menu_flag(run_on_startup), SYSTEM_TRAY_POPUP_STARTUP, CString::new("Run on startup").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuA` in this scope [INFO] [stderr] --> src/tray.rs:238:9 [INFO] [stderr] | [INFO] [stderr] 238 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING | bool_as_menu_flag(run_on_startup), SYSTEM_TRAY_POPUP_STARTUP, CString::new("Run on startup").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stderr] --> src/tray.rs:238:56 [INFO] [stderr] | [INFO] [stderr] 238 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING | bool_as_menu_flag(run_on_startup), SYSTEM_TRAY_POPUP_STARTUP, CString::new("Run on startup").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stderr] --> src/tray.rs:238:40 [INFO] [stderr] | [INFO] [stderr] 238 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING | bool_as_menu_flag(run_on_startup), SYSTEM_TRAY_POPUP_STARTUP, CString::new("Run on startup").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stderr] --> src/tray.rs:238:56 [INFO] [stderr] | [INFO] [stderr] 238 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING | bool_as_menu_flag(run_on_startup), SYSTEM_TRAY_POPUP_STARTUP, CString::new("Run on startup").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuA` in this scope [INFO] [stderr] --> src/tray.rs:239:9 [INFO] [stderr] | [INFO] [stderr] 239 | InsertMenuA(popup, 0xFFFFFFFE, MF_SEPARATOR, 0, CString::new("test").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_SEPARATOR` in this scope [INFO] [stderr] --> src/tray.rs:239:40 [INFO] [stderr] | [INFO] [stderr] 239 | InsertMenuA(popup, 0xFFFFFFFE, MF_SEPARATOR, 0, CString::new("test").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuA` in this scope [INFO] [stderr] --> src/tray.rs:240:9 [INFO] [stderr] | [INFO] [stderr] 240 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING, SYSTEM_TRAY_POPUP_EXIT, CString::new("Exit").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stderr] --> src/tray.rs:240:40 [INFO] [stderr] | [INFO] [stderr] 240 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING, SYSTEM_TRAY_POPUP_EXIT, CString::new("Exit").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stderr] --> src/tray.rs:240:56 [INFO] [stderr] | [INFO] [stderr] 240 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING, SYSTEM_TRAY_POPUP_EXIT, CString::new("Exit").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:245:34 [INFO] [stderr] | [INFO] [stderr] 245 | fn show_tray_menu(window_handle: HWND, menu_handle: HMENU) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/tray.rs:245:53 [INFO] [stderr] | [INFO] [stderr] 245 | fn show_tray_menu(window_handle: HWND, menu_handle: HMENU) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/tray.rs:247:28 [INFO] [stderr] | [INFO] [stderr] 247 | let mut position = POINT { x: 0, y: 0 }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stderr] --> src/tray.rs:248:9 [INFO] [stderr] | [INFO] [stderr] 248 | GetCursorPos(&mut position); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stderr] --> src/tray.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | SetForegroundWindow(window_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope [INFO] [stderr] --> src/tray.rs:250:9 [INFO] [stderr] | [INFO] [stderr] 250 | TrackPopupMenu(menu_handle, TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_BOTTOMALIGN, position.x, position.y, 0, window_handle, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TPM_LEFTALIGN` in this scope [INFO] [stderr] --> src/tray.rs:250:37 [INFO] [stderr] | [INFO] [stderr] 250 | TrackPopupMenu(menu_handle, TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_BOTTOMALIGN, position.x, position.y, 0, window_handle, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TPM_LEFTBUTTON` in this scope [INFO] [stderr] --> src/tray.rs:250:53 [INFO] [stderr] | [INFO] [stderr] 250 | TrackPopupMenu(menu_handle, TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_BOTTOMALIGN, position.x, position.y, 0, window_handle, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TPM_BOTTOMALIGN` in this scope [INFO] [stderr] --> src/tray.rs:250:70 [INFO] [stderr] | [INFO] [stderr] 250 | TrackPopupMenu(menu_handle, TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_BOTTOMALIGN, position.x, position.y, 0, window_handle, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stderr] --> src/tray.rs:251:9 [INFO] [stderr] | [INFO] [stderr] 251 | PostMessageA(window_handle, WM_NULL, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_NULL` in this scope [INFO] [stderr] --> src/tray.rs:251:37 [INFO] [stderr] | [INFO] [stderr] 251 | PostMessageA(window_handle, WM_NULL, 0, 0); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:255:47 [INFO] [stderr] | [INFO] [stderr] 255 | fn update_tray_menu_item_state(window_handle: HWND, menu_handle: HMENU, item_id: usize, flags: u32) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/tray.rs:255:66 [INFO] [stderr] | [INFO] [stderr] 255 | fn update_tray_menu_item_state(window_handle: HWND, menu_handle: HMENU, item_id: usize, flags: u32) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MENUITEMINFOA` in this scope [INFO] [stderr] --> src/tray.rs:257:29 [INFO] [stderr] | [INFO] [stderr] 257 | let mut item_info = MENUITEMINFOA { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MENUITEMINFOA` in this scope [INFO] [stderr] --> src/tray.rs:258:41 [INFO] [stderr] | [INFO] [stderr] 255 | fn update_tray_menu_item_state(window_handle: HWND, menu_handle: HMENU, item_id: usize, flags: u32) { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 258 | cbSize: std::mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MIIM_STATE` in this scope [INFO] [stderr] --> src/tray.rs:259:20 [INFO] [stderr] | [INFO] [stderr] 259 | fMask: MIIM_STATE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetMenuItemInfoA` in this scope [INFO] [stderr] --> src/tray.rs:272:17 [INFO] [stderr] | [INFO] [stderr] 272 | if 0 == SetMenuItemInfoA(menu_handle, item_id as u32, 0, &mut item_info) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuA` in this scope [INFO] [stderr] --> src/tray.rs:239:9 [INFO] [stderr] | [INFO] [stderr] 239 | InsertMenuA(popup, 0xFFFFFFFE, MF_SEPARATOR, 0, CString::new("test").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_SEPARATOR` in this scope [INFO] [stderr] --> src/tray.rs:239:40 [INFO] [stderr] | [INFO] [stderr] 239 | InsertMenuA(popup, 0xFFFFFFFE, MF_SEPARATOR, 0, CString::new("test").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuA` in this scope [INFO] [stderr] --> src/tray.rs:240:9 [INFO] [stderr] | [INFO] [stderr] 240 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING, SYSTEM_TRAY_POPUP_EXIT, CString::new("Exit").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stderr] --> src/tray.rs:240:40 [INFO] [stderr] | [INFO] [stderr] 240 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING, SYSTEM_TRAY_POPUP_EXIT, CString::new("Exit").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stderr] --> src/tray.rs:240:56 [INFO] [stderr] | [INFO] [stderr] 240 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING, SYSTEM_TRAY_POPUP_EXIT, CString::new("Exit").unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:245:34 [INFO] [stderr] | [INFO] [stderr] 245 | fn show_tray_menu(window_handle: HWND, menu_handle: HMENU) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/tray.rs:245:53 [INFO] [stderr] | [INFO] [stderr] 245 | fn show_tray_menu(window_handle: HWND, menu_handle: HMENU) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/tray.rs:247:28 [INFO] [stderr] | [INFO] [stderr] 247 | let mut position = POINT { x: 0, y: 0 }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stderr] --> src/tray.rs:248:9 [INFO] [stderr] | [INFO] [stderr] 248 | GetCursorPos(&mut position); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stderr] --> src/tray.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | SetForegroundWindow(window_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope [INFO] [stderr] --> src/tray.rs:250:9 [INFO] [stderr] | [INFO] [stderr] 250 | TrackPopupMenu(menu_handle, TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_BOTTOMALIGN, position.x, position.y, 0, window_handle, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DrawMenuBar` in this scope [INFO] [stderr] --> src/tray.rs:275:9 [INFO] [stderr] | [INFO] [stderr] 275 | DrawMenuBar(window_handle); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MFS_CHECKED` in this scope [INFO] [stderr] --> src/tray.rs:281:9 [INFO] [stderr] | [INFO] [stderr] 281 | MFS_CHECKED [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TPM_LEFTALIGN` in this scope [INFO] [stderr] --> src/tray.rs:250:37 [INFO] [stderr] | [INFO] [stderr] 250 | TrackPopupMenu(menu_handle, TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_BOTTOMALIGN, position.x, position.y, 0, window_handle, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MFS_UNCHECKED` in this scope [INFO] [stderr] --> src/tray.rs:283:9 [INFO] [stderr] | [INFO] [stderr] 283 | MFS_UNCHECKED [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AtomicBool` in this scope [INFO] [stderr] --> src/main.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | static RUNNING: AtomicBool = AtomicBool::new(true); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 10 | use core::sync::atomic::AtomicBool; [INFO] [stderr] | [INFO] [stderr] 10 | use std::sync::atomic::AtomicBool; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TPM_LEFTBUTTON` in this scope [INFO] [stderr] --> src/tray.rs:250:53 [INFO] [stderr] | [INFO] [stderr] 250 | TrackPopupMenu(menu_handle, TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_BOTTOMALIGN, position.x, position.y, 0, window_handle, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TPM_BOTTOMALIGN` in this scope [INFO] [stderr] --> src/tray.rs:250:70 [INFO] [stderr] | [INFO] [stderr] 250 | TrackPopupMenu(menu_handle, TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_BOTTOMALIGN, position.x, position.y, 0, window_handle, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stderr] --> src/tray.rs:251:9 [INFO] [stderr] | [INFO] [stderr] 251 | PostMessageA(window_handle, WM_NULL, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_NULL` in this scope [INFO] [stderr] --> src/tray.rs:251:37 [INFO] [stderr] | [INFO] [stderr] 251 | PostMessageA(window_handle, WM_NULL, 0, 0); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tray.rs:255:47 [INFO] [stderr] | [INFO] [stderr] 255 | fn update_tray_menu_item_state(window_handle: HWND, menu_handle: HMENU, item_id: usize, flags: u32) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/tray.rs:255:66 [INFO] [stderr] | [INFO] [stderr] 255 | fn update_tray_menu_item_state(window_handle: HWND, menu_handle: HMENU, item_id: usize, flags: u32) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MENUITEMINFOA` in this scope [INFO] [stderr] --> src/tray.rs:257:29 [INFO] [stderr] | [INFO] [stderr] 257 | let mut item_info = MENUITEMINFOA { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MENUITEMINFOA` in this scope [INFO] [stderr] --> src/tray.rs:258:41 [INFO] [stderr] | [INFO] [stderr] 255 | fn update_tray_menu_item_state(window_handle: HWND, menu_handle: HMENU, item_id: usize, flags: u32) { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 258 | cbSize: std::mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MIIM_STATE` in this scope [INFO] [stderr] --> src/tray.rs:259:20 [INFO] [stderr] | [INFO] [stderr] 259 | fMask: MIIM_STATE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetMenuItemInfoA` in this scope [INFO] [stderr] --> src/tray.rs:272:17 [INFO] [stderr] | [INFO] [stderr] 272 | if 0 == SetMenuItemInfoA(menu_handle, item_id as u32, 0, &mut item_info) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DrawMenuBar` in this scope [INFO] [stderr] --> src/tray.rs:275:9 [INFO] [stderr] | [INFO] [stderr] 275 | DrawMenuBar(window_handle); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MFS_CHECKED` in this scope [INFO] [stderr] --> src/tray.rs:281:9 [INFO] [stderr] | [INFO] [stderr] 281 | MFS_CHECKED [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MFS_UNCHECKED` in this scope [INFO] [stderr] --> src/tray.rs:283:9 [INFO] [stderr] | [INFO] [stderr] 283 | MFS_UNCHECKED [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AtomicBool` in this scope [INFO] [stderr] --> src/main.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | static RUNNING: AtomicBool = AtomicBool::new(true); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 10 | use core::sync::atomic::AtomicBool; [INFO] [stderr] | [INFO] [stderr] 10 | use std::sync::atomic::AtomicBool; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0080]: evaluation of constant value failed [INFO] [stderr] --> src/winutils.rs:95:30 [INFO] [stderr] | [INFO] [stderr] 95 | let mut exe_buf = [0u16; BUFFER_LENGTH]; [INFO] [stderr] | ^^^^^^^^^^^^^ referenced constant has errors [INFO] [stderr] [INFO] [stderr] error: aborting due to 138 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0080, E0412, E0422, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0080`. [INFO] [stderr] error: could not compile `poe-minimizer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0080]: evaluation of constant value failed [INFO] [stderr] --> src/winutils.rs:95:30 [INFO] [stderr] | [INFO] [stderr] 95 | let mut exe_buf = [0u16; BUFFER_LENGTH]; [INFO] [stderr] | ^^^^^^^^^^^^^ referenced constant has errors [INFO] [stderr] [INFO] [stderr] error: aborting due to 138 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0080, E0412, E0422, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0080`. [INFO] [stderr] error: could not compile `poe-minimizer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8f078eab8bdf91bc63bf25764d299507520d351a89d7e5b78ecd259b5da1739e"` [INFO] running `"docker" "rm" "-f" "8f078eab8bdf91bc63bf25764d299507520d351a89d7e5b78ecd259b5da1739e"` [INFO] [stdout] 8f078eab8bdf91bc63bf25764d299507520d351a89d7e5b78ecd259b5da1739e