[INFO] cloning repository https://github.com/ernisn/ClickPlay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ernisn/ClickPlay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fernisn%2FClickPlay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fernisn%2FClickPlay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae87e973057b2e874a8630517bd93660dee23700 [INFO] checking ernisn/ClickPlay against try#54cf65b8d066c082e536455049b95943cf30378f for pr-151920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fernisn%2FClickPlay" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ernisn/ClickPlay [INFO] finished tweaking git repo https://github.com/ernisn/ClickPlay [INFO] tweaked toml for git repo https://github.com/ernisn/ClickPlay written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ernisn/ClickPlay on toolchain 54cf65b8d066c082e536455049b95943cf30378f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ernisn/ClickPlay already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea18bac36aecbb0f0e9f7ee27e3f524cb817a9e7b1150ee3a5c6ce3b16e3aa7b [INFO] running `Command { std: "docker" "start" "-a" "ea18bac36aecbb0f0e9f7ee27e3f524cb817a9e7b1150ee3a5c6ce3b16e3aa7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea18bac36aecbb0f0e9f7ee27e3f524cb817a9e7b1150ee3a5c6ce3b16e3aa7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea18bac36aecbb0f0e9f7ee27e3f524cb817a9e7b1150ee3a5c6ce3b16e3aa7b", kill_on_drop: false }` [INFO] [stdout] ea18bac36aecbb0f0e9f7ee27e3f524cb817a9e7b1150ee3a5c6ce3b16e3aa7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 581a2042599a88bbe79503c33a21bc2e7d787704b65b32b8d41f663623419d83 [INFO] running `Command { std: "docker" "start" "-a" "581a2042599a88bbe79503c33a21bc2e7d787704b65b32b8d41f663623419d83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking clickplay v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::Foundation::{HWND, LPARAM, LRESULT, WPARAM, HMODULE, POINT}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::System::LibraryLoader::GetModuleHandleW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::System::Registry::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::UI::Input::KeyboardAndMouse::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use windows::Win32::UI::Shell::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use windows::Win32::Graphics::Gdi::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Media` in `windows` [INFO] [stdout] --> src/main.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | use windows::Media::Control::{ [INFO] [stdout] | ^^^^^ could not find `Media` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::core::w; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::Foundation::{HWND, LPARAM, LRESULT, WPARAM, HMODULE, POINT}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::System::LibraryLoader::GetModuleHandleW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::System::Registry::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::UI::Input::KeyboardAndMouse::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use windows::Win32::UI::Shell::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use windows::Win32::Graphics::Gdi::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Media` in `windows` [INFO] [stdout] --> src/main.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | use windows::Media::Control::{ [INFO] [stdout] | ^^^^^ could not find `Media` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::core::w; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:675:34 [INFO] [stdout] | [INFO] [stdout] 675 | let _ = windows::Win32::System::Registry::RegCloseKey(hkey); [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:679:30 [INFO] [stdout] | [INFO] [stdout] 679 | let _ = windows::Win32::System::Registry::RegCloseKey(hkey); [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/main.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | const WM_TRAYICON: u32 = WM_USER + 1; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/main.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let wc = WNDCLASSEXW { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/main.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | cbSize: size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | WS_OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let mut msg: MSG = zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/main.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | let mut flags_prev = MF_STRING; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/main.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | let mut flags_play = MF_STRING; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/main.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | let mut flags_next = MF_STRING; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_CHECKED` in this scope [INFO] [stdout] --> src/main.rs:223:47 [INFO] [stdout] | [INFO] [stdout] 223 | if APP_SETTINGS.show_prev { flags_prev |= MF_CHECKED; } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_CHECKED` in this scope [INFO] [stdout] --> src/main.rs:224:47 [INFO] [stdout] | [INFO] [stdout] 224 | if APP_SETTINGS.show_play { flags_play |= MF_CHECKED; } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_CHECKED` in this scope [INFO] [stdout] --> src/main.rs:225:47 [INFO] [stdout] | [INFO] [stdout] 225 | if APP_SETTINGS.show_next { flags_next |= MF_CHECKED; } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_SEPARATOR` in this scope [INFO] [stdout] --> src/main.rs:230:32 [INFO] [stdout] | [INFO] [stdout] 230 | let _ = AppendMenuW(hmenu, MF_SEPARATOR, 0, None); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/main.rs:231:32 [INFO] [stdout] | [INFO] [stdout] 231 | let _ = AppendMenuW(hmenu, MF_STRING, MENU_EXIT as usize, w!("Exit")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RIGHTALIGN` in this scope [INFO] [stdout] --> src/main.rs:237:35 [INFO] [stdout] | [INFO] [stdout] 237 | let _ = TrackPopupMenu(hmenu, TPM_RIGHTALIGN | TPM_BOTTOMALIGN, pt.x, pt.y, 0, hwnd, None); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_BOTTOMALIGN` in this scope [INFO] [stdout] --> src/main.rs:237:52 [INFO] [stdout] | [INFO] [stdout] 237 | let _ = TrackPopupMenu(hmenu, TPM_RIGHTALIGN | TPM_BOTTOMALIGN, pt.x, pt.y, 0, hwnd, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_NULL` in this scope [INFO] [stdout] --> src/main.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_DESTROY` in this scope [INFO] [stdout] --> src/main.rs:261:45 [INFO] [stdout] | [INFO] [stdout] 261 | let _ = PostMessageW(MAIN_HWND, WM_DESTROY, WPARAM(0), LPARAM(0)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:317:40 [INFO] [stdout] | [INFO] [stdout] 317 | unsafe fn add_tray_icon(id: u32, icon: HICON, tip: &str) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:371:54 [INFO] [stdout] | [INFO] [stdout] 371 | unsafe fn create_icon_from_pixels(pixels: &[u32]) -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ICONINFO` in this scope [INFO] [stdout] --> src/main.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | let icon_info = ICONINFO { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:567:36 [INFO] [stdout] | [INFO] [stdout] 567 | unsafe fn create_default_icon() -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:585:33 [INFO] [stdout] | [INFO] [stdout] 585 | unsafe fn create_prev_icon() -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:598:33 [INFO] [stdout] | [INFO] [stdout] 598 | unsafe fn create_play_icon() -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:608:34 [INFO] [stdout] | [INFO] [stdout] 608 | unsafe fn create_pause_icon() -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:619:33 [INFO] [stdout] | [INFO] [stdout] 619 | unsafe fn create_next_icon() -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | RegisterClassExW(&wc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WINDOW_EX_STYLE` [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | WINDOW_EX_STYLE::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WINDOW_EX_STYLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/main.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | MAIN_HWND = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | SetTimer(MAIN_HWND, TIMER_ID_PLAYBACK, 500, None); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/main.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | while GetMessageW(&mut msg, None, 0, 0).as_bool() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/main.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let _ = TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KillTimer` in this scope [INFO] [stdout] --> src/main.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let _ = KillTimer(MAIN_HWND, TIMER_ID_PLAYBACK); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:675:34 [INFO] [stdout] | [INFO] [stdout] 675 | let _ = windows::Win32::System::Registry::RegCloseKey(hkey); [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:679:30 [INFO] [stdout] | [INFO] [stdout] 679 | let _ = windows::Win32::System::Registry::RegCloseKey(hkey); [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/main.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | const WM_TRAYICON: u32 = WM_USER + 1; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/main.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let wc = WNDCLASSEXW { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/main.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | cbSize: size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | WS_OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let mut msg: MSG = zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/main.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | let mut flags_prev = MF_STRING; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/main.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | let mut flags_play = MF_STRING; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/main.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | let mut flags_next = MF_STRING; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_CHECKED` in this scope [INFO] [stdout] --> src/main.rs:223:47 [INFO] [stdout] | [INFO] [stdout] 223 | if APP_SETTINGS.show_prev { flags_prev |= MF_CHECKED; } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_CHECKED` in this scope [INFO] [stdout] --> src/main.rs:224:47 [INFO] [stdout] | [INFO] [stdout] 224 | if APP_SETTINGS.show_play { flags_play |= MF_CHECKED; } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_CHECKED` in this scope [INFO] [stdout] --> src/main.rs:225:47 [INFO] [stdout] | [INFO] [stdout] 225 | if APP_SETTINGS.show_next { flags_next |= MF_CHECKED; } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_SEPARATOR` in this scope [INFO] [stdout] --> src/main.rs:230:32 [INFO] [stdout] | [INFO] [stdout] 230 | let _ = AppendMenuW(hmenu, MF_SEPARATOR, 0, None); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/main.rs:231:32 [INFO] [stdout] | [INFO] [stdout] 231 | let _ = AppendMenuW(hmenu, MF_STRING, MENU_EXIT as usize, w!("Exit")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RIGHTALIGN` in this scope [INFO] [stdout] --> src/main.rs:237:35 [INFO] [stdout] | [INFO] [stdout] 237 | let _ = TrackPopupMenu(hmenu, TPM_RIGHTALIGN | TPM_BOTTOMALIGN, pt.x, pt.y, 0, hwnd, None); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_BOTTOMALIGN` in this scope [INFO] [stdout] --> src/main.rs:237:52 [INFO] [stdout] | [INFO] [stdout] 237 | let _ = TrackPopupMenu(hmenu, TPM_RIGHTALIGN | TPM_BOTTOMALIGN, pt.x, pt.y, 0, hwnd, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_NULL` in this scope [INFO] [stdout] --> src/main.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_DESTROY` in this scope [INFO] [stdout] --> src/main.rs:261:45 [INFO] [stdout] | [INFO] [stdout] 261 | let _ = PostMessageW(MAIN_HWND, WM_DESTROY, WPARAM(0), LPARAM(0)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:317:40 [INFO] [stdout] | [INFO] [stdout] 317 | unsafe fn add_tray_icon(id: u32, icon: HICON, tip: &str) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:371:54 [INFO] [stdout] | [INFO] [stdout] 371 | unsafe fn create_icon_from_pixels(pixels: &[u32]) -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ICONINFO` in this scope [INFO] [stdout] --> src/main.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | let icon_info = ICONINFO { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:567:36 [INFO] [stdout] | [INFO] [stdout] 567 | unsafe fn create_default_icon() -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:585:33 [INFO] [stdout] | [INFO] [stdout] 585 | unsafe fn create_prev_icon() -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:598:33 [INFO] [stdout] | [INFO] [stdout] 598 | unsafe fn create_play_icon() -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:608:34 [INFO] [stdout] | [INFO] [stdout] 608 | unsafe fn create_pause_icon() -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:619:33 [INFO] [stdout] | [INFO] [stdout] 619 | unsafe fn create_next_icon() -> HICON { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/main.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/main.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | _ => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope [INFO] [stdout] --> src/main.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let hmenu = CreatePopupMenu().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/main.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let _ = AppendMenuW(hmenu, flags_prev, MENU_SHOW_PREV as usize, w!("Show Previous")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/main.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let _ = AppendMenuW(hmenu, flags_play, MENU_SHOW_PLAY as usize, w!("Show Play/Pause")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/main.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let _ = AppendMenuW(hmenu, flags_next, MENU_SHOW_NEXT as usize, w!("Show Next")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/main.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let _ = AppendMenuW(hmenu, MF_SEPARATOR, 0, None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/main.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let _ = AppendMenuW(hmenu, MF_STRING, MENU_EXIT as usize, w!("Exit")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/main.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let _ = GetCursorPos(&mut pt); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let _ = SetForegroundWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope [INFO] [stdout] --> src/main.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let _ = TrackPopupMenu(hmenu, TPM_RIGHTALIGN | TPM_BOTTOMALIGN, pt.x, pt.y, 0, hwnd, None); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/main.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope [INFO] [stdout] --> src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let _ = DestroyMenu(hmenu); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/main.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | let _ = PostMessageW(MAIN_HWND, WM_DESTROY, WPARAM(0), LPARAM(0)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:310:30 [INFO] [stdout] | [INFO] [stdout] 310 | let tip_wide: Vec = tip.encode_utf16().chain(std::iter::once(0)).collect(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIconIndirect` in this scope [INFO] [stdout] --> src/main.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | let icon = CreateIconIndirect(&icon_info).unwrap_or(HICON(null_mut())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HICON` in this scope [INFO] [stdout] --> src/main.rs:406:57 [INFO] [stdout] | [INFO] [stdout] 406 | let icon = CreateIconIndirect(&icon_info).unwrap_or(HICON(null_mut())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:637:20 [INFO] [stdout] | [INFO] [stdout] 637 | .and_then(|op| op.get().ok()) [INFO] [stdout] | ^^ -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 637 | .and_then(|op: /* Type */| op.get().ok()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:644:35 [INFO] [stdout] | [INFO] [stdout] 644 | if let Ok(info) = session.GetPlaybackInfo() { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:645:41 [INFO] [stdout] | [INFO] [stdout] 645 | if let Ok(status) = info.PlaybackStatus() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | RegisterClassExW(&wc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WINDOW_EX_STYLE` [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | WINDOW_EX_STYLE::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WINDOW_EX_STYLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/main.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | MAIN_HWND = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | SetTimer(MAIN_HWND, TIMER_ID_PLAYBACK, 500, None); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/main.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | while GetMessageW(&mut msg, None, 0, 0).as_bool() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/main.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let _ = TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KillTimer` in this scope [INFO] [stdout] --> src/main.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let _ = KillTimer(MAIN_HWND, TIMER_ID_PLAYBACK); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/main.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/main.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | _ => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope [INFO] [stdout] --> src/main.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let hmenu = CreatePopupMenu().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/main.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let _ = AppendMenuW(hmenu, flags_prev, MENU_SHOW_PREV as usize, w!("Show Previous")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/main.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let _ = AppendMenuW(hmenu, flags_play, MENU_SHOW_PLAY as usize, w!("Show Play/Pause")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/main.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let _ = AppendMenuW(hmenu, flags_next, MENU_SHOW_NEXT as usize, w!("Show Next")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/main.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let _ = AppendMenuW(hmenu, MF_SEPARATOR, 0, None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/main.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let _ = AppendMenuW(hmenu, MF_STRING, MENU_EXIT as usize, w!("Exit")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/main.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let _ = GetCursorPos(&mut pt); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let _ = SetForegroundWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope [INFO] [stdout] --> src/main.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let _ = TrackPopupMenu(hmenu, TPM_RIGHTALIGN | TPM_BOTTOMALIGN, pt.x, pt.y, 0, hwnd, None); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/main.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope [INFO] [stdout] --> src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let _ = DestroyMenu(hmenu); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/main.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | let _ = PostMessageW(MAIN_HWND, WM_DESTROY, WPARAM(0), LPARAM(0)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:310:30 [INFO] [stdout] | [INFO] [stdout] 310 | let tip_wide: Vec = tip.encode_utf16().chain(std::iter::once(0)).collect(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clickplay` (bin "clickplay" test) due to 64 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIconIndirect` in this scope [INFO] [stdout] --> src/main.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | let icon = CreateIconIndirect(&icon_info).unwrap_or(HICON(null_mut())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HICON` in this scope [INFO] [stdout] --> src/main.rs:406:57 [INFO] [stdout] | [INFO] [stdout] 406 | let icon = CreateIconIndirect(&icon_info).unwrap_or(HICON(null_mut())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:637:20 [INFO] [stdout] | [INFO] [stdout] 637 | .and_then(|op| op.get().ok()) [INFO] [stdout] | ^^ -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 637 | .and_then(|op: /* Type */| op.get().ok()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:644:35 [INFO] [stdout] | [INFO] [stdout] 644 | if let Ok(info) = session.GetPlaybackInfo() { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:645:41 [INFO] [stdout] | [INFO] [stdout] 645 | if let Ok(status) = info.PlaybackStatus() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clickplay` (bin "clickplay") due to 64 previous errors [INFO] running `Command { std: "docker" "inspect" "581a2042599a88bbe79503c33a21bc2e7d787704b65b32b8d41f663623419d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "581a2042599a88bbe79503c33a21bc2e7d787704b65b32b8d41f663623419d83", kill_on_drop: false }` [INFO] [stdout] 581a2042599a88bbe79503c33a21bc2e7d787704b65b32b8d41f663623419d83