[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] ae3caae89cedd451ad4880f5e179f09aa8888f4d [INFO] testing h3r2tic/h3keys3 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh3r2tic%2Fh3keys3" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/h3r2tic/h3keys3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-18/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d310fea6edc3fa22a7afde62c17f229a6fc1ea2579bbda420353fbe30cb8ce80 [INFO] running `Command { std: "docker" "start" "-a" "d310fea6edc3fa22a7afde62c17f229a6fc1ea2579bbda420353fbe30cb8ce80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d310fea6edc3fa22a7afde62c17f229a6fc1ea2579bbda420353fbe30cb8ce80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d310fea6edc3fa22a7afde62c17f229a6fc1ea2579bbda420353fbe30cb8ce80", kill_on_drop: false }` [INFO] [stdout] d310fea6edc3fa22a7afde62c17f229a6fc1ea2579bbda420353fbe30cb8ce80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70cc44e1374d98b9f3c34f866932684dc76d7d7bd60d3285dd2c4946e0d31da1 [INFO] running `Command { std: "docker" "start" "-a" "70cc44e1374d98b9f3c34f866932684dc76d7d7bd60d3285dd2c4946e0d31da1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.3.3 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling user32-sys v0.1.3 [INFO] [stderr] Compiling winrt v0.4.0 [INFO] [stderr] Compiling 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 `um` in `winapi` [INFO] [stdout] --> src/main.rs:354:45 [INFO] [stdout] | [INFO] [stdout] 354 | ... 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:780:14 [INFO] [stdout] | [INFO] [stdout] 780 | 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:787:22 [INFO] [stdout] | [INFO] [stdout] 787 | 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:789:14 [INFO] [stdout] | [INFO] [stdout] 789 | &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:819:21 [INFO] [stdout] | [INFO] [stdout] 819 | 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:819:68 [INFO] [stdout] | [INFO] [stdout] 819 | 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:824:48 [INFO] [stdout] | [INFO] [stdout] 824 | .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:832:48 [INFO] [stdout] | [INFO] [stdout] 832 | ... .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:843:48 [INFO] [stdout] | [INFO] [stdout] 843 | ... .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:851:29 [INFO] [stdout] | [INFO] [stdout] 851 | 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 `DWORD` in this scope [INFO] [stdout] --> src/main.rs:238:39 [INFO] [stdout] | [INFO] [stdout] 238 | fn extended_key_flag(key: i32) -> DWORD { [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:271:47 [INFO] [stdout] | [INFO] [stdout] 271 | 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:271:63 [INFO] [stdout] | [INFO] [stdout] 271 | 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:271:74 [INFO] [stdout] | [INFO] [stdout] 271 | 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:350:46 [INFO] [stdout] | [INFO] [stdout] 350 | ... 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:353:51 [INFO] [stdout] | [INFO] [stdout] 353 | ... 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:359:47 [INFO] [stdout] | [INFO] [stdout] 359 | ... 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:568:49 [INFO] [stdout] | [INFO] [stdout] 568 | 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:568:65 [INFO] [stdout] | [INFO] [stdout] 568 | 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:568:76 [INFO] [stdout] | [INFO] [stdout] 568 | 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:671:38 [INFO] [stdout] | [INFO] [stdout] 671 | 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:671:86 [INFO] [stdout] | [INFO] [stdout] 671 | 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:751:62 [INFO] [stdout] | [INFO] [stdout] 751 | 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:751:78 [INFO] [stdout] | [INFO] [stdout] 751 | 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:751:89 [INFO] [stdout] | [INFO] [stdout] 751 | 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:759:64 [INFO] [stdout] | [INFO] [stdout] 759 | 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:759:80 [INFO] [stdout] | [INFO] [stdout] 759 | 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:759:91 [INFO] [stdout] | [INFO] [stdout] 759 | 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:768:12 [INFO] [stdout] | [INFO] [stdout] 768 | 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:769:10 [INFO] [stdout] | [INFO] [stdout] 769 | 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:770:14 [INFO] [stdout] | [INFO] [stdout] 770 | 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:771:14 [INFO] [stdout] | [INFO] [stdout] 771 | 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:772:6 [INFO] [stdout] | [INFO] [stdout] 772 | ) -> 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:786:44 [INFO] [stdout] | [INFO] [stdout] 786 | 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:786:51 [INFO] [stdout] | [INFO] [stdout] 786 | 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:792:43 [INFO] [stdout] | [INFO] [stdout] 792 | 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:792:50 [INFO] [stdout] | [INFO] [stdout] 792 | 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:834:48 [INFO] [stdout] | [INFO] [stdout] 795 | fn toast_notification(content: &str) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 834 | .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:845:48 [INFO] [stdout] | [INFO] [stdout] 795 | fn toast_notification(content: &str) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 845 | .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:866:19 [INFO] [stdout] | [INFO] [stdout] 866 | 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:867:23 [INFO] [stdout] | [INFO] [stdout] 867 | 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:886:46 [INFO] [stdout] | [INFO] [stdout] 886 | 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:893:46 [INFO] [stdout] | [INFO] [stdout] 893 | 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:904:25 [INFO] [stdout] | [INFO] [stdout] 904 | 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:905:21 [INFO] [stdout] | [INFO] [stdout] 905 | 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:906:23 [INFO] [stdout] | [INFO] [stdout] 906 | 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:907:30 [INFO] [stdout] | [INFO] [stdout] 907 | 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:908:28 [INFO] [stdout] | [INFO] [stdout] 908 | 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:927:18 [INFO] [stdout] | [INFO] [stdout] 927 | 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:928:18 [INFO] [stdout] | [INFO] [stdout] 928 | 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:934:20 [INFO] [stdout] | [INFO] [stdout] 934 | 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:935:23 [INFO] [stdout] | [INFO] [stdout] 935 | 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:936:22 [INFO] [stdout] | [INFO] [stdout] 936 | 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:937:22 [INFO] [stdout] | [INFO] [stdout] 937 | 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:938:20 [INFO] [stdout] | [INFO] [stdout] 938 | 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:939:13 [INFO] [stdout] | [INFO] [stdout] 939 | 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | 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 70 previous errors; 2 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` due to 71 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70cc44e1374d98b9f3c34f866932684dc76d7d7bd60d3285dd2c4946e0d31da1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70cc44e1374d98b9f3c34f866932684dc76d7d7bd60d3285dd2c4946e0d31da1", kill_on_drop: false }` [INFO] [stdout] 70cc44e1374d98b9f3c34f866932684dc76d7d7bd60d3285dd2c4946e0d31da1