[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] 2e165cf15d99bb903863967fb842d27138448584 [INFO] checking dremon/miniraw against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdremon%2Fminiraw" "/workspace/builds/worker-84/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-84/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dremon/miniraw on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-84/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-84/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vswhom-sys v0.1.0 [INFO] [stderr] Downloaded embed-resource v1.6.3 [INFO] [stderr] Downloaded vswhom v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b11d83bd1be9b66cce52208430ccbcbdc24c268b287f8a8556cb53f17dca561 [INFO] running `Command { std: "docker" "start" "-a" "0b11d83bd1be9b66cce52208430ccbcbdc24c268b287f8a8556cb53f17dca561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b11d83bd1be9b66cce52208430ccbcbdc24c268b287f8a8556cb53f17dca561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b11d83bd1be9b66cce52208430ccbcbdc24c268b287f8a8556cb53f17dca561", kill_on_drop: false }` [INFO] [stdout] 0b11d83bd1be9b66cce52208430ccbcbdc24c268b287f8a8556cb53f17dca561 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee455fc8d271c6c3d8718495946d03dfac0b48752672fade07703b15837392fe [INFO] running `Command { std: "docker" "start" "-a" "ee455fc8d271c6c3d8718495946d03dfac0b48752672fade07703b15837392fe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling embed-resource v1.6.3 [INFO] [stderr] Compiling miniraw v1.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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 `um` in `winapi` [INFO] [stdout] --> src/ui/win32.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::{GetSystemMenu, MF_CHECKED}; [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:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | 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:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | 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:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | 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:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> 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:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | 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:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | 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:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | 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:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | 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:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | 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:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | 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:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | 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:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | 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:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | 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:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | 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:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | 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:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | 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:92:56 [INFO] [stdout] | [INFO] [stdout] 92 | 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:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | ... 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:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | ... 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:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | ... 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:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | ... 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:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | ... 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:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | 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:106:63 [INFO] [stdout] | [INFO] [stdout] 106 | 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:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | 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:107:56 [INFO] [stdout] | [INFO] [stdout] 107 | 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:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | 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:125:68 [INFO] [stdout] | [INFO] [stdout] 125 | 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:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | 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:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | 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:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | 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:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | 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:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | 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:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | 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:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | 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:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | 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:167:43 [INFO] [stdout] | [INFO] [stdout] 167 | 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:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | 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:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | 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:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | let sys_menu = GetSystemMenu(self.hwnd, FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/ui/win32.rs:174:57 [INFO] [stdout] | [INFO] [stdout] 174 | let sys_menu = GetSystemMenu(self.hwnd, FALSE); [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:177:50 [INFO] [stdout] | [INFO] [stdout] 60 | impl WinProxy { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 177 | let mut info = mem::zeroed::(); [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:178:50 [INFO] [stdout] | [INFO] [stdout] 60 | impl WinProxy { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 178 | info.cbSize = mem::size_of::() as _; [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:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | info.fMask = MIIM_ID | MIIM_STRING; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_STRING` in this scope [INFO] [stdout] --> src/ui/win32.rs:179:44 [INFO] [stdout] | [INFO] [stdout] 179 | info.fMask = MIIM_ID | MIIM_STRING; [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:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | InsertMenuItemW(sys_menu, GetMenuItemCount(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:183:47 [INFO] [stdout] | [INFO] [stdout] 183 | InsertMenuItemW(sys_menu, GetMenuItemCount(sys_menu) as _, TRUE, &info); [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:183:80 [INFO] [stdout] | [INFO] [stdout] 183 | InsertMenuItemW(sys_menu, GetMenuItemCount(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:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | 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:201:60 [INFO] [stdout] | [INFO] [stdout] 201 | 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:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | 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:202:56 [INFO] [stdout] | [INFO] [stdout] 202 | 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:206:18 [INFO] [stdout] | [INFO] [stdout] 206 | 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 `CheckMenuItem` in this scope [INFO] [stdout] --> src/ui/win32.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | CheckMenuItem( [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:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | GetSystemMenu(self.hwnd, FALSE), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/ui/win32.rs:216:42 [INFO] [stdout] | [INFO] [stdout] 216 | GetSystemMenu(self.hwnd, FALSE), [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:218:27 [INFO] [stdout] | [INFO] [stdout] 218 | if flag { MF_CHECKED } else { MF_UNCHECKED }, [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:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | if flag { MF_CHECKED } else { MF_UNCHECKED }, [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:230:48 [INFO] [stdout] | [INFO] [stdout] 230 | 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:245:30 [INFO] [stdout] | [INFO] [stdout] 245 | 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:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | 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:247:52 [INFO] [stdout] | [INFO] [stdout] 247 | 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:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | 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:248:53 [INFO] [stdout] | [INFO] [stdout] 248 | 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:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | 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:249:53 [INFO] [stdout] | [INFO] [stdout] 249 | 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:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | 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:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | 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:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | | 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:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | | 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:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | | 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:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | | 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:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | | 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:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | | 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:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | .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:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | 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:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | height: Some(HIWORD(message.lparam as u32) as i32 - 12), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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 `um` in `winapi` [INFO] [stdout] --> src/ui/win32.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::{GetSystemMenu, MF_CHECKED}; [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:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | 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:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | 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:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | 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:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> 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:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | 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:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | 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:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | 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:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | 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:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | 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:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | 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:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | 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:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | 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:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | 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:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | 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:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | 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:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | 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:92:56 [INFO] [stdout] | [INFO] [stdout] 92 | 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:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | ... 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:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | ... 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:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | ... 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:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | ... 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:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | ... 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:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | 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:106:63 [INFO] [stdout] | [INFO] [stdout] 106 | 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:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | 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:107:56 [INFO] [stdout] | [INFO] [stdout] 107 | 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:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | 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:125:68 [INFO] [stdout] | [INFO] [stdout] 125 | 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:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | 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:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | 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:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | 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:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | 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:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | 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:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | 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:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | 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:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | 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:167:43 [INFO] [stdout] | [INFO] [stdout] 167 | 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:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | 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:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | 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:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | let sys_menu = GetSystemMenu(self.hwnd, FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/ui/win32.rs:174:57 [INFO] [stdout] | [INFO] [stdout] 174 | let sys_menu = GetSystemMenu(self.hwnd, FALSE); [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:177:50 [INFO] [stdout] | [INFO] [stdout] 60 | impl WinProxy { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 177 | let mut info = mem::zeroed::(); [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:178:50 [INFO] [stdout] | [INFO] [stdout] 60 | impl WinProxy { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 178 | info.cbSize = mem::size_of::() as _; [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:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | info.fMask = MIIM_ID | MIIM_STRING; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIIM_STRING` in this scope [INFO] [stdout] --> src/ui/win32.rs:179:44 [INFO] [stdout] | [INFO] [stdout] 179 | info.fMask = MIIM_ID | MIIM_STRING; [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:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | InsertMenuItemW(sys_menu, GetMenuItemCount(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:183:47 [INFO] [stdout] | [INFO] [stdout] 183 | InsertMenuItemW(sys_menu, GetMenuItemCount(sys_menu) as _, TRUE, &info); [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:183:80 [INFO] [stdout] | [INFO] [stdout] 183 | InsertMenuItemW(sys_menu, GetMenuItemCount(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:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | 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:201:60 [INFO] [stdout] | [INFO] [stdout] 201 | 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:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | 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:202:56 [INFO] [stdout] | [INFO] [stdout] 202 | 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:206:18 [INFO] [stdout] | [INFO] [stdout] 206 | 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 `CheckMenuItem` in this scope [INFO] [stdout] --> src/ui/win32.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | CheckMenuItem( [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:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | GetSystemMenu(self.hwnd, FALSE), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/ui/win32.rs:216:42 [INFO] [stdout] | [INFO] [stdout] 216 | GetSystemMenu(self.hwnd, FALSE), [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:218:27 [INFO] [stdout] | [INFO] [stdout] 218 | if flag { MF_CHECKED } else { MF_UNCHECKED }, [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:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | if flag { MF_CHECKED } else { MF_UNCHECKED }, [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:230:48 [INFO] [stdout] | [INFO] [stdout] 230 | 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:245:30 [INFO] [stdout] | [INFO] [stdout] 245 | 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:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | 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:247:52 [INFO] [stdout] | [INFO] [stdout] 247 | 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:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | 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:248:53 [INFO] [stdout] | [INFO] [stdout] 248 | 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:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | 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:249:53 [INFO] [stdout] | [INFO] [stdout] 249 | 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:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | 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:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | 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:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | | 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:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | | 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:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | | 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:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | | 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:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | | 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:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | | 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:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | .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:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | 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:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | 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 101 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miniraw` due to 102 previous errors [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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 101 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee455fc8d271c6c3d8718495946d03dfac0b48752672fade07703b15837392fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee455fc8d271c6c3d8718495946d03dfac0b48752672fade07703b15837392fe", kill_on_drop: false }` [INFO] [stdout] ee455fc8d271c6c3d8718495946d03dfac0b48752672fade07703b15837392fe