[INFO] updating cached repository hummingly/rust-directwrite-multiformatted_text_example [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/hummingly/rust-directwrite-multiformatted_text_example [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/hummingly/rust-directwrite-multiformatted_text_example" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hummingly/rust-directwrite-multiformatted_text_example"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hummingly/rust-directwrite-multiformatted_text_example'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/hummingly/rust-directwrite-multiformatted_text_example" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/hummingly/rust-directwrite-multiformatted_text_example"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/hummingly/rust-directwrite-multiformatted_text_example'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 88afbfc99fb42051001ba15bf284360f30821bec [INFO] sha for GitHub repo hummingly/rust-directwrite-multiformatted_text_example: 88afbfc99fb42051001ba15bf284360f30821bec [INFO] validating manifest of hummingly/rust-directwrite-multiformatted_text_example on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of hummingly/rust-directwrite-multiformatted_text_example on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing hummingly/rust-directwrite-multiformatted_text_example [INFO] finished frobbing hummingly/rust-directwrite-multiformatted_text_example [INFO] frobbed toml for hummingly/rust-directwrite-multiformatted_text_example written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hummingly/rust-directwrite-multiformatted_text_example/Cargo.toml [INFO] started frobbing hummingly/rust-directwrite-multiformatted_text_example [INFO] finished frobbing hummingly/rust-directwrite-multiformatted_text_example [INFO] frobbed toml for hummingly/rust-directwrite-multiformatted_text_example written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/hummingly/rust-directwrite-multiformatted_text_example/Cargo.toml [INFO] crate hummingly/rust-directwrite-multiformatted_text_example already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking hummingly/rust-directwrite-multiformatted_text_example against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/hummingly/rust-directwrite-multiformatted_text_example:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b08d57a569e1bf4e582195ec0f8f1f596a91298bc3ebcb205c31f73d032545fc [INFO] running `"docker" "start" "-a" "b08d57a569e1bf4e582195ec0f8f1f596a91298bc3ebcb205c31f73d032545fc"` [INFO] [stderr] Checking directwrite v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/utils.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `kernel32::GetLastError`, `kernel32::GetModuleHandleW`, `kernel32::GetProcAddress`, `kernel32::LoadLibraryW` [INFO] [stderr] --> src/utils.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | use kernel32::{GetLastError, GetModuleHandleW, GetProcAddress, LoadLibraryW}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `LoadLibraryW` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `GetProcAddress` in the root [INFO] [stderr] | | no `GetModuleHandleW` in the root [INFO] [stderr] | no `GetLastError` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `user32::MessageBoxW` [INFO] [stderr] --> src/utils.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use user32::MessageBoxW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `MessageBoxW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::d2d1` [INFO] [stderr] --> src/utils.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::d2d1::*; [INFO] [stderr] | ^^^^ could not find `d2d1` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::dwrite` [INFO] [stderr] --> src/utils.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::dwrite::*; [INFO] [stderr] | ^^^^^^ could not find `dwrite` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::dcommon` [INFO] [stderr] --> src/utils.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::dcommon::{D2D1_ALPHA_MODE_IGNORE, D2D1_PIXEL_FORMAT}; [INFO] [stderr] | ^^^^^^^ could not find `dcommon` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::dxgiformat` [INFO] [stderr] --> src/utils.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::dxgiformat::DXGI_FORMAT; [INFO] [stderr] | ^^^^^^^^^^ could not find `dxgiformat` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::c_void` [INFO] [stderr] --> src/utils.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `c_void` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::guiddef` [INFO] [stderr] --> src/utils.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::guiddef::{IID, REFIID}; [INFO] [stderr] | ^^^^^^^ could not find `guiddef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/utils.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::minwindef::HMODULE; [INFO] [stderr] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::unknwnbase` [INFO] [stderr] --> src/utils.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::unknwnbase::IUnknown; [INFO] [stderr] | ^^^^^^^^^^ could not find `unknwnbase` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::windef` [INFO] [stderr] --> src/utils.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::windef::{POINT, RECT}; [INFO] [stderr] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winerror` [INFO] [stderr] --> src/utils.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use winapi::winerror::HRESULT; [INFO] [stderr] | ^^^^^^^^ could not find `winerror` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/utils.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use winapi::winuser::{MB_OK, MSG, PAINTSTRUCT}; [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `gdi32::GetDeviceCaps` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use gdi32::GetDeviceCaps; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `GetDeviceCaps` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/utils.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `kernel32::GetLastError`, `kernel32::GetModuleHandleW`, `kernel32::GetProcAddress`, `kernel32::LoadLibraryW` [INFO] [stderr] --> src/utils.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | use kernel32::{GetLastError, GetModuleHandleW, GetProcAddress, LoadLibraryW}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `LoadLibraryW` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `GetProcAddress` in the root [INFO] [stderr] | | no `GetModuleHandleW` in the root [INFO] [stderr] | no `GetLastError` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `user32::MessageBoxW` [INFO] [stderr] --> src/utils.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use user32::MessageBoxW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `MessageBoxW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::d2d1` [INFO] [stderr] --> src/utils.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::d2d1::*; [INFO] [stderr] | ^^^^ could not find `d2d1` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::dwrite` [INFO] [stderr] --> src/utils.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::dwrite::*; [INFO] [stderr] | ^^^^^^ could not find `dwrite` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::dcommon` [INFO] [stderr] --> src/utils.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::dcommon::{D2D1_ALPHA_MODE_IGNORE, D2D1_PIXEL_FORMAT}; [INFO] [stderr] | ^^^^^^^ could not find `dcommon` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::dxgiformat` [INFO] [stderr] --> src/utils.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::dxgiformat::DXGI_FORMAT; [INFO] [stderr] | ^^^^^^^^^^ could not find `dxgiformat` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::c_void` [INFO] [stderr] --> src/utils.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `c_void` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::guiddef` [INFO] [stderr] --> src/utils.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::guiddef::{IID, REFIID}; [INFO] [stderr] | ^^^^^^^ could not find `guiddef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/utils.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::minwindef::HMODULE; [INFO] [stderr] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::unknwnbase` [INFO] [stderr] --> src/utils.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::unknwnbase::IUnknown; [INFO] [stderr] | ^^^^^^^^^^ could not find `unknwnbase` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::windef` [INFO] [stderr] --> src/utils.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::windef::{POINT, RECT}; [INFO] [stderr] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winerror` [INFO] [stderr] --> src/utils.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use winapi::winerror::HRESULT; [INFO] [stderr] | ^^^^^^^^ could not find `winerror` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/utils.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use winapi::winuser::{MB_OK, MSG, PAINTSTRUCT}; [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `gdi32::GetDeviceCaps` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use gdi32::GetDeviceCaps; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `GetDeviceCaps` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope [INFO] [stderr] --> src/utils.rs:49:18 [INFO] [stderr] | [INFO] [stderr] 49 | factoryType: D2D1_FACTORY_TYPE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stderr] --> src/utils.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | pFactoryOptions: *const D2D1_FACTORY_OPTIONS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope [INFO] [stderr] --> src/utils.rs:56:18 [INFO] [stderr] | [INFO] [stderr] 56 | factoryType: DWRITE_FACTORY_TYPE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope [INFO] [stderr] --> src/utils.rs:103:19 [INFO] [stderr] | [INFO] [stderr] 103 | factory_type: D2D1_FACTORY_TYPE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stderr] --> src/utils.rs:105:31 [INFO] [stderr] | [INFO] [stderr] 105 | p_factory_options: *const D2D1_FACTORY_OPTIONS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope [INFO] [stderr] --> src/utils.rs:113:19 [INFO] [stderr] | [INFO] [stderr] 113 | factory_type: DWRITE_FACTORY_TYPE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stderr] --> src/utils.rs:171:20 [INFO] [stderr] | [INFO] [stderr] 171 | impl WinStruct for D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stderr] --> src/utils.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope [INFO] [stderr] --> src/utils.rs:174:20 [INFO] [stderr] | [INFO] [stderr] 174 | _type: D2D1_RENDER_TARGET_TYPE_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE` in this scope [INFO] [stderr] --> src/utils.rs:178:20 [INFO] [stderr] | [INFO] [stderr] 178 | usage: D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_FEATURE_LEVEL_DEFAULT` in this scope [INFO] [stderr] --> src/utils.rs:179:23 [INFO] [stderr] | [INFO] [stderr] 179 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stderr] --> src/utils.rs:193:20 [INFO] [stderr] | [INFO] [stderr] 193 | impl WinStruct for D2D1_MATRIX_3X2_F { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stderr] --> src/utils.rs:195:9 [INFO] [stderr] | [INFO] [stderr] 195 | D2D1_MATRIX_3X2_F { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_POINT_2F` in this scope [INFO] [stderr] --> src/utils.rs:201:20 [INFO] [stderr] | [INFO] [stderr] 201 | impl WinStruct for D2D1_POINT_2F { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stderr] --> src/utils.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | D2D1_POINT_2F { x: 0.0, y: 0.0 } [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stderr] --> src/utils.rs:211:16 [INFO] [stderr] | [INFO] [stderr] 211 | impl Brush for D2D1_COLOR_F { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stderr] --> src/utils.rs:213:9 [INFO] [stderr] | [INFO] [stderr] 213 | D2D1_COLOR_F { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stderr] --> src/main.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | brush: *mut ID2D1SolidColorBrush, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stderr] --> src/main.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | render_target: *mut ID2D1HwndRenderTarget, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stderr] --> src/main.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | d2d1_factory: *mut ID2D1Factory, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/main.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | dwrite_factory: *mut IDWriteFactory, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/main.rs:26:23 [INFO] [stderr] | [INFO] [stderr] 26 | text_format: *mut IDWriteTextFormat, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/main.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | text_layout: *mut IDWriteTextLayout, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/main.rs:49:34 [INFO] [stderr] | [INFO] [stderr] 49 | let mut d2_factory: *mut c_void = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 7 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stderr] --> src/main.rs:50:31 [INFO] [stderr] | [INFO] [stderr] 50 | let factory_options = D2D1_FACTORY_OPTIONS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_NONE` in this scope [INFO] [stderr] --> src/main.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | debugLevel: D2D1_DEBUG_LEVEL_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_MULTI_THREADED` in this scope [INFO] [stderr] --> src/main.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | D2D1_FACTORY_TYPE_MULTI_THREADED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `UuidOfID2D1Factory` in this scope [INFO] [stderr] --> src/main.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | &UuidOfID2D1Factory, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UuidOfIDWriteFactory` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stderr] --> src/main.rs:57:40 [INFO] [stderr] | [INFO] [stderr] 57 | &factory_options as *const D2D1_FACTORY_OPTIONS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:61:28 [INFO] [stderr] | [INFO] [stderr] 61 | if d2d1_factory != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stderr] --> src/main.rs:64:51 [INFO] [stderr] | [INFO] [stderr] 64 | app.d2d1_factory = d2_factory as *mut ID2D1Factory; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/main.rs:67:34 [INFO] [stderr] | [INFO] [stderr] 67 | let mut dw_factory: *mut IUnknown = null_mut(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope [INFO] [stderr] --> src/main.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | DWRITE_FACTORY_TYPE_SHARED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:75:30 [INFO] [stderr] | [INFO] [stderr] 75 | if dwrite_factory != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/main.rs:78:53 [INFO] [stderr] | [INFO] [stderr] 78 | app.dwrite_factory = dw_factory as *mut IDWriteFactory; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/main.rs:85:34 [INFO] [stderr] | [INFO] [stderr] 85 | let dwrite_factory: &mut IDWriteFactory = &mut *app.dwrite_factory; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_REGULAR` in this scope [INFO] [stderr] --> src/main.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | DWRITE_FONT_WEIGHT_REGULAR, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope [INFO] [stderr] --> src/main.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | DWRITE_FONT_STYLE_NORMAL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope [INFO] [stderr] --> src/main.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | DWRITE_FONT_STRETCH_NORMAL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:96:14 [INFO] [stderr] | [INFO] [stderr] 96 | ) != S_OK [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/main.rs:101:31 [INFO] [stderr] | [INFO] [stderr] 101 | let text_format: &mut IDWriteTextFormat = &mut *app.text_format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_TEXT_ALIGNMENT_CENTER` in this scope [INFO] [stderr] --> src/main.rs:103:41 [INFO] [stderr] | [INFO] [stderr] 103 | if text_format.SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER) != S_OK { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:103:74 [INFO] [stderr] | [INFO] [stderr] 103 | if text_format.SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_PARAGRAPH_ALIGNMENT_CENTER` in this scope [INFO] [stderr] --> src/main.rs:107:46 [INFO] [stderr] | [INFO] [stderr] 107 | if text_format.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER) != S_OK { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:107:84 [INFO] [stderr] | [INFO] [stderr] 107 | if text_format.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:111:23 [INFO] [stderr] | [INFO] [stderr] 111 | let mut rect: RECT = WinStruct::default(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/main.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:112:51 [INFO] [stderr] | [INFO] [stderr] 112 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:124:14 [INFO] [stderr] | [INFO] [stderr] 124 | ) != S_OK [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/main.rs:129:31 [INFO] [stderr] | [INFO] [stderr] 129 | let text_layout: &mut IDWriteTextLayout = &mut *app.text_layout; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/main.rs:131:27 [INFO] [stderr] | [INFO] [stderr] 131 | let text_range1 = DWRITE_TEXT_RANGE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/main.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | let text_range2 = DWRITE_TEXT_RANGE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/main.rs:139:30 [INFO] [stderr] | [INFO] [stderr] 139 | let text_range_all = DWRITE_TEXT_RANGE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:144:59 [INFO] [stderr] | [INFO] [stderr] 144 | if text_layout.SetFontSize(100.0, text_range1) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/main.rs:148:37 [INFO] [stderr] | [INFO] [stderr] 148 | if text_layout.SetUnderline(TRUE, text_range2) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:148:59 [INFO] [stderr] | [INFO] [stderr] 148 | if text_layout.SetUnderline(TRUE, text_range2) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_BOLD` in this scope [INFO] [stderr] --> src/main.rs:152:38 [INFO] [stderr] | [INFO] [stderr] 152 | if text_layout.SetFontWeight(DWRITE_FONT_WEIGHT_BOLD, text_range2) != S_OK { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:152:79 [INFO] [stderr] | [INFO] [stderr] 152 | if text_layout.SetFontWeight(DWRITE_FONT_WEIGHT_BOLD, text_range2) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTypography` in this scope [INFO] [stderr] --> src/main.rs:156:38 [INFO] [stderr] | [INFO] [stderr] 156 | let mut typography_ptr: *mut IDWriteTypography = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:158:68 [INFO] [stderr] | [INFO] [stderr] 158 | if dwrite_factory.CreateTypography(&mut typography_ptr) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DWRITE_FONT_FEATURE` in this scope [INFO] [stderr] --> src/main.rs:162:28 [INFO] [stderr] | [INFO] [stderr] 162 | let font_feature = DWRITE_FONT_FEATURE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DWRITE_FONT_FEATURE_TAG` in this scope [INFO] [stderr] --> src/main.rs:163:22 [INFO] [stderr] | [INFO] [stderr] 163 | nameTag: DWRITE_FONT_FEATURE_TAG(0x3730_7373), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTypography` in this scope [INFO] [stderr] --> src/main.rs:167:30 [INFO] [stderr] | [INFO] [stderr] 167 | let typography: &mut IDWriteTypography = &mut *typography_ptr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:169:55 [INFO] [stderr] | [INFO] [stderr] 169 | if typography.AddFontFeature(font_feature) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:173:73 [INFO] [stderr] | [INFO] [stderr] 173 | if text_layout.SetTypography(typography_ptr, text_range_all) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:184:27 [INFO] [stderr] | [INFO] [stderr] 184 | let mut rect: RECT = WinStruct::default(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/main.rs:186:13 [INFO] [stderr] | [INFO] [stderr] 186 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:186:55 [INFO] [stderr] | [INFO] [stderr] 186 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_U` in this scope [INFO] [stderr] --> src/main.rs:188:28 [INFO] [stderr] | [INFO] [stderr] 188 | let d2d_rect = D2D1_SIZE_U { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stderr] --> src/main.rs:193:36 [INFO] [stderr] | [INFO] [stderr] 193 | let render_properties: D2D1_RENDER_TARGET_PROPERTIES = WinStruct::default(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stderr] --> src/main.rs:195:42 [INFO] [stderr] | [INFO] [stderr] 195 | let hwnd_render_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stderr] --> src/main.rs:198:33 [INFO] [stderr] | [INFO] [stderr] 198 | presentOptions: D2D1_PRESENT_OPTIONS_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stderr] --> src/main.rs:201:31 [INFO] [stderr] | [INFO] [stderr] 201 | let factory: &mut ID2D1Factory = &mut *app.d2d1_factory; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:207:18 [INFO] [stderr] | [INFO] [stderr] 207 | ) != S_OK [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stderr] --> src/main.rs:212:37 [INFO] [stderr] | [INFO] [stderr] 212 | let render_target: &mut ID2D1HwndRenderTarget = &mut *app.render_target; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:216:87 [INFO] [stderr] | [INFO] [stderr] 216 | if render_target.CreateSolidColorBrush(&black, null(), &mut app.brush) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/main.rs:224:80 [INFO] [stderr] | [INFO] [stderr] 224 | fn on_paint(app: &mut MultiFormatsText, dpi_scale_x: i32, dpi_scale_y: i32) -> HRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stderr] --> src/main.rs:226:26 [INFO] [stderr] | [INFO] [stderr] 226 | let d2d1_matrix: D2D1_MATRIX_3X2_F = WinStruct::default(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:227:23 [INFO] [stderr] | [INFO] [stderr] 227 | let mut rect: RECT = WinStruct::default(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/main.rs:228:9 [INFO] [stderr] | [INFO] [stderr] 228 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:228:51 [INFO] [stderr] | [INFO] [stderr] 228 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stderr] --> src/main.rs:230:22 [INFO] [stderr] | [INFO] [stderr] 230 | let origin = D2D1_POINT_2F { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Brush` in this scope [INFO] [stderr] --> src/main.rs:247:38 [INFO] [stderr] | [INFO] [stderr] 247 | &mut **app.brush as *mut ID2D1Brush, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope [INFO] [stderr] --> src/main.rs:248:13 [INFO] [stderr] | [INFO] [stderr] 248 | D2D1_DRAW_TEXT_OPTIONS_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:291:11 [INFO] [stderr] | [INFO] [stderr] 291 | hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/main.rs:292:14 [INFO] [stderr] | [INFO] [stderr] 292 | message: UINT32, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:293:13 [INFO] [stderr] | [INFO] [stderr] 293 | wparam: WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:294:13 [INFO] [stderr] | [INFO] [stderr] 294 | lparam: LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:295:6 [INFO] [stderr] | [INFO] [stderr] 295 | ) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetDC` in this scope [INFO] [stderr] --> src/main.rs:296:18 [INFO] [stderr] | [INFO] [stderr] 296 | let screen = GetDC(null_mut()); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSX` in this scope [INFO] [stderr] --> src/main.rs:297:45 [INFO] [stderr] | [INFO] [stderr] 297 | let dpi_scale_x = GetDeviceCaps(screen, LOGPIXELSX) / 96; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSY` in this scope [INFO] [stderr] --> src/main.rs:298:45 [INFO] [stderr] | [INFO] [stderr] 298 | let dpi_scale_y = GetDeviceCaps(screen, LOGPIXELSY) / 96; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/main.rs:300:19 [INFO] [stderr] | [INFO] [stderr] 300 | let app_ptr = GetWindowLongPtrW(hwnd, 0) as *mut MultiFormatsText; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2DERR_RECREATE_TARGET` in this scope [INFO] [stderr] --> src/main.rs:305:59 [INFO] [stderr] | [INFO] [stderr] 305 | if on_paint(app, dpi_scale_x, dpi_scale_y) == D2DERR_RECREATE_TARGET { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_X_LPARAM` in this scope [INFO] [stderr] --> src/main.rs:311:25 [INFO] [stderr] | [INFO] [stderr] 311 | let width = GET_X_LPARAM(lparam); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_Y_LPARAM` in this scope [INFO] [stderr] --> src/main.rs:312:26 [INFO] [stderr] | [INFO] [stderr] 312 | let height = GET_Y_LPARAM(lparam); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stderr] --> src/main.rs:315:35 [INFO] [stderr] | [INFO] [stderr] 315 | let render_size = D2D_SIZE_U { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:333:13 [INFO] [stderr] | [INFO] [stderr] 333 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UnregisterClassW` in this scope [INFO] [stderr] --> src/main.rs:337:13 [INFO] [stderr] | [INFO] [stderr] 337 | UnregisterClassW( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:339:17 [INFO] [stderr] | [INFO] [stderr] 339 | GetModuleHandleW(null_mut()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:343:14 [INFO] [stderr] | [INFO] [stderr] 343 | _ => DefWindowProcW(hwnd, message, wparam, lparam), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:351:21 [INFO] [stderr] | [INFO] [stderr] 351 | let wndcl = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:352:36 [INFO] [stderr] | [INFO] [stderr] 352 | cbSize: mem::size_of::() as UINT32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/main.rs:352:54 [INFO] [stderr] | [INFO] [stderr] 352 | cbSize: mem::size_of::() as UINT32, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:353:20 [INFO] [stderr] | [INFO] [stderr] 353 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:353:33 [INFO] [stderr] | [INFO] [stderr] 353 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT32` in this scope [INFO] [stderr] --> src/main.rs:356:68 [INFO] [stderr] | [INFO] [stderr] 356 | cbWndExtra: mem::size_of::<*mut MultiFormatsText>() as INT32, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:357:24 [INFO] [stderr] | [INFO] [stderr] 357 | hInstance: GetModuleHandleW(null_mut()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/main.rs:358:25 [INFO] [stderr] | [INFO] [stderr] 358 | hIcon: 0 as HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope [INFO] [stderr] --> src/main.rs:359:22 [INFO] [stderr] | [INFO] [stderr] 359 | hCursor: LoadCursorW(null_mut(), IDC_ARROW), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/main.rs:359:46 [INFO] [stderr] | [INFO] [stderr] 359 | hCursor: LoadCursorW(null_mut(), IDC_ARROW), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOWFRAME` in this scope [INFO] [stderr] --> src/main.rs:360:28 [INFO] [stderr] | [INFO] [stderr] 360 | hbrBackground: COLOR_WINDOWFRAME as HBRUSH, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/main.rs:360:49 [INFO] [stderr] | [INFO] [stderr] 360 | hbrBackground: COLOR_WINDOWFRAME as HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/main.rs:363:27 [INFO] [stderr] | [INFO] [stderr] 363 | hIconSm: 0 as HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/main.rs:366:12 [INFO] [stderr] | [INFO] [stderr] 366 | if RegisterClassExW(&wndcl) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:368:13 [INFO] [stderr] | [INFO] [stderr] 368 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/main.rs:370:13 [INFO] [stderr] | [INFO] [stderr] 370 | RegisterClassExW(&wndcl); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/main.rs:377:20 [INFO] [stderr] | [INFO] [stderr] 377 | let hwnd = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope [INFO] [stderr] --> src/main.rs:378:13 [INFO] [stderr] | [INFO] [stderr] 378 | WS_EX_COMPOSITED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stderr] --> src/main.rs:381:13 [INFO] [stderr] | [INFO] [stderr] 381 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stderr] --> src/main.rs:381:35 [INFO] [stderr] | [INFO] [stderr] 381 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/main.rs:382:13 [INFO] [stderr] | [INFO] [stderr] 382 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/main.rs:383:13 [INFO] [stderr] | [INFO] [stderr] 383 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:388:13 [INFO] [stderr] | [INFO] [stderr] 388 | GetModuleHandleW(null_mut()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:394:13 [INFO] [stderr] | [INFO] [stderr] 394 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/main.rs:404:9 [INFO] [stderr] | [INFO] [stderr] 404 | SetWindowLongPtrW(app.hwnd, 0, app as *mut MultiFormatsText as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stderr] --> src/main.rs:404:72 [INFO] [stderr] | [INFO] [stderr] 404 | SetWindowLongPtrW(app.hwnd, 0, app as *mut MultiFormatsText as LONG_PTR); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetDC` in this scope [INFO] [stderr] --> src/main.rs:423:22 [INFO] [stderr] | [INFO] [stderr] 423 | let screen = GetDC(null_mut()); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSX` in this scope [INFO] [stderr] --> src/main.rs:424:49 [INFO] [stderr] | [INFO] [stderr] 424 | let dpi_scale_x = GetDeviceCaps(screen, LOGPIXELSX) / 96; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSY` in this scope [INFO] [stderr] --> src/main.rs:425:49 [INFO] [stderr] | [INFO] [stderr] 425 | let dpi_scale_y = GetDeviceCaps(screen, LOGPIXELSY) / 96; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:429:22 [INFO] [stderr] | [INFO] [stderr] 429 | let mut msg: MSG = WinStruct::default(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetMessageW` in this scope [INFO] [stderr] --> src/main.rs:431:15 [INFO] [stderr] | [INFO] [stderr] 431 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:431:44 [INFO] [stderr] | [INFO] [stderr] 431 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:431:54 [INFO] [stderr] | [INFO] [stderr] 431 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:432:13 [INFO] [stderr] | [INFO] [stderr] 432 | TranslateMessage(&msg as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:432:45 [INFO] [stderr] | [INFO] [stderr] 432 | TranslateMessage(&msg as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:433:13 [INFO] [stderr] | [INFO] [stderr] 433 | DispatchMessageW(&msg as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:433:45 [INFO] [stderr] | [INFO] [stderr] 433 | DispatchMessageW(&msg as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/utils.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::d2d1::*` [INFO] [stderr] --> src/utils.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::d2d1::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::dwrite::*` [INFO] [stderr] --> src/utils.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::dwrite::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/utils.rs:26:31 [INFO] [stderr] | [INFO] [stderr] 26 | ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/utils.rs:32:31 [INFO] [stderr] | [INFO] [stderr] 32 | ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 156 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `directwrite`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope [INFO] [stderr] --> src/utils.rs:49:18 [INFO] [stderr] | [INFO] [stderr] 49 | factoryType: D2D1_FACTORY_TYPE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stderr] --> src/utils.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | pFactoryOptions: *const D2D1_FACTORY_OPTIONS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope [INFO] [stderr] --> src/utils.rs:56:18 [INFO] [stderr] | [INFO] [stderr] 56 | factoryType: DWRITE_FACTORY_TYPE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope [INFO] [stderr] --> src/utils.rs:103:19 [INFO] [stderr] | [INFO] [stderr] 103 | factory_type: D2D1_FACTORY_TYPE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stderr] --> src/utils.rs:105:31 [INFO] [stderr] | [INFO] [stderr] 105 | p_factory_options: *const D2D1_FACTORY_OPTIONS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope [INFO] [stderr] --> src/utils.rs:113:19 [INFO] [stderr] | [INFO] [stderr] 113 | factory_type: DWRITE_FACTORY_TYPE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stderr] --> src/utils.rs:171:20 [INFO] [stderr] | [INFO] [stderr] 171 | impl WinStruct for D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stderr] --> src/utils.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope [INFO] [stderr] --> src/utils.rs:174:20 [INFO] [stderr] | [INFO] [stderr] 174 | _type: D2D1_RENDER_TARGET_TYPE_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE` in this scope [INFO] [stderr] --> src/utils.rs:178:20 [INFO] [stderr] | [INFO] [stderr] 178 | usage: D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_FEATURE_LEVEL_DEFAULT` in this scope [INFO] [stderr] --> src/utils.rs:179:23 [INFO] [stderr] | [INFO] [stderr] 179 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stderr] --> src/utils.rs:193:20 [INFO] [stderr] | [INFO] [stderr] 193 | impl WinStruct for D2D1_MATRIX_3X2_F { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stderr] --> src/utils.rs:195:9 [INFO] [stderr] | [INFO] [stderr] 195 | D2D1_MATRIX_3X2_F { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_POINT_2F` in this scope [INFO] [stderr] --> src/utils.rs:201:20 [INFO] [stderr] | [INFO] [stderr] 201 | impl WinStruct for D2D1_POINT_2F { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stderr] --> src/utils.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | D2D1_POINT_2F { x: 0.0, y: 0.0 } [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stderr] --> src/utils.rs:211:16 [INFO] [stderr] | [INFO] [stderr] 211 | impl Brush for D2D1_COLOR_F { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stderr] --> src/utils.rs:213:9 [INFO] [stderr] | [INFO] [stderr] 213 | D2D1_COLOR_F { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stderr] --> src/main.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | brush: *mut ID2D1SolidColorBrush, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stderr] --> src/main.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | render_target: *mut ID2D1HwndRenderTarget, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stderr] --> src/main.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | d2d1_factory: *mut ID2D1Factory, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/main.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | dwrite_factory: *mut IDWriteFactory, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/main.rs:26:23 [INFO] [stderr] | [INFO] [stderr] 26 | text_format: *mut IDWriteTextFormat, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/main.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | text_layout: *mut IDWriteTextLayout, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/main.rs:49:34 [INFO] [stderr] | [INFO] [stderr] 49 | let mut d2_factory: *mut c_void = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 7 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stderr] --> src/main.rs:50:31 [INFO] [stderr] | [INFO] [stderr] 50 | let factory_options = D2D1_FACTORY_OPTIONS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_NONE` in this scope [INFO] [stderr] --> src/main.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | debugLevel: D2D1_DEBUG_LEVEL_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_MULTI_THREADED` in this scope [INFO] [stderr] --> src/main.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | D2D1_FACTORY_TYPE_MULTI_THREADED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `UuidOfID2D1Factory` in this scope [INFO] [stderr] --> src/main.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | &UuidOfID2D1Factory, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UuidOfIDWriteFactory` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stderr] --> src/main.rs:57:40 [INFO] [stderr] | [INFO] [stderr] 57 | &factory_options as *const D2D1_FACTORY_OPTIONS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:61:28 [INFO] [stderr] | [INFO] [stderr] 61 | if d2d1_factory != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stderr] --> src/main.rs:64:51 [INFO] [stderr] | [INFO] [stderr] 64 | app.d2d1_factory = d2_factory as *mut ID2D1Factory; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/main.rs:67:34 [INFO] [stderr] | [INFO] [stderr] 67 | let mut dw_factory: *mut IUnknown = null_mut(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope [INFO] [stderr] --> src/main.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | DWRITE_FACTORY_TYPE_SHARED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:75:30 [INFO] [stderr] | [INFO] [stderr] 75 | if dwrite_factory != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/main.rs:78:53 [INFO] [stderr] | [INFO] [stderr] 78 | app.dwrite_factory = dw_factory as *mut IDWriteFactory; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/main.rs:85:34 [INFO] [stderr] | [INFO] [stderr] 85 | let dwrite_factory: &mut IDWriteFactory = &mut *app.dwrite_factory; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_REGULAR` in this scope [INFO] [stderr] --> src/main.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | DWRITE_FONT_WEIGHT_REGULAR, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope [INFO] [stderr] --> src/main.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | DWRITE_FONT_STYLE_NORMAL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope [INFO] [stderr] --> src/main.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | DWRITE_FONT_STRETCH_NORMAL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:96:14 [INFO] [stderr] | [INFO] [stderr] 96 | ) != S_OK [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/main.rs:101:31 [INFO] [stderr] | [INFO] [stderr] 101 | let text_format: &mut IDWriteTextFormat = &mut *app.text_format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_TEXT_ALIGNMENT_CENTER` in this scope [INFO] [stderr] --> src/main.rs:103:41 [INFO] [stderr] | [INFO] [stderr] 103 | if text_format.SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER) != S_OK { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:103:74 [INFO] [stderr] | [INFO] [stderr] 103 | if text_format.SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_PARAGRAPH_ALIGNMENT_CENTER` in this scope [INFO] [stderr] --> src/main.rs:107:46 [INFO] [stderr] | [INFO] [stderr] 107 | if text_format.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER) != S_OK { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:107:84 [INFO] [stderr] | [INFO] [stderr] 107 | if text_format.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:111:23 [INFO] [stderr] | [INFO] [stderr] 111 | let mut rect: RECT = WinStruct::default(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/main.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:112:51 [INFO] [stderr] | [INFO] [stderr] 112 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:124:14 [INFO] [stderr] | [INFO] [stderr] 124 | ) != S_OK [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/main.rs:129:31 [INFO] [stderr] | [INFO] [stderr] 129 | let text_layout: &mut IDWriteTextLayout = &mut *app.text_layout; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/main.rs:131:27 [INFO] [stderr] | [INFO] [stderr] 131 | let text_range1 = DWRITE_TEXT_RANGE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/main.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | let text_range2 = DWRITE_TEXT_RANGE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/main.rs:139:30 [INFO] [stderr] | [INFO] [stderr] 139 | let text_range_all = DWRITE_TEXT_RANGE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:144:59 [INFO] [stderr] | [INFO] [stderr] 144 | if text_layout.SetFontSize(100.0, text_range1) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/main.rs:148:37 [INFO] [stderr] | [INFO] [stderr] 148 | if text_layout.SetUnderline(TRUE, text_range2) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:148:59 [INFO] [stderr] | [INFO] [stderr] 148 | if text_layout.SetUnderline(TRUE, text_range2) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_BOLD` in this scope [INFO] [stderr] --> src/main.rs:152:38 [INFO] [stderr] | [INFO] [stderr] 152 | if text_layout.SetFontWeight(DWRITE_FONT_WEIGHT_BOLD, text_range2) != S_OK { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:152:79 [INFO] [stderr] | [INFO] [stderr] 152 | if text_layout.SetFontWeight(DWRITE_FONT_WEIGHT_BOLD, text_range2) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTypography` in this scope [INFO] [stderr] --> src/main.rs:156:38 [INFO] [stderr] | [INFO] [stderr] 156 | let mut typography_ptr: *mut IDWriteTypography = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:158:68 [INFO] [stderr] | [INFO] [stderr] 158 | if dwrite_factory.CreateTypography(&mut typography_ptr) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DWRITE_FONT_FEATURE` in this scope [INFO] [stderr] --> src/main.rs:162:28 [INFO] [stderr] | [INFO] [stderr] 162 | let font_feature = DWRITE_FONT_FEATURE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DWRITE_FONT_FEATURE_TAG` in this scope [INFO] [stderr] --> src/main.rs:163:22 [INFO] [stderr] | [INFO] [stderr] 163 | nameTag: DWRITE_FONT_FEATURE_TAG(0x3730_7373), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTypography` in this scope [INFO] [stderr] --> src/main.rs:167:30 [INFO] [stderr] | [INFO] [stderr] 167 | let typography: &mut IDWriteTypography = &mut *typography_ptr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:169:55 [INFO] [stderr] | [INFO] [stderr] 169 | if typography.AddFontFeature(font_feature) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:173:73 [INFO] [stderr] | [INFO] [stderr] 173 | if text_layout.SetTypography(typography_ptr, text_range_all) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:184:27 [INFO] [stderr] | [INFO] [stderr] 184 | let mut rect: RECT = WinStruct::default(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/main.rs:186:13 [INFO] [stderr] | [INFO] [stderr] 186 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:186:55 [INFO] [stderr] | [INFO] [stderr] 186 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_U` in this scope [INFO] [stderr] --> src/main.rs:188:28 [INFO] [stderr] | [INFO] [stderr] 188 | let d2d_rect = D2D1_SIZE_U { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stderr] --> src/main.rs:193:36 [INFO] [stderr] | [INFO] [stderr] 193 | let render_properties: D2D1_RENDER_TARGET_PROPERTIES = WinStruct::default(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stderr] --> src/main.rs:195:42 [INFO] [stderr] | [INFO] [stderr] 195 | let hwnd_render_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stderr] --> src/main.rs:198:33 [INFO] [stderr] | [INFO] [stderr] 198 | presentOptions: D2D1_PRESENT_OPTIONS_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stderr] --> src/main.rs:201:31 [INFO] [stderr] | [INFO] [stderr] 201 | let factory: &mut ID2D1Factory = &mut *app.d2d1_factory; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:207:18 [INFO] [stderr] | [INFO] [stderr] 207 | ) != S_OK [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stderr] --> src/main.rs:212:37 [INFO] [stderr] | [INFO] [stderr] 212 | let render_target: &mut ID2D1HwndRenderTarget = &mut *app.render_target; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> src/main.rs:216:87 [INFO] [stderr] | [INFO] [stderr] 216 | if render_target.CreateSolidColorBrush(&black, null(), &mut app.brush) != S_OK { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/main.rs:224:80 [INFO] [stderr] | [INFO] [stderr] 224 | fn on_paint(app: &mut MultiFormatsText, dpi_scale_x: i32, dpi_scale_y: i32) -> HRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stderr] --> src/main.rs:226:26 [INFO] [stderr] | [INFO] [stderr] 226 | let d2d1_matrix: D2D1_MATRIX_3X2_F = WinStruct::default(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:227:23 [INFO] [stderr] | [INFO] [stderr] 227 | let mut rect: RECT = WinStruct::default(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/main.rs:228:9 [INFO] [stderr] | [INFO] [stderr] 228 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:228:51 [INFO] [stderr] | [INFO] [stderr] 228 | GetClientRect(app.hwnd, &mut rect as *mut RECT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stderr] --> src/main.rs:230:22 [INFO] [stderr] | [INFO] [stderr] 230 | let origin = D2D1_POINT_2F { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Brush` in this scope [INFO] [stderr] --> src/main.rs:247:38 [INFO] [stderr] | [INFO] [stderr] 247 | &mut **app.brush as *mut ID2D1Brush, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope [INFO] [stderr] --> src/main.rs:248:13 [INFO] [stderr] | [INFO] [stderr] 248 | D2D1_DRAW_TEXT_OPTIONS_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:291:11 [INFO] [stderr] | [INFO] [stderr] 291 | hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/main.rs:292:14 [INFO] [stderr] | [INFO] [stderr] 292 | message: UINT32, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:293:13 [INFO] [stderr] | [INFO] [stderr] 293 | wparam: WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:294:13 [INFO] [stderr] | [INFO] [stderr] 294 | lparam: LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:295:6 [INFO] [stderr] | [INFO] [stderr] 295 | ) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetDC` in this scope [INFO] [stderr] --> src/main.rs:296:18 [INFO] [stderr] | [INFO] [stderr] 296 | let screen = GetDC(null_mut()); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSX` in this scope [INFO] [stderr] --> src/main.rs:297:45 [INFO] [stderr] | [INFO] [stderr] 297 | let dpi_scale_x = GetDeviceCaps(screen, LOGPIXELSX) / 96; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSY` in this scope [INFO] [stderr] --> src/main.rs:298:45 [INFO] [stderr] | [INFO] [stderr] 298 | let dpi_scale_y = GetDeviceCaps(screen, LOGPIXELSY) / 96; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/main.rs:300:19 [INFO] [stderr] | [INFO] [stderr] 300 | let app_ptr = GetWindowLongPtrW(hwnd, 0) as *mut MultiFormatsText; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2DERR_RECREATE_TARGET` in this scope [INFO] [stderr] --> src/main.rs:305:59 [INFO] [stderr] | [INFO] [stderr] 305 | if on_paint(app, dpi_scale_x, dpi_scale_y) == D2DERR_RECREATE_TARGET { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_X_LPARAM` in this scope [INFO] [stderr] --> src/main.rs:311:25 [INFO] [stderr] | [INFO] [stderr] 311 | let width = GET_X_LPARAM(lparam); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_Y_LPARAM` in this scope [INFO] [stderr] --> src/main.rs:312:26 [INFO] [stderr] | [INFO] [stderr] 312 | let height = GET_Y_LPARAM(lparam); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stderr] --> src/main.rs:315:35 [INFO] [stderr] | [INFO] [stderr] 315 | let render_size = D2D_SIZE_U { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:333:13 [INFO] [stderr] | [INFO] [stderr] 333 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UnregisterClassW` in this scope [INFO] [stderr] --> src/main.rs:337:13 [INFO] [stderr] | [INFO] [stderr] 337 | UnregisterClassW( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:339:17 [INFO] [stderr] | [INFO] [stderr] 339 | GetModuleHandleW(null_mut()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:343:14 [INFO] [stderr] | [INFO] [stderr] 343 | _ => DefWindowProcW(hwnd, message, wparam, lparam), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:351:21 [INFO] [stderr] | [INFO] [stderr] 351 | let wndcl = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:352:36 [INFO] [stderr] | [INFO] [stderr] 352 | cbSize: mem::size_of::() as UINT32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/main.rs:352:54 [INFO] [stderr] | [INFO] [stderr] 352 | cbSize: mem::size_of::() as UINT32, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:353:20 [INFO] [stderr] | [INFO] [stderr] 353 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:353:33 [INFO] [stderr] | [INFO] [stderr] 353 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT32` in this scope [INFO] [stderr] --> src/main.rs:356:68 [INFO] [stderr] | [INFO] [stderr] 356 | cbWndExtra: mem::size_of::<*mut MultiFormatsText>() as INT32, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:357:24 [INFO] [stderr] | [INFO] [stderr] 357 | hInstance: GetModuleHandleW(null_mut()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/main.rs:358:25 [INFO] [stderr] | [INFO] [stderr] 358 | hIcon: 0 as HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope [INFO] [stderr] --> src/main.rs:359:22 [INFO] [stderr] | [INFO] [stderr] 359 | hCursor: LoadCursorW(null_mut(), IDC_ARROW), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/main.rs:359:46 [INFO] [stderr] | [INFO] [stderr] 359 | hCursor: LoadCursorW(null_mut(), IDC_ARROW), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOWFRAME` in this scope [INFO] [stderr] --> src/main.rs:360:28 [INFO] [stderr] | [INFO] [stderr] 360 | hbrBackground: COLOR_WINDOWFRAME as HBRUSH, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/main.rs:360:49 [INFO] [stderr] | [INFO] [stderr] 360 | hbrBackground: COLOR_WINDOWFRAME as HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/main.rs:363:27 [INFO] [stderr] | [INFO] [stderr] 363 | hIconSm: 0 as HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/main.rs:366:12 [INFO] [stderr] | [INFO] [stderr] 366 | if RegisterClassExW(&wndcl) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:368:13 [INFO] [stderr] | [INFO] [stderr] 368 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/main.rs:370:13 [INFO] [stderr] | [INFO] [stderr] 370 | RegisterClassExW(&wndcl); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/main.rs:377:20 [INFO] [stderr] | [INFO] [stderr] 377 | let hwnd = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope [INFO] [stderr] --> src/main.rs:378:13 [INFO] [stderr] | [INFO] [stderr] 378 | WS_EX_COMPOSITED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stderr] --> src/main.rs:381:13 [INFO] [stderr] | [INFO] [stderr] 381 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stderr] --> src/main.rs:381:35 [INFO] [stderr] | [INFO] [stderr] 381 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/main.rs:382:13 [INFO] [stderr] | [INFO] [stderr] 382 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/main.rs:383:13 [INFO] [stderr] | [INFO] [stderr] 383 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:388:13 [INFO] [stderr] | [INFO] [stderr] 388 | GetModuleHandleW(null_mut()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:394:13 [INFO] [stderr] | [INFO] [stderr] 394 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/main.rs:404:9 [INFO] [stderr] | [INFO] [stderr] 404 | SetWindowLongPtrW(app.hwnd, 0, app as *mut MultiFormatsText as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stderr] --> src/main.rs:404:72 [INFO] [stderr] | [INFO] [stderr] 404 | SetWindowLongPtrW(app.hwnd, 0, app as *mut MultiFormatsText as LONG_PTR); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetDC` in this scope [INFO] [stderr] --> src/main.rs:423:22 [INFO] [stderr] | [INFO] [stderr] 423 | let screen = GetDC(null_mut()); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSX` in this scope [INFO] [stderr] --> src/main.rs:424:49 [INFO] [stderr] | [INFO] [stderr] 424 | let dpi_scale_x = GetDeviceCaps(screen, LOGPIXELSX) / 96; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSY` in this scope [INFO] [stderr] --> src/main.rs:425:49 [INFO] [stderr] | [INFO] [stderr] 425 | let dpi_scale_y = GetDeviceCaps(screen, LOGPIXELSY) / 96; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:429:22 [INFO] [stderr] | [INFO] [stderr] 429 | let mut msg: MSG = WinStruct::default(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetMessageW` in this scope [INFO] [stderr] --> src/main.rs:431:15 [INFO] [stderr] | [INFO] [stderr] 431 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:431:44 [INFO] [stderr] | [INFO] [stderr] 431 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:431:54 [INFO] [stderr] | [INFO] [stderr] 431 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:432:13 [INFO] [stderr] | [INFO] [stderr] 432 | TranslateMessage(&msg as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:432:45 [INFO] [stderr] | [INFO] [stderr] 432 | TranslateMessage(&msg as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:433:13 [INFO] [stderr] | [INFO] [stderr] 433 | DispatchMessageW(&msg as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:433:45 [INFO] [stderr] | [INFO] [stderr] 433 | DispatchMessageW(&msg as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/utils.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::d2d1::*` [INFO] [stderr] --> src/utils.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::d2d1::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::dwrite::*` [INFO] [stderr] --> src/utils.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::dwrite::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/utils.rs:26:31 [INFO] [stderr] | [INFO] [stderr] 26 | ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/utils.rs:32:31 [INFO] [stderr] | [INFO] [stderr] 32 | ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 156 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `directwrite`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b08d57a569e1bf4e582195ec0f8f1f596a91298bc3ebcb205c31f73d032545fc"` [INFO] running `"docker" "rm" "-f" "b08d57a569e1bf4e582195ec0f8f1f596a91298bc3ebcb205c31f73d032545fc"` [INFO] [stdout] b08d57a569e1bf4e582195ec0f8f1f596a91298bc3ebcb205c31f73d032545fc