[INFO] cloning repository https://github.com/dremon/miniraw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dremon/miniraw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdremon%2Fminiraw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdremon%2Fminiraw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 386191c727d4b6d813ee3a91325e4e183a586cd3 [INFO] checking dremon/miniraw against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdremon%2Fminiraw" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dremon/miniraw on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/dremon/miniraw [INFO] finished tweaking git repo https://github.com/dremon/miniraw [INFO] tweaked toml for git repo https://github.com/dremon/miniraw written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dremon/miniraw 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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32cf691133c921c45bdc23bef8e3edcdbf7c7242eebf4d53aa823ac9a8fc8d23 [INFO] running `Command { std: "docker" "start" "-a" "32cf691133c921c45bdc23bef8e3edcdbf7c7242eebf4d53aa823ac9a8fc8d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32cf691133c921c45bdc23bef8e3edcdbf7c7242eebf4d53aa823ac9a8fc8d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32cf691133c921c45bdc23bef8e3edcdbf7c7242eebf4d53aa823ac9a8fc8d23", kill_on_drop: false }` [INFO] [stdout] 32cf691133c921c45bdc23bef8e3edcdbf7c7242eebf4d53aa823ac9a8fc8d23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3beb76bf52544eb482d1687564ec537c61908178de234b0cd42a07c9a496a88c [INFO] running `Command { std: "docker" "start" "-a" "3beb76bf52544eb482d1687564ec537c61908178de234b0cd42a07c9a496a88c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking windows-link v0.1.0 (https://github.com/microsoft/windows-rs.git#c9ae41f5) [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking windows-result v0.3.1 (https://github.com/microsoft/windows-rs.git#c9ae41f5) [INFO] [stderr] Checking windows-strings v0.3.1 (https://github.com/microsoft/windows-rs.git#c9ae41f5) [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling windows-interface v0.59.0 (https://github.com/microsoft/windows-rs.git#c9ae41f5) [INFO] [stderr] Compiling windows-implement v0.59.0 (https://github.com/microsoft/windows-rs.git#c9ae41f5) [INFO] [stderr] Checking windows-core v0.60.1 (https://github.com/microsoft/windows-rs.git#c9ae41f5) [INFO] [stderr] Checking windows-future v0.1.1 (https://github.com/microsoft/windows-rs.git#c9ae41f5) [INFO] [stderr] Checking windows-collections v0.1.1 (https://github.com/microsoft/windows-rs.git#c9ae41f5) [INFO] [stderr] Checking windows-numerics v0.1.1 (https://github.com/microsoft/windows-rs.git#c9ae41f5) [INFO] [stderr] Checking windows v0.60.0 (https://github.com/microsoft/windows-rs.git#c9ae41f5) [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling embed-resource v3.0.1 [INFO] [stderr] Compiling miniraw v1.0.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Win32::{ [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/ui/win32.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | core::PCWSTR, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/ui/win32.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | core::{PCWSTR, PWSTR}, [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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Win32::{ [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/ui/win32.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | core::PCWSTR, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/ui/win32.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | core::{PCWSTR, PWSTR}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/ui/window.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | Win32Error(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/ui/window.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | Win32Error(windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/ui/window.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | impl From for WindowError { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/ui/window.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | impl From for WindowError { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/ui/window.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | fn from(err: windows::core::Error) -> Self { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/ui/window.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | fn from(err: windows::core::Error) -> Self { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/ui/win32.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) type HandleType = 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/ui/win32.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) type HandleType = 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/ui/win32.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | wparam: WPARAM, [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/ui/win32.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | hwnd: HWND, [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/ui/win32.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | lparam: LPARAM, [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/ui/win32.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | wparam: 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/ui/win32.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | lparam: 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/ui/win32.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> 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/ui/win32.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stdout] --> src/ui/win32.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | if msg == WM_CREATE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stdout] --> src/ui/win32.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | if msg == WM_CREATE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stdout] --> src/ui/win32.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | let cs = lparam.0 as *const CREATESTRUCTW; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_USERDATA` in this scope [INFO] [stdout] --> src/ui/win32.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | SetWindowLongPtrW(hwnd, GWL_USERDATA, proxy as isize); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stdout] --> src/ui/win32.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | let cs = lparam.0 as *const CREATESTRUCTW; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_USERDATA` in this scope [INFO] [stdout] --> src/ui/win32.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | SetWindowLongPtrW(hwnd, GWL_USERDATA, proxy as isize); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_USERDATA` in this scope [INFO] [stdout] --> src/ui/win32.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | let data = GetWindowLongPtrW(hwnd, GWL_USERDATA); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_USERDATA` in this scope [INFO] [stdout] --> src/ui/win32.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | let data = GetWindowLongPtrW(hwnd, GWL_USERDATA); [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/ui/win32.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | 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/ui/win32.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/ui/win32.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | WS_OVERLAPPEDWINDOW.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/ui/win32.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 85 | let wnd_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/ui/win32.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | WS_OVERLAPPEDWINDOW.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> src/ui/win32.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/ui/win32.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 85 | let wnd_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/ui/win32.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> src/ui/win32.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/ui/win32.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 86 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/ui/win32.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/ui/win32.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 86 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/ui/win32.rs:98:45 [INFO] [stdout] | [INFO] [stdout] 98 | ... LoadIconW(None, IDI_APPLICATION)? [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/ui/win32.rs:100:52 [INFO] [stdout] | [INFO] [stdout] 100 | hCursor: LoadCursorW(None, IDC_ARROW)?, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/ui/win32.rs:98:45 [INFO] [stdout] | [INFO] [stdout] 98 | ... LoadIconW(None, IDI_APPLICATION)? [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COLOR_WINDOW` in this scope [INFO] [stdout] --> src/ui/win32.rs:101:47 [INFO] [stdout] | [INFO] [stdout] 101 | hbrBackground: HBRUSH(COLOR_WINDOW.0 as _), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/ui/win32.rs:100:52 [INFO] [stdout] | [INFO] [stdout] 100 | hCursor: LoadCursorW(None, IDC_ARROW)?, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COLOR_WINDOW` in this scope [INFO] [stdout] --> src/ui/win32.rs:101:47 [INFO] [stdout] | [INFO] [stdout] 101 | hbrBackground: HBRUSH(COLOR_WINDOW.0 as _), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/ui/win32.rs:119:68 [INFO] [stdout] | [INFO] [stdout] 119 | let (x, y, width, height) = builder.geometry.unwrap_or(CW_USEDEFAULT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FW_BOLD` in this scope [INFO] [stdout] --> src/ui/win32.rs:143:36 [INFO] [stdout] | [INFO] [stdout] 143 | if font.bold { FW_BOLD.0 } else { FW_NORMAL.0 } as _, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/ui/win32.rs:119:68 [INFO] [stdout] | [INFO] [stdout] 119 | let (x, y, width, height) = builder.geometry.unwrap_or(CW_USEDEFAULT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FW_NORMAL` in this scope [INFO] [stdout] --> src/ui/win32.rs:143:55 [INFO] [stdout] | [INFO] [stdout] 143 | if font.bold { FW_BOLD.0 } else { FW_NORMAL.0 } as _, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_CHARSET` in this scope [INFO] [stdout] --> src/ui/win32.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | DEFAULT_CHARSET, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_QUALITY` in this scope [INFO] [stdout] --> src/ui/win32.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | DEFAULT_QUALITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FW_BOLD` in this scope [INFO] [stdout] --> src/ui/win32.rs:143:36 [INFO] [stdout] | [INFO] [stdout] 143 | if font.bold { FW_BOLD.0 } else { FW_NORMAL.0 } as _, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_PITCH` in this scope [INFO] [stdout] --> src/ui/win32.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | DEFAULT_PITCH.0 as _, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FW_NORMAL` in this scope [INFO] [stdout] --> src/ui/win32.rs:143:55 [INFO] [stdout] | [INFO] [stdout] 143 | if font.bold { FW_BOLD.0 } else { FW_NORMAL.0 } as _, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETFONT` in this scope [INFO] [stdout] --> src/ui/win32.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | self.send_message(WM_SETFONT, hfont.0 as _, 1); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_CHARSET` in this scope [INFO] [stdout] --> src/ui/win32.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | DEFAULT_CHARSET, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/ui/win32.rs:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | let _ = ShowWindow(self.hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_QUALITY` in this scope [INFO] [stdout] --> src/ui/win32.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | DEFAULT_QUALITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/ui/win32.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | let mut info = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 59 | impl WinProxy { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_PITCH` in this scope [INFO] [stdout] --> src/ui/win32.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | DEFAULT_PITCH.0 as _, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETFONT` in this scope [INFO] [stdout] --> src/ui/win32.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | self.send_message(WM_SETFONT, hfont.0 as _, 1); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/ui/win32.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | info.cbSize = mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 59 | impl WinProxy { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/ui/win32.rs:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | let _ = ShowWindow(self.hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_ID` in this scope [INFO] [stdout] --> src/ui/win32.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | info.fMask = MIIM_ID | MIIM_STRING | MIIM_STATE; [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/ui/win32.rs:167:40 [INFO] [stdout] | [INFO] [stdout] 167 | info.fMask = MIIM_ID | MIIM_STRING | MIIM_STATE; [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/ui/win32.rs:167:54 [INFO] [stdout] | [INFO] [stdout] 167 | info.fMask = MIIM_ID | MIIM_STRING | MIIM_STATE; [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/ui/win32.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | MFS_CHECKED [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/ui/win32.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | let mut info = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 59 | impl WinProxy { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFS_UNCHECKED` in this scope [INFO] [stdout] --> src/ui/win32.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | MFS_UNCHECKED [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MENUITEMINFOW` in this scope [INFO] [stdout] --> src/ui/win32.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | info.cbSize = mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 59 | impl WinProxy { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/ui/win32.rs:193:60 [INFO] [stdout] | [INFO] [stdout] 193 | let (x, y, width, height) = geometry.unwrap_or(CW_USEDEFAULT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_ID` in this scope [INFO] [stdout] --> src/ui/win32.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | info.fMask = MIIM_ID | MIIM_STRING | MIIM_STATE; [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/ui/win32.rs:197:82 [INFO] [stdout] | [INFO] [stdout] 197 | pub(crate) fn send_message(&self, msg: u32, wparam: usize, lparam: isize) -> LRESULT { [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/ui/win32.rs:167:40 [INFO] [stdout] | [INFO] [stdout] 167 | info.fMask = MIIM_ID | MIIM_STRING | MIIM_STATE; [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/ui/win32.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | if flag { MF_CHECKED.0 } else { MF_UNCHECKED.0 }, [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/ui/win32.rs:167:54 [INFO] [stdout] | [INFO] [stdout] 167 | info.fMask = MIIM_ID | MIIM_STRING | MIIM_STATE; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_UNCHECKED` in this scope [INFO] [stdout] --> src/ui/win32.rs:210:49 [INFO] [stdout] | [INFO] [stdout] 210 | if flag { MF_CHECKED.0 } else { MF_UNCHECKED.0 }, [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/ui/win32.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | MFS_CHECKED [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_GETTEXTLENGTH` in this scope [INFO] [stdout] --> src/ui/win32.rs:216:45 [INFO] [stdout] | [INFO] [stdout] 216 | let mut lresult = self.send_message(WM_GETTEXTLENGTH, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MFS_UNCHECKED` in this scope [INFO] [stdout] --> src/ui/win32.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | MFS_UNCHECKED [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_GETTEXT` in this scope [INFO] [stdout] --> src/ui/win32.rs:224:37 [INFO] [stdout] | [INFO] [stdout] 224 | lresult = self.send_message(WM_GETTEXT, buffer.len() as _, buffer.as_mut_ptr() as _); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETTEXT` in this scope [INFO] [stdout] --> src/ui/win32.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | let result = self.send_message(WM_SETTEXT, 0, msg.as_ptr() as _).0 != 0; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/ui/win32.rs:193:60 [INFO] [stdout] | [INFO] [stdout] 193 | let (x, y, width, height) = geometry.unwrap_or(CW_USEDEFAULT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/ui/win32.rs:266:30 [INFO] [stdout] | [INFO] [stdout] 266 | let mut message: MSG = mem::zeroed(); [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/ui/win32.rs:197:82 [INFO] [stdout] | [INFO] [stdout] 197 | pub(crate) fn send_message(&self, msg: u32, wparam: usize, lparam: isize) -> LRESULT { [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/ui/win32.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | if flag { MF_CHECKED.0 } else { MF_UNCHECKED.0 }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HandleType` in this scope [INFO] [stdout] --> src/ui/window.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub type WindowHandle = HandleType; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::win32::HandleType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_UNCHECKED` in this scope [INFO] [stdout] --> src/ui/win32.rs:210:49 [INFO] [stdout] | [INFO] [stdout] 210 | if flag { MF_CHECKED.0 } else { MF_UNCHECKED.0 }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_GETTEXTLENGTH` in this scope [INFO] [stdout] --> src/ui/win32.rs:216:45 [INFO] [stdout] | [INFO] [stdout] 216 | let mut lresult = self.send_message(WM_GETTEXTLENGTH, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_GETTEXT` in this scope [INFO] [stdout] --> src/ui/win32.rs:224:37 [INFO] [stdout] | [INFO] [stdout] 224 | lresult = self.send_message(WM_GETTEXT, buffer.len() as _, buffer.as_mut_ptr() as _); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETTEXT` in this scope [INFO] [stdout] --> src/ui/win32.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | let result = self.send_message(WM_SETTEXT, 0, msg.as_ptr() as _).0 != 0; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/ui/win32.rs:266:30 [INFO] [stdout] | [INFO] [stdout] 266 | let mut message: MSG = mem::zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/ui/window.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | WindowError::Win32Error(windows::core::Error::from_win32()) [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::window::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - WindowError::Win32Error(windows::core::Error::from_win32()) [INFO] [stdout] 20 + WindowError::Win32Error(Error::from_win32()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WinProxy` [INFO] [stdout] --> src/ui/window.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | proxy: WinProxy::new(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `WinProxy` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::win32::WinProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WinProxy` in this scope [INFO] [stdout] --> src/ui/window.rs:248:28 [INFO] [stdout] | [INFO] [stdout] 248 | pub(crate) proxy: *mut WinProxy, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::win32::WinProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WinProxy` in this scope [INFO] [stdout] --> src/ui/window.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | fn proxy(&self) -> &mut WinProxy { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::win32::WinProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HandleType` in this scope [INFO] [stdout] --> src/ui/window.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub type WindowHandle = HandleType; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::win32::HandleType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/main.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | let edit_style = WS_CHILD [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | | WS_VISIBLE [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stdout] --> src/main.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | | WS_VSCROLL [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ES_LEFT` in this scope [INFO] [stdout] --> src/main.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | | WINDOW_STYLE((ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY) as u32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/ui/window.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | WindowError::Win32Error(windows::core::Error::from_win32()) [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::window::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - WindowError::Win32Error(windows::core::Error::from_win32()) [INFO] [stdout] 20 + WindowError::Win32Error(Error::from_win32()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ES_MULTILINE` in this scope [INFO] [stdout] --> src/main.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 141 | | WINDOW_STYLE((ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY) as u32); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ES_AUTOVSCROLL` in this scope [INFO] [stdout] --> src/main.rs:141:62 [INFO] [stdout] | [INFO] [stdout] 141 | | WINDOW_STYLE((ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WinProxy` [INFO] [stdout] --> src/ui/window.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | proxy: WinProxy::new(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `WinProxy` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::win32::WinProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ES_READONLY` in this scope [INFO] [stdout] --> src/main.rs:141:79 [INFO] [stdout] | [INFO] [stdout] 141 | | WINDOW_STYLE((ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY) as u32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope [INFO] [stdout] --> src/main.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | .extended_style(WS_EX_CLIENTEDGE.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WinProxy` in this scope [INFO] [stdout] --> src/ui/window.rs:248:28 [INFO] [stdout] | [INFO] [stdout] 248 | pub(crate) proxy: *mut WinProxy, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::win32::WinProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WinProxy` in this scope [INFO] [stdout] --> src/ui/window.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | fn proxy(&self) -> &mut WinProxy { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::win32::WinProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/main.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | let edit_style = WS_CHILD [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | | WS_VISIBLE [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stdout] --> src/main.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | | WS_VSCROLL [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ES_LEFT` in this scope [INFO] [stdout] --> src/main.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | | WINDOW_STYLE((ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY) as u32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ES_MULTILINE` in this scope [INFO] [stdout] --> src/main.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 141 | | WINDOW_STYLE((ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY) as u32); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ES_AUTOVSCROLL` in this scope [INFO] [stdout] --> src/main.rs:141:62 [INFO] [stdout] | [INFO] [stdout] 141 | | WINDOW_STYLE((ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ES_READONLY` in this scope [INFO] [stdout] --> src/main.rs:141:79 [INFO] [stdout] | [INFO] [stdout] 141 | | WINDOW_STYLE((ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY) as u32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope [INFO] [stdout] --> src/main.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | .extended_style(WS_EX_CLIENTEDGE.0) [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/ui/win32.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | SetWindowLongPtrW(hwnd, GWL_USERDATA, proxy 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 `LRESULT` in this scope [INFO] [stdout] --> src/ui/win32.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | LRESULT((*proxy).window_proc(msg, 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/ui/win32.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let data = GetWindowLongPtrW(hwnd, GWL_USERDATA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope [INFO] [stdout] --> src/ui/win32.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | LRESULT((*proxy).window_proc(msg, 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/ui/win32.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HWND` [INFO] [stdout] --> src/ui/win32.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | hwnd: HWND::default(), [INFO] [stdout] | ^^^^ use of undeclared type `HWND` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/ui/win32.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | SetWindowLongPtrW(hwnd, GWL_USERDATA, proxy 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 `LRESULT` in this scope [INFO] [stdout] --> src/ui/win32.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | LRESULT((*proxy).window_proc(msg, 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/ui/win32.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let data = GetWindowLongPtrW(hwnd, GWL_USERDATA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope [INFO] [stdout] --> src/ui/win32.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | LRESULT((*proxy).window_proc(msg, 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/ui/win32.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HWND` [INFO] [stdout] --> src/ui/win32.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | hwnd: HWND::default(), [INFO] [stdout] | ^^^^ use of undeclared type `HWND` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/ui/win32.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | ... LoadIconW( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/ui/win32.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | ... LoadIconW(None, IDI_APPLICATION)? [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/ui/win32.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | hCursor: LoadCursorW(None, IDC_ARROW)?, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HBRUSH` in this scope [INFO] [stdout] --> src/ui/win32.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | hbrBackground: HBRUSH(COLOR_WINDOW.0 as _), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> src/ui/win32.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | RegisterClassW(&wnd_class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/ui/win32.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | ... LoadIconW( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/ui/win32.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | ... LoadIconW(None, IDI_APPLICATION)? [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/ui/win32.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | hCursor: LoadCursorW(None, IDC_ARROW)?, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HBRUSH` in this scope [INFO] [stdout] --> src/ui/win32.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | hbrBackground: HBRUSH(COLOR_WINDOW.0 as _), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> src/ui/win32.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | RegisterClassW(&wnd_class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope [INFO] [stdout] --> src/ui/win32.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | WINDOW_EX_STYLE(builder.extended_style), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope [INFO] [stdout] --> src/ui/win32.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | WINDOW_STYLE(style), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/ui/win32.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | self.hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FONT_OUTPUT_PRECISION` [INFO] [stdout] --> src/ui/win32.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | FONT_OUTPUT_PRECISION::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `FONT_OUTPUT_PRECISION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FONT_CLIP_PRECISION` [INFO] [stdout] --> src/ui/win32.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | FONT_CLIP_PRECISION::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `FONT_CLIP_PRECISION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope [INFO] [stdout] --> src/ui/win32.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | WINDOW_EX_STYLE(builder.extended_style), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope [INFO] [stdout] --> src/ui/win32.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | WINDOW_STYLE(style), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/ui/win32.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | self.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 `CreateFontW` in this scope [INFO] [stdout] --> src/ui/win32.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | let hfont = CreateFontW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/ui/win32.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | let _ = ShowWindow(self.hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> src/ui/win32.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | let _ = UpdateWindow(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 `GetSystemMenu` in this scope [INFO] [stdout] --> src/ui/win32.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let sys_menu = GetSystemMenu(self.hwnd, false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FONT_OUTPUT_PRECISION` [INFO] [stdout] --> src/ui/win32.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | FONT_OUTPUT_PRECISION::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `FONT_OUTPUT_PRECISION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FONT_CLIP_PRECISION` [INFO] [stdout] --> src/ui/win32.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | FONT_CLIP_PRECISION::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `FONT_CLIP_PRECISION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontW` in this scope [INFO] [stdout] --> src/ui/win32.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | let hfont = CreateFontW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/ui/win32.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | let _ = ShowWindow(self.hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> src/ui/win32.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | let _ = UpdateWindow(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 `GetSystemMenu` in this scope [INFO] [stdout] --> src/ui/win32.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let sys_menu = GetSystemMenu(self.hwnd, false); [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/ui/win32.rs:176:43 [INFO] [stdout] | [INFO] [stdout] 176 | InsertMenuItemW(sys_menu, GetMenuItemCount(Some(sys_menu)) as _, true, &info)?; [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/ui/win32.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | InsertMenuItemW(sys_menu, GetMenuItemCount(Some(sys_menu)) as _, true, &info)?; [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/ui/win32.rs:176:43 [INFO] [stdout] | [INFO] [stdout] 176 | InsertMenuItemW(sys_menu, GetMenuItemCount(Some(sys_menu)) as _, true, &info)?; [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/ui/win32.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | InsertMenuItemW(sys_menu, GetMenuItemCount(Some(sys_menu)) as _, true, &info)?; [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/ui/win32.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | 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 `MoveWindow` in this scope [INFO] [stdout] --> src/ui/win32.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let _ = MoveWindow(self.hwnd, x, y, width, height, true); [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/ui/win32.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | 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 `WPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe { SendMessageW(self.hwnd, msg, Some(WPARAM(wparam)), Some(LPARAM(lparam))) } [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `wparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope [INFO] [stdout] --> src/ui/win32.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let _ = MoveWindow(self.hwnd, x, y, width, height, true); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:198:74 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe { SendMessageW(self.hwnd, msg, Some(WPARAM(wparam)), Some(LPARAM(lparam))) } [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `lparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/ui/win32.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe { SendMessageW(self.hwnd, msg, Some(WPARAM(wparam)), Some(LPARAM(lparam))) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe { SendMessageW(self.hwnd, msg, Some(WPARAM(wparam)), Some(LPARAM(lparam))) } [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `wparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMenu` in this scope [INFO] [stdout] --> src/ui/win32.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | GetSystemMenu(self.hwnd, false), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CheckMenuItem` in this scope [INFO] [stdout] --> src/ui/win32.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | CheckMenuItem( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:198:74 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe { SendMessageW(self.hwnd, msg, Some(WPARAM(wparam)), Some(LPARAM(lparam))) } [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `lparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/ui/win32.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe { SendMessageW(self.hwnd, msg, Some(WPARAM(wparam)), Some(LPARAM(lparam))) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMenu` in this scope [INFO] [stdout] --> src/ui/win32.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | GetSystemMenu(self.hwnd, false), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CheckMenuItem` in this scope [INFO] [stdout] --> src/ui/win32.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | CheckMenuItem( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:252:52 [INFO] [stdout] | [INFO] [stdout] 252 | DefWindowProcW(self.hwnd, msg, WPARAM(wparam), LPARAM(lparam)).0 [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `wparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:252:68 [INFO] [stdout] | [INFO] [stdout] 252 | DefWindowProcW(self.hwnd, msg, WPARAM(wparam), LPARAM(lparam)).0 [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `lparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/ui/win32.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | DefWindowProcW(self.hwnd, msg, WPARAM(wparam), LPARAM(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 `GetMessageW` in this scope [INFO] [stdout] --> src/ui/win32.rs:268:19 [INFO] [stdout] | [INFO] [stdout] 268 | while GetMessageW(&mut message, None, 0, 0).0 > 0 { [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/ui/win32.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let _ = TranslateMessage(&message); [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/ui/win32.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | DispatchMessageW(&message); [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/ui/win32.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | 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 `WPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:252:52 [INFO] [stdout] | [INFO] [stdout] 252 | DefWindowProcW(self.hwnd, msg, WPARAM(wparam), LPARAM(lparam)).0 [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `wparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:252:68 [INFO] [stdout] | [INFO] [stdout] 252 | DefWindowProcW(self.hwnd, msg, WPARAM(wparam), LPARAM(lparam)).0 [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `lparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/ui/win32.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | DefWindowProcW(self.hwnd, msg, WPARAM(wparam), LPARAM(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 `GetMessageW` in this scope [INFO] [stdout] --> src/ui/win32.rs:268:19 [INFO] [stdout] | [INFO] [stdout] 268 | while GetMessageW(&mut message, None, 0, 0).0 > 0 { [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/ui/win32.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let _ = TranslateMessage(&message); [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/ui/win32.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | DispatchMessageW(&message); [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/ui/win32.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | 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 `WINDOW_STYLE` in this scope [INFO] [stdout] --> src/main.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | | WINDOW_STYLE((ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY) as u32); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope [INFO] [stdout] --> src/main.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | | WINDOW_STYLE((ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY) as u32); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [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] [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 `miniraw` (bin "miniraw") due to 98 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `miniraw` (bin "miniraw" test) due to 98 previous errors [INFO] running `Command { std: "docker" "inspect" "3beb76bf52544eb482d1687564ec537c61908178de234b0cd42a07c9a496a88c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3beb76bf52544eb482d1687564ec537c61908178de234b0cd42a07c9a496a88c", kill_on_drop: false }` [INFO] [stdout] 3beb76bf52544eb482d1687564ec537c61908178de234b0cd42a07c9a496a88c