[INFO] fetching crate druid-win-shell 0.1.1... [INFO] checking druid-win-shell-0.1.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate druid-win-shell 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate druid-win-shell 0.1.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate druid-win-shell 0.1.1 [INFO] finished tweaking crates.io crate druid-win-shell 0.1.1 [INFO] tweaked toml for crates.io crate druid-win-shell 0.1.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded direct2d v0.2.0 [INFO] [stderr] Downloaded dxgi v0.1.7 [INFO] [stderr] Downloaded directwrite v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ab689f0ad5414053846131e8fb0cab1281537ec29c3dc7c6b6b7872048a6792 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ab689f0ad5414053846131e8fb0cab1281537ec29c3dc7c6b6b7872048a6792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ab689f0ad5414053846131e8fb0cab1281537ec29c3dc7c6b6b7872048a6792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab689f0ad5414053846131e8fb0cab1281537ec29c3dc7c6b6b7872048a6792", kill_on_drop: false }` [INFO] [stdout] 9ab689f0ad5414053846131e8fb0cab1281537ec29c3dc7c6b6b7872048a6792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc812aae44bb7316b19db7663c8c7decdcfad252e53aed582a5f7ae106ee57fd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dc812aae44bb7316b19db7663c8c7decdcfad252e53aed582a5f7ae106ee57fd", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking directwrite v0.1.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking direct2d v0.2.0 [INFO] [stderr] Checking wio v0.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking druid-win-shell v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::shared::dxgi::IDXGIDevice; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::dxgi1_2::DXGI_ALPHA_MODE_IGNORE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::dxgiformat::DXGI_FORMAT_B8G8R8A8_UNORM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::minwindef::{FALSE, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::shared::windef::{HWND, POINT, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::d2d1::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::um::d2d1_1::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::um::d3d11::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::um::d3dcommon::D3D_DRIVER_TYPE_HARDWARE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::um::dcomp::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::um::dcompanimation::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::winnt::HRESULT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/dcomp.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/dcomp.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::RenderTarget` [INFO] [stdout] --> src/dcomp.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | use direct2d::{self, RenderTarget}; [INFO] [stdout] | ^^^^^^^^^^^^ no `RenderTarget` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::math` [INFO] [stdout] --> src/dcomp.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | use direct2d::math::Matrix3x2F; [INFO] [stdout] | ^^^^ could not find `math` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dialog.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dialog.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::shared::ntdef::LPWSTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dialog.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dialog.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::wtypesbase::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dialog.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::combaseapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dialog.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::shobjidl::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dialog.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::shobjidl_core::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/dialog.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/menu.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::basetsd::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/menu.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/menu.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/dialog.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/paint.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/paint.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::d2d1::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/paint.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::dcommon::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/paint.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/paint.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::shared::dxgi::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/paint.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/paint.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::shared::dxgiformat::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/paint.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/paint.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::shared::winerror::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/paint.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::ctypes::{c_void}; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::enums` [INFO] [stdout] --> src/paint.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | use direct2d::enums::{AlphaMode, RenderTargetType}; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/util.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::render_target` [INFO] [stdout] --> src/paint.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | use direct2d::render_target::{DxgiSurfaceRenderTarget, GenericRenderTarget, HwndRenderTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `render_target` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::guiddef::REFIID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::shared::ntdef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::um::fileapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::um::handleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::um::libloaderapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::um::processenv::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::um::shellscalingapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::wincon::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::um::winnt::{GENERIC_READ, GENERIC_WRITE, FILE_SHARE_WRITE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/util.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::enums` [INFO] [stdout] --> src/util.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | use direct2d::enums::DrawTextOptions; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win_main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/window.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::shared::basetsd::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::shared::dxgi::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::shared::dxgitype::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::shared::dxgiformat::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::shared::winerror::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::um::d2d1::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::unknwnbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::wingdi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/window.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::ctypes::{c_int, c_void}; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::math` [INFO] [stdout] --> src/window.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | use direct2d::math::SizeU; [INFO] [stdout] | ^^^^ could not find `math` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::render_target` [INFO] [stdout] --> src/window.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | use direct2d::render_target::{GenericRenderTarget, HwndRenderTarget, RenderTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `render_target` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `DEFINE_GUID` in this scope [INFO] [stdout] --> src/dialog.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | DEFINE_GUID!{CLSID_FileOpenDialog, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `DEFINE_GUID` in this scope [INFO] [stdout] --> src/dialog.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | DEFINE_GUID!{CLSID_FileSaveDialog, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::shared::dxgi::IDXGIDevice; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::dxgi1_2::DXGI_ALPHA_MODE_IGNORE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::dxgiformat::DXGI_FORMAT_B8G8R8A8_UNORM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::minwindef::{FALSE, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::shared::windef::{HWND, POINT, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dcomp.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::d2d1::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::um::d2d1_1::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::um::d3d11::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::um::d3dcommon::D3D_DRIVER_TYPE_HARDWARE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::um::dcomp::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::um::dcompanimation::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dcomp.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::winnt::HRESULT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/dcomp.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/dcomp.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::RenderTarget` [INFO] [stdout] --> src/dcomp.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | use direct2d::{self, RenderTarget}; [INFO] [stdout] | ^^^^^^^^^^^^ no `RenderTarget` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::math` [INFO] [stdout] --> src/dcomp.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | use direct2d::math::Matrix3x2F; [INFO] [stdout] | ^^^^ could not find `math` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dialog.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dialog.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::shared::ntdef::LPWSTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dialog.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dialog.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::wtypesbase::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dialog.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::combaseapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dialog.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::shobjidl::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dialog.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::shobjidl_core::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/dialog.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/menu.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::basetsd::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/menu.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/menu.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/dialog.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/paint.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/paint.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::d2d1::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/paint.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::dcommon::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/paint.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/paint.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::shared::dxgi::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/paint.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/paint.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::shared::dxgiformat::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/paint.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/paint.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::shared::winerror::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/paint.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::ctypes::{c_void}; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::enums` [INFO] [stdout] --> src/paint.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | use direct2d::enums::{AlphaMode, RenderTargetType}; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/util.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::render_target` [INFO] [stdout] --> src/paint.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | use direct2d::render_target::{DxgiSurfaceRenderTarget, GenericRenderTarget, HwndRenderTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `render_target` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::guiddef::REFIID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::shared::ntdef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::um::fileapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::um::handleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::um::libloaderapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::um::processenv::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDCompositionDevice` [INFO] [stdout] --> src/dcomp.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | &IDCompositionDevice::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `IDCompositionDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::um::shellscalingapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::wincon::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::um::winnt::{GENERIC_READ, GENERIC_WRITE, FILE_SHARE_WRITE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/util.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::enums` [INFO] [stdout] --> src/util.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | use direct2d::enums::DrawTextOptions; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win_main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win_main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/window.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::shared::basetsd::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::shared::dxgi::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::shared::dxgi1_2::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::shared::dxgitype::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::shared::dxgiformat::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::shared::winerror::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::um::d2d1::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::unknwnbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::wingdi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/window.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::ctypes::{c_int, c_void}; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::math` [INFO] [stdout] --> src/window.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | use direct2d::math::SizeU; [INFO] [stdout] | ^^^^ could not find `math` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::render_target` [INFO] [stdout] --> src/window.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | use direct2d::render_target::{GenericRenderTarget, HwndRenderTarget, RenderTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `render_target` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `DEFINE_GUID` in this scope [INFO] [stdout] --> src/dialog.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | DEFINE_GUID!{CLSID_FileOpenDialog, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `DEFINE_GUID` in this scope [INFO] [stdout] --> src/dialog.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | DEFINE_GUID!{CLSID_FileSaveDialog, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDCompositionDevice` [INFO] [stdout] --> src/dcomp.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | &IDCompositionDevice::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `IDCompositionDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IFileOpenDialog` [INFO] [stdout] --> src/dialog.rs:71:57 [INFO] [stdout] | [INFO] [stdout] 71 | FileDialogType::Open => (&CLSID_FileOpenDialog, IFileOpenDialog::uuidof()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileOpenDialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IFileSaveDialog` [INFO] [stdout] --> src/dialog.rs:72:57 [INFO] [stdout] | [INFO] [stdout] 72 | FileDialogType::Save => (&CLSID_FileSaveDialog, IFileSaveDialog::uuidof()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileSaveDialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IFileOpenDialog` [INFO] [stdout] --> src/dialog.rs:71:57 [INFO] [stdout] | [INFO] [stdout] 71 | FileDialogType::Open => (&CLSID_FileOpenDialog, IFileOpenDialog::uuidof()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileOpenDialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IFileSaveDialog` [INFO] [stdout] --> src/dialog.rs:72:57 [INFO] [stdout] | [INFO] [stdout] 72 | FileDialogType::Save => (&CLSID_FileSaveDialog, IFileSaveDialog::uuidof()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileSaveDialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGISurface` [INFO] [stdout] --> src/paint.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | as_result((*swap_chain).GetBuffer(0, &IDXGISurface::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `IDXGISurface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGISurface` [INFO] [stdout] --> src/paint.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | as_result((*swap_chain).GetBuffer(0, &IDXGISurface::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `IDXGISurface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:498:26 [INFO] [stdout] | [INFO] [stdout] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_KEYDOWN` [INFO] [stdout] --> src/window.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ ------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_SYSKEYDOWN` [INFO] [stdout] --> src/window.rs:498:26 [INFO] [stdout] | [INFO] [stdout] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:32 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDOWN` [INFO] [stdout] --> src/window.rs:528:32 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONUP` [INFO] [stdout] --> src/window.rs:528:49 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDOWN` [INFO] [stdout] --> src/window.rs:529:36 [INFO] [stdout] | [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONUP` [INFO] [stdout] --> src/window.rs:529:53 [INFO] [stdout] | [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:530:17 [INFO] [stdout] | [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDOWN` [INFO] [stdout] --> src/window.rs:530:36 [INFO] [stdout] | [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONUP` [INFO] [stdout] --> src/window.rs:530:53 [INFO] [stdout] | [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:531:17 [INFO] [stdout] | [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDOWN` [INFO] [stdout] --> src/window.rs:531:36 [INFO] [stdout] | [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONUP` [INFO] [stdout] --> src/window.rs:531:53 [INFO] [stdout] | [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:534:40 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:534:21 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:534:21 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDOWN` [INFO] [stdout] --> src/window.rs:534:40 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:534:21 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONUP` [INFO] [stdout] --> src/window.rs:534:57 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:535:40 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:535:21 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:535:21 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDOWN` [INFO] [stdout] --> src/window.rs:535:40 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:535:21 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONUP` [INFO] [stdout] --> src/window.rs:535:57 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:536:40 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDOWN` [INFO] [stdout] --> src/window.rs:536:40 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONUP` [INFO] [stdout] --> src/window.rs:536:57 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:537:40 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDOWN` [INFO] [stdout] --> src/window.rs:537:40 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONUP` [INFO] [stdout] --> src/window.rs:537:57 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:549:38 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDOWN` [INFO] [stdout] --> src/window.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDOWN` [INFO] [stdout] --> src/window.rs:549:38 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | | [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDOWN` [INFO] [stdout] --> src/window.rs:549:55 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -------------- variable not in all patterns [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDOWN` [INFO] [stdout] --> src/window.rs:549:72 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:551:40 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:551:40 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ---------------- ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | | [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:551:59 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ---------------- variable not in all patterns [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:551:78 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:553:36 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONUP` [INFO] [stdout] --> src/window.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ ------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONUP` [INFO] [stdout] --> src/window.rs:553:36 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:498:26 [INFO] [stdout] | [INFO] [stdout] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_KEYDOWN` [INFO] [stdout] --> src/window.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ ------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_SYSKEYDOWN` [INFO] [stdout] --> src/window.rs:498:26 [INFO] [stdout] | [INFO] [stdout] 498 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:32 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ------------ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | | | | [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONUP` [INFO] [stdout] --> src/window.rs:553:51 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDOWN` [INFO] [stdout] --> src/window.rs:528:32 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONUP` [INFO] [stdout] --> src/window.rs:553:66 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONUP` [INFO] [stdout] --> src/window.rs:528:49 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDOWN` [INFO] [stdout] --> src/window.rs:529:36 [INFO] [stdout] | [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONUP` [INFO] [stdout] --> src/window.rs:529:53 [INFO] [stdout] | [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:530:17 [INFO] [stdout] | [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDOWN` [INFO] [stdout] --> src/window.rs:530:36 [INFO] [stdout] | [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Factory` in `direct2d` [INFO] [stdout] --> src/window.rs:657:40 [INFO] [stdout] | [INFO] [stdout] 657 | d2d_factory: direct2d::Factory::new().unwrap(), [INFO] [stdout] | ^^^^^^^ could not find `Factory` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONUP` [INFO] [stdout] --> src/window.rs:530:53 [INFO] [stdout] | [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:531:17 [INFO] [stdout] | [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDOWN` [INFO] [stdout] --> src/window.rs:531:36 [INFO] [stdout] | [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] 529 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] 530 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONUP` [INFO] [stdout] --> src/window.rs:531:53 [INFO] [stdout] | [INFO] [stdout] 531 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:534:40 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:534:21 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:534:21 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDOWN` [INFO] [stdout] --> src/window.rs:534:40 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:534:21 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONUP` [INFO] [stdout] --> src/window.rs:534:57 [INFO] [stdout] | [INFO] [stdout] 534 | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN | WM_LBUTTONUP => MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:535:40 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:535:21 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:535:21 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDOWN` [INFO] [stdout] --> src/window.rs:535:40 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:535:21 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONUP` [INFO] [stdout] --> src/window.rs:535:57 [INFO] [stdout] | [INFO] [stdout] 535 | WM_MBUTTONDBLCLK | WM_MBUTTONDOWN | WM_MBUTTONUP => MouseButton::Middle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:536:40 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDOWN` [INFO] [stdout] --> src/window.rs:536:40 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONUP` [INFO] [stdout] --> src/window.rs:536:57 [INFO] [stdout] | [INFO] [stdout] 536 | WM_RBUTTONDBLCLK | WM_RBUTTONDOWN | WM_RBUTTONUP => MouseButton::Right, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:537:40 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^ pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDOWN` [INFO] [stdout] --> src/window.rs:537:40 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONUP` [INFO] [stdout] --> src/window.rs:537:57 [INFO] [stdout] | [INFO] [stdout] 537 | WM_XBUTTONDBLCLK | WM_XBUTTONDOWN | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:549:38 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDOWN` [INFO] [stdout] --> src/window.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDOWN` [INFO] [stdout] --> src/window.rs:549:38 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -------------- ^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | | | | [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDOWN` [INFO] [stdout] --> src/window.rs:549:55 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/window.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -------------- variable not in all patterns [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDOWN` [INFO] [stdout] --> src/window.rs:549:72 [INFO] [stdout] | [INFO] [stdout] 549 | WM_LBUTTONDOWN | WM_MBUTTONDOWN | WM_RBUTTONDOWN | WM_XBUTTONDOWN => [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:551:40 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONDBLCLK` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:551:40 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ---------------- ^^^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | | | | [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:551:59 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONDBLCLK` is not bound in all patterns [INFO] [stdout] --> src/window.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ---------------- variable not in all patterns [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONDBLCLK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONDBLCLK` [INFO] [stdout] --> src/window.rs:551:78 [INFO] [stdout] | [INFO] [stdout] 551 | WM_LBUTTONDBLCLK | WM_MBUTTONDBLCLK | WM_RBUTTONDBLCLK | WM_XBUTTONDBLCLK => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:553:36 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | | pattern doesn't bind `WM_LBUTTONUP` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_LBUTTONUP` [INFO] [stdout] --> src/window.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_MBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ ------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `WM_MBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_MBUTTONUP` [INFO] [stdout] --> src/window.rs:553:36 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ------------ ^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | | | | [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_RBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_RBUTTONUP` [INFO] [stdout] --> src/window.rs:553:51 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_XBUTTONUP` is not bound in all patterns [INFO] [stdout] --> src/window.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | pattern doesn't bind `WM_XBUTTONUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_XBUTTONUP` [INFO] [stdout] --> src/window.rs:553:66 [INFO] [stdout] | [INFO] [stdout] 553 | WM_LBUTTONUP | WM_MBUTTONUP | WM_RBUTTONUP | WM_XBUTTONUP => [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Factory` in `direct2d` [INFO] [stdout] --> src/window.rs:657:40 [INFO] [stdout] | [INFO] [stdout] 657 | d2d_factory: direct2d::Factory::new().unwrap(), [INFO] [stdout] | ^^^^^^^ could not find `Factory` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID2D1HwndRenderTarget` [INFO] [stdout] --> src/window.rs:974:42 [INFO] [stdout] | [INFO] [stdout] 974 | let err = (*raw_ptr).QueryInterface(&ID2D1HwndRenderTarget::uuidof(), &mut hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID2D1HwndRenderTarget` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn wrap(hr: HRESULT, ptr: *mut T, f: F) -> Result [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:46:70 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn wrap(hr: HRESULT, ptr: *mut T, f: F) -> Result [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, HRESULT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/dcomp.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | if SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | fn unit_err(hr: HRESULT) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | fn unit_err(hr: HRESULT) -> Result<(), HRESULT> { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/dcomp.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | if SUCCEEDED(hr) { Ok(()) } else { Err(hr) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stdout] --> src/dcomp.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct D3D11Device(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device` in this scope [INFO] [stdout] --> src/dcomp.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct D2D1Device(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionDevice` in this scope [INFO] [stdout] --> src/dcomp.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct DCompositionDevice(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionTarget` in this scope [INFO] [stdout] --> src/dcomp.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct DCompositionTarget(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionVisual` in this scope [INFO] [stdout] --> src/dcomp.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DCompositionVisual(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionVirtualSurface` in this scope [INFO] [stdout] --> src/dcomp.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct DCompositionVirtualSurface(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/dcomp.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn unknown_ptr(&mut self) -> *mut IUnknown; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 72 | impl D3D11Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 73 | /// Creates a new device with basic defaults. [INFO] [stdout] 74 | pub fn new_simple() -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stdout] --> src/dcomp.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct D3D11Device(ComPtr); [INFO] [stdout] | --------------------------------------------- similarly named struct `D3D11Device` defined here [INFO] [stdout] ... [INFO] [stdout] 76 | let mut d3d11_device: *mut ID3D11Device = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_BGRA_SUPPORT` in this scope [INFO] [stdout] --> src/dcomp.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT; // could probably set single threaded [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDevice` in this scope [INFO] [stdout] --> src/dcomp.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let hr = D3D11CreateDevice(null_mut(), D3D_DRIVER_TYPE_HARDWARE, null_mut(), flags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stdout] --> src/dcomp.rs:78:52 [INFO] [stdout] | [INFO] [stdout] 78 | let hr = D3D11CreateDevice(null_mut(), D3D_DRIVER_TYPE_HARDWARE, null_mut(), flags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stdout] --> src/dcomp.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | null(), 0, D3D11_SDK_VERSION, &mut d3d11_device, null_mut(), null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/dcomp.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | if !SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 72 | impl D3D11Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn create_d2d1_device(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIDevice` in this scope [INFO] [stdout] --> src/dcomp.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 72 | impl D3D11Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | let mut dxgi_device: ComPtr = self.0.cast()?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device` in this scope [INFO] [stdout] --> src/dcomp.rs:90:39 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct D2D1Device(ComPtr); [INFO] [stdout] | ------------------------------------------- similarly named struct `D2D1Device` defined here [INFO] [stdout] ... [INFO] [stdout] 90 | let mut d2d1_device: *mut ID2D1Device = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ help: a struct with a similar name exists: `D2D1Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1CreateDevice` in this scope [INFO] [stdout] --> src/dcomp.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | let hr = D2D1CreateDevice(dxgi_device.as_raw(), null(), &mut d2d1_device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stdout] --> src/dcomp.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct D3D11Device(ComPtr); [INFO] [stdout] | --------------------------------------------- similarly named struct `D3D11Device` defined here [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn raw_ptr(&mut self) -> *mut ID3D11Device { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:104:79 [INFO] [stdout] | [INFO] [stdout] 101 | impl D2D1Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn create_composition_device(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionDevice` in this scope [INFO] [stdout] --> src/dcomp.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct DCompositionDevice(ComPtr); [INFO] [stdout] | ----------------------------------------------------------- similarly named struct `DCompositionDevice` defined here [INFO] [stdout] ... [INFO] [stdout] 107 | let mut dcomp_device: *mut IDCompositionDevice = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/dcomp.rs:108:53 [INFO] [stdout] | [INFO] [stdout] 108 | let hr = create(self.0.as_raw() as *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/dcomp.rs:117:59 [INFO] [stdout] | [INFO] [stdout] 117 | pub unsafe fn create_target_for_hwnd(&mut self, hwnd: HWND, topmost: bool) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 116 | impl DCompositionDevice { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 117 | pub unsafe fn create_target_for_hwnd(&mut self, hwnd: HWND, topmost: bool) [INFO] [stdout] 118 | -> Result [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionTarget` in this scope [INFO] [stdout] --> src/dcomp.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct DCompositionTarget(ComPtr); [INFO] [stdout] | ----------------------------------------------------------- similarly named struct `DCompositionTarget` defined here [INFO] [stdout] ... [INFO] [stdout] 120 | let mut dcomp_target: *mut IDCompositionTarget = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionTarget` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/dcomp.rs:121:64 [INFO] [stdout] | [INFO] [stdout] 121 | let hr = self.0.CreateTargetForHwnd(hwnd, if topmost { TRUE } else { FALSE }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/dcomp.rs:121:78 [INFO] [stdout] | [INFO] [stdout] 121 | let hr = self.0.CreateTargetForHwnd(hwnd, if topmost { TRUE } else { FALSE }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:126:67 [INFO] [stdout] | [INFO] [stdout] 116 | impl DCompositionDevice { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn create_visual(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionVisual` in this scope [INFO] [stdout] --> src/dcomp.rs:128:34 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DCompositionVisual(ComPtr); [INFO] [stdout] | ----------------------------------------------------------- similarly named struct `DCompositionVisual` defined here [INFO] [stdout] ... [INFO] [stdout] 128 | let mut visual: *mut IDCompositionVisual = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVisual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:136:47 [INFO] [stdout] | [INFO] [stdout] 116 | impl DCompositionDevice { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 136 | -> Result [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionVirtualSurface` in this scope [INFO] [stdout] --> src/dcomp.rs:139:35 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct DCompositionVirtualSurface(ComPtr); [INFO] [stdout] | --------------------------------------------------------------------------- similarly named struct `DCompositionVirtualSurface` defined here [INFO] [stdout] ... [INFO] [stdout] 139 | let mut surface: *mut IDCompositionVirtualSurface = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVirtualSurface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/dcomp.rs:140:65 [INFO] [stdout] | [INFO] [stdout] 140 | let hr = self.0.CreateVirtualSurface(width, height, DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ALPHA_MODE_IGNORE` in this scope [INFO] [stdout] --> src/dcomp.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | DXGI_ALPHA_MODE_IGNORE, &mut surface); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 116 | impl DCompositionDevice { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn commit(&mut self) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:155:48 [INFO] [stdout] | [INFO] [stdout] 153 | impl DCompositionTarget { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 154 | // alternatively could be set_root with an option [INFO] [stdout] 155 | pub fn clear_root(&mut self) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:161:79 [INFO] [stdout] | [INFO] [stdout] 153 | impl DCompositionTarget { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn set_root(&mut self, visual: &mut DCompositionVisual) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:169:78 [INFO] [stdout] | [INFO] [stdout] 168 | impl DCompositionVisual { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 169 | pub fn set_content(&mut self, content: &mut T) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/dcomp.rs:176:60 [INFO] [stdout] | [INFO] [stdout] 176 | pub unsafe fn set_content_raw(&mut self, content: *mut IUnknown) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:176:84 [INFO] [stdout] | [INFO] [stdout] 168 | impl DCompositionVisual { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | pub unsafe fn set_content_raw(&mut self, content: *mut IUnknown) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/dialog.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct FileDialogOptions(DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FOS_FORCESHOWHIDDEN` in this scope [INFO] [stdout] --> src/dialog.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | self.0 |= FOS_FORCESHOWHIDDEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/dialog.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) unsafe fn get_file_dialog_path(hwnd_owner: HWND, ty: FileDialogType, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/dialog.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let mut pfd: *mut IFileDialog = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_FileOpenDialog` in this scope [INFO] [stdout] --> src/dialog.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | FileDialogType::Open => (&CLSID_FileOpenDialog, IFileOpenDialog::uuidof()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_FileSaveDialog` in this scope [INFO] [stdout] --> src/dialog.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | FileDialogType::Save => (&CLSID_FileSaveDialog, IFileSaveDialog::uuidof()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/dialog.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | as_result(CoCreateInstance(class, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_INPROC_SERVER` in this scope [INFO] [stdout] --> src/dialog.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | CLSCTX_INPROC_SERVER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/dialog.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | &mut pfd as *mut *mut IFileDialog as *mut LPVOID [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/dialog.rs:78:55 [INFO] [stdout] | [INFO] [stdout] 78 | &mut pfd as *mut *mut IFileDialog as *mut LPVOID [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/dialog.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let mut result_ptr: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/dialog.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | let mut display_name: LPWSTR = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SIGDN_FILESYSPATH` in this scope [INFO] [stdout] --> src/dialog.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | as_result(shell_item.GetDisplayName(SIGDN_FILESYSPATH, &mut display_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemFree` in this scope [INFO] [stdout] --> src/dialog.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | CoTaskMemFree(display_name as LPVOID); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/dialog.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | CoTaskMemFree(display_name as LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/menu.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | hmenu: HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope [INFO] [stdout] --> src/menu.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | DestroyMenu(self.hmenu); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateMenu` in this scope [INFO] [stdout] --> src/menu.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let hmenu = CreateMenu(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/menu.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn into_hmenu(self) -> HMENU { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/menu.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_POPUP` in this scope [INFO] [stdout] --> src/menu.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stdout] --> src/menu.rs:60:68 [INFO] [stdout] | [INFO] [stdout] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/menu.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/menu.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stdout] --> src/menu.rs:68:54 [INFO] [stdout] | [INFO] [stdout] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/menu.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | AppendMenuW(self.hmenu, MF_SEPARATOR, 0, null()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_SEPARATOR` in this scope [INFO] [stdout] --> src/menu.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | AppendMenuW(self.hmenu, MF_SEPARATOR, 0, null()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Factory` in crate `direct2d` [INFO] [stdout] --> src/paint.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) d2d_factory: &'a direct2d::Factory, [INFO] [stdout] | ^^^^^^^ not found in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Factory` in crate `direct2d` [INFO] [stdout] --> src/paint.rs:49:67 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) unsafe fn create_render_target(d2d_factory: &direct2d::Factory, hwnd: HWND) [INFO] [stdout] | ^^^^^^^ not found in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/paint.rs:49:82 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) unsafe fn create_render_target(d2d_factory: &direct2d::Factory, hwnd: HWND) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/paint.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let mut rect: RECT = mem::uninitialized(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/paint.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | GetClientRect(hwnd, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Factory` in crate `direct2d` [INFO] [stdout] --> src/paint.rs:71:72 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) unsafe fn create_render_target_dxgi(d2d_factory: &direct2d::Factory, [INFO] [stdout] | ^^^^^^^ not found in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/paint.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | swap_chain: *mut IDXGISwapChain1, dpi: f32) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISurface` in this scope [INFO] [stdout] --> src/paint.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | let mut buffer: *mut IDXGISurface = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/paint.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let props = D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope [INFO] [stdout] --> src/paint.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | _type: D2D1_RENDER_TARGET_TYPE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope [INFO] [stdout] --> src/paint.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | pixelFormat: D2D1_PIXEL_FORMAT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/paint.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_IGNORE` in this scope [INFO] [stdout] --> src/paint.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | alphaMode: D2D1_ALPHA_MODE_IGNORE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_NONE` in this scope [INFO] [stdout] --> src/paint.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | usage: D2D1_RENDER_TARGET_USAGE_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FEATURE_LEVEL_DEFAULT` in this scope [INFO] [stdout] --> src/paint.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1RenderTarget` in this scope [INFO] [stdout] --> src/paint.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | let mut render_target: *mut ID2D1RenderTarget = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/paint.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | if SUCCEEDED(res) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Factory` in crate `direct2d` [INFO] [stdout] --> src/paint.rs:105:45 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn d2d_factory(&self) -> &direct2d::Factory { [INFO] [stdout] | ^^^^^^^ not found in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | Hr(HRESULT), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn as_result(hr: HRESULT) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/util.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | if SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | impl From for Error { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | fn from(hr: HRESULT) -> Error { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/util.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | OsStringExt::from_wide(self.to_u16_slice()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 99 | OsString::from_wide(self.to_u16_slice()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/util.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | impl FromWide for LPWSTR { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | type GetDpiForSystem = unsafe extern "system" fn() -> UINT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/util.rs:126:51 [INFO] [stdout] | [INFO] [stdout] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITOR_DPI_TYPE` in this scope [INFO] [stdout] --> src/util.rs:126:61 [INFO] [stdout] | [INFO] [stdout] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:126:84 [INFO] [stdout] | [INFO] [stdout] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:126:95 [INFO] [stdout] | [INFO] [stdout] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_DPI_AWARENESS` in this scope [INFO] [stdout] --> src/util.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 128 | type SetProcessDpiAwareness = unsafe extern "system" fn(PROCESS_DPI_AWARENESS) -> HRESULT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:128:83 [INFO] [stdout] | [INFO] [stdout] 128 | type SetProcessDpiAwareness = unsafe extern "system" fn(PROCESS_DPI_AWARENESS) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/util.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | renderingDevice: *const IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/util.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | iid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | Flags: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/util.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | riid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:138:6 [INFO] [stdout] | [INFO] [stdout] 138 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/util.rs:176:36 [INFO] [stdout] | [INFO] [stdout] 176 | fn load_library(name: &str) -> HMODULE { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID2D1HwndRenderTarget` [INFO] [stdout] --> src/window.rs:974:42 [INFO] [stdout] | [INFO] [stdout] 974 | let err = (*raw_ptr).QueryInterface(&ID2D1HwndRenderTarget::uuidof(), &mut hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID2D1HwndRenderTarget` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/util.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | let library = unsafe { GetModuleHandleW(encoded_name.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> src/util.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | let library = unsafe { LoadLibraryW(encoded_name.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/util.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 204 | load_function!(shcore, SetProcessDpiAwareness, "8.1"); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/util.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 205 | load_function!(shcore, GetDpiForMonitor, "8.1"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/util.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 211 | load_function!(user32, GetDpiForSystem, "10"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn wrap(hr: HRESULT, ptr: *mut T, f: F) -> Result [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/util.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 215 | load_function!(dcomp, DCompositionCreateDevice2, "8.1"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:46:70 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn wrap(hr: HRESULT, ptr: *mut T, f: F) -> Result [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, HRESULT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/dcomp.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | if SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/util.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 219 | load_function!(dxgi, CreateDXGIFactory2, "8.1"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | fn unit_err(hr: HRESULT) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_SYSTEM_DPI_AWARE` in this scope [INFO] [stdout] --> src/util.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | func(PROCESS_SYSTEM_DPI_AWARE); // TODO: per monitor (much harder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | fn unit_err(hr: HRESULT) -> Result<(), HRESULT> { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/util.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | let stdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/dcomp.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | if SUCCEEDED(hr) { Ok(()) } else { Err(hr) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> src/util.rs:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | let stdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stdout] --> src/dcomp.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct D3D11Device(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/util.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device` in this scope [INFO] [stdout] --> src/dcomp.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct D2D1Device(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionDevice` in this scope [INFO] [stdout] --> src/dcomp.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct DCompositionDevice(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileType` in this scope [INFO] [stdout] --> src/util.rs:275:46 [INFO] [stdout] | [INFO] [stdout] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionTarget` in this scope [INFO] [stdout] --> src/dcomp.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct DCompositionTarget(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_TYPE_UNKNOWN` in this scope [INFO] [stdout] --> src/util.rs:275:69 [INFO] [stdout] | [INFO] [stdout] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionVisual` in this scope [INFO] [stdout] --> src/dcomp.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DCompositionVisual(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AttachConsole` in this scope [INFO] [stdout] --> src/util.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | if AttachConsole(ATTACH_PARENT_PROCESS) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ATTACH_PARENT_PROCESS` in this scope [INFO] [stdout] --> src/util.rs:281:26 [INFO] [stdout] | [INFO] [stdout] 281 | if AttachConsole(ATTACH_PARENT_PROCESS) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionVirtualSurface` in this scope [INFO] [stdout] --> src/dcomp.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct DCompositionVirtualSurface(ComPtr); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/dcomp.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn unknown_ptr(&mut self) -> *mut IUnknown; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/util.rs:282:24 [INFO] [stdout] | [INFO] [stdout] 282 | let chnd = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/util.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 72 | impl D3D11Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 73 | /// Creates a new device with basic defaults. [INFO] [stdout] 74 | pub fn new_simple() -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/util.rs:284:32 [INFO] [stdout] | [INFO] [stdout] 284 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stdout] --> src/dcomp.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct D3D11Device(ComPtr); [INFO] [stdout] | --------------------------------------------- similarly named struct `D3D11Device` defined here [INFO] [stdout] ... [INFO] [stdout] 76 | let mut d3d11_device: *mut ID3D11Device = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/util.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_BGRA_SUPPORT` in this scope [INFO] [stdout] --> src/dcomp.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT; // could probably set single threaded [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/util.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDevice` in this scope [INFO] [stdout] --> src/dcomp.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let hr = D3D11CreateDevice(null_mut(), D3D_DRIVER_TYPE_HARDWARE, null_mut(), flags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stdout] --> src/dcomp.rs:78:52 [INFO] [stdout] | [INFO] [stdout] 78 | let hr = D3D11CreateDevice(null_mut(), D3D_DRIVER_TYPE_HARDWARE, null_mut(), flags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/util.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | if chnd == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stdout] --> src/dcomp.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | null(), 0, D3D11_SDK_VERSION, &mut d3d11_device, null_mut(), null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetStdHandle` in this scope [INFO] [stdout] --> src/util.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | SetStdHandle(STD_OUTPUT_HANDLE, chnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/dcomp.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | if !SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> src/util.rs:296:26 [INFO] [stdout] | [INFO] [stdout] 296 | SetStdHandle(STD_OUTPUT_HANDLE, chnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 72 | impl D3D11Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn create_d2d1_device(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetStdHandle` in this scope [INFO] [stdout] --> src/util.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | SetStdHandle(STD_ERROR_HANDLE, chnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIDevice` in this scope [INFO] [stdout] --> src/dcomp.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 72 | impl D3D11Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | let mut dxgi_device: ComPtr = self.0.cast()?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_ERROR_HANDLE` in this scope [INFO] [stdout] --> src/util.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | SetStdHandle(STD_ERROR_HANDLE, chnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device` in this scope [INFO] [stdout] --> src/dcomp.rs:90:39 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct D2D1Device(ComPtr); [INFO] [stdout] | ------------------------------------------- similarly named struct `D2D1Device` defined here [INFO] [stdout] ... [INFO] [stdout] 90 | let mut d2d1_device: *mut ID2D1Device = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ help: a struct with a similar name exists: `D2D1Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win_main.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | h: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1CreateDevice` in this scope [INFO] [stdout] --> src/dcomp.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | let hr = D2D1CreateDevice(dxgi_device.as_raw(), null(), &mut d2d1_device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stdout] --> src/dcomp.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct D3D11Device(ComPtr); [INFO] [stdout] | --------------------------------------------- similarly named struct `D3D11Device` defined here [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn raw_ptr(&mut self) -> *mut ID3D11Device { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HACCEL` in this scope [INFO] [stdout] --> src/win_main.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | accel: HACCEL, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:104:79 [INFO] [stdout] | [INFO] [stdout] 101 | impl D2D1Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn create_composition_device(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ACCEL` in this scope [INFO] [stdout] --> src/win_main.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_accel(&mut self, accel: &[ACCEL]) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateAcceleratorTableW` in this scope [INFO] [stdout] --> src/win_main.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | self.accel = CreateAcceleratorTableW(accel as *const _ as *mut _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MsgWaitForMultipleObjectsEx` in this scope [INFO] [stdout] --> src/win_main.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | let res = MsgWaitForMultipleObjectsEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/win_main.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | INFINITE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `QS_ALLEVENTS` in this scope [INFO] [stdout] --> src/win_main.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | QS_ALLEVENTS, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> src/win_main.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | if res >= WAIT_OBJECT_0 && res < WAIT_OBJECT_0 + len { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> src/win_main.rs:86:50 [INFO] [stdout] | [INFO] [stdout] 86 | if res >= WAIT_OBJECT_0 && res < WAIT_OBJECT_0 + len { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> src/win_main.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | let ix = (res - WAIT_OBJECT_0) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/win_main.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | let res = PeekMessageW(&mut msg, null_mut(), 0, 0, PM_NOREMOVE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_NOREMOVE` in this scope [INFO] [stdout] --> src/win_main.rs:95:72 [INFO] [stdout] | [INFO] [stdout] 95 | let res = PeekMessageW(&mut msg, null_mut(), 0, 0, PM_NOREMOVE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/win_main.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | let res = GetMessageW(&mut msg, null_mut(), 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateAcceleratorW` in this scope [INFO] [stdout] --> src/win_main.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | TranslateAcceleratorW(msg.hwnd, self.accel, &mut msg) == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/win_main.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | TranslateMessage(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/win_main.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/win_main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win_main.rs:125:44 [INFO] [stdout] | [INFO] [stdout] 125 | pub unsafe fn add_handler(&self, h: HANDLE, callback: F) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | dwStyle: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 118 | struct WindowState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 119 | hwnd: Cell, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:260:33 [INFO] [stdout] | [INFO] [stdout] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:260:44 [INFO] [stdout] | [INFO] [stdout] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:260:58 [INFO] [stdout] | [INFO] [stdout] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:260:74 [INFO] [stdout] | [INFO] [stdout] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 257 | trait WndProc { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 261 | -> Option; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Factory` in crate `direct2d` [INFO] [stdout] --> src/window.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | d2d_factory: direct2d::Factory, [INFO] [stdout] | ^^^^^^^ not found in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/window.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | swap_chain: *mut IDXGISwapChain1, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | const XI_RUN_IDLE: UINT = WM_USER; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:300:27 [INFO] [stdout] | [INFO] [stdout] 300 | const XI_RUN_IDLE: UINT = WM_USER; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | fn get_mod_state(lparam: LPARAM) -> u32 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionDevice` in this scope [INFO] [stdout] --> src/dcomp.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct DCompositionDevice(ComPtr); [INFO] [stdout] | ----------------------------------------------------------- similarly named struct `DCompositionDevice` defined here [INFO] [stdout] ... [INFO] [stdout] 107 | let mut dcomp_device: *mut IDCompositionDevice = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/dcomp.rs:108:53 [INFO] [stdout] | [INFO] [stdout] 108 | let hr = create(self.0.as_raw() as *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/dcomp.rs:117:59 [INFO] [stdout] | [INFO] [stdout] 117 | pub unsafe fn create_target_for_hwnd(&mut self, hwnd: HWND, topmost: bool) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 116 | impl DCompositionDevice { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 117 | pub unsafe fn create_target_for_hwnd(&mut self, hwnd: HWND, topmost: bool) [INFO] [stdout] 118 | -> Result [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionTarget` in this scope [INFO] [stdout] --> src/dcomp.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct DCompositionTarget(ComPtr); [INFO] [stdout] | ----------------------------------------------------------- similarly named struct `DCompositionTarget` defined here [INFO] [stdout] ... [INFO] [stdout] 120 | let mut dcomp_target: *mut IDCompositionTarget = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionTarget` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/dcomp.rs:121:64 [INFO] [stdout] | [INFO] [stdout] 121 | let hr = self.0.CreateTargetForHwnd(hwnd, if topmost { TRUE } else { FALSE }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/dcomp.rs:121:78 [INFO] [stdout] | [INFO] [stdout] 121 | let hr = self.0.CreateTargetForHwnd(hwnd, if topmost { TRUE } else { FALSE }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:126:67 [INFO] [stdout] | [INFO] [stdout] 116 | impl DCompositionDevice { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn create_visual(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionVisual` in this scope [INFO] [stdout] --> src/dcomp.rs:128:34 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DCompositionVisual(ComPtr); [INFO] [stdout] | ----------------------------------------------------------- similarly named struct `DCompositionVisual` defined here [INFO] [stdout] ... [INFO] [stdout] 128 | let mut visual: *mut IDCompositionVisual = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVisual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:136:47 [INFO] [stdout] | [INFO] [stdout] 116 | impl DCompositionDevice { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 136 | -> Result [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDCompositionVirtualSurface` in this scope [INFO] [stdout] --> src/dcomp.rs:139:35 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct DCompositionVirtualSurface(ComPtr); [INFO] [stdout] | --------------------------------------------------------------------------- similarly named struct `DCompositionVirtualSurface` defined here [INFO] [stdout] ... [INFO] [stdout] 139 | let mut surface: *mut IDCompositionVirtualSurface = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DCompositionVirtualSurface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/dcomp.rs:140:65 [INFO] [stdout] | [INFO] [stdout] 140 | let hr = self.0.CreateVirtualSurface(width, height, DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ALPHA_MODE_IGNORE` in this scope [INFO] [stdout] --> src/dcomp.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | DXGI_ALPHA_MODE_IGNORE, &mut surface); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 116 | impl DCompositionDevice { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn commit(&mut self) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:155:48 [INFO] [stdout] | [INFO] [stdout] 153 | impl DCompositionTarget { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 154 | // alternatively could be set_root with an option [INFO] [stdout] 155 | pub fn clear_root(&mut self) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:161:79 [INFO] [stdout] | [INFO] [stdout] 153 | impl DCompositionTarget { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn set_root(&mut self, visual: &mut DCompositionVisual) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:169:78 [INFO] [stdout] | [INFO] [stdout] 168 | impl DCompositionVisual { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 169 | pub fn set_content(&mut self, content: &mut T) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/dcomp.rs:176:60 [INFO] [stdout] | [INFO] [stdout] 176 | pub unsafe fn set_content_raw(&mut self, content: *mut IUnknown) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dcomp.rs:176:84 [INFO] [stdout] | [INFO] [stdout] 168 | impl DCompositionVisual { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | pub unsafe fn set_content_raw(&mut self, content: *mut IUnknown) -> Result<(), HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/dialog.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct FileDialogOptions(DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FOS_FORCESHOWHIDDEN` in this scope [INFO] [stdout] --> src/dialog.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | self.0 |= FOS_FORCESHOWHIDDEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/dialog.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) unsafe fn get_file_dialog_path(hwnd_owner: HWND, ty: FileDialogType, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/dialog.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let mut pfd: *mut IFileDialog = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_FileOpenDialog` in this scope [INFO] [stdout] --> src/dialog.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | FileDialogType::Open => (&CLSID_FileOpenDialog, IFileOpenDialog::uuidof()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_FileSaveDialog` in this scope [INFO] [stdout] --> src/dialog.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | FileDialogType::Save => (&CLSID_FileSaveDialog, IFileSaveDialog::uuidof()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/dialog.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | as_result(CoCreateInstance(class, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_INPROC_SERVER` in this scope [INFO] [stdout] --> src/dialog.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | CLSCTX_INPROC_SERVER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/dialog.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | &mut pfd as *mut *mut IFileDialog as *mut LPVOID [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/dialog.rs:78:55 [INFO] [stdout] | [INFO] [stdout] 78 | &mut pfd as *mut *mut IFileDialog as *mut LPVOID [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_ALT` in this scope [INFO] [stdout] --> src/window.rs:313:53 [INFO] [stdout] | [INFO] [stdout] 265 | pub const M_ALT: u32 = 1; [INFO] [stdout] | ------------------------- similarly named constant `M_ALT` defined here [INFO] [stdout] ... [INFO] [stdout] 313 | if (lparam & (1 << 29)) != 0 { mod_state |= MOD_ALT as u32; } [INFO] [stdout] | ^^^^^^^ help: a constant with a similar name exists: `M_ALT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/dialog.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let mut result_ptr: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/window.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/dialog.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | let mut display_name: LPWSTR = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stdout] --> src/window.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_CONTROL` in this scope [INFO] [stdout] --> src/window.rs:314:55 [INFO] [stdout] | [INFO] [stdout] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/window.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SIGDN_FILESYSPATH` in this scope [INFO] [stdout] --> src/dialog.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | as_result(shell_item.GetDisplayName(SIGDN_FILESYSPATH, &mut display_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SHIFT` in this scope [INFO] [stdout] --> src/window.rs:315:24 [INFO] [stdout] | [INFO] [stdout] 271 | pub const M_SHIFT: u32 = 4; [INFO] [stdout] | --------------------------- similarly named constant `M_SHIFT` defined here [INFO] [stdout] ... [INFO] [stdout] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stdout] | ^^^^^^^^ help: a constant with a similar name exists: `M_SHIFT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_SHIFT` in this scope [INFO] [stdout] --> src/window.rs:315:53 [INFO] [stdout] | [INFO] [stdout] 271 | pub const M_SHIFT: u32 = 4; [INFO] [stdout] | --------------------------- similarly named constant `M_SHIFT` defined here [INFO] [stdout] ... [INFO] [stdout] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stdout] | ^^^^^^^^^ help: a constant with a similar name exists: `M_SHIFT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemFree` in this scope [INFO] [stdout] --> src/dialog.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | CoTaskMemFree(display_name as LPVOID); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:363:33 [INFO] [stdout] | [INFO] [stdout] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:363:44 [INFO] [stdout] | [INFO] [stdout] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:363:58 [INFO] [stdout] | [INFO] [stdout] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/dialog.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | CoTaskMemFree(display_name as LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:363:74 [INFO] [stdout] | [INFO] [stdout] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:364:19 [INFO] [stdout] | [INFO] [stdout] 356 | impl WndProc for MyWndProc { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 364 | -> Option [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/menu.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | hmenu: HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ValidateRect` in this scope [INFO] [stdout] --> src/window.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | ValidateRect(hwnd, null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/window.rs:409:35 [INFO] [stdout] | [INFO] [stdout] 409 | let mut rect: RECT = mem::uninitialized(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/window.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | GetClientRect(hwnd, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope [INFO] [stdout] --> src/menu.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | DestroyMenu(self.hmenu); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/window.rs:415:58 [INFO] [stdout] | [INFO] [stdout] 415 | .ResizeBuffers(2, width, height, DXGI_FORMAT_UNKNOWN, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/window.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 416 | if SUCCEEDED(res) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateMenu` in this scope [INFO] [stdout] --> src/menu.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let hmenu = CreateMenu(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/menu.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn into_hmenu(self) -> HMENU { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/menu.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:442:29 [INFO] [stdout] | [INFO] [stdout] 442 | let width = LOWORD(lparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_POPUP` in this scope [INFO] [stdout] --> src/menu.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:443:30 [INFO] [stdout] | [INFO] [stdout] 443 | let height = HIWORD(lparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stdout] --> src/menu.rs:60:68 [INFO] [stdout] | [INFO] [stdout] 60 | AppendMenuW(self.hmenu, MF_POPUP, menu.into_hmenu() as UINT_PTR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:457:41 [INFO] [stdout] | [INFO] [stdout] 457 | ... let width = LOWORD(lparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/menu.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:458:42 [INFO] [stdout] | [INFO] [stdout] 458 | ... let height = HIWORD(lparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/menu.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_U` in this scope [INFO] [stdout] --> src/window.rs:459:46 [INFO] [stdout] | [INFO] [stdout] 459 | ... let size = SizeU(D2D1_SIZE_U { width, height }); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stdout] --> src/menu.rs:68:54 [INFO] [stdout] | [INFO] [stdout] 68 | AppendMenuW(self.hmenu, MF_STRING, id as UINT_PTR, text.to_wide().as_ptr()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:463:54 [INFO] [stdout] | [INFO] [stdout] 463 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/window.rs:471:62 [INFO] [stdout] | [INFO] [stdout] 471 | ... .ResizeBuffers(0, width, height, DXGI_FORMAT_UNKNOWN, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/window.rs:473:24 [INFO] [stdout] | [INFO] [stdout] 473 | if SUCCEEDED(res) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ValidateRect` in this scope [INFO] [stdout] --> src/window.rs:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | ValidateRect(hwnd, null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:490:38 [INFO] [stdout] | [INFO] [stdout] 490 | self.handler.command(LOWORD(wparam as u32) as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:508:29 [INFO] [stdout] | [INFO] [stdout] 508 | let delta = HIWORD(wparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:509:28 [INFO] [stdout] | [INFO] [stdout] 509 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:514:29 [INFO] [stdout] | [INFO] [stdout] 514 | let delta = HIWORD(wparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:515:28 [INFO] [stdout] | [INFO] [stdout] 515 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:520:25 [INFO] [stdout] | [INFO] [stdout] 520 | let x = LOWORD(lparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:521:25 [INFO] [stdout] | [INFO] [stdout] 521 | let y = HIWORD(lparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:522:28 [INFO] [stdout] | [INFO] [stdout] 522 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:538:31 [INFO] [stdout] | [INFO] [stdout] 538 | match HIWORD(wparam as u32) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:557:25 [INFO] [stdout] | [INFO] [stdout] 557 | let x = LOWORD(lparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:558:25 [INFO] [stdout] | [INFO] [stdout] 558 | let y = HIWORD(lparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:559:28 [INFO] [stdout] | [INFO] [stdout] 559 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/window.rs:585:22 [INFO] [stdout] | [INFO] [stdout] 585 | dwStyle: WS_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_HSCROLL` in this scope [INFO] [stdout] --> src/window.rs:599:27 [INFO] [stdout] | [INFO] [stdout] 599 | self.dwStyle &= !(WS_HSCROLL | WS_VSCROLL); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stdout] --> src/window.rs:599:40 [INFO] [stdout] | [INFO] [stdout] 599 | self.dwStyle &= !(WS_HSCROLL | WS_VSCROLL); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_HSCROLL` in this scope [INFO] [stdout] --> src/window.rs:601:29 [INFO] [stdout] | [INFO] [stdout] 601 | self.dwStyle |= WS_HSCROLL; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stdout] --> src/window.rs:604:29 [INFO] [stdout] | [INFO] [stdout] 604 | self.dwStyle |= WS_VSCROLL; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/window.rs:634:24 [INFO] [stdout] | [INFO] [stdout] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/window.rs:634:39 [INFO] [stdout] | [INFO] [stdout] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/window.rs:634:50 [INFO] [stdout] | [INFO] [stdout] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/window.rs:635:26 [INFO] [stdout] | [INFO] [stdout] 635 | let cursor = LoadCursorW(0 as HINSTANCE, self.cursor.get_lpcwstr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/window.rs:635:43 [INFO] [stdout] | [INFO] [stdout] 635 | let cursor = LoadCursorW(0 as HINSTANCE, self.cursor.get_lpcwstr()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/window.rs:636:25 [INFO] [stdout] | [INFO] [stdout] 636 | let brush = CreateSolidBrush(0xffffff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/window.rs:637:23 [INFO] [stdout] | [INFO] [stdout] 637 | let wnd = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/window.rs:642:33 [INFO] [stdout] | [INFO] [stdout] 642 | hInstance: 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:646:36 [INFO] [stdout] | [INFO] [stdout] 646 | lpszMenuName: 0 as LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> src/window.rs:649:30 [INFO] [stdout] | [INFO] [stdout] 649 | let class_atom = RegisterClassW(&wnd); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:662:38 [INFO] [stdout] | [INFO] [stdout] 662 | hwnd: Cell::new(0 as HWND), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/window.rs:685:30 [INFO] [stdout] | [INFO] [stdout] 685 | None => 0 as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> src/menu.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | AppendMenuW(self.hmenu, MF_SEPARATOR, 0, null()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOREDIRECTIONBITMAP` in this scope [INFO] [stdout] --> src/window.rs:689:30 [INFO] [stdout] | [INFO] [stdout] 689 | dwExStyle |= WS_EX_NOREDIRECTIONBITMAP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_SEPARATOR` in this scope [INFO] [stdout] --> src/menu.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | AppendMenuW(self.hmenu, MF_SEPARATOR, 0, null()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Factory` in crate `direct2d` [INFO] [stdout] --> src/paint.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) d2d_factory: &'a direct2d::Factory, [INFO] [stdout] | ^^^^^^^ not found in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:693:32 [INFO] [stdout] | [INFO] [stdout] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Factory` in crate `direct2d` [INFO] [stdout] --> src/paint.rs:49:67 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) unsafe fn create_render_target(d2d_factory: &direct2d::Factory, hwnd: HWND) [INFO] [stdout] | ^^^^^^^ not found in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:693:67 [INFO] [stdout] | [INFO] [stdout] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/paint.rs:49:82 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) unsafe fn create_render_target(d2d_factory: &direct2d::Factory, hwnd: HWND) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/window.rs:693:85 [INFO] [stdout] | [INFO] [stdout] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/paint.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let mut rect: RECT = mem::uninitialized(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/paint.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | GetClientRect(hwnd, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/window.rs:722:40 [INFO] [stdout] | [INFO] [stdout] 722 | unsafe fn choose_adapter(factory: *mut IDXGIFactory2) -> *mut IDXGIAdapter { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Factory` in crate `direct2d` [INFO] [stdout] --> src/paint.rs:71:72 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) unsafe fn create_render_target_dxgi(d2d_factory: &direct2d::Factory, [INFO] [stdout] | ^^^^^^^ not found in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stdout] --> src/window.rs:722:63 [INFO] [stdout] | [INFO] [stdout] 722 | unsafe fn choose_adapter(factory: *mut IDXGIFactory2) -> *mut IDXGIAdapter { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/paint.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | swap_chain: *mut IDXGISwapChain1, dpi: f32) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISurface` in this scope [INFO] [stdout] --> src/paint.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | let mut buffer: *mut IDXGISurface = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stdout] --> src/window.rs:727:31 [INFO] [stdout] | [INFO] [stdout] 727 | let mut adapter: *mut IDXGIAdapter = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/paint.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let props = D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/window.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | if !SUCCEEDED((*factory).EnumAdapters(i, &mut adapter)) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope [INFO] [stdout] --> src/paint.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | _type: D2D1_RENDER_TARGET_TYPE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_ADAPTER_DESC` in this scope [INFO] [stdout] --> src/window.rs:731:23 [INFO] [stdout] | [INFO] [stdout] 731 | let mut desc: DXGI_ADAPTER_DESC = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope [INFO] [stdout] --> src/paint.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | pixelFormat: D2D1_PIXEL_FORMAT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/paint.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/window.rs:740:42 [INFO] [stdout] | [INFO] [stdout] 740 | (&mut desc.Description[0] as LPWSTR).from_wide(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_IGNORE` in this scope [INFO] [stdout] --> src/paint.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | alphaMode: D2D1_ALPHA_MODE_IGNORE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:747:71 [INFO] [stdout] | [INFO] [stdout] 747 | unsafe fn create_dcomp_state(present_strategy: PresentStrategy, hwnd: HWND) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_NONE` in this scope [INFO] [stdout] --> src/paint.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | usage: D2D1_RENDER_TARGET_USAGE_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FEATURE_LEVEL_DEFAULT` in this scope [INFO] [stdout] --> src/paint.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/window.rs:755:31 [INFO] [stdout] | [INFO] [stdout] 755 | let mut factory: *mut IDXGIFactory2 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1RenderTarget` in this scope [INFO] [stdout] --> src/paint.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | let mut render_target: *mut ID2D1RenderTarget = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_IDXGIFactory2` in this scope [INFO] [stdout] --> src/window.rs:756:44 [INFO] [stdout] | [INFO] [stdout] 756 | as_result(create_dxgi_factory2(0, &IID_IDXGIFactory2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/window.rs:757:39 [INFO] [stdout] | [INFO] [stdout] 757 | &mut factory as *mut *mut IDXGIFactory2 as *mut *mut c_void))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/paint.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | if SUCCEEDED(res) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Factory` in crate `direct2d` [INFO] [stdout] --> src/paint.rs:105:45 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn d2d_factory(&self) -> &direct2d::Factory { [INFO] [stdout] | ^^^^^^^ not found in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | Hr(HRESULT), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn as_result(hr: HRESULT) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/util.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | if SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | impl From for Error { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | fn from(hr: HRESULT) -> Error { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/util.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | OsStringExt::from_wide(self.to_u16_slice()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 99 | OsString::from_wide(self.to_u16_slice()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/util.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | impl FromWide for LPWSTR { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | type GetDpiForSystem = unsafe extern "system" fn() -> UINT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/util.rs:126:51 [INFO] [stdout] | [INFO] [stdout] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITOR_DPI_TYPE` in this scope [INFO] [stdout] --> src/util.rs:126:61 [INFO] [stdout] | [INFO] [stdout] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:126:84 [INFO] [stdout] | [INFO] [stdout] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:126:95 [INFO] [stdout] | [INFO] [stdout] 126 | type GetDpiForMonitor = unsafe extern "system" fn(HMONITOR, MONITOR_DPI_TYPE, *mut UINT, *mut UINT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_DPI_AWARENESS` in this scope [INFO] [stdout] --> src/util.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 128 | type SetProcessDpiAwareness = unsafe extern "system" fn(PROCESS_DPI_AWARENESS) -> HRESULT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:128:83 [INFO] [stdout] | [INFO] [stdout] 128 | type SetProcessDpiAwareness = unsafe extern "system" fn(PROCESS_DPI_AWARENESS) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/util.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | renderingDevice: *const IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/util.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | iid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | Flags: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_SEQUENTIAL` in this scope [INFO] [stdout] --> src/window.rs:769:45 [INFO] [stdout] | [INFO] [stdout] 769 | PresentStrategy::Sequential => (DXGI_SWAP_EFFECT_SEQUENTIAL, 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/util.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | riid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:138:6 [INFO] [stdout] | [INFO] [stdout] 138 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/util.rs:176:36 [INFO] [stdout] | [INFO] [stdout] 176 | fn load_library(name: &str) -> HMODULE { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/util.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | let library = unsafe { GetModuleHandleW(encoded_name.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> src/util.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | let library = unsafe { LoadLibraryW(encoded_name.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/util.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 204 | load_function!(shcore, SetProcessDpiAwareness, "8.1"); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL` in this scope [INFO] [stdout] --> src/window.rs:771:18 [INFO] [stdout] | [INFO] [stdout] 771 | (DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL, 2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/util.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 205 | load_function!(shcore, GetDpiForMonitor, "8.1"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope [INFO] [stdout] --> src/window.rs:773:20 [INFO] [stdout] | [INFO] [stdout] 773 | let desc = DXGI_SWAP_CHAIN_DESC1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/window.rs:776:21 [INFO] [stdout] | [INFO] [stdout] 776 | Format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/util.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 211 | load_function!(user32, GetDpiForSystem, "10"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:777:21 [INFO] [stdout] | [INFO] [stdout] 777 | Stereo: FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/window.rs:778:25 [INFO] [stdout] | [INFO] [stdout] 778 | SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/util.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 215 | load_function!(dcomp, DCompositionCreateDevice2, "8.1"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope [INFO] [stdout] --> src/window.rs:779:26 [INFO] [stdout] | [INFO] [stdout] 779 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SCALING_STRETCH` in this scope [INFO] [stdout] --> src/window.rs:781:22 [INFO] [stdout] | [INFO] [stdout] 781 | Scaling: DXGI_SCALING_STRETCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/util.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let function_ptr = unsafe { GetProcAddress($lib, cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 219 | load_function!(dxgi, CreateDXGIFactory2, "8.1"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ALPHA_MODE_IGNORE` in this scope [INFO] [stdout] --> src/window.rs:783:24 [INFO] [stdout] | [INFO] [stdout] 783 | AlphaMode: DXGI_ALPHA_MODE_IGNORE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_SYSTEM_DPI_AWARE` in this scope [INFO] [stdout] --> src/util.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | func(PROCESS_SYSTEM_DPI_AWARE); // TODO: per monitor (much harder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/window.rs:786:34 [INFO] [stdout] | [INFO] [stdout] 786 | let mut swap_chain: *mut IDXGISwapChain1 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/util.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | let stdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/window.rs:787:91 [INFO] [stdout] | [INFO] [stdout] 787 | let res = (*factory).CreateSwapChainForComposition(d3d11_device.raw_ptr() as *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> src/util.rs:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | let stdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/window.rs:792:61 [INFO] [stdout] | [INFO] [stdout] 792 | swapchain_visual.set_content_raw(swap_chain as *mut IUnknown)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/util.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:803:51 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:803:62 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:803:76 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:803:92 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileType` in this scope [INFO] [stdout] --> src/util.rs:275:46 [INFO] [stdout] | [INFO] [stdout] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:804:8 [INFO] [stdout] | [INFO] [stdout] 804 | -> LRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stdout] --> src/window.rs:806:15 [INFO] [stdout] | [INFO] [stdout] 806 | if msg == WM_CREATE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_TYPE_UNKNOWN` in this scope [INFO] [stdout] --> src/util.rs:275:69 [INFO] [stdout] | [INFO] [stdout] 275 | if stdout != INVALID_HANDLE_VALUE && GetFileType(stdout) != FILE_TYPE_UNKNOWN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AttachConsole` in this scope [INFO] [stdout] --> src/util.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | if AttachConsole(ATTACH_PARENT_PROCESS) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stdout] --> src/window.rs:807:49 [INFO] [stdout] | [INFO] [stdout] 807 | let create_struct = &*(lparam as *const CREATESTRUCTW); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ATTACH_PARENT_PROCESS` in this scope [INFO] [stdout] --> src/util.rs:281:26 [INFO] [stdout] | [INFO] [stdout] 281 | if AttachConsole(ATTACH_PARENT_PROCESS) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/window.rs:809:9 [INFO] [stdout] | [INFO] [stdout] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/util.rs:282:24 [INFO] [stdout] | [INFO] [stdout] 282 | let chnd = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/window.rs:809:33 [INFO] [stdout] | [INFO] [stdout] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/util.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/util.rs:284:32 [INFO] [stdout] | [INFO] [stdout] 284 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stdout] --> src/window.rs:809:63 [INFO] [stdout] | [INFO] [stdout] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/util.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/window.rs:811:22 [INFO] [stdout] | [INFO] [stdout] 811 | let window_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const WindowState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/util.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/util.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | if chnd == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/window.rs:811:46 [INFO] [stdout] | [INFO] [stdout] 811 | let window_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const WindowState; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetStdHandle` in this scope [INFO] [stdout] --> src/util.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | SetStdHandle(STD_OUTPUT_HANDLE, chnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_NCDESTROY` in this scope [INFO] [stdout] --> src/window.rs:819:15 [INFO] [stdout] | [INFO] [stdout] 819 | if msg == WM_NCDESTROY { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> src/util.rs:296:26 [INFO] [stdout] | [INFO] [stdout] 296 | SetStdHandle(STD_OUTPUT_HANDLE, chnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/window.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetStdHandle` in this scope [INFO] [stdout] --> src/util.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | SetStdHandle(STD_ERROR_HANDLE, chnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/window.rs:821:37 [INFO] [stdout] | [INFO] [stdout] 821 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_ERROR_HANDLE` in this scope [INFO] [stdout] --> src/util.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | SetStdHandle(STD_ERROR_HANDLE, chnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/window.rs:827:17 [INFO] [stdout] | [INFO] [stdout] 827 | None => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win_main.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | h: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HACCEL` in this scope [INFO] [stdout] --> src/win_main.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | accel: HACCEL, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:833:20 [INFO] [stdout] | [INFO] [stdout] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ACCEL` in this scope [INFO] [stdout] --> src/win_main.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_accel(&mut self, accel: &[ACCEL]) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:833:40 [INFO] [stdout] | [INFO] [stdout] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateAcceleratorTableW` in this scope [INFO] [stdout] --> src/win_main.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | self.accel = CreateAcceleratorTableW(accel as *const _ as *mut _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:833:63 [INFO] [stdout] | [INFO] [stdout] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MsgWaitForMultipleObjectsEx` in this scope [INFO] [stdout] --> src/win_main.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | let res = MsgWaitForMultipleObjectsEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:833:81 [INFO] [stdout] | [INFO] [stdout] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/win_main.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | INFINITE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:834:62 [INFO] [stdout] | [INFO] [stdout] 834 | y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `QS_ALLEVENTS` in this scope [INFO] [stdout] --> src/win_main.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | QS_ALLEVENTS, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/window.rs:834:75 [INFO] [stdout] | [INFO] [stdout] 834 | y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> src/win_main.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | if res >= WAIT_OBJECT_0 && res < WAIT_OBJECT_0 + len { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> src/win_main.rs:86:50 [INFO] [stdout] | [INFO] [stdout] 86 | if res >= WAIT_OBJECT_0 && res < WAIT_OBJECT_0 + len { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/window.rs:835:20 [INFO] [stdout] | [INFO] [stdout] 835 | hInstance: HINSTANCE, wndproc: Rc) -> HWND [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:835:60 [INFO] [stdout] | [INFO] [stdout] 835 | hInstance: HINSTANCE, wndproc: Rc) -> HWND [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 837 | CreateWindowExW(dwExStyle, lpClassName, lpWindowName, dwStyle, x, y, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/window.rs:838:81 [INFO] [stdout] | [INFO] [stdout] 838 | nWidth, nHeight, hWndParent, hMenu, hInstance, Rc::into_raw(wndproc) as LPVOID) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:842:30 [INFO] [stdout] | [INFO] [stdout] 842 | fn get_lpcwstr(&self) -> LPCWSTR { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/window.rs:844:30 [INFO] [stdout] | [INFO] [stdout] 844 | Cursor::Arrow => IDC_ARROW, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_IBEAM` in this scope [INFO] [stdout] --> src/window.rs:845:30 [INFO] [stdout] | [INFO] [stdout] 845 | Cursor::IBeam => IDC_IBEAM, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/window.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 855 | ShowWindow(hwnd, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope [INFO] [stdout] --> src/window.rs:855:34 [INFO] [stdout] | [INFO] [stdout] 855 | ShowWindow(hwnd, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> src/window.rs:856:17 [INFO] [stdout] | [INFO] [stdout] 856 | UpdateWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/window.rs:865:17 [INFO] [stdout] | [INFO] [stdout] 865 | DestroyWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:874:17 [INFO] [stdout] | [INFO] [stdout] 874 | InvalidateRect(hwnd, null(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:874:46 [INFO] [stdout] | [INFO] [stdout] 874 | InvalidateRect(hwnd, null(), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:881:38 [INFO] [stdout] | [INFO] [stdout] 850 | impl WindowHandle { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 881 | pub fn get_hwnd(&self) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:955:17 [INFO] [stdout] | [INFO] [stdout] 955 | PostMessageW(self.hwnd, XI_RUN_IDLE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> src/win_main.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | let ix = (res - WAIT_OBJECT_0) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:963:13 [INFO] [stdout] | [INFO] [stdout] 963 | InvalidateRect(self.hwnd, null(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/win_main.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | let res = PeekMessageW(&mut msg, null_mut(), 0, 0, PM_NOREMOVE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:963:47 [INFO] [stdout] | [INFO] [stdout] 963 | InvalidateRect(self.hwnd, null(), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/window.rs:975:8 [INFO] [stdout] | [INFO] [stdout] 975 | if SUCCEEDED(err) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_NOREMOVE` in this scope [INFO] [stdout] --> src/win_main.rs:95:72 [INFO] [stdout] | [INFO] [stdout] 95 | let res = PeekMessageW(&mut msg, null_mut(), 0, 0, PM_NOREMOVE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/window.rs:976:54 [INFO] [stdout] | [INFO] [stdout] 976 | Some(HwndRenderTarget::from_raw(hwnd as *mut ID2D1HwndRenderTarget)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/win_main.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | let res = GetMessageW(&mut msg, null_mut(), 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateAcceleratorW` in this scope [INFO] [stdout] --> src/win_main.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | TranslateAcceleratorW(msg.hwnd, self.accel, &mut msg) == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/win_main.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | TranslateMessage(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/win_main.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/win_main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win_main.rs:125:44 [INFO] [stdout] | [INFO] [stdout] 125 | pub unsafe fn add_handler(&self, h: HANDLE, callback: F) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | dwStyle: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 118 | struct WindowState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 119 | hwnd: Cell, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:260:33 [INFO] [stdout] | [INFO] [stdout] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:260:44 [INFO] [stdout] | [INFO] [stdout] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:260:58 [INFO] [stdout] | [INFO] [stdout] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:260:74 [INFO] [stdout] | [INFO] [stdout] 260 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 257 | trait WndProc { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 261 | -> Option; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Factory` in crate `direct2d` [INFO] [stdout] --> src/window.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | d2d_factory: direct2d::Factory, [INFO] [stdout] | ^^^^^^^ not found in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/window.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | swap_chain: *mut IDXGISwapChain1, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | const XI_RUN_IDLE: UINT = WM_USER; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/window.rs:300:27 [INFO] [stdout] | [INFO] [stdout] 300 | const XI_RUN_IDLE: UINT = WM_USER; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | fn get_mod_state(lparam: LPARAM) -> u32 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_ALT` in this scope [INFO] [stdout] --> src/window.rs:313:53 [INFO] [stdout] | [INFO] [stdout] 265 | pub const M_ALT: u32 = 1; [INFO] [stdout] | ------------------------- similarly named constant `M_ALT` defined here [INFO] [stdout] ... [INFO] [stdout] 313 | if (lparam & (1 << 29)) != 0 { mod_state |= MOD_ALT as u32; } [INFO] [stdout] | ^^^^^^^ help: a constant with a similar name exists: `M_ALT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/window.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stdout] --> src/window.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_CONTROL` in this scope [INFO] [stdout] --> src/window.rs:314:55 [INFO] [stdout] | [INFO] [stdout] 314 | if GetKeyState(VK_CONTROL) < 0 { mod_state |= MOD_CONTROL as u32; } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/window.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SHIFT` in this scope [INFO] [stdout] --> src/window.rs:315:24 [INFO] [stdout] | [INFO] [stdout] 271 | pub const M_SHIFT: u32 = 4; [INFO] [stdout] | --------------------------- similarly named constant `M_SHIFT` defined here [INFO] [stdout] ... [INFO] [stdout] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stdout] | ^^^^^^^^ help: a constant with a similar name exists: `M_SHIFT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_SHIFT` in this scope [INFO] [stdout] --> src/window.rs:315:53 [INFO] [stdout] | [INFO] [stdout] 271 | pub const M_SHIFT: u32 = 4; [INFO] [stdout] | --------------------------- similarly named constant `M_SHIFT` defined here [INFO] [stdout] ... [INFO] [stdout] 315 | if GetKeyState(VK_SHIFT) < 0 { mod_state |= MOD_SHIFT as u32; } [INFO] [stdout] | ^^^^^^^^^ help: a constant with a similar name exists: `M_SHIFT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:363:33 [INFO] [stdout] | [INFO] [stdout] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:363:44 [INFO] [stdout] | [INFO] [stdout] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:363:58 [INFO] [stdout] | [INFO] [stdout] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:363:74 [INFO] [stdout] | [INFO] [stdout] 363 | fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:364:19 [INFO] [stdout] | [INFO] [stdout] 356 | impl WndProc for MyWndProc { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 364 | -> Option [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ValidateRect` in this scope [INFO] [stdout] --> src/window.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | ValidateRect(hwnd, null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/window.rs:409:35 [INFO] [stdout] | [INFO] [stdout] 409 | let mut rect: RECT = mem::uninitialized(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/window.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | GetClientRect(hwnd, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/window.rs:415:58 [INFO] [stdout] | [INFO] [stdout] 415 | .ResizeBuffers(2, width, height, DXGI_FORMAT_UNKNOWN, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/window.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 416 | if SUCCEEDED(res) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:442:29 [INFO] [stdout] | [INFO] [stdout] 442 | let width = LOWORD(lparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:443:30 [INFO] [stdout] | [INFO] [stdout] 443 | let height = HIWORD(lparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:457:41 [INFO] [stdout] | [INFO] [stdout] 457 | ... let width = LOWORD(lparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:458:42 [INFO] [stdout] | [INFO] [stdout] 458 | ... let height = HIWORD(lparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_U` in this scope [INFO] [stdout] --> src/window.rs:459:46 [INFO] [stdout] | [INFO] [stdout] 459 | ... let size = SizeU(D2D1_SIZE_U { width, height }); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:463:54 [INFO] [stdout] | [INFO] [stdout] 463 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/window.rs:471:62 [INFO] [stdout] | [INFO] [stdout] 471 | ... .ResizeBuffers(0, width, height, DXGI_FORMAT_UNKNOWN, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/window.rs:473:24 [INFO] [stdout] | [INFO] [stdout] 473 | if SUCCEEDED(res) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ValidateRect` in this scope [INFO] [stdout] --> src/window.rs:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | ValidateRect(hwnd, null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:490:38 [INFO] [stdout] | [INFO] [stdout] 490 | self.handler.command(LOWORD(wparam as u32) as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:508:29 [INFO] [stdout] | [INFO] [stdout] 508 | let delta = HIWORD(wparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:509:28 [INFO] [stdout] | [INFO] [stdout] 509 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:514:29 [INFO] [stdout] | [INFO] [stdout] 514 | let delta = HIWORD(wparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:515:28 [INFO] [stdout] | [INFO] [stdout] 515 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:520:25 [INFO] [stdout] | [INFO] [stdout] 520 | let x = LOWORD(lparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:521:25 [INFO] [stdout] | [INFO] [stdout] 521 | let y = HIWORD(lparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:522:28 [INFO] [stdout] | [INFO] [stdout] 522 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:538:31 [INFO] [stdout] | [INFO] [stdout] 538 | match HIWORD(wparam as u32) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:557:25 [INFO] [stdout] | [INFO] [stdout] 557 | let x = LOWORD(lparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window.rs:558:25 [INFO] [stdout] | [INFO] [stdout] 558 | let y = HIWORD(lparam as u32) as i16 as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/win_main.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | callback: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | handler: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn WinHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | queue: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn IdleCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | fn call(self: Box, a: &Any); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | impl IdleCallback for F { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | fn call(self: Box, a: &Any) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | wndproc: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn WndProc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | idle_queue: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn IdleCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn WinHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:594:48 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn set_handler(&mut self, handler: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn WinHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:902:42 [INFO] [stdout] | [INFO] [stdout] 902 | fn take_idle_queue(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn IdleCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:950:26 [INFO] [stdout] | [INFO] [stdout] 950 | where F: FnOnce(&Any) + Send + 'static [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window.rs:559:28 [INFO] [stdout] | [INFO] [stdout] 559 | let mods = LOWORD(wparam as u32) as u32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/window.rs:585:22 [INFO] [stdout] | [INFO] [stdout] 585 | dwStyle: WS_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_HSCROLL` in this scope [INFO] [stdout] --> src/window.rs:599:27 [INFO] [stdout] | [INFO] [stdout] 599 | self.dwStyle &= !(WS_HSCROLL | WS_VSCROLL); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stdout] --> src/window.rs:599:40 [INFO] [stdout] | [INFO] [stdout] 599 | self.dwStyle &= !(WS_HSCROLL | WS_VSCROLL); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_HSCROLL` in this scope [INFO] [stdout] --> src/window.rs:601:29 [INFO] [stdout] | [INFO] [stdout] 601 | self.dwStyle |= WS_HSCROLL; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VSCROLL` in this scope [INFO] [stdout] --> src/window.rs:604:29 [INFO] [stdout] | [INFO] [stdout] 604 | self.dwStyle |= WS_VSCROLL; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/window.rs:634:24 [INFO] [stdout] | [INFO] [stdout] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/window.rs:634:39 [INFO] [stdout] | [INFO] [stdout] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/window.rs:634:50 [INFO] [stdout] | [INFO] [stdout] 634 | let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/window.rs:635:26 [INFO] [stdout] | [INFO] [stdout] 635 | let cursor = LoadCursorW(0 as HINSTANCE, self.cursor.get_lpcwstr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/window.rs:635:43 [INFO] [stdout] | [INFO] [stdout] 635 | let cursor = LoadCursorW(0 as HINSTANCE, self.cursor.get_lpcwstr()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/window.rs:636:25 [INFO] [stdout] | [INFO] [stdout] 636 | let brush = CreateSolidBrush(0xffffff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/window.rs:637:23 [INFO] [stdout] | [INFO] [stdout] 637 | let wnd = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/window.rs:642:33 [INFO] [stdout] | [INFO] [stdout] 642 | hInstance: 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:646:36 [INFO] [stdout] | [INFO] [stdout] 646 | lpszMenuName: 0 as LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> src/window.rs:649:30 [INFO] [stdout] | [INFO] [stdout] 649 | let class_atom = RegisterClassW(&wnd); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:662:38 [INFO] [stdout] | [INFO] [stdout] 662 | hwnd: Cell::new(0 as HWND), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/window.rs:685:30 [INFO] [stdout] | [INFO] [stdout] 685 | None => 0 as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOREDIRECTIONBITMAP` in this scope [INFO] [stdout] --> src/window.rs:689:30 [INFO] [stdout] | [INFO] [stdout] 689 | dwExStyle |= WS_EX_NOREDIRECTIONBITMAP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/window.rs:693:32 [INFO] [stdout] | [INFO] [stdout] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:693:67 [INFO] [stdout] | [INFO] [stdout] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/window.rs:693:85 [INFO] [stdout] | [INFO] [stdout] 693 | CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, hmenu, 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/window.rs:722:40 [INFO] [stdout] | [INFO] [stdout] 722 | unsafe fn choose_adapter(factory: *mut IDXGIFactory2) -> *mut IDXGIAdapter { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stdout] --> src/window.rs:722:63 [INFO] [stdout] | [INFO] [stdout] 722 | unsafe fn choose_adapter(factory: *mut IDXGIFactory2) -> *mut IDXGIAdapter { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stdout] --> src/window.rs:727:31 [INFO] [stdout] | [INFO] [stdout] 727 | let mut adapter: *mut IDXGIAdapter = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/window.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | if !SUCCEEDED((*factory).EnumAdapters(i, &mut adapter)) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_ADAPTER_DESC` in this scope [INFO] [stdout] --> src/window.rs:731:23 [INFO] [stdout] | [INFO] [stdout] 731 | let mut desc: DXGI_ADAPTER_DESC = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/window.rs:740:42 [INFO] [stdout] | [INFO] [stdout] 740 | (&mut desc.Description[0] as LPWSTR).from_wide(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:747:71 [INFO] [stdout] | [INFO] [stdout] 747 | unsafe fn create_dcomp_state(present_strategy: PresentStrategy, hwnd: HWND) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/window.rs:755:31 [INFO] [stdout] | [INFO] [stdout] 755 | let mut factory: *mut IDXGIFactory2 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_IDXGIFactory2` in this scope [INFO] [stdout] --> src/window.rs:756:44 [INFO] [stdout] | [INFO] [stdout] 756 | as_result(create_dxgi_factory2(0, &IID_IDXGIFactory2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/window.rs:757:39 [INFO] [stdout] | [INFO] [stdout] 757 | &mut factory as *mut *mut IDXGIFactory2 as *mut *mut c_void))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_SEQUENTIAL` in this scope [INFO] [stdout] --> src/window.rs:769:45 [INFO] [stdout] | [INFO] [stdout] 769 | PresentStrategy::Sequential => (DXGI_SWAP_EFFECT_SEQUENTIAL, 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL` in this scope [INFO] [stdout] --> src/window.rs:771:18 [INFO] [stdout] | [INFO] [stdout] 771 | (DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL, 2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope [INFO] [stdout] --> src/window.rs:773:20 [INFO] [stdout] | [INFO] [stdout] 773 | let desc = DXGI_SWAP_CHAIN_DESC1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/window.rs:776:21 [INFO] [stdout] | [INFO] [stdout] 776 | Format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:777:21 [INFO] [stdout] | [INFO] [stdout] 777 | Stereo: FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/window.rs:778:25 [INFO] [stdout] | [INFO] [stdout] 778 | SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope [INFO] [stdout] --> src/window.rs:779:26 [INFO] [stdout] | [INFO] [stdout] 779 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SCALING_STRETCH` in this scope [INFO] [stdout] --> src/window.rs:781:22 [INFO] [stdout] | [INFO] [stdout] 781 | Scaling: DXGI_SCALING_STRETCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ALPHA_MODE_IGNORE` in this scope [INFO] [stdout] --> src/window.rs:783:24 [INFO] [stdout] | [INFO] [stdout] 783 | AlphaMode: DXGI_ALPHA_MODE_IGNORE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/window.rs:786:34 [INFO] [stdout] | [INFO] [stdout] 786 | let mut swap_chain: *mut IDXGISwapChain1 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/window.rs:787:91 [INFO] [stdout] | [INFO] [stdout] 787 | let res = (*factory).CreateSwapChainForComposition(d3d11_device.raw_ptr() as *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/window.rs:792:61 [INFO] [stdout] | [INFO] [stdout] 792 | swapchain_visual.set_content_raw(swap_chain as *mut IUnknown)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:803:51 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:803:62 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:803:76 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:803:92 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:804:8 [INFO] [stdout] | [INFO] [stdout] 804 | -> LRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/paint.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | let mut rect: RECT = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stdout] --> src/window.rs:806:15 [INFO] [stdout] | [INFO] [stdout] 806 | if msg == WM_CREATE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stdout] --> src/window.rs:807:49 [INFO] [stdout] | [INFO] [stdout] 807 | let create_struct = &*(lparam as *const CREATESTRUCTW); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/window.rs:809:9 [INFO] [stdout] | [INFO] [stdout] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/window.rs:809:33 [INFO] [stdout] | [INFO] [stdout] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stdout] --> src/window.rs:809:63 [INFO] [stdout] | [INFO] [stdout] 809 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/window.rs:811:22 [INFO] [stdout] | [INFO] [stdout] 811 | let window_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const WindowState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/window.rs:811:46 [INFO] [stdout] | [INFO] [stdout] 811 | let window_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const WindowState; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_NCDESTROY` in this scope [INFO] [stdout] --> src/window.rs:819:15 [INFO] [stdout] | [INFO] [stdout] 819 | if msg == WM_NCDESTROY { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/window.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/window.rs:821:37 [INFO] [stdout] | [INFO] [stdout] 821 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/window.rs:827:17 [INFO] [stdout] | [INFO] [stdout] 827 | None => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/win_main.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | let mut msg = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:833:20 [INFO] [stdout] | [INFO] [stdout] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:833:40 [INFO] [stdout] | [INFO] [stdout] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:833:63 [INFO] [stdout] | [INFO] [stdout] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window.rs:833:81 [INFO] [stdout] | [INFO] [stdout] 833 | dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:834:62 [INFO] [stdout] | [INFO] [stdout] 834 | y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:731:43 [INFO] [stdout] | [INFO] [stdout] 731 | let mut desc: DXGI_ADAPTER_DESC = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/window.rs:834:75 [INFO] [stdout] | [INFO] [stdout] 834 | y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:409:42 [INFO] [stdout] | [INFO] [stdout] 409 | let mut rect: RECT = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/window.rs:835:20 [INFO] [stdout] | [INFO] [stdout] 835 | hInstance: HINSTANCE, wndproc: Rc) -> HWND [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:835:60 [INFO] [stdout] | [INFO] [stdout] 835 | hInstance: HINSTANCE, wndproc: Rc) -> HWND [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 837 | CreateWindowExW(dwExStyle, lpClassName, lpWindowName, dwStyle, x, y, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/window.rs:838:81 [INFO] [stdout] | [INFO] [stdout] 838 | nWidth, nHeight, hWndParent, hMenu, hInstance, Rc::into_raw(wndproc) as LPVOID) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:842:30 [INFO] [stdout] | [INFO] [stdout] 842 | fn get_lpcwstr(&self) -> LPCWSTR { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/window.rs:844:30 [INFO] [stdout] | [INFO] [stdout] 844 | Cursor::Arrow => IDC_ARROW, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_IBEAM` in this scope [INFO] [stdout] --> src/window.rs:845:30 [INFO] [stdout] | [INFO] [stdout] 845 | Cursor::IBeam => IDC_IBEAM, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/window.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 855 | ShowWindow(hwnd, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope [INFO] [stdout] --> src/window.rs:855:34 [INFO] [stdout] | [INFO] [stdout] 855 | ShowWindow(hwnd, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> src/window.rs:856:17 [INFO] [stdout] | [INFO] [stdout] 856 | UpdateWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/window.rs:865:17 [INFO] [stdout] | [INFO] [stdout] 865 | DestroyWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:874:17 [INFO] [stdout] | [INFO] [stdout] 874 | InvalidateRect(hwnd, null(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:874:46 [INFO] [stdout] | [INFO] [stdout] 874 | InvalidateRect(hwnd, null(), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:881:38 [INFO] [stdout] | [INFO] [stdout] 850 | impl WindowHandle { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 881 | pub fn get_hwnd(&self) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:955:17 [INFO] [stdout] | [INFO] [stdout] 955 | PostMessageW(self.hwnd, XI_RUN_IDLE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:963:13 [INFO] [stdout] | [INFO] [stdout] 963 | InvalidateRect(self.hwnd, null(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:963:47 [INFO] [stdout] | [INFO] [stdout] 963 | InvalidateRect(self.hwnd, null(), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/window.rs:975:8 [INFO] [stdout] | [INFO] [stdout] 975 | if SUCCEEDED(err) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/window.rs:976:54 [INFO] [stdout] | [INFO] [stdout] 976 | Some(HwndRenderTarget::from_raw(hwnd as *mut ID2D1HwndRenderTarget)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 418 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `druid-win-shell` [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/win_main.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | callback: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | handler: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn WinHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | queue: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn IdleCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | fn call(self: Box, a: &Any); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | impl IdleCallback for F { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | fn call(self: Box, a: &Any) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | wndproc: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn WndProc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | idle_queue: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn IdleCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn WinHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:594:48 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn set_handler(&mut self, handler: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn WinHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:902:42 [INFO] [stdout] | [INFO] [stdout] 902 | fn take_idle_queue(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn IdleCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:950:26 [INFO] [stdout] | [INFO] [stdout] 950 | where F: FnOnce(&Any) + Send + 'static [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/paint.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | let mut rect: RECT = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/win_main.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | let mut msg = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:731:43 [INFO] [stdout] | [INFO] [stdout] 731 | let mut desc: DXGI_ADAPTER_DESC = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:409:42 [INFO] [stdout] | [INFO] [stdout] 409 | let mut rect: RECT = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 418 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dc812aae44bb7316b19db7663c8c7decdcfad252e53aed582a5f7ae106ee57fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc812aae44bb7316b19db7663c8c7decdcfad252e53aed582a5f7ae106ee57fd", kill_on_drop: false }` [INFO] [stdout] dc812aae44bb7316b19db7663c8c7decdcfad252e53aed582a5f7ae106ee57fd