[INFO] updating cached repository https://github.com/h3r2tic/h3keys3 [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] 49e1d427925e1b1fb9c3bf6befcd52322732f0f3 [INFO] checking h3r2tic/h3keys3 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh3r2tic%2Fh3keys3" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/h3r2tic/h3keys3 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/h3r2tic/h3keys3 [INFO] finished tweaking git repo https://github.com/h3r2tic/h3keys3 [INFO] tweaked toml for git repo https://github.com/h3r2tic/h3keys3 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/h3r2tic/h3keys3 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] a73c15e8ad6291af90f71882239855811b2bc8bbfdd89c06afa67975cb9d2cbb [INFO] running `"docker" "start" "-a" "a73c15e8ad6291af90f71882239855811b2bc8bbfdd89c06afa67975cb9d2cbb"` [INFO] [stderr] Compiling winapi v0.3.3 [INFO] [stderr] Compiling user32-sys v0.1.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking winrt v0.4.0 [INFO] [stderr] Checking h3keys3 v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | 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/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::ntdef::LPCSTR; [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:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::windef::{HBRUSH, HCURSOR, HICON, HMENU, HWND, POINT, RECT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `kernel32::GetModuleHandleA` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use kernel32::GetModuleHandleA; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GetModuleHandleA` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> src/main.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | use winrt::windows::data::xml::dom::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> src/main.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | use winrt::windows::ui::notifications::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winuser; [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/main.rs:342:45 [INFO] [stderr] | [INFO] [stderr] 342 | ... winapi::um::winnt::PROCESS_ALL_ACCESS, [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/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | 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/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::ntdef::LPCSTR; [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:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::windef::{HBRUSH, HCURSOR, HICON, HMENU, HWND, POINT, RECT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `kernel32::GetModuleHandleA` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use kernel32::GetModuleHandleA; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GetModuleHandleA` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> src/main.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | use winrt::windows::data::xml::dom::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> src/main.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | use winrt::windows::ui::notifications::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winuser; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RuntimeContext` [INFO] [stderr] --> src/main.rs:768:14 [INFO] [stderr] | [INFO] [stderr] 768 | let rt = RuntimeContext::init(); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `RuntimeContext` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] --> src/main.rs:775:22 [INFO] [stderr] | [INFO] [stderr] 775 | RefCell::new(ToastNotificationManager::create_toast_notifier_with_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> src/main.rs:777:14 [INFO] [stderr] | [INFO] [stderr] 777 | &FastHString::new("{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\\WindowsPowerShell\\v1.0\\powershell.exe") [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] --> src/main.rs:807:21 [INFO] [stderr] | [INFO] [stderr] 807 | ToastNotificationManager::get_template_content(ToastTemplateType::ToastText02) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastTemplateType` [INFO] [stderr] --> src/main.rs:807:68 [INFO] [stderr] | [INFO] [stderr] 807 | ToastNotificationManager::get_template_content(ToastTemplateType::ToastText02) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastTemplateType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:342:45 [INFO] [stderr] | [INFO] [stderr] 342 | ... winapi::um::winnt::PROCESS_ALL_ACCESS, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> src/main.rs:812:48 [INFO] [stderr] | [INFO] [stderr] 812 | .get_elements_by_tag_name(&FastHString::new("text")) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> src/main.rs:820:48 [INFO] [stderr] | [INFO] [stderr] 820 | ... .create_text_node(&FastHString::new("h3keys")) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> src/main.rs:831:48 [INFO] [stderr] | [INFO] [stderr] 831 | ... .create_text_node(&FastHString::new(content)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotification` [INFO] [stderr] --> src/main.rs:839:29 [INFO] [stderr] | [INFO] [stderr] 839 | let toast = ToastNotification::create_toast_notification(&*toast_xml).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotification` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:136:55 [INFO] [stderr] | [INFO] [stderr] 136 | fn get_window_under_cursor(cursor_pos: (i32, i32)) -> HWND { [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/main.rs:138:42 [INFO] [stderr] | [INFO] [stderr] 138 | let w = winuser::WindowFromPoint(POINT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:166:26 [INFO] [stderr] | [INFO] [stderr] 166 | fn get_window_rect(hwnd: HWND) -> RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:166:35 [INFO] [stderr] | [INFO] [stderr] 166 | fn get_window_rect(hwnd: HWND) -> RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/main.rs:167:20 [INFO] [stderr] | [INFO] [stderr] 167 | let mut rect = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:197:23 [INFO] [stderr] | [INFO] [stderr] 197 | window_move_hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:201:25 [INFO] [stderr] | [INFO] [stderr] 201 | window_resize_hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:259:47 [INFO] [stderr] | [INFO] [stderr] 259 | fn key_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:259:63 [INFO] [stderr] | [INFO] [stderr] 259 | fn key_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:259:74 [INFO] [stderr] | [INFO] [stderr] 259 | fn key_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:338:46 [INFO] [stderr] | [INFO] [stderr] 338 | ... let mut pid: DWORD = 0; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in crate `kernel32` [INFO] [stderr] --> src/main.rs:341:51 [INFO] [stderr] | [INFO] [stderr] 341 | ... let h = kernel32::OpenProcess( [INFO] [stderr] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateProcess` in crate `kernel32` [INFO] [stderr] --> src/main.rs:347:47 [INFO] [stderr] | [INFO] [stderr] 347 | ... kernel32::TerminateProcess(h, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:556:49 [INFO] [stderr] | [INFO] [stderr] 556 | fn mouse_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:556:65 [INFO] [stderr] | [INFO] [stderr] 556 | fn mouse_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:556:76 [INFO] [stderr] | [INFO] [stderr] 556 | fn mouse_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:659:38 [INFO] [stderr] | [INFO] [stderr] 659 | fn mouse_hook(&mut self, wparam: WPARAM, mouse_data: winuser::MSLLHOOKSTRUCT) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:659:86 [INFO] [stderr] | [INFO] [stderr] 659 | fn mouse_hook(&mut self, wparam: WPARAM, mouse_data: winuser::MSLLHOOKSTRUCT) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RuntimeContext` [INFO] [stderr] --> src/main.rs:768:14 [INFO] [stderr] | [INFO] [stderr] 768 | let rt = RuntimeContext::init(); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `RuntimeContext` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:739:62 [INFO] [stderr] | [INFO] [stderr] 739 | unsafe extern "system" fn global_key_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:739:78 [INFO] [stderr] | [INFO] [stderr] 739 | unsafe extern "system" fn global_key_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:739:89 [INFO] [stderr] | [INFO] [stderr] 739 | unsafe extern "system" fn global_key_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] --> src/main.rs:775:22 [INFO] [stderr] | [INFO] [stderr] 775 | RefCell::new(ToastNotificationManager::create_toast_notifier_with_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> src/main.rs:777:14 [INFO] [stderr] | [INFO] [stderr] 777 | &FastHString::new("{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\\WindowsPowerShell\\v1.0\\powershell.exe") [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:747:64 [INFO] [stderr] | [INFO] [stderr] 747 | unsafe extern "system" fn global_mouse_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:747:80 [INFO] [stderr] | [INFO] [stderr] 747 | unsafe extern "system" fn global_mouse_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:747:91 [INFO] [stderr] | [INFO] [stderr] 747 | unsafe extern "system" fn global_mouse_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:756:12 [INFO] [stderr] | [INFO] [stderr] 756 | h_wnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:757:10 [INFO] [stderr] | [INFO] [stderr] 757 | msg: UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:758:14 [INFO] [stderr] | [INFO] [stderr] 758 | w_param: WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:759:14 [INFO] [stderr] | [INFO] [stderr] 759 | l_param: LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:760:6 [INFO] [stderr] | [INFO] [stderr] 760 | ) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ComPtr` in crate `winrt` [INFO] [stderr] --> src/main.rs:774:44 [INFO] [stderr] | [INFO] [stderr] 774 | static TOAST_NOTIFIER : RefCell> = [INFO] [stderr] | ^^^^^^ not found in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ToastNotifier` in this scope [INFO] [stderr] --> src/main.rs:774:51 [INFO] [stderr] | [INFO] [stderr] 774 | static TOAST_NOTIFIER : RefCell> = [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ComPtr` in this scope [INFO] [stderr] --> src/main.rs:780:43 [INFO] [stderr] | [INFO] [stderr] 780 | static PREVIOUS_TOAST: RefCell>> = RefCell::new(None); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ToastNotification` in this scope [INFO] [stderr] --> src/main.rs:780:50 [INFO] [stderr] | [INFO] [stderr] 780 | static PREVIOUS_TOAST: RefCell>> = RefCell::new(None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IXmlNode` in this scope [INFO] [stderr] --> src/main.rs:822:48 [INFO] [stderr] | [INFO] [stderr] 783 | fn toast_notification(content: &str) { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 822 | .query_interface::() [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IXmlNode` in this scope [INFO] [stderr] --> src/main.rs:833:48 [INFO] [stderr] | [INFO] [stderr] 783 | fn toast_notification(content: &str) { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 833 | .query_interface::() [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadPriority` in crate `kernel32` [INFO] [stderr] --> src/main.rs:854:19 [INFO] [stderr] | [INFO] [stderr] 854 | kernel32::SetThreadPriority( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThread` in crate `kernel32` [INFO] [stderr] --> src/main.rs:855:23 [INFO] [stderr] | [INFO] [stderr] 855 | kernel32::GetCurrentThread(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:874:46 [INFO] [stderr] | [INFO] [stderr] 874 | GetModuleHandleA(ptr::null()) 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/main.rs:881:46 [INFO] [stderr] | [INFO] [stderr] 881 | GetModuleHandleA(ptr::null()) 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/main.rs:892:25 [INFO] [stderr] | [INFO] [stderr] 892 | hInstance: 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/main.rs:893:21 [INFO] [stderr] | [INFO] [stderr] 893 | hIcon: 0 as HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stderr] --> src/main.rs:894:23 [INFO] [stderr] | [INFO] [stderr] 894 | hCursor: 0 as HCURSOR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/main.rs:895:30 [INFO] [stderr] | [INFO] [stderr] 895 | hbrBackground: 16 as HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stderr] --> src/main.rs:896:28 [INFO] [stderr] | [INFO] [stderr] 896 | lpszMenuName: 0 as LPCSTR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/main.rs:915:18 [INFO] [stderr] | [INFO] [stderr] 915 | 0 as HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:916:18 [INFO] [stderr] | [INFO] [stderr] 916 | 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/main.rs:922:20 [INFO] [stderr] | [INFO] [stderr] 922 | hwnd: 0 as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:923:23 [INFO] [stderr] | [INFO] [stderr] 923 | message: 0 as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:924:22 [INFO] [stderr] | [INFO] [stderr] 924 | wParam: 0 as WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:925:22 [INFO] [stderr] | [INFO] [stderr] 925 | lParam: 0 as LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:926:20 [INFO] [stderr] | [INFO] [stderr] 926 | time: 0 as DWORD, [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/main.rs:927:13 [INFO] [stderr] | [INFO] [stderr] 927 | pt: POINT { x: 0, y: 0 }, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::*` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use winrt::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:695:41 [INFO] [stderr] | [INFO] [stderr] 695 | fn emulate_scroll(&mut self) -> Box { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:242:20 [INFO] [stderr] | [INFO] [stderr] 242 | u: mem::uninitialized(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] --> src/main.rs:807:21 [INFO] [stderr] | [INFO] [stderr] 807 | ToastNotificationManager::get_template_content(ToastTemplateType::ToastText02) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastTemplateType` [INFO] [stderr] --> src/main.rs:807:68 [INFO] [stderr] | [INFO] [stderr] 807 | ToastNotificationManager::get_template_content(ToastTemplateType::ToastText02) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastTemplateType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> src/main.rs:812:48 [INFO] [stderr] | [INFO] [stderr] 812 | .get_elements_by_tag_name(&FastHString::new("text")) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> src/main.rs:820:48 [INFO] [stderr] | [INFO] [stderr] 820 | ... .create_text_node(&FastHString::new("h3keys")) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> src/main.rs:831:48 [INFO] [stderr] | [INFO] [stderr] 831 | ... .create_text_node(&FastHString::new(content)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotification` [INFO] [stderr] --> src/main.rs:839:29 [INFO] [stderr] | [INFO] [stderr] 839 | let toast = ToastNotification::create_toast_notification(&*toast_xml).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotification` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:136:55 [INFO] [stderr] | [INFO] [stderr] 136 | fn get_window_under_cursor(cursor_pos: (i32, i32)) -> HWND { [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/main.rs:138:42 [INFO] [stderr] | [INFO] [stderr] 138 | let w = winuser::WindowFromPoint(POINT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:166:26 [INFO] [stderr] | [INFO] [stderr] 166 | fn get_window_rect(hwnd: HWND) -> RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:166:35 [INFO] [stderr] | [INFO] [stderr] 166 | fn get_window_rect(hwnd: HWND) -> RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/main.rs:167:20 [INFO] [stderr] | [INFO] [stderr] 167 | let mut rect = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:197:23 [INFO] [stderr] | [INFO] [stderr] 197 | window_move_hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:201:25 [INFO] [stderr] | [INFO] [stderr] 201 | window_resize_hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:259:47 [INFO] [stderr] | [INFO] [stderr] 259 | fn key_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:259:63 [INFO] [stderr] | [INFO] [stderr] 259 | fn key_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:259:74 [INFO] [stderr] | [INFO] [stderr] 259 | fn key_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:338:46 [INFO] [stderr] | [INFO] [stderr] 338 | ... let mut pid: DWORD = 0; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in crate `kernel32` [INFO] [stderr] --> src/main.rs:341:51 [INFO] [stderr] | [INFO] [stderr] 341 | ... let h = kernel32::OpenProcess( [INFO] [stderr] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateProcess` in crate `kernel32` [INFO] [stderr] --> src/main.rs:347:47 [INFO] [stderr] | [INFO] [stderr] 347 | ... kernel32::TerminateProcess(h, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:556:49 [INFO] [stderr] | [INFO] [stderr] 556 | fn mouse_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:556:65 [INFO] [stderr] | [INFO] [stderr] 556 | fn mouse_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:556:76 [INFO] [stderr] | [INFO] [stderr] 556 | fn mouse_hook(&mut self, code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:659:38 [INFO] [stderr] | [INFO] [stderr] 659 | fn mouse_hook(&mut self, wparam: WPARAM, mouse_data: winuser::MSLLHOOKSTRUCT) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:659:86 [INFO] [stderr] | [INFO] [stderr] 659 | fn mouse_hook(&mut self, wparam: WPARAM, mouse_data: winuser::MSLLHOOKSTRUCT) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:739:62 [INFO] [stderr] | [INFO] [stderr] 739 | unsafe extern "system" fn global_key_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:739:78 [INFO] [stderr] | [INFO] [stderr] 739 | unsafe extern "system" fn global_key_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:739:89 [INFO] [stderr] | [INFO] [stderr] 739 | unsafe extern "system" fn global_key_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:747:64 [INFO] [stderr] | [INFO] [stderr] 747 | unsafe extern "system" fn global_mouse_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:747:80 [INFO] [stderr] | [INFO] [stderr] 747 | unsafe extern "system" fn global_mouse_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:747:91 [INFO] [stderr] | [INFO] [stderr] 747 | unsafe extern "system" fn global_mouse_hook(code: i32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:756:12 [INFO] [stderr] | [INFO] [stderr] 756 | h_wnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:757:10 [INFO] [stderr] | [INFO] [stderr] 757 | msg: UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:758:14 [INFO] [stderr] | [INFO] [stderr] 758 | w_param: WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:759:14 [INFO] [stderr] | [INFO] [stderr] 759 | l_param: LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:760:6 [INFO] [stderr] | [INFO] [stderr] 760 | ) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ComPtr` in crate `winrt` [INFO] [stderr] --> src/main.rs:774:44 [INFO] [stderr] | [INFO] [stderr] 774 | static TOAST_NOTIFIER : RefCell> = [INFO] [stderr] | ^^^^^^ not found in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ToastNotifier` in this scope [INFO] [stderr] --> src/main.rs:774:51 [INFO] [stderr] | [INFO] [stderr] 774 | static TOAST_NOTIFIER : RefCell> = [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ComPtr` in this scope [INFO] [stderr] --> src/main.rs:780:43 [INFO] [stderr] | [INFO] [stderr] 780 | static PREVIOUS_TOAST: RefCell>> = RefCell::new(None); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ToastNotification` in this scope [INFO] [stderr] --> src/main.rs:780:50 [INFO] [stderr] | [INFO] [stderr] 780 | static PREVIOUS_TOAST: RefCell>> = RefCell::new(None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IXmlNode` in this scope [INFO] [stderr] --> src/main.rs:822:48 [INFO] [stderr] | [INFO] [stderr] 783 | fn toast_notification(content: &str) { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 822 | .query_interface::() [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IXmlNode` in this scope [INFO] [stderr] --> src/main.rs:833:48 [INFO] [stderr] | [INFO] [stderr] 783 | fn toast_notification(content: &str) { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 833 | .query_interface::() [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadPriority` in crate `kernel32` [INFO] [stderr] --> src/main.rs:854:19 [INFO] [stderr] | [INFO] [stderr] 854 | kernel32::SetThreadPriority( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThread` in crate `kernel32` [INFO] [stderr] --> src/main.rs:855:23 [INFO] [stderr] | [INFO] [stderr] 855 | kernel32::GetCurrentThread(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:874:46 [INFO] [stderr] | [INFO] [stderr] 874 | GetModuleHandleA(ptr::null()) 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/main.rs:881:46 [INFO] [stderr] | [INFO] [stderr] 881 | GetModuleHandleA(ptr::null()) 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/main.rs:892:25 [INFO] [stderr] | [INFO] [stderr] 892 | hInstance: 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/main.rs:893:21 [INFO] [stderr] | [INFO] [stderr] 893 | hIcon: 0 as HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stderr] --> src/main.rs:894:23 [INFO] [stderr] | [INFO] [stderr] 894 | hCursor: 0 as HCURSOR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/main.rs:895:30 [INFO] [stderr] | [INFO] [stderr] 895 | hbrBackground: 16 as HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stderr] --> src/main.rs:896:28 [INFO] [stderr] | [INFO] [stderr] 896 | lpszMenuName: 0 as LPCSTR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/main.rs:915:18 [INFO] [stderr] | [INFO] [stderr] 915 | 0 as HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:916:18 [INFO] [stderr] | [INFO] [stderr] 916 | 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/main.rs:922:20 [INFO] [stderr] | [INFO] [stderr] 922 | hwnd: 0 as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:923:23 [INFO] [stderr] | [INFO] [stderr] 923 | message: 0 as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:924:22 [INFO] [stderr] | [INFO] [stderr] 924 | wParam: 0 as WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:925:22 [INFO] [stderr] | [INFO] [stderr] 925 | lParam: 0 as LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:926:20 [INFO] [stderr] | [INFO] [stderr] 926 | time: 0 as DWORD, [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/main.rs:927:13 [INFO] [stderr] | [INFO] [stderr] 927 | pt: POINT { x: 0, y: 0 }, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::*` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use winrt::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:695:41 [INFO] [stderr] | [INFO] [stderr] 695 | fn emulate_scroll(&mut self) -> Box { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:242:20 [INFO] [stderr] | [INFO] [stderr] 242 | u: mem::uninitialized(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:710:16 [INFO] [stderr] | [INFO] [stderr] 710 | if scroll_acc.0 as i32 != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:716:25 [INFO] [stderr] | [INFO] [stderr] 716 | scroll_acc.0 as i32 as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:722:16 [INFO] [stderr] | [INFO] [stderr] 722 | if scroll_acc.1 as i32 != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:728:25 [INFO] [stderr] | [INFO] [stderr] 728 | scroll_acc.1 as i32 as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 73 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `h3keys3`. [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[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:710:16 [INFO] [stderr] | [INFO] [stderr] 710 | if scroll_acc.0 as i32 != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:716:25 [INFO] [stderr] | [INFO] [stderr] 716 | scroll_acc.0 as i32 as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:722:16 [INFO] [stderr] | [INFO] [stderr] 722 | if scroll_acc.1 as i32 != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:728:25 [INFO] [stderr] | [INFO] [stderr] 728 | scroll_acc.1 as i32 as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 73 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `h3keys3`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a73c15e8ad6291af90f71882239855811b2bc8bbfdd89c06afa67975cb9d2cbb"` [INFO] running `"docker" "rm" "-f" "a73c15e8ad6291af90f71882239855811b2bc8bbfdd89c06afa67975cb9d2cbb"` [INFO] [stdout] a73c15e8ad6291af90f71882239855811b2bc8bbfdd89c06afa67975cb9d2cbb