[INFO] crate druid-win-shell 0.1.1 is already in cache [INFO] extracting crate druid-win-shell 0.1.1 into work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/reg/druid-win-shell/0.1.1 [INFO] extracting crate druid-win-shell 0.1.1 into work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/reg/druid-win-shell/0.1.1 [INFO] validating manifest of druid-win-shell-0.1.1 on toolchain master#f66e4697ae286985ddefc53c3a047614568458bb [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of druid-win-shell-0.1.1 on toolchain try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing druid-win-shell-0.1.1 [INFO] finished frobbing druid-win-shell-0.1.1 [INFO] frobbed toml for druid-win-shell-0.1.1 written to work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/reg/druid-win-shell/0.1.1/Cargo.toml [INFO] started frobbing druid-win-shell-0.1.1 [INFO] finished frobbing druid-win-shell-0.1.1 [INFO] frobbed toml for druid-win-shell-0.1.1 written to work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/reg/druid-win-shell/0.1.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking druid-win-shell-0.1.1 against master#f66e4697ae286985ddefc53c3a047614568458bb for pr-58592 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58592/worker-2/master#f66e4697ae286985ddefc53c3a047614568458bb:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/reg/druid-win-shell/0.1.1:/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" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 29fa4fa78307f50b11aac6abf25126490f2c7bdc22821f04549b79a213a72b73 [INFO] running `"docker" "start" "-a" "29fa4fa78307f50b11aac6abf25126490f2c7bdc22821f04549b79a213a72b73"` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Checking directwrite v0.1.4 [INFO] [stderr] Checking direct2d v0.2.0 [INFO] [stderr] Checking wio v0.2.0 [INFO] [stderr] Checking druid-win-shell v0.1.1 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::shared::dxgi::IDXGIDevice; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | use winapi::shared::dxgi1_2::DXGI_ALPHA_MODE_IGNORE; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::shared::dxgiformat::DXGI_FORMAT_B8G8R8A8_UNORM; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::shared::minwindef::{FALSE, TRUE}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::windef::{HWND, POINT, RECT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::um::d2d1::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::um::d2d1_1::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::um::d3d11::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::um::d3dcommon::D3D_DRIVER_TYPE_HARDWARE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::um::unknwnbase::IUnknown; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | use winapi::um::dcomp::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::um::dcompanimation::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::winnt::HRESULT; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/dcomp.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::com` [INFO] [stderr] --> src/dcomp.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | use wio::com::ComPtr; [INFO] [stderr] | ^^^ could not find `com` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::RenderTarget` [INFO] [stderr] --> src/dcomp.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | use direct2d::{self, RenderTarget}; [INFO] [stderr] | ^^^^^^^^^^^^ no `RenderTarget` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::math` [INFO] [stderr] --> src/dcomp.rs:42:15 [INFO] [stderr] | [INFO] [stderr] 42 | use direct2d::math::Matrix3x2F; [INFO] [stderr] | ^^^^ could not find `math` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dialog.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dialog.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::shared::ntdef::LPWSTR; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dialog.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dialog.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::shared::wtypesbase::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dialog.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::combaseapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dialog.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::um::shobjidl::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dialog.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | use winapi::um::shobjidl_core::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/dialog.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/menu.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::basetsd::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/menu.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/menu.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::com` [INFO] [stderr] --> src/dialog.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | use wio::com::ComPtr; [INFO] [stderr] | ^^^ could not find `com` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/paint.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/paint.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::um::d2d1::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/paint.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::um::dcommon::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/paint.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/paint.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::dxgi::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/paint.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/paint.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::shared::dxgiformat::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/paint.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/paint.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::shared::winerror::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/paint.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | use winapi::ctypes::{c_void}; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::enums` [INFO] [stderr] --> src/paint.rs:37:15 [INFO] [stderr] | [INFO] [stderr] 37 | use direct2d::enums::{AlphaMode, RenderTargetType}; [INFO] [stderr] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/util.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::render_target` [INFO] [stderr] --> src/paint.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | use direct2d::render_target::{DxgiSurfaceRenderTarget, GenericRenderTarget, HwndRenderTarget}; [INFO] [stderr] | ^^^^^^^^^^^^^ could not find `render_target` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::shared::guiddef::REFIID; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::ntdef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::um::fileapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::um::handleapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::um::libloaderapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::um::processenv::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | use winapi::um::shellscalingapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::um::unknwnbase::IUnknown; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::winbase::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | use winapi::um::wincon::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | use winapi::um::winnt::{GENERIC_READ, GENERIC_WRITE, FILE_SHARE_WRITE}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/util.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win_main.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::enums` [INFO] [stderr] --> src/util.rs:43:15 [INFO] [stderr] | [INFO] [stderr] 43 | use direct2d::enums::DrawTextOptions; [INFO] [stderr] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::winbase::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_main.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::um::winnt::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_main.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/win_main.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::ctypes::c_int; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/window.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::basetsd::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::dxgi::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::shared::dxgitype::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::shared::dxgiformat::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | use winapi::shared::winerror::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/window.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::um::d2d1::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/window.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::unknwnbase::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/window.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/window.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | use winapi::um::winnt::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/window.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/window.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::ctypes::{c_int, c_void}; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::math` [INFO] [stderr] --> src/window.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | use direct2d::math::SizeU; [INFO] [stderr] | ^^^^ could not find `math` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::render_target` [INFO] [stderr] --> src/window.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | use direct2d::render_target::{GenericRenderTarget, HwndRenderTarget, RenderTarget}; [INFO] [stderr] | ^^^^^^^^^^^^^ could not find `render_target` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::shared::dxgi::IDXGIDevice; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | use winapi::shared::dxgi1_2::DXGI_ALPHA_MODE_IGNORE; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::shared::dxgiformat::DXGI_FORMAT_B8G8R8A8_UNORM; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::shared::minwindef::{FALSE, TRUE}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::windef::{HWND, POINT, RECT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dcomp.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::um::d2d1::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::um::d2d1_1::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::um::d3d11::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::um::d3dcommon::D3D_DRIVER_TYPE_HARDWARE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::um::unknwnbase::IUnknown; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | use winapi::um::dcomp::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::um::dcompanimation::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dcomp.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::winnt::HRESULT; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/dcomp.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::com` [INFO] [stderr] --> src/dcomp.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | use wio::com::ComPtr; [INFO] [stderr] | ^^^ could not find `com` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::RenderTarget` [INFO] [stderr] --> src/dcomp.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | use direct2d::{self, RenderTarget}; [INFO] [stderr] | ^^^^^^^^^^^^ no `RenderTarget` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::math` [INFO] [stderr] --> src/dcomp.rs:42:15 [INFO] [stderr] | [INFO] [stderr] 42 | use direct2d::math::Matrix3x2F; [INFO] [stderr] | ^^^^ could not find `math` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dialog.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dialog.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::shared::ntdef::LPWSTR; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dialog.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/dialog.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::shared::wtypesbase::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dialog.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::combaseapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dialog.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::um::shobjidl::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/dialog.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | use winapi::um::shobjidl_core::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/dialog.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/menu.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::basetsd::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/menu.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/menu.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::com` [INFO] [stderr] --> src/dialog.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | use wio::com::ComPtr; [INFO] [stderr] | ^^^ could not find `com` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/paint.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/paint.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::um::d2d1::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/paint.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::um::dcommon::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/paint.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/paint.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::dxgi::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/paint.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/paint.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::shared::dxgiformat::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/paint.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/paint.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::shared::winerror::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/paint.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | use winapi::ctypes::{c_void}; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::enums` [INFO] [stderr] --> src/paint.rs:37:15 [INFO] [stderr] | [INFO] [stderr] 37 | use direct2d::enums::{AlphaMode, RenderTargetType}; [INFO] [stderr] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/util.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::render_target` [INFO] [stderr] --> src/paint.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | use direct2d::render_target::{DxgiSurfaceRenderTarget, GenericRenderTarget, HwndRenderTarget}; [INFO] [stderr] | ^^^^^^^^^^^^^ could not find `render_target` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::shared::guiddef::REFIID; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::ntdef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::um::fileapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::um::handleapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::um::libloaderapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::um::processenv::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | use winapi::um::shellscalingapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::um::unknwnbase::IUnknown; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::winbase::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | use winapi::um::wincon::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | use winapi::um::winnt::{GENERIC_READ, GENERIC_WRITE, FILE_SHARE_WRITE}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/util.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win_main.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::enums` [INFO] [stderr] --> src/util.rs:43:15 [INFO] [stderr] | [INFO] [stderr] 43 | use direct2d::enums::DrawTextOptions; [INFO] [stderr] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::winbase::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_main.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::um::winnt::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_main.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/win_main.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::ctypes::c_int; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/window.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::basetsd::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::dxgi::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::shared::dxgitype::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::shared::dxgiformat::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | use winapi::shared::winerror::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/window.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::um::d2d1::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/window.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::unknwnbase::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/window.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/window.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | use winapi::um::winnt::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/window.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/window.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::ctypes::{c_int, c_void}; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::math` [INFO] [stderr] --> src/window.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | use direct2d::math::SizeU; [INFO] [stderr] | ^^^^ could not find `math` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d::render_target` [INFO] [stderr] --> src/window.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | use direct2d::render_target::{GenericRenderTarget, HwndRenderTarget, RenderTarget}; [INFO] [stderr] | ^^^^^^^^^^^^^ could not find `render_target` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDCompositionDevice` [INFO] [stderr] --> src/dcomp.rs:109:18 [INFO] [stderr] | [INFO] [stderr] 109 | &IDCompositionDevice::uuidof(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `IDCompositionDevice` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDCompositionDevice` [INFO] [stderr] --> src/dcomp.rs:109:18 [INFO] [stderr] | [INFO] [stderr] 109 | &IDCompositionDevice::uuidof(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `IDCompositionDevice` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `DEFINE_GUID!` in this scope [INFO] [stderr] --> src/dialog.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | DEFINE_GUID!{CLSID_FileOpenDialog, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `DEFINE_GUID!` in this scope [INFO] [stderr] --> src/dialog.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | DEFINE_GUID!{CLSID_FileSaveDialog, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IFileOpenDialog` [INFO] [stderr] --> src/dialog.rs:71:57 [INFO] [stderr] | [INFO] [stderr] 71 | FileDialogType::Open => (&CLSID_FileOpenDialog, IFileOpenDialog::uuidof()), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `IFileOpenDialog` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IFileSaveDialog` [INFO] [stderr] --> src/dialog.rs:72:57 [INFO] [stderr] | [INFO] [stderr] 72 | FileDialogType::Save => (&CLSID_FileSaveDialog, IFileSaveDialog::uuidof()), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `IFileSaveDialog` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `DEFINE_GUID!` in this scope [INFO] [stderr] --> src/dialog.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | DEFINE_GUID!{CLSID_FileOpenDialog, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `DEFINE_GUID!` in this scope [INFO] [stderr] --> src/dialog.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | DEFINE_GUID!{CLSID_FileSaveDialog, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IFileOpenDialog` [INFO] [stderr] --> src/dialog.rs:71:57 [INFO] [stderr] | [INFO] [stderr] 71 | FileDialogType::Open => (&CLSID_FileOpenDialog, IFileOpenDialog::uuidof()), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `IFileOpenDialog` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IFileSaveDialog` [INFO] [stderr] --> src/dialog.rs:72:57 [INFO] [stderr] | [INFO] [stderr] 72 | FileDialogType::Save => (&CLSID_FileSaveDialog, IFileSaveDialog::uuidof()), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `IFileSaveDialog` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDXGISurface` [INFO] [stderr] --> src/paint.rs:75:43 [INFO] [stderr] | [INFO] [stderr] 75 | as_result((*swap_chain).GetBuffer(0, &IDXGISurface::uuidof(), [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `IDXGISurface` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OsStringExt` [INFO] [stderr] --> src/util.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | OsStringExt::from_wide(self.to_u16_slice()) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OsStringExt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDXGISurface` [INFO] [stderr] --> src/paint.rs:75:43 [INFO] [stderr] | [INFO] [stderr] 75 | as_result((*swap_chain).GetBuffer(0, &IDXGISurface::uuidof(), [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `IDXGISurface` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OsStringExt` [INFO] [stderr] --> src/util.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | OsStringExt::from_wide(self.to_u16_slice()) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OsStringExt` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:498:26 [INFO] [stderr] | [INFO] [stderr] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stderr] | ---------- ^^^^^^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stderr] | | [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:498:13 [INFO] [stderr] | [INFO] [stderr] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stderr] | ^^^^^^^^^^ ------------- variable not in all patterns [INFO] [stderr] | | [INFO] [stderr] | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:32 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:534:40 [INFO] [stderr] | [INFO] [stderr] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:534:21 [INFO] [stderr] | [INFO] [stderr] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:534:21 [INFO] [stderr] | [INFO] [stderr] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:535:40 [INFO] [stderr] | [INFO] [stderr] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:535:21 [INFO] [stderr] | [INFO] [stderr] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:535:21 [INFO] [stderr] | [INFO] [stderr] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:536:40 [INFO] [stderr] | [INFO] [stderr] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:536:21 [INFO] [stderr] | [INFO] [stderr] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:536:21 [INFO] [stderr] | [INFO] [stderr] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:537:40 [INFO] [stderr] | [INFO] [stderr] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:537:21 [INFO] [stderr] | [INFO] [stderr] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:537:21 [INFO] [stderr] | [INFO] [stderr] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:549:38 [INFO] [stderr] | [INFO] [stderr] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:549:21 [INFO] [stderr] | [INFO] [stderr] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stderr] | ^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:549:21 [INFO] [stderr] | [INFO] [stderr] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | | [INFO] [stderr] | | | variable not in all patterns [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:549:21 [INFO] [stderr] | [INFO] [stderr] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -------------- variable not in all patterns [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:551:40 [INFO] [stderr] | [INFO] [stderr] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:551:21 [INFO] [stderr] | [INFO] [stderr] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ---------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:551:21 [INFO] [stderr] | [INFO] [stderr] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ---------------- ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | | [INFO] [stderr] | | | variable not in all patterns [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:551:21 [INFO] [stderr] | [INFO] [stderr] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ---------------- variable not in all patterns [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:553:36 [INFO] [stderr] | [INFO] [stderr] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stderr] | ------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:553:21 [INFO] [stderr] | [INFO] [stderr] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^ ------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:553:21 [INFO] [stderr] | [INFO] [stderr] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ------------ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | | | | [INFO] [stderr] | | | variable not in all patterns [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:553:21 [INFO] [stderr] | [INFO] [stderr] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Factory` in `direct2d` [INFO] [stderr] --> src/window.rs:657:40 [INFO] [stderr] | [INFO] [stderr] 657 | d2d_factory: direct2d::Factory::new().unwrap(), [INFO] [stderr] | ^^^^^^^ could not find `Factory` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:498:26 [INFO] [stderr] | [INFO] [stderr] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stderr] | ---------- ^^^^^^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stderr] | | [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:498:13 [INFO] [stderr] | [INFO] [stderr] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stderr] | ^^^^^^^^^^ ------------- variable not in all patterns [INFO] [stderr] | | [INFO] [stderr] | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:32 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:534:40 [INFO] [stderr] | [INFO] [stderr] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:534:21 [INFO] [stderr] | [INFO] [stderr] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:534:21 [INFO] [stderr] | [INFO] [stderr] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:535:40 [INFO] [stderr] | [INFO] [stderr] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:535:21 [INFO] [stderr] | [INFO] [stderr] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:535:21 [INFO] [stderr] | [INFO] [stderr] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:536:40 [INFO] [stderr] | [INFO] [stderr] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:536:21 [INFO] [stderr] | [INFO] [stderr] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:536:21 [INFO] [stderr] | [INFO] [stderr] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:537:40 [INFO] [stderr] | [INFO] [stderr] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:537:21 [INFO] [stderr] | [INFO] [stderr] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | | [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:537:21 [INFO] [stderr] | [INFO] [stderr] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:549:38 [INFO] [stderr] | [INFO] [stderr] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:549:21 [INFO] [stderr] | [INFO] [stderr] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stderr] | ^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:549:21 [INFO] [stderr] | [INFO] [stderr] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | | | | [INFO] [stderr] | | | variable not in all patterns [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stderr] --> src/window.rs:549:21 [INFO] [stderr] | [INFO] [stderr] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -------------- variable not in all patterns [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:551:40 [INFO] [stderr] | [INFO] [stderr] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:551:21 [INFO] [stderr] | [INFO] [stderr] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ---------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:551:21 [INFO] [stderr] | [INFO] [stderr] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ---------------- ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | | | | [INFO] [stderr] | | | variable not in all patterns [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stderr] --> src/window.rs:551:21 [INFO] [stderr] | [INFO] [stderr] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ---------------- variable not in all patterns [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:553:36 [INFO] [stderr] | [INFO] [stderr] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stderr] | ------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stderr] | variable not in all patterns [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:553:21 [INFO] [stderr] | [INFO] [stderr] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^ ------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] | | variable not in all patterns [INFO] [stderr] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:553:21 [INFO] [stderr] | [INFO] [stderr] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ------------ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | | | | [INFO] [stderr] | | | variable not in all patterns [INFO] [stderr] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stderr] --> src/window.rs:553:21 [INFO] [stderr] | [INFO] [stderr] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stderr] | | | | [INFO] [stderr] | | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Factory` in `direct2d` [INFO] [stderr] --> src/window.rs:657:40 [INFO] [stderr] | [INFO] [stderr] 657 | d2d_factory: direct2d::Factory::new().unwrap(), [INFO] [stderr] | ^^^^^^^ could not find `Factory` in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID2D1HwndRenderTarget` [INFO] [stderr] --> src/window.rs:974:42 [INFO] [stderr] | [INFO] [stderr] 974 | let err = (*raw_ptr).QueryInterface(&ID2D1HwndRenderTarget::uuidof(), &mut hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID2D1HwndRenderTarget` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:46:29 [INFO] [stderr] | [INFO] [stderr] 46 | unsafe fn wrap(hr: HRESULT, ptr: *mut T, f: F) -> Result [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:46:70 [INFO] [stderr] | [INFO] [stderr] 46 | unsafe fn wrap(hr: HRESULT, ptr: *mut T, f: F) -> Result [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/dcomp.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | if SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | fn unit_err(hr: HRESULT) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:56:40 [INFO] [stderr] | [INFO] [stderr] 56 | fn unit_err(hr: HRESULT) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/dcomp.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | if SUCCEEDED(hr) { Ok(()) } else { Err(hr) } [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/dcomp.rs:60:31 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct D3D11Device(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Device` in this scope [INFO] [stderr] --> src/dcomp.rs:61:30 [INFO] [stderr] | [INFO] [stderr] 61 | pub struct D2D1Device(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `D2D1Device` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionDevice` in this scope [INFO] [stderr] --> src/dcomp.rs:62:38 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct DCompositionDevice(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionDevice` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionTarget` in this scope [INFO] [stderr] --> src/dcomp.rs:63:38 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct DCompositionTarget(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionTarget` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionVisual` in this scope [INFO] [stderr] --> src/dcomp.rs:64:38 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct DCompositionVisual(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVisual` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionVirtualSurface` in this scope [INFO] [stderr] --> src/dcomp.rs:65:46 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct DCompositionVirtualSurface(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVirtualSurface` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dcomp.rs:69:46 [INFO] [stderr] | [INFO] [stderr] 69 | unsafe fn unknown_ptr(&mut self) -> *mut IUnknown; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:74:48 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn new_simple() -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/dcomp.rs:76:40 [INFO] [stderr] | [INFO] [stderr] 76 | let mut d3d11_device: *mut ID3D11Device = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_BGRA_SUPPORT` in this scope [INFO] [stderr] --> src/dcomp.rs:77:25 [INFO] [stderr] | [INFO] [stderr] 77 | let flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT; // could probably set single threaded [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `D3D11CreateDevice` in this scope [INFO] [stderr] --> src/dcomp.rs:78:22 [INFO] [stderr] | [INFO] [stderr] 78 | let hr = D3D11CreateDevice(null_mut(), D3D_DRIVER_TYPE_HARDWARE, null_mut(), flags, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stderr] --> src/dcomp.rs:78:52 [INFO] [stderr] | [INFO] [stderr] 78 | let hr = D3D11CreateDevice(null_mut(), D3D_DRIVER_TYPE_HARDWARE, null_mut(), flags, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stderr] --> src/dcomp.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | null(), 0, D3D11_SDK_VERSION, &mut d3d11_device, null_mut(), null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/dcomp.rs:80:17 [INFO] [stderr] | [INFO] [stderr] 80 | if !SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:87:64 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn create_d2d1_device(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIDevice` in this scope [INFO] [stderr] --> src/dcomp.rs:89:41 [INFO] [stderr] | [INFO] [stderr] 89 | let mut dxgi_device: ComPtr = self.0.cast()?; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Device` in this scope [INFO] [stderr] --> src/dcomp.rs:90:39 [INFO] [stderr] | [INFO] [stderr] 90 | let mut d2d1_device: *mut ID2D1Device = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `D2D1Device` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `D2D1CreateDevice` in this scope [INFO] [stderr] --> src/dcomp.rs:91:22 [INFO] [stderr] | [INFO] [stderr] 91 | let hr = D2D1CreateDevice(dxgi_device.as_raw(), null(), &mut d2d1_device); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/dcomp.rs:96:39 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn raw_ptr(&mut self) -> *mut ID3D11Device { [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:104:79 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn create_composition_device(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionDevice` in this scope [INFO] [stderr] --> src/dcomp.rs:107:40 [INFO] [stderr] | [INFO] [stderr] 107 | let mut dcomp_device: *mut IDCompositionDevice = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionDevice` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dcomp.rs:108:53 [INFO] [stderr] | [INFO] [stderr] 108 | let hr = create(self.0.as_raw() as *mut IUnknown, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/dcomp.rs:117:59 [INFO] [stderr] | [INFO] [stderr] 117 | pub unsafe fn create_target_for_hwnd(&mut self, hwnd: HWND, topmost: bool) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:118:39 [INFO] [stderr] | [INFO] [stderr] 118 | -> Result [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionTarget` in this scope [INFO] [stderr] --> src/dcomp.rs:120:36 [INFO] [stderr] | [INFO] [stderr] 120 | let mut dcomp_target: *mut IDCompositionTarget = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionTarget` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/dcomp.rs:121:64 [INFO] [stderr] | [INFO] [stderr] 121 | let hr = self.0.CreateTargetForHwnd(hwnd, if topmost { TRUE } else { FALSE }, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/dcomp.rs:121:78 [INFO] [stderr] | [INFO] [stderr] 121 | let hr = self.0.CreateTargetForHwnd(hwnd, if topmost { TRUE } else { FALSE }, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:126:67 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn create_visual(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionVisual` in this scope [INFO] [stderr] --> src/dcomp.rs:128:34 [INFO] [stderr] | [INFO] [stderr] 128 | let mut visual: *mut IDCompositionVisual = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVisual` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:136:47 [INFO] [stderr] | [INFO] [stderr] 136 | -> Result [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionVirtualSurface` in this scope [INFO] [stderr] --> src/dcomp.rs:139:35 [INFO] [stderr] | [INFO] [stderr] 139 | let mut surface: *mut IDCompositionVirtualSurface = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVirtualSurface` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stderr] --> src/dcomp.rs:140:65 [INFO] [stderr] | [INFO] [stderr] 140 | let hr = self.0.CreateVirtualSurface(width, height, DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ALPHA_MODE_IGNORE` in this scope [INFO] [stderr] --> src/dcomp.rs:141:17 [INFO] [stderr] | [INFO] [stderr] 141 | DXGI_ALPHA_MODE_IGNORE, &mut surface); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:146:44 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn commit(&mut self) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:155:48 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn clear_root(&mut self) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:161:79 [INFO] [stderr] | [INFO] [stderr] 161 | pub fn set_root(&mut self, visual: &mut DCompositionVisual) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:169:78 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn set_content(&mut self, content: &mut T) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dcomp.rs:176:60 [INFO] [stderr] | [INFO] [stderr] 176 | pub unsafe fn set_content_raw(&mut self, content: *mut IUnknown) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:176:84 [INFO] [stderr] | [INFO] [stderr] 176 | pub unsafe fn set_content_raw(&mut self, content: *mut IUnknown) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/dialog.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct FileDialogOptions(DWORD); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FOS_FORCESHOWHIDDEN` in this scope [INFO] [stderr] --> src/dialog.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | self.0 |= FOS_FORCESHOWHIDDEN; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/dialog.rs:66:55 [INFO] [stderr] | [INFO] [stderr] 66 | pub(crate) unsafe fn get_file_dialog_path(hwnd_owner: HWND, ty: FileDialogType, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stderr] --> src/dialog.rs:69:23 [INFO] [stderr] | [INFO] [stderr] 69 | let mut pfd: *mut IFileDialog = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSID_FileOpenDialog` in this scope [INFO] [stderr] --> src/dialog.rs:71:35 [INFO] [stderr] | [INFO] [stderr] 71 | FileDialogType::Open => (&CLSID_FileOpenDialog, IFileOpenDialog::uuidof()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSID_FileSaveDialog` in this scope [INFO] [stderr] --> src/dialog.rs:72:35 [INFO] [stderr] | [INFO] [stderr] 72 | FileDialogType::Save => (&CLSID_FileSaveDialog, IFileSaveDialog::uuidof()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoCreateInstance` in this scope [INFO] [stderr] --> src/dialog.rs:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | as_result(CoCreateInstance(class, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSCTX_INPROC_SERVER` in this scope [INFO] [stderr] --> src/dialog.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | CLSCTX_INPROC_SERVER, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stderr] --> src/dialog.rs:78:35 [INFO] [stderr] | [INFO] [stderr] 78 | &mut pfd as *mut *mut IFileDialog as *mut LPVOID [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/dialog.rs:78:55 [INFO] [stderr] | [INFO] [stderr] 78 | &mut pfd as *mut *mut IFileDialog as *mut LPVOID [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stderr] --> src/dialog.rs:83:30 [INFO] [stderr] | [INFO] [stderr] 83 | let mut result_ptr: *mut IShellItem = null_mut(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/dialog.rs:86:27 [INFO] [stderr] | [INFO] [stderr] 86 | let mut display_name: LPWSTR = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SIGDN_FILESYSPATH` in this scope [INFO] [stderr] --> src/dialog.rs:87:41 [INFO] [stderr] | [INFO] [stderr] 87 | as_result(shell_item.GetDisplayName(SIGDN_FILESYSPATH, &mut display_name))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoTaskMemFree` in this scope [INFO] [stderr] --> src/dialog.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | CoTaskMemFree(display_name as LPVOID); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/dialog.rs:89:35 [INFO] [stderr] | [INFO] [stderr] 89 | CoTaskMemFree(display_name as LPVOID); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/menu.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | hmenu: HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DestroyMenu` in this scope [INFO] [stderr] --> src/menu.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | DestroyMenu(self.hmenu); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateMenu` in this scope [INFO] [stderr] --> src/menu.rs:43:25 [INFO] [stderr] | [INFO] [stderr] 43 | let hmenu = CreateMenu(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/menu.rs:48:32 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn into_hmenu(self) -> HMENU { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `AppendMenuW` in this scope [INFO] [stderr] --> src/menu.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_POPUP` in this scope [INFO] [stderr] --> src/menu.rs:60:37 [INFO] [stderr] | [INFO] [stderr] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stderr] --> src/menu.rs:60:68 [INFO] [stderr] | [INFO] [stderr] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `AppendMenuW` in this scope [INFO] [stderr] --> src/menu.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stderr] --> src/menu.rs:68:37 [INFO] [stderr] | [INFO] [stderr] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stderr] --> src/menu.rs:68:54 [INFO] [stderr] | [INFO] [stderr] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `AppendMenuW` in this scope [INFO] [stderr] --> src/menu.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | AppendMenuW(self.hmenu, MF_SEPARATOR, 0, null()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_SEPARATOR` in this scope [INFO] [stderr] --> src/menu.rs:75:37 [INFO] [stderr] | [INFO] [stderr] 75 | AppendMenuW(self.hmenu, MF_SEPARATOR, 0, null()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Factory` in module `direct2d` [INFO] [stderr] --> src/paint.rs:45:43 [INFO] [stderr] | [INFO] [stderr] 45 | pub(crate) d2d_factory: &'a direct2d::Factory, [INFO] [stderr] | ^^^^^^^ not found in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Factory` in module `direct2d` [INFO] [stderr] --> src/paint.rs:49:67 [INFO] [stderr] | [INFO] [stderr] 49 | pub(crate) unsafe fn create_render_target(d2d_factory: &direct2d::Factory, hwnd: HWND) [INFO] [stderr] | ^^^^^^^ not found in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/paint.rs:49:82 [INFO] [stderr] | [INFO] [stderr] 49 | pub(crate) unsafe fn create_render_target(d2d_factory: &direct2d::Factory, hwnd: HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/paint.rs:52:19 [INFO] [stderr] | [INFO] [stderr] 52 | let mut rect: RECT = mem::uninitialized(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/paint.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Factory` in module `direct2d` [INFO] [stderr] --> src/paint.rs:71:72 [INFO] [stderr] | [INFO] [stderr] 71 | pub(crate) unsafe fn create_render_target_dxgi(d2d_factory: &direct2d::Factory, [INFO] [stderr] | ^^^^^^^ not found in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stderr] --> src/paint.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | swap_chain: *mut IDXGISwapChain1, dpi: f32) -> Result [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISurface` in this scope [INFO] [stderr] --> src/paint.rs:74:26 [INFO] [stderr] | [INFO] [stderr] 74 | let mut buffer: *mut IDXGISurface = null_mut(); [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/paint.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | let props = 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/paint.rs:78:16 [INFO] [stderr] | [INFO] [stderr] 78 | _type: D2D1_RENDER_TARGET_TYPE_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope [INFO] [stderr] --> src/paint.rs:79:22 [INFO] [stderr] | [INFO] [stderr] 79 | pixelFormat: D2D1_PIXEL_FORMAT { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stderr] --> src/paint.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_ALPHA_MODE_IGNORE` in this scope [INFO] [stderr] --> src/paint.rs:81:24 [INFO] [stderr] | [INFO] [stderr] 81 | alphaMode: D2D1_ALPHA_MODE_IGNORE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_NONE` in this scope [INFO] [stderr] --> src/paint.rs:85:16 [INFO] [stderr] | [INFO] [stderr] 85 | usage: D2D1_RENDER_TARGET_USAGE_NONE, [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/paint.rs:86:19 [INFO] [stderr] | [INFO] [stderr] 86 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1RenderTarget` in this scope [INFO] [stderr] --> src/paint.rs:89:33 [INFO] [stderr] | [INFO] [stderr] 89 | let mut render_target: *mut ID2D1RenderTarget = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/paint.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 93 | if SUCCEEDED(res) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Factory` in module `direct2d` [INFO] [stderr] --> src/paint.rs:105:45 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn d2d_factory(&self) -> &direct2d::Factory { [INFO] [stderr] | ^^^^^^^ not found in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | Hr(HRESULT), [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn as_result(hr: HRESULT) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/util.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | if SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:75:11 [INFO] [stderr] | [INFO] [stderr] 75 | impl From for Error { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | fn from(hr: HRESULT) -> Error { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/util.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | impl FromWide for LPWSTR { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/util.rs:125:55 [INFO] [stderr] | [INFO] [stderr] 125 | type GetDpiForSystem = unsafe extern "system" fn() -> UINT; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/util.rs:126:51 [INFO] [stderr] | [INFO] [stderr] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MONITOR_DPI_TYPE` in this scope [INFO] [stderr] --> src/util.rs:126:61 [INFO] [stderr] | [INFO] [stderr] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/util.rs:126:84 [INFO] [stderr] | [INFO] [stderr] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/util.rs:126:95 [INFO] [stderr] | [INFO] [stderr] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PROCESS_DPI_AWARENESS` in this scope [INFO] [stderr] --> src/util.rs:128:57 [INFO] [stderr] | [INFO] [stderr] 128 | type SetProcessDpiAwareness = unsafe extern "system" fn(PROCESS_DPI_AWARENESS) -> HRESULT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:128:83 [INFO] [stderr] | [INFO] [stderr] 128 | type SetProcessDpiAwareness = unsafe extern "system" fn(PROCESS_DPI_AWARENESS) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/util.rs:130:29 [INFO] [stderr] | [INFO] [stderr] 130 | renderingDevice: *const IUnknown, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stderr] --> src/util.rs:131:10 [INFO] [stderr] | [INFO] [stderr] 131 | iid: REFIID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:133:6 [INFO] [stderr] | [INFO] [stderr] 133 | ) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/util.rs:135:12 [INFO] [stderr] | [INFO] [stderr] 135 | Flags: UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stderr] --> src/util.rs:136:11 [INFO] [stderr] | [INFO] [stderr] 136 | riid: REFIID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:138:6 [INFO] [stderr] | [INFO] [stderr] 138 | ) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stderr] --> src/util.rs:176:36 [INFO] [stderr] | [INFO] [stderr] 176 | fn load_library(name: &str) -> HMODULE { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/util.rs:181:32 [INFO] [stderr] | [INFO] [stderr] 181 | let library = unsafe { GetModuleHandleW(encoded_name.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadLibraryW` in this scope [INFO] [stderr] --> src/util.rs:186:32 [INFO] [stderr] | [INFO] [stderr] 186 | let library = unsafe { LoadLibraryW(encoded_name.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a function with a similar name exists: `load_library` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in this scope [INFO] [stderr] --> src/util.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 204 | load_function!(shcore, SetProcessDpiAwareness, "8.1"); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in this scope [INFO] [stderr] --> src/util.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 205 | load_function!(shcore, GetDpiForMonitor, "8.1"); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in this scope [INFO] [stderr] --> src/util.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 211 | load_function!(user32, GetDpiForSystem, "10"); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in this scope [INFO] [stderr] --> src/util.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 215 | load_function!(dcomp, DCompositionCreateDevice2, "8.1"); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in this scope [INFO] [stderr] --> src/util.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 219 | load_function!(dxgi, CreateDXGIFactory2, "8.1"); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PROCESS_SYSTEM_DPI_AWARE` in this scope [INFO] [stderr] --> src/util.rs:241:18 [INFO] [stderr] | [INFO] [stderr] 241 | func(PROCESS_SYSTEM_DPI_AWARE); // TODO: per monitor (much harder) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetStdHandle` in this scope [INFO] [stderr] --> src/util.rs:274:22 [INFO] [stderr] | [INFO] [stderr] 274 | let stdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stderr] --> src/util.rs:274:35 [INFO] [stderr] | [INFO] [stderr] 274 | let stdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/util.rs:275:22 [INFO] [stderr] | [INFO] [stderr] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetFileType` in this scope [INFO] [stderr] --> src/util.rs:275:46 [INFO] [stderr] | [INFO] [stderr] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_TYPE_UNKNOWN` in this scope [INFO] [stderr] --> src/util.rs:275:69 [INFO] [stderr] | [INFO] [stderr] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `AttachConsole` in this scope [INFO] [stderr] --> src/util.rs:281:12 [INFO] [stderr] | [INFO] [stderr] 281 | if AttachConsole(ATTACH_PARENT_PROCESS) > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `attach_console` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ATTACH_PARENT_PROCESS` in this scope [INFO] [stderr] --> src/util.rs:281:26 [INFO] [stderr] | [INFO] [stderr] 281 | if AttachConsole(ATTACH_PARENT_PROCESS) > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateFileA` in this scope [INFO] [stderr] --> src/util.rs:282:24 [INFO] [stderr] | [INFO] [stderr] 282 | let chnd = CreateFileA( [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stderr] --> src/util.rs:284:17 [INFO] [stderr] | [INFO] [stderr] 284 | GENERIC_READ | GENERIC_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stderr] --> src/util.rs:284:32 [INFO] [stderr] | [INFO] [stderr] 284 | GENERIC_READ | GENERIC_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stderr] --> src/util.rs:285:17 [INFO] [stderr] | [INFO] [stderr] 285 | FILE_SHARE_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stderr] --> src/util.rs:287:17 [INFO] [stderr] | [INFO] [stderr] 287 | OPEN_EXISTING, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/util.rs:291:24 [INFO] [stderr] | [INFO] [stderr] 291 | if chnd == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetStdHandle` in this scope [INFO] [stderr] --> src/util.rs:296:13 [INFO] [stderr] | [INFO] [stderr] 296 | SetStdHandle(STD_OUTPUT_HANDLE, chnd); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stderr] --> src/util.rs:296:26 [INFO] [stderr] | [INFO] [stderr] 296 | SetStdHandle(STD_OUTPUT_HANDLE, chnd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetStdHandle` in this scope [INFO] [stderr] --> src/util.rs:297:13 [INFO] [stderr] | [INFO] [stderr] 297 | SetStdHandle(STD_ERROR_HANDLE, chnd); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `STD_ERROR_HANDLE` in this scope [INFO] [stderr] --> src/util.rs:297:26 [INFO] [stderr] | [INFO] [stderr] 297 | SetStdHandle(STD_ERROR_HANDLE, chnd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/win_main.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | h: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HACCEL` in this scope [INFO] [stderr] --> src/win_main.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | accel: HACCEL, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ACCEL` in this scope [INFO] [stderr] --> src/win_main.rs:61:42 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn set_accel(&mut self, accel: &[ACCEL]) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateAcceleratorTableW` in this scope [INFO] [stderr] --> src/win_main.rs:63:26 [INFO] [stderr] | [INFO] [stderr] 63 | self.accel = CreateAcceleratorTableW(accel as *const _ as *mut _, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `MsgWaitForMultipleObjectsEx` in this scope [INFO] [stderr] --> src/win_main.rs:77:27 [INFO] [stderr] | [INFO] [stderr] 77 | let res = MsgWaitForMultipleObjectsEx( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stderr] --> src/win_main.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | INFINITE, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `QS_ALLEVENTS` in this scope [INFO] [stderr] --> src/win_main.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | QS_ALLEVENTS, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stderr] --> src/win_main.rs:86:27 [INFO] [stderr] | [INFO] [stderr] 86 | if res >= WAIT_OBJECT_0 && res < WAIT_OBJECT_0 + len { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stderr] --> src/win_main.rs:86:50 [INFO] [stderr] | [INFO] [stderr] 86 | if res >= WAIT_OBJECT_0 && res < WAIT_OBJECT_0 + len { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stderr] --> src/win_main.rs:87:37 [INFO] [stderr] | [INFO] [stderr] 87 | let ix = (res - WAIT_OBJECT_0) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PeekMessageW` in this scope [INFO] [stderr] --> src/win_main.rs:95:31 [INFO] [stderr] | [INFO] [stderr] 95 | let res = PeekMessageW(&mut msg, null_mut(), 0, 0, PM_NOREMOVE); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PM_NOREMOVE` in this scope [INFO] [stderr] --> src/win_main.rs:95:72 [INFO] [stderr] | [INFO] [stderr] 95 | let res = PeekMessageW(&mut msg, null_mut(), 0, 0, PM_NOREMOVE); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetMessageW` in this scope [INFO] [stderr] --> src/win_main.rs:99:31 [INFO] [stderr] | [INFO] [stderr] 99 | let res = GetMessageW(&mut msg, null_mut(), 0, 0); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateAcceleratorW` in this scope [INFO] [stderr] --> src/win_main.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | TranslateAcceleratorW(msg.hwnd, self.accel, &mut msg) == 0 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope [INFO] [stderr] --> src/win_main.rs:106:25 [INFO] [stderr] | [INFO] [stderr] 106 | TranslateMessage(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope [INFO] [stderr] --> src/win_main.rs:107:25 [INFO] [stderr] | [INFO] [stderr] 107 | DispatchMessageW(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/win_main.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/win_main.rs:125:44 [INFO] [stderr] | [INFO] [stderr] 125 | pub unsafe fn add_handler(&self, h: HANDLE, callback: F) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/window.rs:61:14 [INFO] [stderr] | [INFO] [stderr] 61 | dwStyle: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:104:22 [INFO] [stderr] | [INFO] [stderr] 104 | pub(crate) hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:119:16 [INFO] [stderr] | [INFO] [stderr] 119 | hwnd: Cell, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:260:33 [INFO] [stderr] | [INFO] [stderr] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:260:44 [INFO] [stderr] | [INFO] [stderr] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/window.rs:260:58 [INFO] [stderr] | [INFO] [stderr] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/window.rs:260:74 [INFO] [stderr] | [INFO] [stderr] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, 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/window.rs:261:19 [INFO] [stderr] | [INFO] [stderr] 261 | -> Option; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Factory` in module `direct2d` [INFO] [stderr] --> src/window.rs:278:28 [INFO] [stderr] | [INFO] [stderr] 278 | d2d_factory: direct2d::Factory, [INFO] [stderr] | ^^^^^^^ not found in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stderr] --> src/window.rs:291:22 [INFO] [stderr] | [INFO] [stderr] 291 | swap_chain: *mut IDXGISwapChain1, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:300:20 [INFO] [stderr] | [INFO] [stderr] 300 | const XI_RUN_IDLE: UINT = WM_USER; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stderr] --> src/window.rs:300:27 [INFO] [stderr] | [INFO] [stderr] 300 | const XI_RUN_IDLE: UINT = WM_USER; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/window.rs:310:26 [INFO] [stderr] | [INFO] [stderr] 310 | fn get_mod_state(lparam: LPARAM) -> u32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOD_ALT` in this scope [INFO] [stderr] --> src/window.rs:313:53 [INFO] [stderr] | [INFO] [stderr] 313 | if (lparam & (1 << 29)) != 0 { mod_state |= MOD_ALT as u32; } [INFO] [stderr] | ^^^^^^^ help: a constant with a similar name exists: `M_ALT` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetKeyState` in this scope [INFO] [stderr] --> src/window.rs:314:12 [INFO] [stderr] | [INFO] [stderr] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stderr] --> src/window.rs:314:24 [INFO] [stderr] | [INFO] [stderr] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOD_CONTROL` in this scope [INFO] [stderr] --> src/window.rs:314:55 [INFO] [stderr] | [INFO] [stderr] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetKeyState` in this scope [INFO] [stderr] --> src/window.rs:315:12 [INFO] [stderr] | [INFO] [stderr] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SHIFT` in this scope [INFO] [stderr] --> src/window.rs:315:24 [INFO] [stderr] | [INFO] [stderr] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stderr] | ^^^^^^^^ help: a constant with a similar name exists: `M_SHIFT` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOD_SHIFT` in this scope [INFO] [stderr] --> src/window.rs:315:53 [INFO] [stderr] | [INFO] [stderr] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stderr] | ^^^^^^^^^ help: a constant with a similar name exists: `M_SHIFT` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:363:33 [INFO] [stderr] | [INFO] [stderr] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:363:44 [INFO] [stderr] | [INFO] [stderr] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/window.rs:363:58 [INFO] [stderr] | [INFO] [stderr] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/window.rs:363:74 [INFO] [stderr] | [INFO] [stderr] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, 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/window.rs:364:19 [INFO] [stderr] | [INFO] [stderr] 364 | -> Option [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ValidateRect` in this scope [INFO] [stderr] --> src/window.rs:386:17 [INFO] [stderr] | [INFO] [stderr] 386 | ValidateRect(hwnd, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/window.rs:409:35 [INFO] [stderr] | [INFO] [stderr] 409 | let mut rect: RECT = mem::uninitialized(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/window.rs:410:21 [INFO] [stderr] | [INFO] [stderr] 410 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stderr] --> src/window.rs:415:58 [INFO] [stderr] | [INFO] [stderr] 415 | .ResizeBuffers(2, width, height, DXGI_FORMAT_UNKNOWN, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/window.rs:416:24 [INFO] [stderr] | [INFO] [stderr] 416 | if SUCCEEDED(res) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:442:29 [INFO] [stderr] | [INFO] [stderr] 442 | let width = LOWORD(lparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:443:30 [INFO] [stderr] | [INFO] [stderr] 443 | let height = HIWORD(lparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:457:41 [INFO] [stderr] | [INFO] [stderr] 457 | let width = LOWORD(lparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:458:42 [INFO] [stderr] | [INFO] [stderr] 458 | let height = HIWORD(lparam as u32) as u32; [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/window.rs:459:46 [INFO] [stderr] | [INFO] [stderr] 459 | let size = SizeU(D2D1_SIZE_U { width, height }); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/window.rs:463:21 [INFO] [stderr] | [INFO] [stderr] 463 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/window.rs:463:54 [INFO] [stderr] | [INFO] [stderr] 463 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stderr] --> src/window.rs:471:62 [INFO] [stderr] | [INFO] [stderr] 471 | .ResizeBuffers(0, width, height, DXGI_FORMAT_UNKNOWN, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/window.rs:473:24 [INFO] [stderr] | [INFO] [stderr] 473 | if SUCCEEDED(res) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ValidateRect` in this scope [INFO] [stderr] --> src/window.rs:482:25 [INFO] [stderr] | [INFO] [stderr] 482 | ValidateRect(hwnd, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:490:38 [INFO] [stderr] | [INFO] [stderr] 490 | self.handler.command(LOWORD(wparam as u32) as u32); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:508:29 [INFO] [stderr] | [INFO] [stderr] 508 | let delta = HIWORD(wparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:509:28 [INFO] [stderr] | [INFO] [stderr] 509 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:514:29 [INFO] [stderr] | [INFO] [stderr] 514 | let delta = HIWORD(wparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:515:28 [INFO] [stderr] | [INFO] [stderr] 515 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:520:25 [INFO] [stderr] | [INFO] [stderr] 520 | let x = LOWORD(lparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:521:25 [INFO] [stderr] | [INFO] [stderr] 521 | let y = HIWORD(lparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:522:28 [INFO] [stderr] | [INFO] [stderr] 522 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:538:31 [INFO] [stderr] | [INFO] [stderr] 538 | match HIWORD(wparam as u32) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:557:25 [INFO] [stderr] | [INFO] [stderr] 557 | let x = LOWORD(lparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:558:25 [INFO] [stderr] | [INFO] [stderr] 558 | let y = HIWORD(lparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:559:28 [INFO] [stderr] | [INFO] [stderr] 559 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stderr] --> src/window.rs:585:22 [INFO] [stderr] | [INFO] [stderr] 585 | dwStyle: WS_OVERLAPPEDWINDOW, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_HSCROLL` in this scope [INFO] [stderr] --> src/window.rs:599:27 [INFO] [stderr] | [INFO] [stderr] 599 | self.dwStyle &= !(WS_HSCROLL | WS_VSCROLL); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stderr] --> src/window.rs:599:40 [INFO] [stderr] | [INFO] [stderr] 599 | self.dwStyle &= !(WS_HSCROLL | WS_VSCROLL); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_HSCROLL` in this scope [INFO] [stderr] --> src/window.rs:601:29 [INFO] [stderr] | [INFO] [stderr] 601 | self.dwStyle |= WS_HSCROLL; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stderr] --> src/window.rs:604:29 [INFO] [stderr] | [INFO] [stderr] 604 | self.dwStyle |= WS_VSCROLL; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadIconW` in this scope [INFO] [stderr] --> src/window.rs:634:24 [INFO] [stderr] | [INFO] [stderr] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:634:39 [INFO] [stderr] | [INFO] [stderr] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stderr] --> src/window.rs:634:50 [INFO] [stderr] | [INFO] [stderr] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope [INFO] [stderr] --> src/window.rs:635:26 [INFO] [stderr] | [INFO] [stderr] 635 | let cursor = LoadCursorW(0 as HINSTANCE, self.cursor.get_lpcwstr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:635:43 [INFO] [stderr] | [INFO] [stderr] 635 | let cursor = LoadCursorW(0 as HINSTANCE, self.cursor.get_lpcwstr()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/window.rs:636:25 [INFO] [stderr] | [INFO] [stderr] 636 | let brush = CreateSolidBrush(0xffffff); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stderr] --> src/window.rs:637:23 [INFO] [stderr] | [INFO] [stderr] 637 | let wnd = WNDCLASSW { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:642:33 [INFO] [stderr] | [INFO] [stderr] 642 | hInstance: 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/window.rs:646:36 [INFO] [stderr] | [INFO] [stderr] 646 | lpszMenuName: 0 as LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassW` in this scope [INFO] [stderr] --> src/window.rs:649:30 [INFO] [stderr] | [INFO] [stderr] 649 | let class_atom = RegisterClassW(&wnd); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:662:38 [INFO] [stderr] | [INFO] [stderr] 662 | hwnd: Cell::new(0 as HWND), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/window.rs:685:30 [INFO] [stderr] | [INFO] [stderr] 685 | None => 0 as HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_EX_NOREDIRECTIONBITMAP` in this scope [INFO] [stderr] --> src/window.rs:689:30 [INFO] [stderr] | [INFO] [stderr] 689 | dwExStyle |= WS_EX_NOREDIRECTIONBITMAP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/window.rs:693:17 [INFO] [stderr] | [INFO] [stderr] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/window.rs:693:32 [INFO] [stderr] | [INFO] [stderr] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:693:67 [INFO] [stderr] | [INFO] [stderr] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:693:85 [INFO] [stderr] | [INFO] [stderr] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stderr] --> src/window.rs:722:40 [INFO] [stderr] | [INFO] [stderr] 722 | unsafe fn choose_adapter(factory: *mut IDXGIFactory2) -> *mut IDXGIAdapter { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stderr] --> src/window.rs:722:63 [INFO] [stderr] | [INFO] [stderr] 722 | unsafe fn choose_adapter(factory: *mut IDXGIFactory2) -> *mut IDXGIAdapter { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stderr] --> src/window.rs:727:31 [INFO] [stderr] | [INFO] [stderr] 727 | let mut adapter: *mut IDXGIAdapter = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/window.rs:728:13 [INFO] [stderr] | [INFO] [stderr] 728 | if !SUCCEEDED((*factory).EnumAdapters(i, &mut adapter)) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DXGI_ADAPTER_DESC` in this scope [INFO] [stderr] --> src/window.rs:731:23 [INFO] [stderr] | [INFO] [stderr] 731 | let mut desc: DXGI_ADAPTER_DESC = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/window.rs:740:42 [INFO] [stderr] | [INFO] [stderr] 740 | (&mut desc.Description[0] as LPWSTR).from_wide(), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:747:71 [INFO] [stderr] | [INFO] [stderr] 747 | unsafe fn create_dcomp_state(present_strategy: PresentStrategy, hwnd: HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stderr] --> src/window.rs:755:31 [INFO] [stderr] | [INFO] [stderr] 755 | let mut factory: *mut IDXGIFactory2 = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDXGIFactory2` in this scope [INFO] [stderr] --> src/window.rs:756:44 [INFO] [stderr] | [INFO] [stderr] 756 | as_result(create_dxgi_factory2(0, &IID_IDXGIFactory2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stderr] --> src/window.rs:757:39 [INFO] [stderr] | [INFO] [stderr] 757 | &mut factory as *mut *mut IDXGIFactory2 as *mut *mut c_void))?; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_SEQUENTIAL` in this scope [INFO] [stderr] --> src/window.rs:769:45 [INFO] [stderr] | [INFO] [stderr] 769 | PresentStrategy::Sequential => (DXGI_SWAP_EFFECT_SEQUENTIAL, 1), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL` in this scope [INFO] [stderr] --> src/window.rs:771:18 [INFO] [stderr] | [INFO] [stderr] 771 | (DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL, 2), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope [INFO] [stderr] --> src/window.rs:773:20 [INFO] [stderr] | [INFO] [stderr] 773 | let desc = DXGI_SWAP_CHAIN_DESC1 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stderr] --> src/window.rs:776:21 [INFO] [stderr] | [INFO] [stderr] 776 | Format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/window.rs:777:21 [INFO] [stderr] | [INFO] [stderr] 777 | Stereo: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stderr] --> src/window.rs:778:25 [INFO] [stderr] | [INFO] [stderr] 778 | SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope [INFO] [stderr] --> src/window.rs:779:26 [INFO] [stderr] | [INFO] [stderr] 779 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_SCALING_STRETCH` in this scope [INFO] [stderr] --> src/window.rs:781:22 [INFO] [stderr] | [INFO] [stderr] 781 | Scaling: DXGI_SCALING_STRETCH, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ALPHA_MODE_IGNORE` in this scope [INFO] [stderr] --> src/window.rs:783:24 [INFO] [stderr] | [INFO] [stderr] 783 | AlphaMode: DXGI_ALPHA_MODE_IGNORE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stderr] --> src/window.rs:786:34 [INFO] [stderr] | [INFO] [stderr] 786 | let mut swap_chain: *mut IDXGISwapChain1 = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/window.rs:787:91 [INFO] [stderr] | [INFO] [stderr] 787 | let res = (*factory).CreateSwapChainForComposition(d3d11_device.raw_ptr() as *mut IUnknown, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/window.rs:792:61 [INFO] [stderr] | [INFO] [stderr] 792 | swapchain_visual.set_content_raw(swap_chain as *mut IUnknown)?; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:803:51 [INFO] [stderr] | [INFO] [stderr] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:803:62 [INFO] [stderr] | [INFO] [stderr] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/window.rs:803:76 [INFO] [stderr] | [INFO] [stderr] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/window.rs:803:92 [INFO] [stderr] | [INFO] [stderr] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, 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/window.rs:804:8 [INFO] [stderr] | [INFO] [stderr] 804 | -> LRESULT [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stderr] --> src/window.rs:806:15 [INFO] [stderr] | [INFO] [stderr] 806 | if msg == WM_CREATE { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stderr] --> src/window.rs:807:49 [INFO] [stderr] | [INFO] [stderr] 807 | let create_struct = &*(lparam as *const CREATESTRUCTW); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:809:9 [INFO] [stderr] | [INFO] [stderr] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:809:33 [INFO] [stderr] | [INFO] [stderr] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr 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/window.rs:809:63 [INFO] [stderr] | [INFO] [stderr] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:811:22 [INFO] [stderr] | [INFO] [stderr] 811 | let window_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const WindowState; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:811:46 [INFO] [stderr] | [INFO] [stderr] 811 | let window_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const WindowState; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_NCDESTROY` in this scope [INFO] [stderr] --> src/window.rs:819:15 [INFO] [stderr] | [INFO] [stderr] 819 | if msg == WM_NCDESTROY { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:821:13 [INFO] [stderr] | [INFO] [stderr] 821 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:821:37 [INFO] [stderr] | [INFO] [stderr] 821 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, 0); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/window.rs:827:17 [INFO] [stderr] | [INFO] [stderr] 827 | None => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/window.rs:833:20 [INFO] [stderr] | [INFO] [stderr] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/window.rs:833:40 [INFO] [stderr] | [INFO] [stderr] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/window.rs:833:63 [INFO] [stderr] | [INFO] [stderr] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/window.rs:833:81 [INFO] [stderr] | [INFO] [stderr] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:834:62 [INFO] [stderr] | [INFO] [stderr] 834 | y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/window.rs:834:75 [INFO] [stderr] | [INFO] [stderr] 834 | y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:835:20 [INFO] [stderr] | [INFO] [stderr] 835 | hInstance: HINSTANCE, wndproc: Rc) -> HWND [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:835:60 [INFO] [stderr] | [INFO] [stderr] 835 | hInstance: HINSTANCE, wndproc: Rc) -> HWND [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/window.rs:837:5 [INFO] [stderr] | [INFO] [stderr] 837 | CreateWindowExW(dwExStyle, lpClassName, lpWindowName, dwStyle, x, y, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/window.rs:838:81 [INFO] [stderr] | [INFO] [stderr] 838 | nWidth, nHeight, hWndParent, hMenu, hInstance, Rc::into_raw(wndproc) as LPVOID) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/window.rs:842:30 [INFO] [stderr] | [INFO] [stderr] 842 | fn get_lpcwstr(&self) -> LPCWSTR { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/window.rs:844:30 [INFO] [stderr] | [INFO] [stderr] 844 | Cursor::Arrow => IDC_ARROW, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_IBEAM` in this scope [INFO] [stderr] --> src/window.rs:845:30 [INFO] [stderr] | [INFO] [stderr] 845 | Cursor::IBeam => IDC_IBEAM, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope [INFO] [stderr] --> src/window.rs:855:17 [INFO] [stderr] | [INFO] [stderr] 855 | ShowWindow(hwnd, SW_SHOWNORMAL); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope [INFO] [stderr] --> src/window.rs:855:34 [INFO] [stderr] | [INFO] [stderr] 855 | ShowWindow(hwnd, SW_SHOWNORMAL); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UpdateWindow` in this scope [INFO] [stderr] --> src/window.rs:856:17 [INFO] [stderr] | [INFO] [stderr] 856 | UpdateWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DestroyWindow` in this scope [INFO] [stderr] --> src/window.rs:865:17 [INFO] [stderr] | [INFO] [stderr] 865 | DestroyWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/window.rs:874:17 [INFO] [stderr] | [INFO] [stderr] 874 | InvalidateRect(hwnd, null(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/window.rs:874:46 [INFO] [stderr] | [INFO] [stderr] 874 | InvalidateRect(hwnd, null(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:881:38 [INFO] [stderr] | [INFO] [stderr] 881 | pub fn get_hwnd(&self) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostMessageW` in this scope [INFO] [stderr] --> src/window.rs:955:17 [INFO] [stderr] | [INFO] [stderr] 955 | PostMessageW(self.hwnd, XI_RUN_IDLE, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/window.rs:963:13 [INFO] [stderr] | [INFO] [stderr] 963 | InvalidateRect(self.hwnd, null(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/window.rs:963:47 [INFO] [stderr] | [INFO] [stderr] 963 | InvalidateRect(self.hwnd, null(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/window.rs:975:8 [INFO] [stderr] | [INFO] [stderr] 975 | if SUCCEEDED(err) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stderr] --> src/window.rs:976:54 [INFO] [stderr] | [INFO] [stderr] 976 | Some(HwndRenderTarget::from_raw(hwnd as *mut ID2D1HwndRenderTarget)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::Interface` [INFO] [stderr] --> src/dialog.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/dialog.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::ntdef::LPWSTR` [INFO] [stderr] --> src/dialog.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::shared::ntdef::LPWSTR; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/dialog.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::wtypesbase::*` [INFO] [stderr] --> src/dialog.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::shared::wtypesbase::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::combaseapi::*` [INFO] [stderr] --> src/dialog.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::combaseapi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::shobjidl::*` [INFO] [stderr] --> src/dialog.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::um::shobjidl::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::shobjidl_core::*` [INFO] [stderr] --> src/dialog.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use winapi::um::shobjidl_core::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::basetsd::*` [INFO] [stderr] --> src/menu.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::basetsd::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/menu.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/menu.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::Interface` [INFO] [stderr] --> src/paint.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::d2d1::*` [INFO] [stderr] --> src/paint.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::um::d2d1::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::dcommon::*` [INFO] [stderr] --> src/paint.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::um::dcommon::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/paint.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgi::*` [INFO] [stderr] --> src/paint.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::dxgi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgi1_2::*` [INFO] [stderr] --> src/paint.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgiformat::*` [INFO] [stderr] --> src/paint.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::shared::dxgiformat::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/paint.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::*` [INFO] [stderr] --> src/paint.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::shared::winerror::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `OsStrExt`, `OsStringExt` [INFO] [stderr] --> src/util.rs:23:29 [INFO] [stderr] | [INFO] [stderr] 23 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::guiddef::REFIID` [INFO] [stderr] --> src/util.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::shared::guiddef::REFIID; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/util.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::ntdef::*` [INFO] [stderr] --> src/util.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::ntdef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/util.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::SUCCEEDED` [INFO] [stderr] --> src/util.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::fileapi::*` [INFO] [stderr] --> src/util.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::um::fileapi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::handleapi::*` [INFO] [stderr] --> src/util.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::um::handleapi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::libloaderapi::*` [INFO] [stderr] --> src/util.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::um::libloaderapi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::processenv::*` [INFO] [stderr] --> src/util.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::um::processenv::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::shellscalingapi::*` [INFO] [stderr] --> src/util.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use winapi::um::shellscalingapi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::unknwnbase::IUnknown` [INFO] [stderr] --> src/util.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::um::unknwnbase::IUnknown; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winbase::*` [INFO] [stderr] --> src/util.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::winbase::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wincon::*` [INFO] [stderr] --> src/util.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | use winapi::um::wincon::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FILE_SHARE_WRITE`, `GENERIC_READ`, `GENERIC_WRITE` [INFO] [stderr] --> src/util.rs:41:25 [INFO] [stderr] | [INFO] [stderr] 41 | use winapi::um::winnt::{GENERIC_READ, GENERIC_WRITE, FILE_SHARE_WRITE}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/win_main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winbase::*` [INFO] [stderr] --> src/win_main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::winbase::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::*` [INFO] [stderr] --> src/win_main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::um::winnt::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/win_main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::Interface` [INFO] [stderr] --> src/window.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::basetsd::*` [INFO] [stderr] --> src/window.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::basetsd::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgi::*` [INFO] [stderr] --> src/window.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::dxgi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgi1_2::*` [INFO] [stderr] --> src/window.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgitype::*` [INFO] [stderr] --> src/window.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::shared::dxgitype::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgiformat::*` [INFO] [stderr] --> src/window.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::shared::dxgiformat::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/window.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/window.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::*` [INFO] [stderr] --> src/window.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use winapi::shared::winerror::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::d2d1::*` [INFO] [stderr] --> src/window.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::um::d2d1::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::unknwnbase::*` [INFO] [stderr] --> src/window.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::unknwnbase::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::*` [INFO] [stderr] --> src/window.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::*` [INFO] [stderr] --> src/window.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | use winapi::um::winnt::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/window.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RenderTarget` [INFO] [stderr] --> src/window.rs:45:70 [INFO] [stderr] | [INFO] [stderr] 45 | use direct2d::render_target::{GenericRenderTarget, HwndRenderTarget, RenderTarget}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 418 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0408`. [INFO] [stderr] error: Could not compile `druid-win-shell`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID2D1HwndRenderTarget` [INFO] [stderr] --> src/window.rs:974:42 [INFO] [stderr] | [INFO] [stderr] 974 | let err = (*raw_ptr).QueryInterface(&ID2D1HwndRenderTarget::uuidof(), &mut hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID2D1HwndRenderTarget` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:46:29 [INFO] [stderr] | [INFO] [stderr] 46 | unsafe fn wrap(hr: HRESULT, ptr: *mut T, f: F) -> Result [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:46:70 [INFO] [stderr] | [INFO] [stderr] 46 | unsafe fn wrap(hr: HRESULT, ptr: *mut T, f: F) -> Result [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/dcomp.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | if SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | fn unit_err(hr: HRESULT) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:56:40 [INFO] [stderr] | [INFO] [stderr] 56 | fn unit_err(hr: HRESULT) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/dcomp.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | if SUCCEEDED(hr) { Ok(()) } else { Err(hr) } [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/dcomp.rs:60:31 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct D3D11Device(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Device` in this scope [INFO] [stderr] --> src/dcomp.rs:61:30 [INFO] [stderr] | [INFO] [stderr] 61 | pub struct D2D1Device(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `D2D1Device` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionDevice` in this scope [INFO] [stderr] --> src/dcomp.rs:62:38 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct DCompositionDevice(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionDevice` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionTarget` in this scope [INFO] [stderr] --> src/dcomp.rs:63:38 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct DCompositionTarget(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionTarget` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionVisual` in this scope [INFO] [stderr] --> src/dcomp.rs:64:38 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct DCompositionVisual(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVisual` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionVirtualSurface` in this scope [INFO] [stderr] --> src/dcomp.rs:65:46 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct DCompositionVirtualSurface(ComPtr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVirtualSurface` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dcomp.rs:69:46 [INFO] [stderr] | [INFO] [stderr] 69 | unsafe fn unknown_ptr(&mut self) -> *mut IUnknown; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:74:48 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn new_simple() -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/dcomp.rs:76:40 [INFO] [stderr] | [INFO] [stderr] 76 | let mut d3d11_device: *mut ID3D11Device = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_BGRA_SUPPORT` in this scope [INFO] [stderr] --> src/dcomp.rs:77:25 [INFO] [stderr] | [INFO] [stderr] 77 | let flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT; // could probably set single threaded [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `D3D11CreateDevice` in this scope [INFO] [stderr] --> src/dcomp.rs:78:22 [INFO] [stderr] | [INFO] [stderr] 78 | let hr = D3D11CreateDevice(null_mut(), D3D_DRIVER_TYPE_HARDWARE, null_mut(), flags, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stderr] --> src/dcomp.rs:78:52 [INFO] [stderr] | [INFO] [stderr] 78 | let hr = D3D11CreateDevice(null_mut(), D3D_DRIVER_TYPE_HARDWARE, null_mut(), flags, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stderr] --> src/dcomp.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | null(), 0, D3D11_SDK_VERSION, &mut d3d11_device, null_mut(), null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/dcomp.rs:80:17 [INFO] [stderr] | [INFO] [stderr] 80 | if !SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:87:64 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn create_d2d1_device(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIDevice` in this scope [INFO] [stderr] --> src/dcomp.rs:89:41 [INFO] [stderr] | [INFO] [stderr] 89 | let mut dxgi_device: ComPtr = self.0.cast()?; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1Device` in this scope [INFO] [stderr] --> src/dcomp.rs:90:39 [INFO] [stderr] | [INFO] [stderr] 90 | let mut d2d1_device: *mut ID2D1Device = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `D2D1Device` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `D2D1CreateDevice` in this scope [INFO] [stderr] --> src/dcomp.rs:91:22 [INFO] [stderr] | [INFO] [stderr] 91 | let hr = D2D1CreateDevice(dxgi_device.as_raw(), null(), &mut d2d1_device); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/dcomp.rs:96:39 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn raw_ptr(&mut self) -> *mut ID3D11Device { [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:104:79 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn create_composition_device(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionDevice` in this scope [INFO] [stderr] --> src/dcomp.rs:107:40 [INFO] [stderr] | [INFO] [stderr] 107 | let mut dcomp_device: *mut IDCompositionDevice = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionDevice` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dcomp.rs:108:53 [INFO] [stderr] | [INFO] [stderr] 108 | let hr = create(self.0.as_raw() as *mut IUnknown, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/dcomp.rs:117:59 [INFO] [stderr] | [INFO] [stderr] 117 | pub unsafe fn create_target_for_hwnd(&mut self, hwnd: HWND, topmost: bool) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:118:39 [INFO] [stderr] | [INFO] [stderr] 118 | -> Result [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionTarget` in this scope [INFO] [stderr] --> src/dcomp.rs:120:36 [INFO] [stderr] | [INFO] [stderr] 120 | let mut dcomp_target: *mut IDCompositionTarget = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionTarget` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/dcomp.rs:121:64 [INFO] [stderr] | [INFO] [stderr] 121 | let hr = self.0.CreateTargetForHwnd(hwnd, if topmost { TRUE } else { FALSE }, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/dcomp.rs:121:78 [INFO] [stderr] | [INFO] [stderr] 121 | let hr = self.0.CreateTargetForHwnd(hwnd, if topmost { TRUE } else { FALSE }, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:126:67 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn create_visual(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionVisual` in this scope [INFO] [stderr] --> src/dcomp.rs:128:34 [INFO] [stderr] | [INFO] [stderr] 128 | let mut visual: *mut IDCompositionVisual = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVisual` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:136:47 [INFO] [stderr] | [INFO] [stderr] 136 | -> Result [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDCompositionVirtualSurface` in this scope [INFO] [stderr] --> src/dcomp.rs:139:35 [INFO] [stderr] | [INFO] [stderr] 139 | let mut surface: *mut IDCompositionVirtualSurface = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVirtualSurface` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stderr] --> src/dcomp.rs:140:65 [INFO] [stderr] | [INFO] [stderr] 140 | let hr = self.0.CreateVirtualSurface(width, height, DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ALPHA_MODE_IGNORE` in this scope [INFO] [stderr] --> src/dcomp.rs:141:17 [INFO] [stderr] | [INFO] [stderr] 141 | DXGI_ALPHA_MODE_IGNORE, &mut surface); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:146:44 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn commit(&mut self) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:155:48 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn clear_root(&mut self) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:161:79 [INFO] [stderr] | [INFO] [stderr] 161 | pub fn set_root(&mut self, visual: &mut DCompositionVisual) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:169:78 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn set_content(&mut self, content: &mut T) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dcomp.rs:176:60 [INFO] [stderr] | [INFO] [stderr] 176 | pub unsafe fn set_content_raw(&mut self, content: *mut IUnknown) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dcomp.rs:176:84 [INFO] [stderr] | [INFO] [stderr] 176 | pub unsafe fn set_content_raw(&mut self, content: *mut IUnknown) -> Result<(), HRESULT> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/dialog.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct FileDialogOptions(DWORD); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FOS_FORCESHOWHIDDEN` in this scope [INFO] [stderr] --> src/dialog.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | self.0 |= FOS_FORCESHOWHIDDEN; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/dialog.rs:66:55 [INFO] [stderr] | [INFO] [stderr] 66 | pub(crate) unsafe fn get_file_dialog_path(hwnd_owner: HWND, ty: FileDialogType, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stderr] --> src/dialog.rs:69:23 [INFO] [stderr] | [INFO] [stderr] 69 | let mut pfd: *mut IFileDialog = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSID_FileOpenDialog` in this scope [INFO] [stderr] --> src/dialog.rs:71:35 [INFO] [stderr] | [INFO] [stderr] 71 | FileDialogType::Open => (&CLSID_FileOpenDialog, IFileOpenDialog::uuidof()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSID_FileSaveDialog` in this scope [INFO] [stderr] --> src/dialog.rs:72:35 [INFO] [stderr] | [INFO] [stderr] 72 | FileDialogType::Save => (&CLSID_FileSaveDialog, IFileSaveDialog::uuidof()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoCreateInstance` in this scope [INFO] [stderr] --> src/dialog.rs:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | as_result(CoCreateInstance(class, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSCTX_INPROC_SERVER` in this scope [INFO] [stderr] --> src/dialog.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | CLSCTX_INPROC_SERVER, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stderr] --> src/dialog.rs:78:35 [INFO] [stderr] | [INFO] [stderr] 78 | &mut pfd as *mut *mut IFileDialog as *mut LPVOID [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/dialog.rs:78:55 [INFO] [stderr] | [INFO] [stderr] 78 | &mut pfd as *mut *mut IFileDialog as *mut LPVOID [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stderr] --> src/dialog.rs:83:30 [INFO] [stderr] | [INFO] [stderr] 83 | let mut result_ptr: *mut IShellItem = null_mut(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/dialog.rs:86:27 [INFO] [stderr] | [INFO] [stderr] 86 | let mut display_name: LPWSTR = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SIGDN_FILESYSPATH` in this scope [INFO] [stderr] --> src/dialog.rs:87:41 [INFO] [stderr] | [INFO] [stderr] 87 | as_result(shell_item.GetDisplayName(SIGDN_FILESYSPATH, &mut display_name))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoTaskMemFree` in this scope [INFO] [stderr] --> src/dialog.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | CoTaskMemFree(display_name as LPVOID); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/dialog.rs:89:35 [INFO] [stderr] | [INFO] [stderr] 89 | CoTaskMemFree(display_name as LPVOID); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/menu.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | hmenu: HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DestroyMenu` in this scope [INFO] [stderr] --> src/menu.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | DestroyMenu(self.hmenu); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateMenu` in this scope [INFO] [stderr] --> src/menu.rs:43:25 [INFO] [stderr] | [INFO] [stderr] 43 | let hmenu = CreateMenu(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/menu.rs:48:32 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn into_hmenu(self) -> HMENU { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `AppendMenuW` in this scope [INFO] [stderr] --> src/menu.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_POPUP` in this scope [INFO] [stderr] --> src/menu.rs:60:37 [INFO] [stderr] | [INFO] [stderr] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stderr] --> src/menu.rs:60:68 [INFO] [stderr] | [INFO] [stderr] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `AppendMenuW` in this scope [INFO] [stderr] --> src/menu.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stderr] --> src/menu.rs:68:37 [INFO] [stderr] | [INFO] [stderr] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stderr] --> src/menu.rs:68:54 [INFO] [stderr] | [INFO] [stderr] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `AppendMenuW` in this scope [INFO] [stderr] --> src/menu.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | AppendMenuW(self.hmenu, MF_SEPARATOR, 0, null()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MF_SEPARATOR` in this scope [INFO] [stderr] --> src/menu.rs:75:37 [INFO] [stderr] | [INFO] [stderr] 75 | AppendMenuW(self.hmenu, MF_SEPARATOR, 0, null()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Factory` in module `direct2d` [INFO] [stderr] --> src/paint.rs:45:43 [INFO] [stderr] | [INFO] [stderr] 45 | pub(crate) d2d_factory: &'a direct2d::Factory, [INFO] [stderr] | ^^^^^^^ not found in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Factory` in module `direct2d` [INFO] [stderr] --> src/paint.rs:49:67 [INFO] [stderr] | [INFO] [stderr] 49 | pub(crate) unsafe fn create_render_target(d2d_factory: &direct2d::Factory, hwnd: HWND) [INFO] [stderr] | ^^^^^^^ not found in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/paint.rs:49:82 [INFO] [stderr] | [INFO] [stderr] 49 | pub(crate) unsafe fn create_render_target(d2d_factory: &direct2d::Factory, hwnd: HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/paint.rs:52:19 [INFO] [stderr] | [INFO] [stderr] 52 | let mut rect: RECT = mem::uninitialized(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/paint.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Factory` in module `direct2d` [INFO] [stderr] --> src/paint.rs:71:72 [INFO] [stderr] | [INFO] [stderr] 71 | pub(crate) unsafe fn create_render_target_dxgi(d2d_factory: &direct2d::Factory, [INFO] [stderr] | ^^^^^^^ not found in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stderr] --> src/paint.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | swap_chain: *mut IDXGISwapChain1, dpi: f32) -> Result [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISurface` in this scope [INFO] [stderr] --> src/paint.rs:74:26 [INFO] [stderr] | [INFO] [stderr] 74 | let mut buffer: *mut IDXGISurface = null_mut(); [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/paint.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | let props = 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/paint.rs:78:16 [INFO] [stderr] | [INFO] [stderr] 78 | _type: D2D1_RENDER_TARGET_TYPE_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope [INFO] [stderr] --> src/paint.rs:79:22 [INFO] [stderr] | [INFO] [stderr] 79 | pixelFormat: D2D1_PIXEL_FORMAT { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stderr] --> src/paint.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_ALPHA_MODE_IGNORE` in this scope [INFO] [stderr] --> src/paint.rs:81:24 [INFO] [stderr] | [INFO] [stderr] 81 | alphaMode: D2D1_ALPHA_MODE_IGNORE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_NONE` in this scope [INFO] [stderr] --> src/paint.rs:85:16 [INFO] [stderr] | [INFO] [stderr] 85 | usage: D2D1_RENDER_TARGET_USAGE_NONE, [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/paint.rs:86:19 [INFO] [stderr] | [INFO] [stderr] 86 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1RenderTarget` in this scope [INFO] [stderr] --> src/paint.rs:89:33 [INFO] [stderr] | [INFO] [stderr] 89 | let mut render_target: *mut ID2D1RenderTarget = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/paint.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 93 | if SUCCEEDED(res) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Factory` in module `direct2d` [INFO] [stderr] --> src/paint.rs:105:45 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn d2d_factory(&self) -> &direct2d::Factory { [INFO] [stderr] | ^^^^^^^ not found in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | Hr(HRESULT), [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn as_result(hr: HRESULT) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/util.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | if SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:75:11 [INFO] [stderr] | [INFO] [stderr] 75 | impl From for Error { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | fn from(hr: HRESULT) -> Error { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/util.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | impl FromWide for LPWSTR { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/util.rs:125:55 [INFO] [stderr] | [INFO] [stderr] 125 | type GetDpiForSystem = unsafe extern "system" fn() -> UINT; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/util.rs:126:51 [INFO] [stderr] | [INFO] [stderr] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MONITOR_DPI_TYPE` in this scope [INFO] [stderr] --> src/util.rs:126:61 [INFO] [stderr] | [INFO] [stderr] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/util.rs:126:84 [INFO] [stderr] | [INFO] [stderr] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/util.rs:126:95 [INFO] [stderr] | [INFO] [stderr] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PROCESS_DPI_AWARENESS` in this scope [INFO] [stderr] --> src/util.rs:128:57 [INFO] [stderr] | [INFO] [stderr] 128 | type SetProcessDpiAwareness = unsafe extern "system" fn(PROCESS_DPI_AWARENESS) -> HRESULT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:128:83 [INFO] [stderr] | [INFO] [stderr] 128 | type SetProcessDpiAwareness = unsafe extern "system" fn(PROCESS_DPI_AWARENESS) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/util.rs:130:29 [INFO] [stderr] | [INFO] [stderr] 130 | renderingDevice: *const IUnknown, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stderr] --> src/util.rs:131:10 [INFO] [stderr] | [INFO] [stderr] 131 | iid: REFIID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:133:6 [INFO] [stderr] | [INFO] [stderr] 133 | ) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/util.rs:135:12 [INFO] [stderr] | [INFO] [stderr] 135 | Flags: UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stderr] --> src/util.rs:136:11 [INFO] [stderr] | [INFO] [stderr] 136 | riid: REFIID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/util.rs:138:6 [INFO] [stderr] | [INFO] [stderr] 138 | ) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stderr] --> src/util.rs:176:36 [INFO] [stderr] | [INFO] [stderr] 176 | fn load_library(name: &str) -> HMODULE { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/util.rs:181:32 [INFO] [stderr] | [INFO] [stderr] 181 | let library = unsafe { GetModuleHandleW(encoded_name.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadLibraryW` in this scope [INFO] [stderr] --> src/util.rs:186:32 [INFO] [stderr] | [INFO] [stderr] 186 | let library = unsafe { LoadLibraryW(encoded_name.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a function with a similar name exists: `load_library` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in this scope [INFO] [stderr] --> src/util.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 204 | load_function!(shcore, SetProcessDpiAwareness, "8.1"); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in this scope [INFO] [stderr] --> src/util.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 205 | load_function!(shcore, GetDpiForMonitor, "8.1"); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in this scope [INFO] [stderr] --> src/util.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 211 | load_function!(user32, GetDpiForSystem, "10"); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in this scope [INFO] [stderr] --> src/util.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 215 | load_function!(dcomp, DCompositionCreateDevice2, "8.1"); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in this scope [INFO] [stderr] --> src/util.rs:162:41 [INFO] [stderr] | [INFO] [stderr] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 219 | load_function!(dxgi, CreateDXGIFactory2, "8.1"); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PROCESS_SYSTEM_DPI_AWARE` in this scope [INFO] [stderr] --> src/util.rs:241:18 [INFO] [stderr] | [INFO] [stderr] 241 | func(PROCESS_SYSTEM_DPI_AWARE); // TODO: per monitor (much harder) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetStdHandle` in this scope [INFO] [stderr] --> src/util.rs:274:22 [INFO] [stderr] | [INFO] [stderr] 274 | let stdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stderr] --> src/util.rs:274:35 [INFO] [stderr] | [INFO] [stderr] 274 | let stdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/util.rs:275:22 [INFO] [stderr] | [INFO] [stderr] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetFileType` in this scope [INFO] [stderr] --> src/util.rs:275:46 [INFO] [stderr] | [INFO] [stderr] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_TYPE_UNKNOWN` in this scope [INFO] [stderr] --> src/util.rs:275:69 [INFO] [stderr] | [INFO] [stderr] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `AttachConsole` in this scope [INFO] [stderr] --> src/util.rs:281:12 [INFO] [stderr] | [INFO] [stderr] 281 | if AttachConsole(ATTACH_PARENT_PROCESS) > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `attach_console` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ATTACH_PARENT_PROCESS` in this scope [INFO] [stderr] --> src/util.rs:281:26 [INFO] [stderr] | [INFO] [stderr] 281 | if AttachConsole(ATTACH_PARENT_PROCESS) > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateFileA` in this scope [INFO] [stderr] --> src/util.rs:282:24 [INFO] [stderr] | [INFO] [stderr] 282 | let chnd = CreateFileA( [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stderr] --> src/util.rs:284:17 [INFO] [stderr] | [INFO] [stderr] 284 | GENERIC_READ | GENERIC_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stderr] --> src/util.rs:284:32 [INFO] [stderr] | [INFO] [stderr] 284 | GENERIC_READ | GENERIC_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stderr] --> src/util.rs:285:17 [INFO] [stderr] | [INFO] [stderr] 285 | FILE_SHARE_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stderr] --> src/util.rs:287:17 [INFO] [stderr] | [INFO] [stderr] 287 | OPEN_EXISTING, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/util.rs:291:24 [INFO] [stderr] | [INFO] [stderr] 291 | if chnd == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetStdHandle` in this scope [INFO] [stderr] --> src/util.rs:296:13 [INFO] [stderr] | [INFO] [stderr] 296 | SetStdHandle(STD_OUTPUT_HANDLE, chnd); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stderr] --> src/util.rs:296:26 [INFO] [stderr] | [INFO] [stderr] 296 | SetStdHandle(STD_OUTPUT_HANDLE, chnd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetStdHandle` in this scope [INFO] [stderr] --> src/util.rs:297:13 [INFO] [stderr] | [INFO] [stderr] 297 | SetStdHandle(STD_ERROR_HANDLE, chnd); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `STD_ERROR_HANDLE` in this scope [INFO] [stderr] --> src/util.rs:297:26 [INFO] [stderr] | [INFO] [stderr] 297 | SetStdHandle(STD_ERROR_HANDLE, chnd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/win_main.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | h: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HACCEL` in this scope [INFO] [stderr] --> src/win_main.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | accel: HACCEL, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ACCEL` in this scope [INFO] [stderr] --> src/win_main.rs:61:42 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn set_accel(&mut self, accel: &[ACCEL]) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateAcceleratorTableW` in this scope [INFO] [stderr] --> src/win_main.rs:63:26 [INFO] [stderr] | [INFO] [stderr] 63 | self.accel = CreateAcceleratorTableW(accel as *const _ as *mut _, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `MsgWaitForMultipleObjectsEx` in this scope [INFO] [stderr] --> src/win_main.rs:77:27 [INFO] [stderr] | [INFO] [stderr] 77 | let res = MsgWaitForMultipleObjectsEx( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stderr] --> src/win_main.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | INFINITE, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `QS_ALLEVENTS` in this scope [INFO] [stderr] --> src/win_main.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | QS_ALLEVENTS, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stderr] --> src/win_main.rs:86:27 [INFO] [stderr] | [INFO] [stderr] 86 | if res >= WAIT_OBJECT_0 && res < WAIT_OBJECT_0 + len { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stderr] --> src/win_main.rs:86:50 [INFO] [stderr] | [INFO] [stderr] 86 | if res >= WAIT_OBJECT_0 && res < WAIT_OBJECT_0 + len { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stderr] --> src/win_main.rs:87:37 [INFO] [stderr] | [INFO] [stderr] 87 | let ix = (res - WAIT_OBJECT_0) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PeekMessageW` in this scope [INFO] [stderr] --> src/win_main.rs:95:31 [INFO] [stderr] | [INFO] [stderr] 95 | let res = PeekMessageW(&mut msg, null_mut(), 0, 0, PM_NOREMOVE); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PM_NOREMOVE` in this scope [INFO] [stderr] --> src/win_main.rs:95:72 [INFO] [stderr] | [INFO] [stderr] 95 | let res = PeekMessageW(&mut msg, null_mut(), 0, 0, PM_NOREMOVE); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetMessageW` in this scope [INFO] [stderr] --> src/win_main.rs:99:31 [INFO] [stderr] | [INFO] [stderr] 99 | let res = GetMessageW(&mut msg, null_mut(), 0, 0); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateAcceleratorW` in this scope [INFO] [stderr] --> src/win_main.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | TranslateAcceleratorW(msg.hwnd, self.accel, &mut msg) == 0 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope [INFO] [stderr] --> src/win_main.rs:106:25 [INFO] [stderr] | [INFO] [stderr] 106 | TranslateMessage(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope [INFO] [stderr] --> src/win_main.rs:107:25 [INFO] [stderr] | [INFO] [stderr] 107 | DispatchMessageW(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/win_main.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/win_main.rs:125:44 [INFO] [stderr] | [INFO] [stderr] 125 | pub unsafe fn add_handler(&self, h: HANDLE, callback: F) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/window.rs:61:14 [INFO] [stderr] | [INFO] [stderr] 61 | dwStyle: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:104:22 [INFO] [stderr] | [INFO] [stderr] 104 | pub(crate) hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:119:16 [INFO] [stderr] | [INFO] [stderr] 119 | hwnd: Cell, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:260:33 [INFO] [stderr] | [INFO] [stderr] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:260:44 [INFO] [stderr] | [INFO] [stderr] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/window.rs:260:58 [INFO] [stderr] | [INFO] [stderr] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/window.rs:260:74 [INFO] [stderr] | [INFO] [stderr] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, 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/window.rs:261:19 [INFO] [stderr] | [INFO] [stderr] 261 | -> Option; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Factory` in module `direct2d` [INFO] [stderr] --> src/window.rs:278:28 [INFO] [stderr] | [INFO] [stderr] 278 | d2d_factory: direct2d::Factory, [INFO] [stderr] | ^^^^^^^ not found in `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stderr] --> src/window.rs:291:22 [INFO] [stderr] | [INFO] [stderr] 291 | swap_chain: *mut IDXGISwapChain1, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:300:20 [INFO] [stderr] | [INFO] [stderr] 300 | const XI_RUN_IDLE: UINT = WM_USER; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stderr] --> src/window.rs:300:27 [INFO] [stderr] | [INFO] [stderr] 300 | const XI_RUN_IDLE: UINT = WM_USER; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/window.rs:310:26 [INFO] [stderr] | [INFO] [stderr] 310 | fn get_mod_state(lparam: LPARAM) -> u32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOD_ALT` in this scope [INFO] [stderr] --> src/window.rs:313:53 [INFO] [stderr] | [INFO] [stderr] 313 | if (lparam & (1 << 29)) != 0 { mod_state |= MOD_ALT as u32; } [INFO] [stderr] | ^^^^^^^ help: a constant with a similar name exists: `M_ALT` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetKeyState` in this scope [INFO] [stderr] --> src/window.rs:314:12 [INFO] [stderr] | [INFO] [stderr] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stderr] --> src/window.rs:314:24 [INFO] [stderr] | [INFO] [stderr] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOD_CONTROL` in this scope [INFO] [stderr] --> src/window.rs:314:55 [INFO] [stderr] | [INFO] [stderr] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetKeyState` in this scope [INFO] [stderr] --> src/window.rs:315:12 [INFO] [stderr] | [INFO] [stderr] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SHIFT` in this scope [INFO] [stderr] --> src/window.rs:315:24 [INFO] [stderr] | [INFO] [stderr] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stderr] | ^^^^^^^^ help: a constant with a similar name exists: `M_SHIFT` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOD_SHIFT` in this scope [INFO] [stderr] --> src/window.rs:315:53 [INFO] [stderr] | [INFO] [stderr] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stderr] | ^^^^^^^^^ help: a constant with a similar name exists: `M_SHIFT` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:363:33 [INFO] [stderr] | [INFO] [stderr] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:363:44 [INFO] [stderr] | [INFO] [stderr] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/window.rs:363:58 [INFO] [stderr] | [INFO] [stderr] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/window.rs:363:74 [INFO] [stderr] | [INFO] [stderr] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, 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/window.rs:364:19 [INFO] [stderr] | [INFO] [stderr] 364 | -> Option [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ValidateRect` in this scope [INFO] [stderr] --> src/window.rs:386:17 [INFO] [stderr] | [INFO] [stderr] 386 | ValidateRect(hwnd, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/window.rs:409:35 [INFO] [stderr] | [INFO] [stderr] 409 | let mut rect: RECT = mem::uninitialized(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/window.rs:410:21 [INFO] [stderr] | [INFO] [stderr] 410 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stderr] --> src/window.rs:415:58 [INFO] [stderr] | [INFO] [stderr] 415 | .ResizeBuffers(2, width, height, DXGI_FORMAT_UNKNOWN, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/window.rs:416:24 [INFO] [stderr] | [INFO] [stderr] 416 | if SUCCEEDED(res) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:442:29 [INFO] [stderr] | [INFO] [stderr] 442 | let width = LOWORD(lparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:443:30 [INFO] [stderr] | [INFO] [stderr] 443 | let height = HIWORD(lparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:457:41 [INFO] [stderr] | [INFO] [stderr] 457 | let width = LOWORD(lparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:458:42 [INFO] [stderr] | [INFO] [stderr] 458 | let height = HIWORD(lparam as u32) as u32; [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/window.rs:459:46 [INFO] [stderr] | [INFO] [stderr] 459 | let size = SizeU(D2D1_SIZE_U { width, height }); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/window.rs:463:21 [INFO] [stderr] | [INFO] [stderr] 463 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/window.rs:463:54 [INFO] [stderr] | [INFO] [stderr] 463 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stderr] --> src/window.rs:471:62 [INFO] [stderr] | [INFO] [stderr] 471 | .ResizeBuffers(0, width, height, DXGI_FORMAT_UNKNOWN, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/window.rs:473:24 [INFO] [stderr] | [INFO] [stderr] 473 | if SUCCEEDED(res) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ValidateRect` in this scope [INFO] [stderr] --> src/window.rs:482:25 [INFO] [stderr] | [INFO] [stderr] 482 | ValidateRect(hwnd, null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:490:38 [INFO] [stderr] | [INFO] [stderr] 490 | self.handler.command(LOWORD(wparam as u32) as u32); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:508:29 [INFO] [stderr] | [INFO] [stderr] 508 | let delta = HIWORD(wparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:509:28 [INFO] [stderr] | [INFO] [stderr] 509 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:514:29 [INFO] [stderr] | [INFO] [stderr] 514 | let delta = HIWORD(wparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:515:28 [INFO] [stderr] | [INFO] [stderr] 515 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:520:25 [INFO] [stderr] | [INFO] [stderr] 520 | let x = LOWORD(lparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:521:25 [INFO] [stderr] | [INFO] [stderr] 521 | let y = HIWORD(lparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:522:28 [INFO] [stderr] | [INFO] [stderr] 522 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:538:31 [INFO] [stderr] | [INFO] [stderr] 538 | match HIWORD(wparam as u32) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:557:25 [INFO] [stderr] | [INFO] [stderr] 557 | let x = LOWORD(lparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HIWORD` in this scope [INFO] [stderr] --> src/window.rs:558:25 [INFO] [stderr] | [INFO] [stderr] 558 | let y = HIWORD(lparam as u32) as i16 as i32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LOWORD` in this scope [INFO] [stderr] --> src/window.rs:559:28 [INFO] [stderr] | [INFO] [stderr] 559 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stderr] --> src/window.rs:585:22 [INFO] [stderr] | [INFO] [stderr] 585 | dwStyle: WS_OVERLAPPEDWINDOW, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_HSCROLL` in this scope [INFO] [stderr] --> src/window.rs:599:27 [INFO] [stderr] | [INFO] [stderr] 599 | self.dwStyle &= !(WS_HSCROLL | WS_VSCROLL); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stderr] --> src/window.rs:599:40 [INFO] [stderr] | [INFO] [stderr] 599 | self.dwStyle &= !(WS_HSCROLL | WS_VSCROLL); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_HSCROLL` in this scope [INFO] [stderr] --> src/window.rs:601:29 [INFO] [stderr] | [INFO] [stderr] 601 | self.dwStyle |= WS_HSCROLL; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stderr] --> src/window.rs:604:29 [INFO] [stderr] | [INFO] [stderr] 604 | self.dwStyle |= WS_VSCROLL; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadIconW` in this scope [INFO] [stderr] --> src/window.rs:634:24 [INFO] [stderr] | [INFO] [stderr] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:634:39 [INFO] [stderr] | [INFO] [stderr] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stderr] --> src/window.rs:634:50 [INFO] [stderr] | [INFO] [stderr] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope [INFO] [stderr] --> src/window.rs:635:26 [INFO] [stderr] | [INFO] [stderr] 635 | let cursor = LoadCursorW(0 as HINSTANCE, self.cursor.get_lpcwstr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:635:43 [INFO] [stderr] | [INFO] [stderr] 635 | let cursor = LoadCursorW(0 as HINSTANCE, self.cursor.get_lpcwstr()); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/window.rs:636:25 [INFO] [stderr] | [INFO] [stderr] 636 | let brush = CreateSolidBrush(0xffffff); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stderr] --> src/window.rs:637:23 [INFO] [stderr] | [INFO] [stderr] 637 | let wnd = WNDCLASSW { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:642:33 [INFO] [stderr] | [INFO] [stderr] 642 | hInstance: 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/window.rs:646:36 [INFO] [stderr] | [INFO] [stderr] 646 | lpszMenuName: 0 as LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassW` in this scope [INFO] [stderr] --> src/window.rs:649:30 [INFO] [stderr] | [INFO] [stderr] 649 | let class_atom = RegisterClassW(&wnd); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:662:38 [INFO] [stderr] | [INFO] [stderr] 662 | hwnd: Cell::new(0 as HWND), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/window.rs:685:30 [INFO] [stderr] | [INFO] [stderr] 685 | None => 0 as HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_EX_NOREDIRECTIONBITMAP` in this scope [INFO] [stderr] --> src/window.rs:689:30 [INFO] [stderr] | [INFO] [stderr] 689 | dwExStyle |= WS_EX_NOREDIRECTIONBITMAP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/window.rs:693:17 [INFO] [stderr] | [INFO] [stderr] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/window.rs:693:32 [INFO] [stderr] | [INFO] [stderr] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:693:67 [INFO] [stderr] | [INFO] [stderr] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:693:85 [INFO] [stderr] | [INFO] [stderr] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stderr] --> src/window.rs:722:40 [INFO] [stderr] | [INFO] [stderr] 722 | unsafe fn choose_adapter(factory: *mut IDXGIFactory2) -> *mut IDXGIAdapter { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stderr] --> src/window.rs:722:63 [INFO] [stderr] | [INFO] [stderr] 722 | unsafe fn choose_adapter(factory: *mut IDXGIFactory2) -> *mut IDXGIAdapter { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stderr] --> src/window.rs:727:31 [INFO] [stderr] | [INFO] [stderr] 727 | let mut adapter: *mut IDXGIAdapter = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/window.rs:728:13 [INFO] [stderr] | [INFO] [stderr] 728 | if !SUCCEEDED((*factory).EnumAdapters(i, &mut adapter)) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DXGI_ADAPTER_DESC` in this scope [INFO] [stderr] --> src/window.rs:731:23 [INFO] [stderr] | [INFO] [stderr] 731 | let mut desc: DXGI_ADAPTER_DESC = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/window.rs:740:42 [INFO] [stderr] | [INFO] [stderr] 740 | (&mut desc.Description[0] as LPWSTR).from_wide(), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:747:71 [INFO] [stderr] | [INFO] [stderr] 747 | unsafe fn create_dcomp_state(present_strategy: PresentStrategy, hwnd: HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stderr] --> src/window.rs:755:31 [INFO] [stderr] | [INFO] [stderr] 755 | let mut factory: *mut IDXGIFactory2 = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDXGIFactory2` in this scope [INFO] [stderr] --> src/window.rs:756:44 [INFO] [stderr] | [INFO] [stderr] 756 | as_result(create_dxgi_factory2(0, &IID_IDXGIFactory2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stderr] --> src/window.rs:757:39 [INFO] [stderr] | [INFO] [stderr] 757 | &mut factory as *mut *mut IDXGIFactory2 as *mut *mut c_void))?; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_SEQUENTIAL` in this scope [INFO] [stderr] --> src/window.rs:769:45 [INFO] [stderr] | [INFO] [stderr] 769 | PresentStrategy::Sequential => (DXGI_SWAP_EFFECT_SEQUENTIAL, 1), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL` in this scope [INFO] [stderr] --> src/window.rs:771:18 [INFO] [stderr] | [INFO] [stderr] 771 | (DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL, 2), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope [INFO] [stderr] --> src/window.rs:773:20 [INFO] [stderr] | [INFO] [stderr] 773 | let desc = DXGI_SWAP_CHAIN_DESC1 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stderr] --> src/window.rs:776:21 [INFO] [stderr] | [INFO] [stderr] 776 | Format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/window.rs:777:21 [INFO] [stderr] | [INFO] [stderr] 777 | Stereo: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stderr] --> src/window.rs:778:25 [INFO] [stderr] | [INFO] [stderr] 778 | SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope [INFO] [stderr] --> src/window.rs:779:26 [INFO] [stderr] | [INFO] [stderr] 779 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_SCALING_STRETCH` in this scope [INFO] [stderr] --> src/window.rs:781:22 [INFO] [stderr] | [INFO] [stderr] 781 | Scaling: DXGI_SCALING_STRETCH, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ALPHA_MODE_IGNORE` in this scope [INFO] [stderr] --> src/window.rs:783:24 [INFO] [stderr] | [INFO] [stderr] 783 | AlphaMode: DXGI_ALPHA_MODE_IGNORE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stderr] --> src/window.rs:786:34 [INFO] [stderr] | [INFO] [stderr] 786 | let mut swap_chain: *mut IDXGISwapChain1 = null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/window.rs:787:91 [INFO] [stderr] | [INFO] [stderr] 787 | let res = (*factory).CreateSwapChainForComposition(d3d11_device.raw_ptr() as *mut IUnknown, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/window.rs:792:61 [INFO] [stderr] | [INFO] [stderr] 792 | swapchain_visual.set_content_raw(swap_chain as *mut IUnknown)?; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:803:51 [INFO] [stderr] | [INFO] [stderr] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:803:62 [INFO] [stderr] | [INFO] [stderr] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/window.rs:803:76 [INFO] [stderr] | [INFO] [stderr] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/window.rs:803:92 [INFO] [stderr] | [INFO] [stderr] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, 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/window.rs:804:8 [INFO] [stderr] | [INFO] [stderr] 804 | -> LRESULT [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stderr] --> src/window.rs:806:15 [INFO] [stderr] | [INFO] [stderr] 806 | if msg == WM_CREATE { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stderr] --> src/window.rs:807:49 [INFO] [stderr] | [INFO] [stderr] 807 | let create_struct = &*(lparam as *const CREATESTRUCTW); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:809:9 [INFO] [stderr] | [INFO] [stderr] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:809:33 [INFO] [stderr] | [INFO] [stderr] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr 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/window.rs:809:63 [INFO] [stderr] | [INFO] [stderr] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:811:22 [INFO] [stderr] | [INFO] [stderr] 811 | let window_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const WindowState; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:811:46 [INFO] [stderr] | [INFO] [stderr] 811 | let window_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const WindowState; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_NCDESTROY` in this scope [INFO] [stderr] --> src/window.rs:819:15 [INFO] [stderr] | [INFO] [stderr] 819 | if msg == WM_NCDESTROY { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:821:13 [INFO] [stderr] | [INFO] [stderr] 821 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:821:37 [INFO] [stderr] | [INFO] [stderr] 821 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, 0); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/window.rs:827:17 [INFO] [stderr] | [INFO] [stderr] 827 | None => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/window.rs:833:20 [INFO] [stderr] | [INFO] [stderr] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/window.rs:833:40 [INFO] [stderr] | [INFO] [stderr] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/window.rs:833:63 [INFO] [stderr] | [INFO] [stderr] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/window.rs:833:81 [INFO] [stderr] | [INFO] [stderr] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:834:62 [INFO] [stderr] | [INFO] [stderr] 834 | y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/window.rs:834:75 [INFO] [stderr] | [INFO] [stderr] 834 | y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:835:20 [INFO] [stderr] | [INFO] [stderr] 835 | hInstance: HINSTANCE, wndproc: Rc) -> HWND [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:835:60 [INFO] [stderr] | [INFO] [stderr] 835 | hInstance: HINSTANCE, wndproc: Rc) -> HWND [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/window.rs:837:5 [INFO] [stderr] | [INFO] [stderr] 837 | CreateWindowExW(dwExStyle, lpClassName, lpWindowName, dwStyle, x, y, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/window.rs:838:81 [INFO] [stderr] | [INFO] [stderr] 838 | nWidth, nHeight, hWndParent, hMenu, hInstance, Rc::into_raw(wndproc) as LPVOID) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/window.rs:842:30 [INFO] [stderr] | [INFO] [stderr] 842 | fn get_lpcwstr(&self) -> LPCWSTR { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/window.rs:844:30 [INFO] [stderr] | [INFO] [stderr] 844 | Cursor::Arrow => IDC_ARROW, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_IBEAM` in this scope [INFO] [stderr] --> src/window.rs:845:30 [INFO] [stderr] | [INFO] [stderr] 845 | Cursor::IBeam => IDC_IBEAM, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope [INFO] [stderr] --> src/window.rs:855:17 [INFO] [stderr] | [INFO] [stderr] 855 | ShowWindow(hwnd, SW_SHOWNORMAL); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope [INFO] [stderr] --> src/window.rs:855:34 [INFO] [stderr] | [INFO] [stderr] 855 | ShowWindow(hwnd, SW_SHOWNORMAL); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UpdateWindow` in this scope [INFO] [stderr] --> src/window.rs:856:17 [INFO] [stderr] | [INFO] [stderr] 856 | UpdateWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DestroyWindow` in this scope [INFO] [stderr] --> src/window.rs:865:17 [INFO] [stderr] | [INFO] [stderr] 865 | DestroyWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/window.rs:874:17 [INFO] [stderr] | [INFO] [stderr] 874 | InvalidateRect(hwnd, null(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/window.rs:874:46 [INFO] [stderr] | [INFO] [stderr] 874 | InvalidateRect(hwnd, null(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:881:38 [INFO] [stderr] | [INFO] [stderr] 881 | pub fn get_hwnd(&self) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostMessageW` in this scope [INFO] [stderr] --> src/window.rs:955:17 [INFO] [stderr] | [INFO] [stderr] 955 | PostMessageW(self.hwnd, XI_RUN_IDLE, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/window.rs:963:13 [INFO] [stderr] | [INFO] [stderr] 963 | InvalidateRect(self.hwnd, null(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/window.rs:963:47 [INFO] [stderr] | [INFO] [stderr] 963 | InvalidateRect(self.hwnd, null(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/window.rs:975:8 [INFO] [stderr] | [INFO] [stderr] 975 | if SUCCEEDED(err) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stderr] --> src/window.rs:976:54 [INFO] [stderr] | [INFO] [stderr] 976 | Some(HwndRenderTarget::from_raw(hwnd as *mut ID2D1HwndRenderTarget)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::Interface` [INFO] [stderr] --> src/dialog.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/dialog.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::ntdef::LPWSTR` [INFO] [stderr] --> src/dialog.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::shared::ntdef::LPWSTR; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/dialog.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::wtypesbase::*` [INFO] [stderr] --> src/dialog.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::shared::wtypesbase::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::combaseapi::*` [INFO] [stderr] --> src/dialog.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::combaseapi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::shobjidl::*` [INFO] [stderr] --> src/dialog.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::um::shobjidl::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::shobjidl_core::*` [INFO] [stderr] --> src/dialog.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use winapi::um::shobjidl_core::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::basetsd::*` [INFO] [stderr] --> src/menu.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::basetsd::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/menu.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/menu.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::Interface` [INFO] [stderr] --> src/paint.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::d2d1::*` [INFO] [stderr] --> src/paint.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::um::d2d1::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::dcommon::*` [INFO] [stderr] --> src/paint.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::um::dcommon::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/paint.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgi::*` [INFO] [stderr] --> src/paint.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::dxgi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgi1_2::*` [INFO] [stderr] --> src/paint.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgiformat::*` [INFO] [stderr] --> src/paint.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::shared::dxgiformat::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/paint.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::*` [INFO] [stderr] --> src/paint.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::shared::winerror::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `OsStrExt`, `OsStringExt` [INFO] [stderr] --> src/util.rs:23:29 [INFO] [stderr] | [INFO] [stderr] 23 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::guiddef::REFIID` [INFO] [stderr] --> src/util.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::shared::guiddef::REFIID; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/util.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::ntdef::*` [INFO] [stderr] --> src/util.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::ntdef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/util.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::SUCCEEDED` [INFO] [stderr] --> src/util.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::fileapi::*` [INFO] [stderr] --> src/util.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::um::fileapi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::handleapi::*` [INFO] [stderr] --> src/util.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::um::handleapi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::libloaderapi::*` [INFO] [stderr] --> src/util.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::um::libloaderapi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::processenv::*` [INFO] [stderr] --> src/util.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::um::processenv::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::shellscalingapi::*` [INFO] [stderr] --> src/util.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use winapi::um::shellscalingapi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::unknwnbase::IUnknown` [INFO] [stderr] --> src/util.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::um::unknwnbase::IUnknown; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winbase::*` [INFO] [stderr] --> src/util.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::winbase::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wincon::*` [INFO] [stderr] --> src/util.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | use winapi::um::wincon::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FILE_SHARE_WRITE`, `GENERIC_READ`, `GENERIC_WRITE` [INFO] [stderr] --> src/util.rs:41:25 [INFO] [stderr] | [INFO] [stderr] 41 | use winapi::um::winnt::{GENERIC_READ, GENERIC_WRITE, FILE_SHARE_WRITE}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/win_main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winbase::*` [INFO] [stderr] --> src/win_main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::winbase::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::*` [INFO] [stderr] --> src/win_main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::um::winnt::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/win_main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::Interface` [INFO] [stderr] --> src/window.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::basetsd::*` [INFO] [stderr] --> src/window.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use winapi::shared::basetsd::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgi::*` [INFO] [stderr] --> src/window.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use winapi::shared::dxgi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgi1_2::*` [INFO] [stderr] --> src/window.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgitype::*` [INFO] [stderr] --> src/window.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use winapi::shared::dxgitype::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgiformat::*` [INFO] [stderr] --> src/window.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::shared::dxgiformat::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/window.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/window.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::*` [INFO] [stderr] --> src/window.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use winapi::shared::winerror::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::d2d1::*` [INFO] [stderr] --> src/window.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::um::d2d1::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::unknwnbase::*` [INFO] [stderr] --> src/window.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::unknwnbase::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::*` [INFO] [stderr] --> src/window.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::*` [INFO] [stderr] --> src/window.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | use winapi::um::winnt::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/window.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RenderTarget` [INFO] [stderr] --> src/window.rs:45:70 [INFO] [stderr] | [INFO] [stderr] 45 | use direct2d::render_target::{GenericRenderTarget, HwndRenderTarget, RenderTarget}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 418 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0408`. [INFO] [stderr] error: Could not compile `druid-win-shell`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "29fa4fa78307f50b11aac6abf25126490f2c7bdc22821f04549b79a213a72b73"` [INFO] running `"docker" "rm" "-f" "29fa4fa78307f50b11aac6abf25126490f2c7bdc22821f04549b79a213a72b73"` [INFO] [stdout] 29fa4fa78307f50b11aac6abf25126490f2c7bdc22821f04549b79a213a72b73