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