[INFO] fetching crate win-context-menu 0.1.4... [INFO] testing win-context-menu-0.1.4 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate win-context-menu 0.1.4 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate win-context-menu 0.1.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate win-context-menu 0.1.4 [INFO] tweaked toml for crates.io crate win-context-menu 0.1.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate win-context-menu 0.1.4 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate win-context-menu 0.1.4 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-implement v0.58.0 [INFO] [stderr] Downloaded windows-strings v0.1.0 [INFO] [stderr] Downloaded windows-result v0.2.0 [INFO] [stderr] Downloaded windows-interface v0.58.0 [INFO] [stderr] Downloaded windows-core v0.58.0 [INFO] [stderr] Downloaded windows v0.58.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb4b827dc18d83bd9ae36d3e210b0a81b7e281faa2834434651634ebeb72c788 [INFO] running `Command { std: "docker" "start" "-a" "eb4b827dc18d83bd9ae36d3e210b0a81b7e281faa2834434651634ebeb72c788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb4b827dc18d83bd9ae36d3e210b0a81b7e281faa2834434651634ebeb72c788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb4b827dc18d83bd9ae36d3e210b0a81b7e281faa2834434651634ebeb72c788", kill_on_drop: false }` [INFO] [stdout] eb4b827dc18d83bd9ae36d3e210b0a81b7e281faa2834434651634ebeb72c788 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e53e95848e3f4e7b60e3df8b8328613ea51df4021fc53d1038e3b73f6f7f7f7 [INFO] running `Command { std: "docker" "start" "-a" "0e53e95848e3f4e7b60e3df8b8328613ea51df4021fc53d1038e3b73f6f7f7f7", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling win-context-menu v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/com.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::System::Com::CoTaskMemFree; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/com.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::System::Ole::{OleFlushClipboard, OleInitialize, OleUninitialize}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/com.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::UI::Shell::Common::ITEMIDLIST; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/context_menu.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Foundation::HWND; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/context_menu.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::System::Com::FORMATETC; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/context_menu.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::System::Ole::OleGetClipboard; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/context_menu.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::UI::Shell::Common::ITEMIDLIST; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/context_menu.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::UI::Shell::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/context_menu.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/hidden_window.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Foundation::{HWND, LPARAM, LRESULT, WPARAM}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/hidden_window.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::UI::Shell::{IContextMenu2, IContextMenu3}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/hidden_window.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/invoke.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Foundation::HWND; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/invoke.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::UI::Shell::CMINVOKECOMMANDINFOEX; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/invoke.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::UI::WindowsAndMessaging::SW_SHOWNORMAL; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/context_menu.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use windows::core::{Interface, PSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/shell_item.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::System::Com::CoTaskMemAlloc; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/shell_item.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::UI::Shell::Common::ITEMIDLIST; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/shell_item.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::UI::Shell::{IShellFolder, SHBindToObject, SHBindToParent, SHParseDisplayName}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/invoke.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::core::PCSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/util.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/util.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/context_menu.rs:205:34 [INFO] [stdout] | [INFO] [stdout] 205 | let mut point = windows::Win32::Foundation::POINT::default(); [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/context_menu.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | mii.dwTypeData = windows::core::PWSTR(label_buf.as_mut_ptr()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/context_menu.rs:455:31 [INFO] [stdout] | [INFO] [stdout] 455 | mii.dwTypeData = windows::core::PWSTR(label_buf.as_mut_ptr()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/context_menu.rs:495:34 [INFO] [stdout] | [INFO] [stdout] 495 | dwTypeData: windows::core::PWSTR(paste_label.as_ptr() as *mut _), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | ComInit(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | source: windows::core::Error, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | BindToParent(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | GetContextMenu(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | QueryContextMenu(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | TrackPopupMenu(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | InvokeCommand(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | GetCommandString(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | GetMenuItemInfo(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | CreateWindow(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | RegisterClass(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/error.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | Windows(#[from] windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/hidden_window.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | fn class_name() -> windows::core::PCWSTR { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/hidden_window.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | windows::core::PCWSTR(CLASS_NAME_WIDE.as_ptr()) [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/hidden_window.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | windows::core::PCWSTR::null(), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_DRAWITEM` is not bound in all patterns [INFO] [stdout] --> src/hidden_window.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | if matches!(msg, WM_INITMENUPOPUP | WM_DRAWITEM | WM_MEASUREITEM) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------- ^^^^^^^^^^^^^^ pattern doesn't bind `WM_DRAWITEM` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_DRAWITEM` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a unit struct, unit variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_DRAWITEM` [INFO] [stdout] --> src/hidden_window.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | if matches!(msg, WM_INITMENUPOPUP | WM_DRAWITEM | WM_MEASUREITEM) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MEASUREITEM` is not bound in all patterns [INFO] [stdout] --> src/hidden_window.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | if matches!(msg, WM_INITMENUPOPUP | WM_DRAWITEM | WM_MEASUREITEM) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ -------------- variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MEASUREITEM` [INFO] [stdout] | pattern doesn't bind `WM_MEASUREITEM` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a unit struct, unit variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_MEASUREITEM` [INFO] [stdout] --> src/hidden_window.rs:149:55 [INFO] [stdout] | [INFO] [stdout] 149 | if matches!(msg, WM_INITMENUPOPUP | WM_DRAWITEM | WM_MEASUREITEM) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_INITMENUPOPUP` is not bound in all patterns [INFO] [stdout] --> src/hidden_window.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | if matches!(msg, WM_INITMENUPOPUP | WM_DRAWITEM | WM_MEASUREITEM) { [INFO] [stdout] | ---------------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^ pattern doesn't bind `WM_INITMENUPOPUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_INITMENUPOPUP` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a unit struct, unit variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_INITMENUPOPUP` [INFO] [stdout] --> src/hidden_window.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | if matches!(msg, WM_INITMENUPOPUP | WM_DRAWITEM | WM_MEASUREITEM) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/invoke.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | ctx_menu: &windows::Win32::UI::Shell::IContextMenu, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/invoke.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | lpVerbW: windows::core::PCWSTR(verb_w as *const u16), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/invoke.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | info.lpDirectoryW = windows::core::PCWSTR(dir.as_ptr()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/invoke.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | ctx_menu: &windows::Win32::UI::Shell::IContextMenu, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `core` in `windows` [INFO] [stdout] --> src/invoke.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | lpVerbW: windows::core::PCWSTR(verb_wide.as_ptr()), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope [INFO] [stdout] --> src/context_menu.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | TrackPopupMenu( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 + use crate::Error::TrackPopupMenu; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RETURNCMD` in this scope [INFO] [stdout] --> src/context_menu.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | TPM_RETURNCMD | TPM_RIGHTBUTTON, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RIGHTBUTTON` in this scope [INFO] [stdout] --> src/context_menu.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | TPM_RETURNCMD | TPM_RIGHTBUTTON, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/context_menu.rs:339:51 [INFO] [stdout] | [INFO] [stdout] 339 | fn enumerate_menu(ctx_menu: &IContextMenu, hmenu: HMENU) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/context_menu.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 349 | let mut mii = MENUITEMINFOW { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/context_menu.rs:350:41 [INFO] [stdout] | [INFO] [stdout] 350 | cbSize: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 339 | fn enumerate_menu(ctx_menu: &IContextMenu, hmenu: HMENU) -> Result> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_ID` in this scope [INFO] [stdout] --> src/context_menu.rs:351:20 [INFO] [stdout] | [INFO] [stdout] 351 | fMask: MIIM_ID | MIIM_FTYPE | MIIM_STATE | MIIM_SUBMENU | MIIM_STRING, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_FTYPE` in this scope [INFO] [stdout] --> src/context_menu.rs:351:30 [INFO] [stdout] | [INFO] [stdout] 351 | fMask: MIIM_ID | MIIM_FTYPE | MIIM_STATE | MIIM_SUBMENU | MIIM_STRING, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_STATE` in this scope [INFO] [stdout] --> src/context_menu.rs:351:43 [INFO] [stdout] | [INFO] [stdout] 351 | fMask: MIIM_ID | MIIM_FTYPE | MIIM_STATE | MIIM_SUBMENU | MIIM_STRING, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_SUBMENU` in this scope [INFO] [stdout] --> src/context_menu.rs:351:56 [INFO] [stdout] | [INFO] [stdout] 351 | fMask: MIIM_ID | MIIM_FTYPE | MIIM_STATE | MIIM_SUBMENU | MIIM_STRING, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_STRING` in this scope [INFO] [stdout] --> src/context_menu.rs:351:71 [INFO] [stdout] | [INFO] [stdout] 351 | fMask: MIIM_ID | MIIM_FTYPE | MIIM_STATE | MIIM_SUBMENU | MIIM_STRING, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFT_SEPARATOR` in this scope [INFO] [stdout] --> src/context_menu.rs:363:31 [INFO] [stdout] | [INFO] [stdout] 363 | if mii.fType.contains(MFT_SEPARATOR) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFS_DISABLED` in this scope [INFO] [stdout] --> src/context_menu.rs:399:46 [INFO] [stdout] | [INFO] [stdout] 399 | is_disabled: mii.fState.contains(MFS_DISABLED), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFS_CHECKED` in this scope [INFO] [stdout] --> src/context_menu.rs:400:45 [INFO] [stdout] | [INFO] [stdout] 400 | is_checked: mii.fState.contains(MFS_CHECKED), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFS_DEFAULT` in this scope [INFO] [stdout] --> src/context_menu.rs:401:45 [INFO] [stdout] | [INFO] [stdout] 401 | is_default: mii.fState.contains(MFS_DEFAULT), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/context_menu.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | hmenu: HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/context_menu.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | let mut mii = MENUITEMINFOW { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/context_menu.rs:441:37 [INFO] [stdout] | [INFO] [stdout] 441 | cbSize: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 435 | fn get_menu_item_info_for_id( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_ID` in this scope [INFO] [stdout] --> src/context_menu.rs:442:16 [INFO] [stdout] | [INFO] [stdout] 442 | fMask: MIIM_ID | MIIM_FTYPE | MIIM_STATE | MIIM_STRING, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_FTYPE` in this scope [INFO] [stdout] --> src/context_menu.rs:442:26 [INFO] [stdout] | [INFO] [stdout] 442 | fMask: MIIM_ID | MIIM_FTYPE | MIIM_STATE | MIIM_STRING, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_STATE` in this scope [INFO] [stdout] --> src/context_menu.rs:442:39 [INFO] [stdout] | [INFO] [stdout] 442 | fMask: MIIM_ID | MIIM_FTYPE | MIIM_STATE | MIIM_STRING, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_STRING` in this scope [INFO] [stdout] --> src/context_menu.rs:442:52 [INFO] [stdout] | [INFO] [stdout] 442 | fMask: MIIM_ID | MIIM_FTYPE | MIIM_STATE | MIIM_STRING, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFS_DISABLED` in this scope [INFO] [stdout] --> src/context_menu.rs:476:42 [INFO] [stdout] | [INFO] [stdout] 476 | is_disabled: mii.fState.contains(MFS_DISABLED), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFS_CHECKED` in this scope [INFO] [stdout] --> src/context_menu.rs:477:41 [INFO] [stdout] | [INFO] [stdout] 477 | is_checked: mii.fState.contains(MFS_CHECKED), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFS_DEFAULT` in this scope [INFO] [stdout] --> src/context_menu.rs:478:41 [INFO] [stdout] | [INFO] [stdout] 478 | is_default: mii.fState.contains(MFS_DEFAULT), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/context_menu.rs:484:34 [INFO] [stdout] | [INFO] [stdout] 484 | fn inject_clipboard_items(hmenu: HMENU) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/context_menu.rs:490:19 [INFO] [stdout] | [INFO] [stdout] 490 | let mii = MENUITEMINFOW { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/context_menu.rs:491:41 [INFO] [stdout] | [INFO] [stdout] 491 | cbSize: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 484 | fn inject_clipboard_items(hmenu: HMENU) { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_ID` in this scope [INFO] [stdout] --> src/context_menu.rs:492:20 [INFO] [stdout] | [INFO] [stdout] 492 | fMask: MIIM_ID | MIIM_STRING | MIIM_FTYPE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_STRING` in this scope [INFO] [stdout] --> src/context_menu.rs:492:30 [INFO] [stdout] | [INFO] [stdout] 492 | fMask: MIIM_ID | MIIM_STRING | MIIM_FTYPE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_FTYPE` in this scope [INFO] [stdout] --> src/context_menu.rs:492:44 [INFO] [stdout] | [INFO] [stdout] 492 | fMask: MIIM_ID | MIIM_STRING | MIIM_FTYPE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFT_STRING` in this scope [INFO] [stdout] --> src/context_menu.rs:493:20 [INFO] [stdout] | [INFO] [stdout] 493 | fType: MFT_STRING, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/context_menu.rs:505:19 [INFO] [stdout] | [INFO] [stdout] 505 | let sep = MENUITEMINFOW { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/context_menu.rs:506:41 [INFO] [stdout] | [INFO] [stdout] 506 | cbSize: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 484 | fn inject_clipboard_items(hmenu: HMENU) { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_FTYPE` in this scope [INFO] [stdout] --> src/context_menu.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | fMask: MIIM_FTYPE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFT_SEPARATOR` in this scope [INFO] [stdout] --> src/context_menu.rs:508:20 [INFO] [stdout] | [INFO] [stdout] 508 | fType: MFT_SEPARATOR, [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/hidden_window.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | 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/hidden_window.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | cbSize: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 43 | impl HiddenWindow { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/hidden_window.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | WS_POPUP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/hidden_window.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | SetWindowLongPtrW(self.hwnd, GWLP_USERDATA, Box::into_raw(data) as isize); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/hidden_window.rs:109:57 [INFO] [stdout] | [INFO] [stdout] 109 | let ptr = unsafe { GetWindowLongPtrW(self.hwnd, GWLP_USERDATA) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/hidden_window.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | SetWindowLongPtrW(self.hwnd, GWLP_USERDATA, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/hidden_window.rs:153:52 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = unsafe { GetWindowLongPtrW(hwnd, GWLP_USERDATA) }; [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/context_menu.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | let hmenu = unsafe { CreatePopupMenu().map_err(Error::Windows)? }; [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/context_menu.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | 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 `DestroyMenu` in this scope [INFO] [stdout] --> src/context_menu.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | 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 `GetCursorPos` in this scope [INFO] [stdout] --> src/context_menu.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let _ = GetCursorPos(&mut point); [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/context_menu.rs:223:30 [INFO] [stdout] | [INFO] [stdout] 223 | let hmenu = unsafe { CreatePopupMenu().map_err(Error::Windows)? }; [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/context_menu.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | 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 `CreatePopupMenu` in this scope [INFO] [stdout] --> src/context_menu.rs:276:30 [INFO] [stdout] | [INFO] [stdout] 276 | let hmenu = unsafe { CreatePopupMenu().map_err(Error::Windows)? }; [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/context_menu.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | 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 `GetMenuItemCount` in this scope [INFO] [stdout] --> src/context_menu.rs:341:26 [INFO] [stdout] | [INFO] [stdout] 341 | let count = unsafe { GetMenuItemCount(hmenu) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMenuItemInfoW` in this scope [INFO] [stdout] --> src/context_menu.rs:360:21 [INFO] [stdout] | [INFO] [stdout] 360 | let _ = GetMenuItemInfoW(hmenu, i as u32, true, &mut mii); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMenuItemInfoW` in this scope [INFO] [stdout] --> src/context_menu.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | let _ = GetMenuItemInfoW(hmenu, i as u32, true, &mut mii); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMenuItemInfoW` in this scope [INFO] [stdout] --> src/context_menu.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | GetMenuItemInfoW(hmenu, command_id, false, &mut mii).map_err(Error::GetMenuItemInfo)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMenuItemInfoW` in this scope [INFO] [stdout] --> src/context_menu.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | let _ = GetMenuItemInfoW(hmenu, command_id, false, &mut mii); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuItemW` in this scope [INFO] [stdout] --> src/context_menu.rs:501:21 [INFO] [stdout] | [INFO] [stdout] 501 | let _ = InsertMenuItemW(hmenu, 0, true, &mii); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuItemW` in this scope [INFO] [stdout] --> src/context_menu.rs:513:21 [INFO] [stdout] | [INFO] [stdout] 513 | let _ = InsertMenuItemW(hmenu, 1, true, &sep); [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/hidden_window.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | RegisterClassExW(&wc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `WINDOW_EX_STYLE` in this scope [INFO] [stdout] --> src/hidden_window.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | 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/hidden_window.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/hidden_window.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | SetWindowLongPtrW(self.hwnd, GWLP_USERDATA, Box::into_raw(data) as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/hidden_window.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | let ptr = unsafe { GetWindowLongPtrW(self.hwnd, GWLP_USERDATA) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/hidden_window.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | SetWindowLongPtrW(self.hwnd, GWLP_USERDATA, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/hidden_window.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | let _ = DestroyWindow(self.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/hidden_window.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = unsafe { GetWindowLongPtrW(hwnd, GWLP_USERDATA) }; [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/hidden_window.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe { DefWindowProcW(hwnd, msg, wparam, lparam) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/util.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 21 | / path.as_os_str() [INFO] [stdout] 22 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-context-menu` (lib) due to 117 previous errors [INFO] running `Command { std: "docker" "inspect" "0e53e95848e3f4e7b60e3df8b8328613ea51df4021fc53d1038e3b73f6f7f7f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e53e95848e3f4e7b60e3df8b8328613ea51df4021fc53d1038e3b73f6f7f7f7", kill_on_drop: false }` [INFO] [stdout] 0e53e95848e3f4e7b60e3df8b8328613ea51df4021fc53d1038e3b73f6f7f7f7