[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] c2ac588b07169248832f33c89a56e751fd1174dd [INFO] testing Argannor/poe-minimizer against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArgannor%2Fpoe-minimizer" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Argannor/poe-minimizer on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-14/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2347b38955ef77aaaa475fc3e662d2b654cc8a12e332cb91cec79a8a36a89c9f [INFO] running `"docker" "start" "-a" "2347b38955ef77aaaa475fc3e662d2b654cc8a12e332cb91cec79a8a36a89c9f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling widestring v0.4.0 [INFO] [stderr] Compiling rev_lines v0.2.1 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling simplelog v0.7.4 [INFO] [stderr] Compiling poe-minimizer v1.0.0 (/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 `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 `shared` in `winapi` [INFO] [stderr] --> src/tray.rs:169:27 [INFO] [stderr] | [INFO] [stderr] 169 | 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 `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: 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[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 `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:21:38 [INFO] [stderr] | [INFO] [stderr] 21 | 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:32:20 [INFO] [stderr] | [INFO] [stderr] 32 | 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:33:18 [INFO] [stderr] | [INFO] [stderr] 33 | 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:66:38 [INFO] [stderr] | [INFO] [stderr] 66 | 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:69:20 [INFO] [stderr] | [INFO] [stderr] 69 | 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:69:35 [INFO] [stderr] | [INFO] [stderr] 69 | 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:69:46 [INFO] [stderr] | [INFO] [stderr] 69 | 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:70:22 [INFO] [stderr] | [INFO] [stderr] 70 | 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:70:39 [INFO] [stderr] | [INFO] [stderr] 70 | 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:70:50 [INFO] [stderr] | [INFO] [stderr] 70 | 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:71:21 [INFO] [stderr] | [INFO] [stderr] 71 | 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:72:28 [INFO] [stderr] | [INFO] [stderr] 72 | 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:77:29 [INFO] [stderr] | [INFO] [stderr] 77 | 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:84:26 [INFO] [stderr] | [INFO] [stderr] 84 | 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:91:21 [INFO] [stderr] | [INFO] [stderr] 91 | 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:91:40 [INFO] [stderr] | [INFO] [stderr] 91 | 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:92:22 [INFO] [stderr] | [INFO] [stderr] 92 | 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:96:38 [INFO] [stderr] | [INFO] [stderr] 96 | ... 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:96:69 [INFO] [stderr] | [INFO] [stderr] 96 | ... 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:107:42 [INFO] [stderr] | [INFO] [stderr] 107 | 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:112:38 [INFO] [stderr] | [INFO] [stderr] 112 | 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:122:20 [INFO] [stderr] | [INFO] [stderr] 122 | 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:122:63 [INFO] [stderr] | [INFO] [stderr] 122 | 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:122:81 [INFO] [stderr] | [INFO] [stderr] 122 | 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:122:101 [INFO] [stderr] | [INFO] [stderr] 122 | 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:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | 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:131:35 [INFO] [stderr] | [INFO] [stderr] 131 | 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:139:38 [INFO] [stderr] | [INFO] [stderr] 139 | 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:143:17 [INFO] [stderr] | [INFO] [stderr] 143 | 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:143:35 [INFO] [stderr] | [INFO] [stderr] 143 | 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:151:31 [INFO] [stderr] | [INFO] [stderr] 151 | 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:152:22 [INFO] [stderr] | [INFO] [stderr] 152 | 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:153:36 [INFO] [stderr] | [INFO] [stderr] 151 | fn init_notify_icon_data() -> NOTIFYICONDATAA { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 152 | let wtf_is_this: NOTIFYICONDATAA_u = unsafe { [INFO] [stderr] 153 | 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:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | 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:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | 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:159:28 [INFO] [stderr] | [INFO] [stderr] 159 | 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:159:42 [INFO] [stderr] | [INFO] [stderr] 159 | 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:163:18 [INFO] [stderr] | [INFO] [stderr] 163 | 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:179:43 [INFO] [stderr] | [INFO] [stderr] 179 | 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:179:62 [INFO] [stderr] | [INFO] [stderr] 179 | 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:181:23 [INFO] [stderr] | [INFO] [stderr] 181 | 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:187:17 [INFO] [stderr] | [INFO] [stderr] 187 | 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:192:29 [INFO] [stderr] | [INFO] [stderr] 192 | 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:198:27 [INFO] [stderr] | [INFO] [stderr] 198 | 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:203:104 [INFO] [stderr] | [INFO] [stderr] 203 | 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:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | 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:216:9 [INFO] [stderr] | [INFO] [stderr] 216 | 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:222:51 [INFO] [stderr] | [INFO] [stderr] 222 | 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:222:62 [INFO] [stderr] | [INFO] [stderr] 222 | 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:222:76 [INFO] [stderr] | [INFO] [stderr] 222 | 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:222:92 [INFO] [stderr] | [INFO] [stderr] 222 | 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:223:48 [INFO] [stderr] | [INFO] [stderr] 223 | ... -> 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:229:13 [INFO] [stderr] | [INFO] [stderr] 229 | 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:234:5 [INFO] [stderr] | [INFO] [stderr] 234 | 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:237:46 [INFO] [stderr] | [INFO] [stderr] 237 | 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:239:21 [INFO] [stderr] | [INFO] [stderr] 239 | let popup = CreatePopupMenu(); [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:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING | MF_DISABLED, SYSTEM_TRAY_POPUP_VERSION, CString::new(version).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:242:40 [INFO] [stderr] | [INFO] [stderr] 242 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING | MF_DISABLED, SYSTEM_TRAY_POPUP_VERSION, CString::new(version).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:242:56 [INFO] [stderr] | [INFO] [stderr] 242 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING | MF_DISABLED, SYSTEM_TRAY_POPUP_VERSION, CString::new(version).unwrap().as_ptr()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_DISABLED` in this scope [INFO] [stderr] --> src/tray.rs:242:68 [INFO] [stderr] | [INFO] [stderr] 242 | InsertMenuA(popup, 0xFFFFFFFE, MF_BYPOSITION | MF_STRING | MF_DISABLED, SYSTEM_TRAY_POPUP_VERSION, CString::new(version).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:243:9 [INFO] [stderr] | [INFO] [stderr] 243 | 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:243:40 [INFO] [stderr] | [INFO] [stderr] 243 | 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:244:9 [INFO] [stderr] | [INFO] [stderr] 244 | 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:244:40 [INFO] [stderr] | [INFO] [stderr] 244 | 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:244:56 [INFO] [stderr] | [INFO] [stderr] 244 | 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:245:9 [INFO] [stderr] | [INFO] [stderr] 245 | 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:245:40 [INFO] [stderr] | [INFO] [stderr] 245 | 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:246:9 [INFO] [stderr] | [INFO] [stderr] 246 | 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:246:40 [INFO] [stderr] | [INFO] [stderr] 246 | 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:246:56 [INFO] [stderr] | [INFO] [stderr] 246 | 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:251:34 [INFO] [stderr] | [INFO] [stderr] 251 | 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:251:53 [INFO] [stderr] | [INFO] [stderr] 251 | 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:253:28 [INFO] [stderr] | [INFO] [stderr] 253 | 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:254:9 [INFO] [stderr] | [INFO] [stderr] 254 | 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:255:9 [INFO] [stderr] | [INFO] [stderr] 255 | 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:256:9 [INFO] [stderr] | [INFO] [stderr] 256 | 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:256:37 [INFO] [stderr] | [INFO] [stderr] 256 | 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:256:53 [INFO] [stderr] | [INFO] [stderr] 256 | 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:256:70 [INFO] [stderr] | [INFO] [stderr] 256 | 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:257:9 [INFO] [stderr] | [INFO] [stderr] 257 | 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:257:37 [INFO] [stderr] | [INFO] [stderr] 257 | 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:261:47 [INFO] [stderr] | [INFO] [stderr] 261 | 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:261:66 [INFO] [stderr] | [INFO] [stderr] 261 | 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:263:29 [INFO] [stderr] | [INFO] [stderr] 263 | 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:264:41 [INFO] [stderr] | [INFO] [stderr] 261 | 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] 264 | 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:265:20 [INFO] [stderr] | [INFO] [stderr] 265 | 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:278:17 [INFO] [stderr] | [INFO] [stderr] 278 | 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:281:9 [INFO] [stderr] | [INFO] [stderr] 281 | 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:287:9 [INFO] [stderr] | [INFO] [stderr] 287 | 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:289:9 [INFO] [stderr] | [INFO] [stderr] 289 | 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: aborting due to 143 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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" "2347b38955ef77aaaa475fc3e662d2b654cc8a12e332cb91cec79a8a36a89c9f"` [INFO] running `"docker" "rm" "-f" "2347b38955ef77aaaa475fc3e662d2b654cc8a12e332cb91cec79a8a36a89c9f"` [INFO] [stdout] 2347b38955ef77aaaa475fc3e662d2b654cc8a12e332cb91cec79a8a36a89c9f