[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] 5f19309c3757191686c16af752beeffc723d0a94 [INFO] checking dremon/miniraw against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdremon%2Fminiraw" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dremon/miniraw on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config [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-12/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: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vswhom v0.1.0 [INFO] [stderr] Downloaded embed-resource v1.6.1 [INFO] [stderr] Downloaded winreg v0.8.0 [INFO] [stderr] Downloaded mio v0.7.9 [INFO] [stderr] Downloaded vswhom-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3adc9fbc14a705578ca08cf3a3099be9e4b5437fe894c826408ab28cf044b136 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3adc9fbc14a705578ca08cf3a3099be9e4b5437fe894c826408ab28cf044b136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3adc9fbc14a705578ca08cf3a3099be9e4b5437fe894c826408ab28cf044b136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3adc9fbc14a705578ca08cf3a3099be9e4b5437fe894c826408ab28cf044b136", kill_on_drop: false }` [INFO] [stdout] 3adc9fbc14a705578ca08cf3a3099be9e4b5437fe894c826408ab28cf044b136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecd1c8aa069b3dc504c51a8f6c443f11a0c833fb7d7705233d55e392f7c9627d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ecd1c8aa069b3dc504c51a8f6c443f11a0c833fb7d7705233d55e392f7c9627d", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling embed-resource v1.6.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling miniraw v1.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | shared::minwindef::{HIWORD, LOWORD}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | shared::minwindef::{HIWORD, LOWORD}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | um::winuser::*, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui/win32.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | shared::{minwindef::*, windef::*}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui/win32.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | um::{errhandlingapi::GetLastError, libloaderapi::GetModuleHandleW, wingdi::*, winuser::*}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui/win32/logger.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui/win32/logger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::winuser::{SendMessageW, WM_GETTEXT, WM_GETTEXTLENGTH, WM_SETTEXT}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | um::winuser::*, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui/win32.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | shared::{minwindef::*, windef::*}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui/win32.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | um::{errhandlingapi::GetLastError, libloaderapi::GetModuleHandleW, wingdi::*, winuser::*}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui/win32/logger.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui/win32/logger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::winuser::{SendMessageW, WM_GETTEXT, WM_GETTEXTLENGTH, WM_SETTEXT}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/ui/win32/logger.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WindowLogger(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/logger.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn init(hwnd: HWND, level: LevelFilter) { [INFO] [stdout] | ^^^^ not found in this scope [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/logger.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | let text_len = SendMessageW(self.0, WM_GETTEXTLENGTH, 0, 0) as usize; [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/logger.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 35 | let text_len = SendMessageW(self.0, WM_GETTEXTLENGTH, 0, 0) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [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/logger.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | let cur_len = SendMessageW( [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/logger.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | WM_GETTEXT, [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/logger.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | buffer.len() as WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/ui/win32/logger.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | buffer.as_mut_ptr() as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [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/logger.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | SendMessageW(self.0, WM_SETTEXT, 0, msg.as_ptr() as LPARAM); [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/logger.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | SendMessageW(self.0, WM_SETTEXT, 0, msg.as_ptr() as LPARAM); [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/logger.rs:67:73 [INFO] [stdout] | [INFO] [stdout] 67 | SendMessageW(self.0, WM_SETTEXT, 0, msg.as_ptr() as LPARAM); [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:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | 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:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/ui/win32.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | 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:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> 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:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | 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:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | let cs = lparam as *const CREATESTRUCTW; [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:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | 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:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/ui/win32.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | 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:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/ui/win32.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | DefWindowProcW(hwnd, msg, wparam, lparam) [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 function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/ui/win32.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | let hinstance = GetModuleHandleW(ptr::null_mut()); [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:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | WS_OVERLAPPEDWINDOW [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:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | let wnd_class = WNDCLASSW { [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:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 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:91:43 [INFO] [stdout] | [INFO] [stdout] 91 | 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:91:56 [INFO] [stdout] | [INFO] [stdout] 91 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [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( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/ui/win32.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | ... GetModuleHandleW(ptr::null_mut()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEINTRESOURCEW` in this scope [INFO] [stdout] --> src/ui/win32.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | ... MAKEINTRESOURCEW(icon as _), [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:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | ... LoadIconW(ptr::null_mut(), IDI_APPLICATION) [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:103:56 [INFO] [stdout] | [INFO] [stdout] 103 | ... LoadIconW(ptr::null_mut(), 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:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | hCursor: LoadCursorW(ptr::null_mut(), IDC_ARROW), [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:105:63 [INFO] [stdout] | [INFO] [stdout] 105 | hCursor: LoadCursorW(ptr::null_mut(), 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:106:40 [INFO] [stdout] | [INFO] [stdout] 106 | hbrBackground: COLOR_WINDOW as HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/ui/win32.rs:106:56 [INFO] [stdout] | [INFO] [stdout] 106 | hbrBackground: COLOR_WINDOW as HBRUSH, [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:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | RegisterClassW(&wnd_class); [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:124:68 [INFO] [stdout] | [INFO] [stdout] 124 | 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 function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/ui/win32.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | self.hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/ui/win32.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 138 | self as *mut WinProxy as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/ui/win32.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | let error = GetLastError(); [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:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | let hfont = CreateFontW( [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:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | if font.bold { FW_BOLD } else { FW_NORMAL }, [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:154:57 [INFO] [stdout] | [INFO] [stdout] 154 | if font.bold { FW_BOLD } else { FW_NORMAL }, [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:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | 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:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | DEFAULT_QUALITY, [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:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | DEFAULT_PITCH, [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:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | self.send_message(WM_SETFONT, hfont as usize, 1); [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:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | ShowWindow(self.hwnd, SW_SHOW); [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:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | 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 `DestroyWindow` in this scope [INFO] [stdout] --> src/ui/win32.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | DestroyWindow(self.hwnd); [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:188:60 [INFO] [stdout] | [INFO] [stdout] 188 | 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 function, tuple struct or tuple variant `MoveWindow` in this scope [INFO] [stdout] --> src/ui/win32.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | 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 value `TRUE` in this scope [INFO] [stdout] --> src/ui/win32.rs:189:56 [INFO] [stdout] | [INFO] [stdout] 189 | 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 `SendMessageW` in this scope [INFO] [stdout] --> src/ui/win32.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe { SendMessageW(self.hwnd, msg, wparam, lparam) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/ui/win32.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | MessageResult::Ignored => unsafe { DefWindowProcW(self.hwnd, msg, wparam, lparam) }, [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:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | let mut message: MSG = mem::zeroed(); [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:224:19 [INFO] [stdout] | [INFO] [stdout] 224 | while GetMessageW(&mut message as *mut MSG, ptr::null_mut(), 0, 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:224:52 [INFO] [stdout] | [INFO] [stdout] 224 | while GetMessageW(&mut message as *mut MSG, ptr::null_mut(), 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:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | TranslateMessage(&message as *const MSG); [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:225:53 [INFO] [stdout] | [INFO] [stdout] 225 | TranslateMessage(&message as *const MSG); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/ui/win32.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | DispatchMessageW(&message as *const MSG); [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:226:53 [INFO] [stdout] | [INFO] [stdout] 226 | DispatchMessageW(&message as *const MSG); [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:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/main.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | 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:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | | 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:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | | 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:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | | ES_LEFT [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:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | | ES_MULTILINE [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:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | | ES_AUTOVSCROLL [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:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | | ES_READONLY; [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:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | .extended_style(WS_EX_CLIENTEDGE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/main.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | width: Some(LOWORD(message.lparam as u32) as i32 - 12), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/main.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | height: Some(HIWORD(message.lparam as u32) as i32 - 12), [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/logger.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WindowLogger(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/logger.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn init(hwnd: HWND, level: LevelFilter) { [INFO] [stdout] | ^^^^ not found in this scope [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/logger.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | let text_len = SendMessageW(self.0, WM_GETTEXTLENGTH, 0, 0) as usize; [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/logger.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 35 | let text_len = SendMessageW(self.0, WM_GETTEXTLENGTH, 0, 0) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [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/logger.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | let cur_len = SendMessageW( [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/logger.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | WM_GETTEXT, [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/logger.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | buffer.len() as WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/ui/win32/logger.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | buffer.as_mut_ptr() as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [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/logger.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | SendMessageW(self.0, WM_SETTEXT, 0, msg.as_ptr() as LPARAM); [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/logger.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | SendMessageW(self.0, WM_SETTEXT, 0, msg.as_ptr() as LPARAM); [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/logger.rs:67:73 [INFO] [stdout] | [INFO] [stdout] 67 | SendMessageW(self.0, WM_SETTEXT, 0, msg.as_ptr() as LPARAM); [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:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | 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:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/ui/win32.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/ui/win32.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | 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:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> 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:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | 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:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | let cs = lparam as *const CREATESTRUCTW; [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:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | 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:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | 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 `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/ui/win32.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | 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:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/ui/win32.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | DefWindowProcW(hwnd, msg, wparam, lparam) [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 function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/ui/win32.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | let hinstance = GetModuleHandleW(ptr::null_mut()); [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:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | WS_OVERLAPPEDWINDOW [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:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | let wnd_class = WNDCLASSW { [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:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 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:91:43 [INFO] [stdout] | [INFO] [stdout] 91 | 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:91:56 [INFO] [stdout] | [INFO] [stdout] 91 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [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( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/ui/win32.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | ... GetModuleHandleW(ptr::null_mut()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEINTRESOURCEW` in this scope [INFO] [stdout] --> src/ui/win32.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | ... MAKEINTRESOURCEW(icon as _), [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:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | ... LoadIconW(ptr::null_mut(), IDI_APPLICATION) [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:103:56 [INFO] [stdout] | [INFO] [stdout] 103 | ... LoadIconW(ptr::null_mut(), 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:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | hCursor: LoadCursorW(ptr::null_mut(), IDC_ARROW), [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:105:63 [INFO] [stdout] | [INFO] [stdout] 105 | hCursor: LoadCursorW(ptr::null_mut(), 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:106:40 [INFO] [stdout] | [INFO] [stdout] 106 | hbrBackground: COLOR_WINDOW as HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/ui/win32.rs:106:56 [INFO] [stdout] | [INFO] [stdout] 106 | hbrBackground: COLOR_WINDOW as HBRUSH, [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:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | RegisterClassW(&wnd_class); [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:124:68 [INFO] [stdout] | [INFO] [stdout] 124 | 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 function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/ui/win32.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | self.hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/ui/win32.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 138 | self as *mut WinProxy as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/ui/win32.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | let error = GetLastError(); [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:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | let hfont = CreateFontW( [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:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | if font.bold { FW_BOLD } else { FW_NORMAL }, [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:154:57 [INFO] [stdout] | [INFO] [stdout] 154 | if font.bold { FW_BOLD } else { FW_NORMAL }, [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:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | 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:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | DEFAULT_QUALITY, [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:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | DEFAULT_PITCH, [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:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | self.send_message(WM_SETFONT, hfont as usize, 1); [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:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | ShowWindow(self.hwnd, SW_SHOW); [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:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | 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 `DestroyWindow` in this scope [INFO] [stdout] --> src/ui/win32.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | DestroyWindow(self.hwnd); [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:188:60 [INFO] [stdout] | [INFO] [stdout] 188 | 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 function, tuple struct or tuple variant `MoveWindow` in this scope [INFO] [stdout] --> src/ui/win32.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | 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 value `TRUE` in this scope [INFO] [stdout] --> src/ui/win32.rs:189:56 [INFO] [stdout] | [INFO] [stdout] 189 | 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 `SendMessageW` in this scope [INFO] [stdout] --> src/ui/win32.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe { SendMessageW(self.hwnd, msg, wparam, lparam) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/ui/win32.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | MessageResult::Ignored => unsafe { DefWindowProcW(self.hwnd, msg, wparam, lparam) }, [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:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | let mut message: MSG = mem::zeroed(); [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:224:19 [INFO] [stdout] | [INFO] [stdout] 224 | while GetMessageW(&mut message as *mut MSG, ptr::null_mut(), 0, 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:224:52 [INFO] [stdout] | [INFO] [stdout] 224 | while GetMessageW(&mut message as *mut MSG, ptr::null_mut(), 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:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | TranslateMessage(&message as *const MSG); [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:225:53 [INFO] [stdout] | [INFO] [stdout] 225 | TranslateMessage(&message as *const MSG); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/ui/win32.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | DispatchMessageW(&message as *const MSG); [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:226:53 [INFO] [stdout] | [INFO] [stdout] 226 | DispatchMessageW(&message as *const MSG); [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:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/main.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | 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:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | | 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:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | | 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:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | | ES_LEFT [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:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | | ES_MULTILINE [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:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | | ES_AUTOVSCROLL [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:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | | ES_READONLY; [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:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | .extended_style(WS_EX_CLIENTEDGE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/main.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | width: Some(LOWORD(message.lparam as u32) as i32 - 12), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/main.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | height: Some(HIWORD(message.lparam as u32) as i32 - 12), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ui/win32/logger.rs:46:66 [INFO] [stdout] | [INFO] [stdout] 46 | let old_text = WideCStr::from_slice_with_nul(&buffer) [INFO] [stdout] | ^^^^^^^ expected slice `[u32]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u32]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 86 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniraw` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ui/win32/logger.rs:46:66 [INFO] [stdout] | [INFO] [stdout] 46 | let old_text = WideCStr::from_slice_with_nul(&buffer) [INFO] [stdout] | ^^^^^^^ expected slice `[u32]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u32]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 86 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ecd1c8aa069b3dc504c51a8f6c443f11a0c833fb7d7705233d55e392f7c9627d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd1c8aa069b3dc504c51a8f6c443f11a0c833fb7d7705233d55e392f7c9627d", kill_on_drop: false }` [INFO] [stdout] ecd1c8aa069b3dc504c51a8f6c443f11a0c833fb7d7705233d55e392f7c9627d