[INFO] cloning repository https://github.com/andrew-pa/ununi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrew-pa/ununi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-pa%2Fununi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-pa%2Fununi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfac4916fb563ec03df810c0e4a3e76471a8f34b [INFO] testing andrew-pa/ununi against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-pa%2Fununi" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrew-pa/ununi on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andrew-pa/ununi [INFO] finished tweaking git repo https://github.com/andrew-pa/ununi [INFO] tweaked toml for git repo https://github.com/andrew-pa/ununi written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/andrew-pa/ununi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winapi-util v0.1.4 [INFO] [stderr] Downloaded flate2 v1.0.14 [INFO] [stderr] Downloaded inotify v0.7.0 [INFO] [stderr] Downloaded bitpacking v0.8.2 [INFO] [stderr] Downloaded failure_derive v0.1.7 [INFO] [stderr] Downloaded crunchy v0.2.2 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded backtrace v0.3.46 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded nix v0.14.1 [INFO] [stderr] Downloaded owning_ref v0.4.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.2 [INFO] [stderr] Downloaded curl v0.4.28 [INFO] [stderr] Downloaded crossbeam-channel v0.4.2 [INFO] [stderr] Downloaded tantivy-query-grammar v0.12.0 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded levenshtein_automata v0.1.1 [INFO] [stderr] Downloaded owned-read v0.4.1 [INFO] [stderr] Downloaded proc-macro-hack v0.5.15 [INFO] [stderr] Downloaded census v0.4.0 [INFO] [stderr] Downloaded memoffset v0.5.4 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded futures-macro v0.3.4 [INFO] [stderr] Downloaded miniz_oxide v0.3.6 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded xml-rs v0.8.2 [INFO] [stderr] Downloaded once_cell v1.3.1 [INFO] [stderr] Downloaded zip v0.5.5 [INFO] [stderr] Downloaded adler32 v1.0.4 [INFO] [stderr] Downloaded futures-executor v0.3.4 [INFO] [stderr] Downloaded futures-io v0.3.4 [INFO] [stderr] Downloaded filetime v0.2.9 [INFO] [stderr] Downloaded murmurhash32 v0.2.0 [INFO] [stderr] Downloaded libz-sys v1.0.25 [INFO] [stderr] Downloaded backtrace-sys v0.1.35 [INFO] [stderr] Downloaded tantivy v0.12.0 [INFO] [stderr] Downloaded lazycell v1.2.1 [INFO] [stderr] Downloaded bzip2-sys v0.1.8+1.0.8 [INFO] [stderr] Downloaded hermit-abi v0.1.10 [INFO] [stderr] Downloaded snap v1.0.0 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded inotify-sys v0.1.3 [INFO] [stderr] Downloaded failure v0.1.7 [INFO] [stderr] Downloaded fst v0.3.5 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded futures v0.3.4 [INFO] [stderr] Downloaded crossbeam v0.7.3 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded proc-macro-nested v0.1.4 [INFO] [stderr] Downloaded downcast-rs v1.1.1 [INFO] [stderr] Downloaded fail v0.3.0 [INFO] [stderr] Downloaded curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Downloaded atomicwrites v0.2.5 [INFO] [stderr] Downloaded rust-stemmers v1.2.0 [INFO] [stderr] Downloaded combine v4.0.1 [INFO] [stderr] Downloaded tantivy-fst v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3be7ac822c23351001c25e50bd8cd48632bee7e2f4bb6d61682fbad02f7b6065 [INFO] running `Command { std: "docker" "start" "-a" "3be7ac822c23351001c25e50bd8cd48632bee7e2f4bb6d61682fbad02f7b6065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3be7ac822c23351001c25e50bd8cd48632bee7e2f4bb6d61682fbad02f7b6065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be7ac822c23351001c25e50bd8cd48632bee7e2f4bb6d61682fbad02f7b6065", kill_on_drop: false }` [INFO] [stdout] 3be7ac822c23351001c25e50bd8cd48632bee7e2f4bb6d61682fbad02f7b6065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c49502074a036feb30f7b3a49fef7219946470d2247a3a862beee033746db47a [INFO] running `Command { std: "docker" "start" "-a" "c49502074a036feb30f7b3a49fef7219946470d2247a3a862beee033746db47a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling snap v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling curl v0.4.28 [INFO] [stderr] Compiling ununi v0.4.9 (/opt/rustwide/workdir) [INFO] [stderr] Compiling census v0.4.0 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling owned-read v0.4.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.9 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling combine v4.0.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling fst v0.3.5 [INFO] [stderr] Compiling murmurhash32 v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling bzip2-sys v0.1.8+1.0.8 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling bitpacking v0.8.2 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling levenshtein_automata v0.1.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling zip v0.5.5 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling fail v0.3.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling tantivy-fst v0.2.1 [INFO] [stderr] Compiling atomicwrites v0.2.5 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling tantivy-query-grammar v0.12.0 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling tantivy v0.12.0 [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID2D1Factory` [INFO] [stdout] --> src/vgu.rs:220:67 [INFO] [stdout] | [INFO] [stdout] 220 | D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &ID2D1Factory::uuidof(), null_opts, transmute(fac.as_mut_ptr())) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ID2D1Factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDWriteFactory` [INFO] [stdout] --> src/vgu.rs:298:62 [INFO] [stdout] | [INFO] [stdout] 298 | ... DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, &IDWriteFactory::uuidof(), transmute(fac.as_mut_ptr())).into_result(|| Com::from_pt... [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IDWriteFactory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GUITHREADINFO` [INFO] [stdout] --> src/app.rs:324:38 [INFO] [stdout] | [INFO] [stdout] 324 | let mut gti: GUITHREADINFO = GUITHREADINFO::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `GUITHREADINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/vgu.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | res: HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/vgu.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(hr: HRESULT) -> HResultError { HResultError { res: hr } } [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/vgu.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | HResultError { res: GetLastError() as i32 } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/vgu.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | impl IntoResult for HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/vgu.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn SetProcessDpiAwareness(value: DWORD) -> HRESULT; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/vgu.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn SetProcessDpiAwareness(value: DWORD) -> HRESULT; [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/vgu.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | pub hndl: 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/vgu.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn from_handle(hndl: HWND) -> Window { Window { hndl } } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDPROC` in this scope [INFO] [stdout] --> src/vgu.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(size: (i32, i32), prc: WNDPROC) -> Result { [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/vgu.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | let module = GetModuleHandleW(null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/vgu.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let class = WNDCLASSEXW { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/vgu.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 84 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 91 | cbSize: size_of::() as UINT, [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/vgu.rs:91:53 [INFO] [stdout] | [INFO] [stdout] 91 | cbSize: size_of::() as UINT, [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/vgu.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | style: 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/vgu.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | style: 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 `LoadCursorW` in this scope [INFO] [stdout] --> src/vgu.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | hCursor: LoadCursorW(module, 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/vgu.rs:97:46 [INFO] [stdout] | [INFO] [stdout] 97 | hCursor: LoadCursorW(module, IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/vgu.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | if RegisterClassExW(&class) == 0 { [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/vgu.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope [INFO] [stdout] --> src/vgu.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | WS_EX_COMPOSITED, //assuming we're going to use this with DirectX [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/vgu.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | WS_POPUP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/vgu.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn client_rect(&self) -> RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/vgu.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let mut rc: RECT = RECT{left:0,right:0,bottom:0,top:0}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/vgu.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | let mut rc: RECT = RECT{left:0,right:0,bottom:0,top:0}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/vgu.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | unsafe { GetClientRect(self.hndl, &mut rc); } [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/vgu.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 84 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 132 | let mut msg: MaybeUninit = MaybeUninit::uninit(); [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/vgu.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | while GetMessageW(msg.as_mut_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/vgu.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/vgu.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope [INFO] [stdout] --> src/vgu.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | UnregisterClassW(&[65u16,0u16] as *const u16, GetModuleHandleW(null())); [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/vgu.rs:145:59 [INFO] [stdout] | [INFO] [stdout] 145 | UnregisterClassW(&[65u16,0u16] as *const u16, GetModuleHandleW(null())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> src/vgu.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | CloseWindow(self.hndl); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/vgu.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | pub punk: *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/vgu.rs:159:31 [INFO] [stdout] | [INFO] [stdout] 159 | Com { punk: p as *mut IUnknown, p: p } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IID` in this scope [INFO] [stdout] --> src/vgu.rs:162:42 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn query_interface(&self, id: IID) -> Result, HResultError> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/vgu.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 213 | pub type Factory = Com; [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/vgu.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 215 | impl Factory { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 216 | pub fn new() -> Result, HResultError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/vgu.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | let null_opts: *const D2D1_FACTORY_OPTIONS = null(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/vgu.rs:218:39 [INFO] [stdout] | [INFO] [stdout] 215 | impl Factory { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 218 | let mut fac: MaybeUninit<*mut ID2D1Factory> = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1CreateFactory` in this scope [INFO] [stdout] --> src/vgu.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &ID2D1Factory::uuidof(), null_opts, transmute(fac.as_mut_ptr())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_SINGLE_THREADED` in this scope [INFO] [stdout] --> src/vgu.rs:220:31 [INFO] [stdout] | [INFO] [stdout] 220 | D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &ID2D1Factory::uuidof(), null_opts, transmute(fac.as_mut_ptr())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Brush` in this scope [INFO] [stdout] --> src/vgu.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | pub type Brush = Com; [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/vgu.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | pub type Font = Com; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stdout] --> src/vgu.rs:245:27 [INFO] [stdout] | [INFO] [stdout] 245 | pub type TextLayout = Com; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/vgu.rs:247:35 [INFO] [stdout] | [INFO] [stdout] 247 | pub type WindowRenderTarget = Com; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/vgu.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | let size = D2D_SIZE_U { width: (rc.right-rc.left) as u32, height: (rc.bottom-rc.top) as u32 }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope [INFO] [stdout] --> src/vgu.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let pxfmt = D2D1_PIXEL_FORMAT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_PREMULTIPLIED` in this scope [INFO] [stdout] --> src/vgu.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/vgu.rs:257:28 [INFO] [stdout] | [INFO] [stdout] 257 | let render_props = D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope [INFO] [stdout] --> src/vgu.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | _type: D2D1_RENDER_TARGET_TYPE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_NONE` in this scope [INFO] [stdout] --> src/vgu.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | usage: D2D1_RENDER_TARGET_USAGE_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FEATURE_LEVEL_DEFAULT` in this scope [INFO] [stdout] --> src/vgu.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/vgu.rs:264:23 [INFO] [stdout] | [INFO] [stdout] 264 | let hwnd_rp = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/vgu.rs:267:29 [INFO] [stdout] | [INFO] [stdout] 267 | presentOptions: D2D1_PRESENT_OPTIONS_NONE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/vgu.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | let mut hrt: *mut ID2D1HwndRenderTarget = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/vgu.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 277 | let rs = D2D_SIZE_U { width: w, height: h }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/vgu.rs:284:53 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn solid_color(rt: WindowRenderTarget, col: D2D1_COLOR_F) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/vgu.rs:286:32 [INFO] [stdout] | [INFO] [stdout] 286 | let mut brsh: *mut ID2D1SolidColorBrush = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/vgu.rs:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | pub type TextFactory = Com; [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/vgu.rs:297:44 [INFO] [stdout] | [INFO] [stdout] 294 | impl TextFactory { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 297 | let mut fac : MaybeUninit<*mut IDWriteFactory> = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DWriteCreateFactory` in this scope [INFO] [stdout] --> src/vgu.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | ... DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, &IDWriteFactory::uuidof(), transmute(fac.as_mut_ptr())).into_result(|| Com::from_pt... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope [INFO] [stdout] --> src/vgu.rs:298:33 [INFO] [stdout] | [INFO] [stdout] 298 | ... DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, &IDWriteFactory::uuidof(), transmute(fac.as_mut_ptr())).into_result(|| Com::from_pt... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stdout] --> src/vgu.rs:305:56 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn new(fac: TextFactory, name: String, weight: DWRITE_FONT_WEIGHT, style: DWRITE_FONT_STYLE, size: f32) -> Result src/vgu.rs:305:83 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn new(fac: TextFactory, name: String, weight: DWRITE_FONT_WEIGHT, style: DWRITE_FONT_STYLE, size: f32) -> Result src/vgu.rs:307:43 [INFO] [stdout] | [INFO] [stdout] 304 | impl Font { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 307 | let mut txf: MaybeUninit<*mut IDWriteTextFormat> = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope [INFO] [stdout] --> src/vgu.rs:312:49 [INFO] [stdout] | [INFO] [stdout] 312 | ... weight, style, DWRITE_FONT_STRETCH_NORMAL, size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stdout] --> src/vgu.rs:321:42 [INFO] [stdout] | [INFO] [stdout] 318 | impl TextLayout { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 321 | let mut lo: MaybeUninit<*mut IDWriteTextLayout> = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/vgu.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn bounds(&self) -> D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_TEXT_METRICS` in this scope [INFO] [stdout] --> src/vgu.rs:331:42 [INFO] [stdout] | [INFO] [stdout] 318 | impl TextLayout { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 331 | let mut metrics: MaybeUninit = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/vgu.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | D2D1_RECT_F { left: metrics.left, top: metrics.top, right: metrics.left+metrics.width, bottom: metrics.top+metrics.height } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/vgu.rs:337:48 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn char_bounds(&self, index: usize) -> D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_HIT_TEST_METRICS` in this scope [INFO] [stdout] --> src/vgu.rs:339:37 [INFO] [stdout] | [INFO] [stdout] 318 | impl TextLayout { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 339 | let mut ht: MaybeUninit = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/vgu.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | D2D1_RECT_F { left: x, top: y, right: x+ht.width, bottom: y+ht.height } [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/app.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct App { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 92 | foreground_window: Option, ctrl_pressed: bool, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/app.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | background_color: D2D1_COLOR_F [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/app.rs:158:55 [INFO] [stdout] | [INFO] [stdout] 158 | fn color_from_value(tv: &TomlValue, a: f32) -> Option { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/app.rs:163:58 [INFO] [stdout] | [INFO] [stdout] 163 | ... .map(|b| D2D1_COLOR_F{r: r as f32, g: g as f32, b: b as f32, a: a})))) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/app.rs:184:47 [INFO] [stdout] | [INFO] [stdout] 184 | ... .unwrap_or(D2D1_COLOR_F{r:0.9, g:0.9, b:0.9, a:1.0}), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/app.rs:187:47 [INFO] [stdout] | [INFO] [stdout] 187 | ... .unwrap_or(D2D1_COLOR_F{r:0.9, g:0.8, b:0.6, a:0.8}), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/app.rs:189:66 [INFO] [stdout] | [INFO] [stdout] 189 | .and_then(|v| color_from_value(v,1.0)).unwrap_or(D2D1_COLOR_F{r:0.1, g:0.1, b:0.1, a:1.0})) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_NORMAL` in this scope [INFO] [stdout] --> src/app.rs:196:29 [INFO] [stdout] | [INFO] [stdout] 196 | ... DWRITE_FONT_WEIGHT_NORMAL, DWRITE_FONT_STYLE_NORMAL, 16.0)?;//.expect("creating font"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope [INFO] [stdout] --> src/app.rs:196:56 [INFO] [stdout] | [INFO] [stdout] 196 | ... DWRITE_FONT_WEIGHT_NORMAL, DWRITE_FONT_STYLE_NORMAL, 16.0)?;//.expect("creating font"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/app.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | let r = D2D1_RECT_F{left: 0.0, right:520.0, top:0.0, bottom:520.0}; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/app.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | let mut r = D2D1_RECT_F{left: 8.0, right:512.0, top:8.0, bottom:32.0}; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/app.rs:274:32 [INFO] [stdout] | [INFO] [stdout] 274 | self.rt.DrawTextLayout(D2D1_POINT_2F{x: r.left, y: r.top}, query_layout.p, self.b.p, D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT` in this scope [INFO] [stdout] --> src/app.rs:274:94 [INFO] [stdout] | [INFO] [stdout] 274 | self.rt.DrawTextLayout(D2D1_POINT_2F{x: r.left, y: r.top}, query_layout.p, self.b.p, D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT` in this scope [INFO] [stdout] --> src/app.rs:294:64 [INFO] [stdout] | [INFO] [stdout] 294 | ... self.fnt.p, &r, self.b.p, D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT | D2D1_DRAW_TEXT_OPTIONS_CLIP, winapi::um::dcommon::DWRITE_MEASU... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_CLIP` in this scope [INFO] [stdout] --> src/app.rs:294:107 [INFO] [stdout] | [INFO] [stdout] 294 | ... self.fnt.p, &r, self.b.p, D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT | D2D1_DRAW_TEXT_OPTIONS_CLIP, winapi::um::dcommon::DWRITE_MEASU... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/app.rs:303:30 [INFO] [stdout] | [INFO] [stdout] 303 | self.rt.DrawLine(D2D1_POINT_2F{x: 0.0, y:0.0}, D2D1_POINT_2F{x:800.0,y:0.0}, self.sel_b.p, 1.0, null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/app.rs:303:60 [INFO] [stdout] | [INFO] [stdout] 303 | self.rt.DrawLine(D2D1_POINT_2F{x: 0.0, y:0.0}, D2D1_POINT_2F{x:800.0,y:0.0}, self.sel_b.p, 1.0, null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUITHREADINFO` in this scope [INFO] [stdout] --> src/app.rs:324:22 [INFO] [stdout] | [INFO] [stdout] 324 | let mut gti: GUITHREADINFO = GUITHREADINFO::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUITHREADINFO` in this scope [INFO] [stdout] --> src/app.rs:325:32 [INFO] [stdout] | [INFO] [stdout] 169 | impl App { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 325 | gti.cbSize = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetGUIThreadInfo` in this scope [INFO] [stdout] --> src/app.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | GetGUIThreadInfo(0, &mut gti); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/app.rs:331:34 [INFO] [stdout] | [INFO] [stdout] 169 | impl App { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 331 | let mut frc: MaybeUninit = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/app.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | GetWindowRect(gti.hwndFocus, frc.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/app.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | ... SetWindowPos(self.win.hndl, transmute(-1 as isize), frc.left + gti.rcCaret.left, frc.top + gti.rcCaret.bottom+4, 0, 0, SWP_NOSIZE |... [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> src/app.rs:334:128 [INFO] [stdout] | [INFO] [stdout] 334 | ...Caret.left, frc.top + gti.rcCaret.bottom+4, 0, 0, SWP_NOSIZE | SWP_SHOWWINDOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stdout] --> src/app.rs:334:141 [INFO] [stdout] | [INFO] [stdout] 334 | ....top + gti.rcCaret.bottom+4, 0, 0, SWP_NOSIZE | SWP_SHOWWINDOW); [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/app.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | ShowWindow(self.win.hndl, SW_RESTORE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stdout] --> src/app.rs:335:35 [INFO] [stdout] | [INFO] [stdout] 335 | ShowWindow(self.win.hndl, SW_RESTORE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/app.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | SetForegroundWindow(self.win.hndl); [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/app.rs:347:40 [INFO] [stdout] | [INFO] [stdout] 347 | unsafe fn send_char(&mut self, fw: HWND, cp: char, use_clipboard: bool) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenClipboard` in this scope [INFO] [stdout] --> src/app.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | OpenClipboard(self.win.hndl); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `use_clipboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EmptyClipboard` in this scope [INFO] [stdout] --> src/app.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | EmptyClipboard(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalAlloc` in this scope [INFO] [stdout] --> src/app.rs:351:31 [INFO] [stdout] | [INFO] [stdout] 351 | let global_text = GlobalAlloc(0x0042, 6); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalLock` in this scope [INFO] [stdout] --> src/app.rs:352:50 [INFO] [stdout] | [INFO] [stdout] 352 | let tcopy: &mut [u16; 3] = transmute(GlobalLock(global_text)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalUnlock` in this scope [INFO] [stdout] --> src/app.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | GlobalUnlock(global_text); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetClipboardData` in this scope [INFO] [stdout] --> src/app.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | SetClipboardData(CF_UNICODETEXT, global_text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope [INFO] [stdout] --> src/app.rs:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | SetClipboardData(CF_UNICODETEXT, global_text); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseClipboard` in this scope [INFO] [stdout] --> src/app.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | CloseClipboard(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/app.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | SetForegroundWindow(fw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keybd_event` in this scope [INFO] [stdout] --> src/app.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | keybd_event(VK_CONTROL as u8, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stdout] --> src/app.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | keybd_event(VK_CONTROL as u8, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keybd_event` in this scope [INFO] [stdout] --> src/app.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | keybd_event(b'V', 0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keybd_event` in this scope [INFO] [stdout] --> src/app.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | keybd_event(b'V', 0, KEYEVENTF_KEYUP, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope [INFO] [stdout] --> src/app.rs:360:34 [INFO] [stdout] | [INFO] [stdout] 360 | keybd_event(b'V', 0, KEYEVENTF_KEYUP, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keybd_event` in this scope [INFO] [stdout] --> src/app.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | keybd_event(VK_CONTROL as u8, 0, KEYEVENTF_KEYUP, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stdout] --> src/app.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | keybd_event(VK_CONTROL as u8, 0, KEYEVENTF_KEYUP, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope [INFO] [stdout] --> src/app.rs:361:46 [INFO] [stdout] | [INFO] [stdout] 361 | keybd_event(VK_CONTROL as u8, 0, KEYEVENTF_KEYUP, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/app.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | SetForegroundWindow(fw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/app.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | PostMessageW(fw, WM_CHAR, *c as WPARAM, 1); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CHAR` in this scope [INFO] [stdout] --> src/app.rs:367:34 [INFO] [stdout] | [INFO] [stdout] 367 | PostMessageW(fw, WM_CHAR, *c as WPARAM, 1); [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/app.rs:367:49 [INFO] [stdout] | [INFO] [stdout] 367 | PostMessageW(fw, WM_CHAR, *c as WPARAM, 1); [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/app.rs:372:69 [INFO] [stdout] | [INFO] [stdout] 372 | unsafe fn send_selected_char(&mut self, use_clipboard: bool) -> LRESULT { [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/app.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | ShowWindow(self.win.hndl, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/app.rs:385:35 [INFO] [stdout] | [INFO] [stdout] 385 | ShowWindow(self.win.hndl, SW_HIDE); [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/app.rs:389:37 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe fn keydown(&mut self, w: WPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/app.rs:389:48 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe fn keydown(&mut self, w: WPARAM) -> LRESULT { [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/app.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | ShowWindow(self.win.hndl, SW_HIDE); 0 [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/app.rs:411:43 [INFO] [stdout] | [INFO] [stdout] 411 | ShowWindow(self.win.hndl, SW_HIDE); 0 [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/app.rs:438:27 [INFO] [stdout] | [INFO] [stdout] 438 | VK_PAUSE => { PostQuitMessage(0); 0 } [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/app.rs:444:40 [INFO] [stdout] | [INFO] [stdout] 444 | unsafe extern "system" fn winproc(win: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT { [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/app.rs:444:51 [INFO] [stdout] | [INFO] [stdout] 444 | unsafe extern "system" fn winproc(win: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT { [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/app.rs:444:60 [INFO] [stdout] | [INFO] [stdout] 444 | unsafe extern "system" fn winproc(win: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT { [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/app.rs:444:71 [INFO] [stdout] | [INFO] [stdout] 444 | unsafe extern "system" fn winproc(win: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/app.rs:444:82 [INFO] [stdout] | [INFO] [stdout] 444 | unsafe extern "system" fn winproc(win: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT { [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/app.rs:445:16 [INFO] [stdout] | [INFO] [stdout] 445 | let papp = GetWindowLongPtrW(win, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/app.rs:446:27 [INFO] [stdout] | [INFO] [stdout] 446 | if papp == 0 { return DefWindowProcW(win, msg, w, l); } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_X_LPARAM` in this scope [INFO] [stdout] --> src/app.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | app.resize(GET_X_LPARAM(l) as u32, GET_Y_LPARAM(l) as u32); 0 [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_Y_LPARAM` in this scope [INFO] [stdout] --> src/app.rs:453:48 [INFO] [stdout] | [INFO] [stdout] 453 | app.resize(GET_X_LPARAM(l) as u32, GET_Y_LPARAM(l) as u32); 0 [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/app.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | SetWindowLongPtrW(win, 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 `PostQuitMessage` in this scope [INFO] [stdout] --> src/app.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | PostQuitMessage(0); 1 [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/app.rs:476:14 [INFO] [stdout] | [INFO] [stdout] 476 | _ => DefWindowProcW(win, msg, w, l) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/main.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { MessageBoxW(null_mut(), text.as_ptr(), null_mut(), MB_ICONERROR) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONERROR` in this scope [INFO] [stdout] --> src/main.rs:26:65 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { MessageBoxW(null_mut(), text.as_ptr(), null_mut(), MB_ICONERROR) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/main.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let res = unsafe { MessageBoxW(null_mut(), text.as_ptr(), [0u16, 0u16].as_ptr(), MB_YESNOCANCEL) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_YESNOCANCEL` in this scope [INFO] [stdout] --> src/main.rs:46:90 [INFO] [stdout] | [INFO] [stdout] 46 | let res = unsafe { MessageBoxW(null_mut(), text.as_ptr(), [0u16, 0u16].as_ptr(), MB_YESNOCANCEL) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameW` in this scope [INFO] [stdout] --> src/main.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | let path_len = unsafe { GetModuleFileNameW(null_mut(), module_path.as_mut_ptr(), 256) } as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ununi` due to 175 previous errors [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/main.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | let mut key: MaybeUninit = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCreateKeyExW` in this scope [INFO] [stdout] --> src/main.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | RegCreateKeyExW(HKEY_CURRENT_USER, subkey.as_ptr(), 0, null_mut(), 0, KEY_WRITE, null_mut(), key.as_mut_ptr(), null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> src/main.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | RegCreateKeyExW(HKEY_CURRENT_USER, subkey.as_ptr(), 0, null_mut(), 0, KEY_WRITE, null_mut(), key.as_mut_ptr(), null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_WRITE` in this scope [INFO] [stdout] --> src/main.rs:56:87 [INFO] [stdout] | [INFO] [stdout] 56 | RegCreateKeyExW(HKEY_CURRENT_USER, subkey.as_ptr(), 0, null_mut(), 0, KEY_WRITE, null_mut(), key.as_mut_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 `RegSetValueExW` in this scope [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | RegSetValueExW(key, [b'u' as u16, 0u16, 0u16].as_ptr(), 0, REG_SZ, value.as_ptr() as *mut u8, (value.len()*2) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope [INFO] [stdout] --> src/main.rs:58:76 [INFO] [stdout] | [INFO] [stdout] 58 | RegSetValueExW(key, [b'u' as u16, 0u16, 0u16].as_ptr(), 0, REG_SZ, value.as_ptr() as *mut u8, (value.len()*2) as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | RegCloseKey(key); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/main.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe { MessageBoxW(null_mut(), text.as_ptr(), null_mut(), MB_ICONERROR) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONERROR` in this scope [INFO] [stdout] --> src/main.rs:90:73 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe { MessageBoxW(null_mut(), text.as_ptr(), null_mut(), MB_ICONERROR) }; [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/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | SetWindowLongPtrW(app.win.hndl, 0, transmute(&app)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> src/main.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | .map_or(VK_F1 as u32, |v| v as u32); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | RegisterHotKey(app.win.hndl, 0, hotkey_mod, hotkey_key); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `new` [INFO] [stdout] --> src/vgu.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new() -> Result, HResultError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn new(fct: Factory, win: &Window) -> Result { [INFO] [stdout] | ---------------------------------------------------------------------------------- other definition for `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `new` [INFO] [stdout] --> src/vgu.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new() -> Result, HResultError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn new() -> Result { [INFO] [stdout] | ------------------------------------------------- other definition for `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `new` [INFO] [stdout] --> src/vgu.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new() -> Result, HResultError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn new(fac: TextFactory, name: String, weight: DWRITE_FONT_WEIGHT, style: DWRITE_FONT_STYLE, size: f32) -> Result src/vgu.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new() -> Result, HResultError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn new(fac: TextFactory, text: &str, f: &Font, width: f32, height: f32) -> Result> { [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- other definition for `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `new` [INFO] [stdout] --> src/vgu.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(fct: Factory, win: &Window) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn new() -> Result { [INFO] [stdout] | ------------------------------------------------- other definition for `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `new` [INFO] [stdout] --> src/vgu.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(fct: Factory, win: &Window) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn new(fac: TextFactory, name: String, weight: DWRITE_FONT_WEIGHT, style: DWRITE_FONT_STYLE, size: f32) -> Result src/vgu.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(fct: Factory, win: &Window) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn new(fac: TextFactory, text: &str, f: &Font, width: f32, height: f32) -> Result> { [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- other definition for `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `new` [INFO] [stdout] --> src/vgu.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn new(fac: TextFactory, name: String, weight: DWRITE_FONT_WEIGHT, style: DWRITE_FONT_STYLE, size: f32) -> Result src/vgu.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn new(fac: TextFactory, text: &str, f: &Font, width: f32, height: f32) -> Result> { [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- other definition for `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `new` [INFO] [stdout] --> src/vgu.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn new(fac: TextFactory, name: String, weight: DWRITE_FONT_WEIGHT, style: DWRITE_FONT_STYLE, size: f32) -> Result Result> { [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- other definition for `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 174 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0463, E0592. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c49502074a036feb30f7b3a49fef7219946470d2247a3a862beee033746db47a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49502074a036feb30f7b3a49fef7219946470d2247a3a862beee033746db47a", kill_on_drop: false }` [INFO] [stdout] c49502074a036feb30f7b3a49fef7219946470d2247a3a862beee033746db47a