[INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/push-to-checkout.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows/hooks/push-to-checkout.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/han1548772930/sc_windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/han1548772930/sc_windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f168bf9022aee4e1ff2bada02e9d0d8c45afea78 [INFO] checking han1548772930/sc_windows against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhan1548772930%2Fsc_windows" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/han1548772930/sc_windows [INFO] finished tweaking git repo https://github.com/han1548772930/sc_windows [INFO] tweaked toml for git repo https://github.com/han1548772930/sc_windows written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/han1548772930/sc_windows on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/han1548772930/sc_windows already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72b036b7f90df7673b1d5370ab2f9b606475fe3453c2108149b18608769ce7e6 [INFO] running `Command { std: "docker" "start" "-a" "72b036b7f90df7673b1d5370ab2f9b606475fe3453c2108149b18608769ce7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72b036b7f90df7673b1d5370ab2f9b606475fe3453c2108149b18608769ce7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b036b7f90df7673b1d5370ab2f9b606475fe3453c2108149b18608769ce7e6", kill_on_drop: false }` [INFO] [stdout] 72b036b7f90df7673b1d5370ab2f9b606475fe3453c2108149b18608769ce7e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0212cb2242e54fea82277e31285f95800be52a1a46b9e7cf2948f67b4acf1905 [INFO] running `Command { std: "docker" "start" "-a" "0212cb2242e54fea82277e31285f95800be52a1a46b9e7cf2948f67b4acf1905", kill_on_drop: false }` [INFO] [stderr] Checking sc_windows v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/constants.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::Graphics::Direct2D::Common::D2D1_COLOR_F; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/constants.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::Graphics::Direct2D::Common::D2D1_COLOR_F; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsStr, iter::once, os::windows::ffi::OsStrExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d14d202262d13df896b0c624b0cec6e4bfde631a/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d14d202262d13df896b0c624b0cec6e4bfde631a/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d14d202262d13df896b0c624b0cec6e4bfde631a/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d14d202262d13df896b0c624b0cec6e4bfde631a/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/types.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Graphics::DirectWrite::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Graphics::Gdi::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsStr, iter::once, os::windows::ffi::OsStrExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d14d202262d13df896b0c624b0cec6e4bfde631a/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d14d202262d13df896b0c624b0cec6e4bfde631a/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d14d202262d13df896b0c624b0cec6e4bfde631a/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d14d202262d13df896b0c624b0cec6e4bfde631a/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::Graphics::DirectWrite::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Graphics::Dxgi::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Graphics::Gdi::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/types.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::System::Com::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Graphics::DirectWrite::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use windows::core::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Graphics::Gdi::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/drawing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/drawing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/drawing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Graphics::Dxgi::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/drawing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::{Foundation::*, Graphics::Gdi::*, System::DataExchange::*}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/drawing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::core::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::Graphics::DirectWrite::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/toolbar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Graphics::Dxgi::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Graphics::Gdi::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::System::Com::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/d2d.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use windows::core::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/drawing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/drawing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/drawing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Graphics::Dxgi::Common::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/drawing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::{Foundation::*, Graphics::Gdi::*, System::DataExchange::*}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/drawing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::core::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/toolbar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Direct2D::Common::*`, `windows::Win32::Graphics::Direct2D::*`, `windows::Win32::Graphics::DirectWrite::*`, `windows::Win32::Graphics::Gdi::*`, `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Direct2D::Common::*`, `windows::Win32::Graphics::Direct2D::*`, `windows::Win32::Graphics::DirectWrite::*`, `windows::Win32::Graphics::Dxgi::Common::*`, `windows::Win32::Graphics::Gdi::*`, `windows::Win32::System::Com::*`, `windows::Win32::UI::WindowsAndMessaging::*`, `windows::core::*`, `windows::Win32::Graphics::Direct2D::Common::*`, `windows::Win32::Graphics::Direct2D::*`, `windows::Win32::Graphics::Dxgi::Common::*`, `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Gdi::*`, `windows::Win32::System::DataExchange::*`, `windows::core::*`, `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Direct2D::Common::*`, `windows::Win32::Graphics::Gdi::InvalidateRect`, `windows::Win32::UI::WindowsAndMessaging::*`, `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Gdi::*`, `windows::Win32::UI::Input::KeyboardAndMouse::*`, `windows::Win32::UI::WindowsAndMessaging::*`, `windows::core::PCWSTR`, `windows::core::w` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use windows::Win32::Graphics::DirectWrite::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use windows::Win32::Graphics::Gdi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/d2d.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use windows::Win32::Graphics::DirectWrite::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use windows::Win32::Graphics::Dxgi::Common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | use windows::Win32::Graphics::Gdi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use windows::Win32::System::Com::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | use windows::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/drawing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use windows::Win32::Graphics::Dxgi::Common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use windows::Win32::{Foundation::*, Graphics::Gdi::*, System::DataExchange::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use windows::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/toolbar.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Foundation::*, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | Graphics::{Direct2D::Common::*, Gdi::InvalidateRect}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | UI::WindowsAndMessaging::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | Foundation::*, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | Graphics::Gdi::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | UI::{Input::KeyboardAndMouse::*, WindowsAndMessaging::*}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | }, [INFO] [stdout] 7 | core::{PCWSTR, w}, [INFO] [stdout] | ^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Direct2D::Common::*`, `windows::Win32::Graphics::Direct2D::*`, `windows::Win32::Graphics::DirectWrite::*`, `windows::Win32::Graphics::Gdi::*`, `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Direct2D::Common::*`, `windows::Win32::Graphics::Direct2D::*`, `windows::Win32::Graphics::DirectWrite::*`, `windows::Win32::Graphics::Dxgi::Common::*`, `windows::Win32::Graphics::Gdi::*`, `windows::Win32::System::Com::*`, `windows::Win32::UI::WindowsAndMessaging::*`, `windows::core::*`, `windows::Win32::Graphics::Direct2D::Common::*`, `windows::Win32::Graphics::Direct2D::*`, `windows::Win32::Graphics::Dxgi::Common::*`, `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Gdi::*`, `windows::Win32::System::DataExchange::*`, `windows::core::*`, `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Direct2D::Common::*`, `windows::Win32::Graphics::Gdi::InvalidateRect`, `windows::Win32::UI::WindowsAndMessaging::*`, `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Gdi::*`, `windows::Win32::UI::Input::KeyboardAndMouse::*`, `windows::Win32::UI::WindowsAndMessaging::*`, `windows::core::PCWSTR`, `windows::core::w` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use windows::Win32::Graphics::DirectWrite::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use windows::Win32::Graphics::Gdi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/d2d.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use windows::Win32::Graphics::DirectWrite::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use windows::Win32::Graphics::Dxgi::Common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | use windows::Win32::Graphics::Gdi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use windows::Win32::System::Com::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | use windows::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/drawing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Graphics::Direct2D::Common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use windows::Win32::Graphics::Dxgi::Common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use windows::Win32::{Foundation::*, Graphics::Gdi::*, System::DataExchange::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use windows::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/toolbar.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Foundation::*, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | Graphics::{Direct2D::Common::*, Gdi::InvalidateRect}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | UI::WindowsAndMessaging::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | Foundation::*, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | Graphics::Gdi::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | UI::{Input::KeyboardAndMouse::*, WindowsAndMessaging::*}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | }, [INFO] [stdout] 7 | core::{PCWSTR, w}, [INFO] [stdout] | ^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/d2d.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | w!("Microsoft YaHei"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/d2d.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | w!("Microsoft YaHei"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/d2d.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | w!(""), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/d2d.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | w!(""), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/d2d.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | w!("Segoe UI Emoji"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/d2d.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | w!("Segoe UI Emoji"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/d2d.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | w!(""), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `w` in this scope [INFO] [stdout] --> src/d2d.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | w!(""), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/types.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | pub points: Vec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DrawingElement { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/types.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub rect: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/types.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub color: D2D1_COLOR_F, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/types.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub rect: D2D_RECT_F, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/types.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | pub buttons: Vec<(D2D_RECT_F, ToolbarButton, IconData)>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Toolbar { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/types.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | pub d2d_factory: ID2D1Factory, [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/types.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | pub render_target: ID2D1HwndRenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Bitmap` in this scope [INFO] [stdout] --> src/types.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | pub screenshot_bitmap: ID2D1Bitmap, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/types.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | pub dwrite_factory: IDWriteFactory, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/types.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub text_format: IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/types.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | pub centered_text_format: IDWriteTextFormat, // 新增:居中文本格式 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | pub selection_border_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | pub handle_fill_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub handle_border_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | pub toolbar_bg_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | pub button_hover_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub button_active_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | pub text_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | pub mask_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1RoundedRectangleGeometry` in this scope [INFO] [stdout] --> src/types.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | pub rounded_rect_geometry: ID2D1RoundedRectangleGeometry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/types.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | pub screenshot_dc: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBITMAP` in this scope [INFO] [stdout] --> src/types.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | pub gdi_screenshot_bitmap: HBITMAP, [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/types.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | pub selection_rect: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/types.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | pub drag_start_pos: POINT, [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/types.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | pub drag_start_rect: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/types.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | pub drawing_color: D2D1_COLOR_F, [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/types.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | pub original_window_pos: RECT, // 新增:保存原始窗口位置 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/types.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | pub points: Vec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DrawingElement { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | rect: RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/types.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub rect: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/types.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | color: D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/types.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub color: D2D1_COLOR_F, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/types.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub rect: D2D_RECT_F, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | self.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/types.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | pub buttons: Vec<(D2D_RECT_F, ToolbarButton, IconData)>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Toolbar { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | self.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/types.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | pub d2d_factory: ID2D1Factory, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | self.rect = RECT { [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/types.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | pub render_target: ID2D1HwndRenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | self.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:263:33 [INFO] [stdout] | [INFO] [stdout] 263 | self.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Bitmap` in this scope [INFO] [stdout] --> src/types.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | pub screenshot_bitmap: ID2D1Bitmap, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/types.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | pub dwrite_factory: IDWriteFactory, [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/types.rs:372:40 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn resize(&mut self, new_rect: RECT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/types.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub text_format: IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:376:38 [INFO] [stdout] | [INFO] [stdout] 376 | self.points[0] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/types.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | pub centered_text_format: IDWriteTextFormat, // 新增:居中文本格式 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:380:38 [INFO] [stdout] | [INFO] [stdout] 380 | self.points[1] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | pub selection_border_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | pub handle_fill_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:394:42 [INFO] [stdout] | [INFO] [stdout] 394 | self.points[0] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub handle_border_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:398:42 [INFO] [stdout] | [INFO] [stdout] 398 | self.points[1] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | pub toolbar_bg_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:411:42 [INFO] [stdout] | [INFO] [stdout] 411 | self.points[0] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | pub button_hover_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:415:42 [INFO] [stdout] | [INFO] [stdout] 415 | self.points[1] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub button_active_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:438:38 [INFO] [stdout] | [INFO] [stdout] 438 | self.points[0] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | pub text_brush: ID2D1SolidColorBrush, [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/types.rs:460:40 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn get_bounding_rect(&self) -> RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/types.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | pub mask_brush: ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:468:28 [INFO] [stdout] | [INFO] [stdout] 468 | return RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1RoundedRectangleGeometry` in this scope [INFO] [stdout] --> src/types.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | pub rounded_rect_geometry: ID2D1RoundedRectangleGeometry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 487 | RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/types.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | pub screenshot_dc: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:494:18 [INFO] [stdout] | [INFO] [stdout] 494 | _ => RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBITMAP` in this scope [INFO] [stdout] --> src/types.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | pub gdi_screenshot_bitmap: HBITMAP, [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/types.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | pub selection_rect: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/types.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | pub drag_start_pos: POINT, [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/types.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | pub drag_start_rect: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/types.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | pub drawing_color: D2D1_COLOR_F, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/types.rs:507:19 [INFO] [stdout] | [INFO] [stdout] 507 | rect: D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/utils.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn d2d_point(x: i32, y: i32) -> D2D_POINT_2F { [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/types.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | pub original_window_pos: RECT, // 新增:保存原始窗口位置 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | D2D_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | rect: RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/utils.rs:17:66 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn d2d_rect(left: i32, top: i32, right: i32, bottom: i32) -> D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/types.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | color: D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | self.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/utils.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | self.rect = RECT { [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/d2d.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(hwnd: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | self.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stdout] --> src/d2d.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | let screen_width = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | self.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stdout] --> src/d2d.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let screen_height = GetSystemMetrics(SM_CYSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:263:33 [INFO] [stdout] | [INFO] [stdout] 263 | self.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/types.rs:372:40 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn resize(&mut self, new_rect: RECT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/d2d.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:376:38 [INFO] [stdout] | [INFO] [stdout] 376 | self.points[0] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:380:38 [INFO] [stdout] | [INFO] [stdout] 380 | self.points[1] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:394:42 [INFO] [stdout] | [INFO] [stdout] 394 | self.points[0] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:398:42 [INFO] [stdout] | [INFO] [stdout] 398 | self.points[1] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/d2d.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | D2D1CreateFactory::(D2D1_FACTORY_TYPE_SINGLE_THREADED, None)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_SINGLE_THREADED` in this scope [INFO] [stdout] --> src/d2d.rs:51:51 [INFO] [stdout] | [INFO] [stdout] 51 | D2D1CreateFactory::(D2D1_FACTORY_TYPE_SINGLE_THREADED, None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/d2d.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | let dwrite_factory: IDWriteFactory = DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:411:42 [INFO] [stdout] | [INFO] [stdout] 411 | self.points[0] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope [INFO] [stdout] --> src/d2d.rs:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | let dwrite_factory: IDWriteFactory = DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:415:42 [INFO] [stdout] | [INFO] [stdout] 415 | self.points[1] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | DWRITE_FONT_WEIGHT_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | DWRITE_FONT_STYLE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | DWRITE_FONT_STRETCH_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | DWRITE_FONT_WEIGHT_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/types.rs:438:38 [INFO] [stdout] | [INFO] [stdout] 438 | self.points[0] = POINT { [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/types.rs:460:40 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn get_bounding_rect(&self) -> RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:468:28 [INFO] [stdout] | [INFO] [stdout] 468 | return RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | DWRITE_FONT_STYLE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 487 | RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/types.rs:494:18 [INFO] [stdout] | [INFO] [stdout] 494 | _ => RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/types.rs:507:19 [INFO] [stdout] | [INFO] [stdout] 507 | rect: D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/utils.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn d2d_point(x: i32, y: i32) -> D2D_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | DWRITE_FONT_STRETCH_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | D2D_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/utils.rs:17:66 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn d2d_rect(left: i32, top: i32, right: i32, bottom: i32) -> D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/utils.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | D2D_RECT_F { [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/d2d.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(hwnd: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stdout] --> src/d2d.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | let screen_width = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_TEXT_ALIGNMENT_CENTER` in this scope [INFO] [stdout] --> src/d2d.rs:77:51 [INFO] [stdout] | [INFO] [stdout] 77 | centered_text_format.SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stdout] --> src/d2d.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let screen_height = GetSystemMetrics(SM_CYSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_PARAGRAPH_ALIGNMENT_CENTER` in this scope [INFO] [stdout] --> src/d2d.rs:78:56 [INFO] [stdout] | [INFO] [stdout] 78 | centered_text_format.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER)?; [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/d2d.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | let render_target_properties = 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/d2d.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | r#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/d2d.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | 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/d2d.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | 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_PREMULTIPLIED` in this scope [INFO] [stdout] --> src/d2d.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED, [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/d2d.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | 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/d2d.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/d2d.rs:93:49 [INFO] [stdout] | [INFO] [stdout] 93 | let hwnd_render_target_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/d2d.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | pixelSize: D2D_SIZE_U { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/d2d.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/d2d.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | D2D1CreateFactory::(D2D1_FACTORY_TYPE_SINGLE_THREADED, None)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_SINGLE_THREADED` in this scope [INFO] [stdout] --> src/d2d.rs:51:51 [INFO] [stdout] | [INFO] [stdout] 51 | D2D1CreateFactory::(D2D1_FACTORY_TYPE_SINGLE_THREADED, None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/d2d.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | let dwrite_factory: IDWriteFactory = DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope [INFO] [stdout] --> src/d2d.rs:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | let dwrite_factory: IDWriteFactory = DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | DWRITE_FONT_WEIGHT_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | DWRITE_FONT_STYLE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | DWRITE_FONT_STRETCH_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | DWRITE_FONT_WEIGHT_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | DWRITE_FONT_STYLE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope [INFO] [stdout] --> src/d2d.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | DWRITE_FONT_STRETCH_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_TEXT_ALIGNMENT_CENTER` in this scope [INFO] [stdout] --> src/d2d.rs:77:51 [INFO] [stdout] | [INFO] [stdout] 77 | centered_text_format.SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_PARAGRAPH_ALIGNMENT_CENTER` in this scope [INFO] [stdout] --> src/d2d.rs:78:56 [INFO] [stdout] | [INFO] [stdout] 78 | centered_text_format.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER)?; [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/d2d.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | let render_target_properties = 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/d2d.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | r#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/d2d.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | 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/d2d.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | 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_PREMULTIPLIED` in this scope [INFO] [stdout] --> src/d2d.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED, [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/d2d.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | 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/d2d.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/d2d.rs:93:49 [INFO] [stdout] | [INFO] [stdout] 93 | let hwnd_render_target_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/d2d.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | pixelSize: D2D_SIZE_U { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/d2d.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | presentOptions: D2D1_PRESENT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/d2d.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | presentOptions: D2D1_PRESENT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ROUNDED_RECT` in this scope [INFO] [stdout] --> src/d2d.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | let rounded_rect = D2D1_ROUNDED_RECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ROUNDED_RECT` in this scope [INFO] [stdout] --> src/d2d.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | let rounded_rect = D2D1_ROUNDED_RECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/d2d.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | rect: D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/d2d.rs:164:33 [INFO] [stdout] | [INFO] [stdout] 164 | selection_rect: RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/d2d.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | rect: D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/d2d.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | drag_start_pos: POINT { x: 0, y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/d2d.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | drag_start_rect: RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/d2d.rs:164:33 [INFO] [stdout] | [INFO] [stdout] 164 | selection_rect: RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | drawing_color: D2D1_COLOR_F { [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/d2d.rs:198:43 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn pin_selection(&mut self, hwnd: HWND) -> Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/d2d.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> src/d2d.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | HWND_TOPMOST, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/d2d.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | drag_start_pos: POINT { x: 0, y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stdout] --> src/d2d.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | SWP_SHOWWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/d2d.rs:263:35 [INFO] [stdout] | [INFO] [stdout] 263 | self.selection_rect = RECT { [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/d2d.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 307 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/d2d.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | drag_start_rect: RECT { [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/d2d.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | +++++++++++++++++++++++ [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/d2d.rs:311:40 [INFO] [stdout] | [INFO] [stdout] 311 | let render_target_properties = 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/d2d.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | r#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/d2d.rs:313:26 [INFO] [stdout] | [INFO] [stdout] 313 | pixelFormat: D2D1_PIXEL_FORMAT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | drawing_color: D2D1_COLOR_F { [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/d2d.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | 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_PREMULTIPLIED` in this scope [INFO] [stdout] --> src/d2d.rs:315:28 [INFO] [stdout] | [INFO] [stdout] 315 | alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED, [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/d2d.rs:319:20 [INFO] [stdout] | [INFO] [stdout] 319 | 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/d2d.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/d2d.rs:323:45 [INFO] [stdout] | [INFO] [stdout] 323 | let hwnd_render_target_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/d2d.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 325 | pixelSize: D2D_SIZE_U { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/d2d.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | presentOptions: D2D1_PRESENT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/d2d.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | render_target: &ID2D1HwndRenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/d2d.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | gdi_dc: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Bitmap` in this scope [INFO] [stdout] --> src/d2d.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/d2d.rs:198:43 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn pin_selection(&mut self, hwnd: HWND) -> Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope [INFO] [stdout] --> src/d2d.rs:375:23 [INFO] [stdout] | [INFO] [stdout] 375 | let mut bmi = BITMAPINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/d2d.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/d2d.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | bmiHeader: BITMAPINFOHEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> src/d2d.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | HWND_TOPMOST, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/d2d.rs:377:45 [INFO] [stdout] | [INFO] [stdout] 377 | biSize: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stdout] --> src/d2d.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | SWP_SHOWWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/d2d.rs:263:35 [INFO] [stdout] | [INFO] [stdout] 263 | self.selection_rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope [INFO] [stdout] --> src/d2d.rs:382:32 [INFO] [stdout] | [INFO] [stdout] 382 | biCompression: BI_RGB.0, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope [INFO] [stdout] --> src/d2d.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | DIB_RGB_COLORS, [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/d2d.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 307 | hwnd: HWND, [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/d2d.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | +++++++++++++++++++++++ [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/d2d.rs:311:40 [INFO] [stdout] | [INFO] [stdout] 311 | let render_target_properties = 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/d2d.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | r#type: D2D1_RENDER_TARGET_TYPE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/d2d.rs:405:60 [INFO] [stdout] | [INFO] [stdout] 405 | BitBlt(temp_dc, 0, 0, width, height, gdi_dc, 0, 0, SRCCOPY)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BITMAP_PROPERTIES` in this scope [INFO] [stdout] --> src/d2d.rs:411:33 [INFO] [stdout] | [INFO] [stdout] 411 | let bitmap_properties = D2D1_BITMAP_PROPERTIES { [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/d2d.rs:412:26 [INFO] [stdout] | [INFO] [stdout] 412 | 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/d2d.rs:413:25 [INFO] [stdout] | [INFO] [stdout] 413 | format: DXGI_FORMAT_B8G8R8A8_UNORM, [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/d2d.rs:313:26 [INFO] [stdout] | [INFO] [stdout] 313 | 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/d2d.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | 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_PREMULTIPLIED` in this scope [INFO] [stdout] --> src/d2d.rs:414:28 [INFO] [stdout] | [INFO] [stdout] 414 | alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_PREMULTIPLIED` in this scope [INFO] [stdout] --> src/d2d.rs:315:28 [INFO] [stdout] | [INFO] [stdout] 315 | alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/d2d.rs:420:20 [INFO] [stdout] | [INFO] [stdout] 420 | let size = D2D_SIZE_U { [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/d2d.rs:437:31 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn paint(&self, 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/d2d.rs:319:20 [INFO] [stdout] | [INFO] [stdout] 319 | usage: D2D1_RENDER_TARGET_USAGE_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:451:44 [INFO] [stdout] | [INFO] [stdout] 451 | self.render_target.Clear(Some(&D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_BITMAP_INTERPOLATION_MODE_LINEAR` in this scope [INFO] [stdout] --> src/d2d.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, [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/d2d.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_ANTIALIAS_MODE_PER_PRIMITIVE` in this scope [INFO] [stdout] --> src/d2d.rs:526:50 [INFO] [stdout] | [INFO] [stdout] 526 | .PushAxisAlignedClip(&clip_rect, D2D1_ANTIALIAS_MODE_PER_PRIMITIVE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/d2d.rs:323:45 [INFO] [stdout] | [INFO] [stdout] 323 | let hwnd_render_target_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/d2d.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 325 | pixelSize: D2D_SIZE_U { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/d2d.rs:552:31 [INFO] [stdout] | [INFO] [stdout] 552 | let source_rect = D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/d2d.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | presentOptions: D2D1_PRESENT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_BITMAP_INTERPOLATION_MODE_LINEAR` in this scope [INFO] [stdout] --> src/d2d.rs:563:17 [INFO] [stdout] | [INFO] [stdout] 563 | D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/d2d.rs:601:35 [INFO] [stdout] | [INFO] [stdout] 601 | let handle_rect = D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_STROKE_STYLE_PROPERTIES` in this scope [INFO] [stdout] --> src/d2d.rs:641:59 [INFO] [stdout] | [INFO] [stdout] 641 | ... let stroke_style_properties = D2D1_STROKE_STYLE_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:642:43 [INFO] [stdout] | [INFO] [stdout] 642 | ... startCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:643:41 [INFO] [stdout] | [INFO] [stdout] 643 | ... endCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:644:42 [INFO] [stdout] | [INFO] [stdout] 644 | ... dashCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_LINE_JOIN_MITER` in this scope [INFO] [stdout] --> src/d2d.rs:645:43 [INFO] [stdout] | [INFO] [stdout] 645 | ... lineJoin: D2D1_LINE_JOIN_MITER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DASH_STYLE_DASH` in this scope [INFO] [stdout] --> src/d2d.rs:647:44 [INFO] [stdout] | [INFO] [stdout] 647 | ... dashStyle: D2D1_DASH_STYLE_DASH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/d2d.rs:679:41 [INFO] [stdout] | [INFO] [stdout] 679 | ... D2D1_DRAW_TEXT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_MEASURING_MODE_NATURAL` in this scope [INFO] [stdout] --> src/d2d.rs:680:41 [INFO] [stdout] | [INFO] [stdout] 680 | ... DWRITE_MEASURING_MODE_NATURAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/d2d.rs:691:41 [INFO] [stdout] | [INFO] [stdout] 691 | ... D2D1_DRAW_TEXT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_MEASURING_MODE_NATURAL` in this scope [INFO] [stdout] --> src/d2d.rs:692:41 [INFO] [stdout] | [INFO] [stdout] 692 | ... DWRITE_MEASURING_MODE_NATURAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ELLIPSE` in this scope [INFO] [stdout] --> src/d2d.rs:723:43 [INFO] [stdout] | [INFO] [stdout] 723 | ... let ellipse = D2D1_ELLIPSE { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/d2d.rs:724:40 [INFO] [stdout] | [INFO] [stdout] 724 | ... point: D2D_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/d2d.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/d2d.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | render_target: &ID2D1HwndRenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ELLIPSE` in this scope [INFO] [stdout] --> src/d2d.rs:852:58 [INFO] [stdout] | [INFO] [stdout] 852 | ... let handle_ellipse = D2D1_ELLIPSE { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/d2d.rs:853:48 [INFO] [stdout] | [INFO] [stdout] 853 | ... point: D2D_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/d2d.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | gdi_dc: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_STROKE_STYLE_PROPERTIES` in this scope [INFO] [stdout] --> src/d2d.rs:894:63 [INFO] [stdout] | [INFO] [stdout] 894 | ... let stroke_style_properties = D2D1_STROKE_STYLE_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:895:47 [INFO] [stdout] | [INFO] [stdout] 895 | ... startCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:896:45 [INFO] [stdout] | [INFO] [stdout] 896 | ... endCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:897:46 [INFO] [stdout] | [INFO] [stdout] 897 | ... dashCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_LINE_JOIN_MITER` in this scope [INFO] [stdout] --> src/d2d.rs:898:47 [INFO] [stdout] | [INFO] [stdout] 898 | ... lineJoin: D2D1_LINE_JOIN_MITER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Bitmap` in this scope [INFO] [stdout] --> src/d2d.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DASH_STYLE_DASH` in this scope [INFO] [stdout] --> src/d2d.rs:900:48 [INFO] [stdout] | [INFO] [stdout] 900 | ... dashStyle: D2D1_DASH_STYLE_DASH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ELLIPSE` in this scope [INFO] [stdout] --> src/d2d.rs:947:62 [INFO] [stdout] | [INFO] [stdout] 947 | ... let handle_ellipse = D2D1_ELLIPSE { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/d2d.rs:948:52 [INFO] [stdout] | [INFO] [stdout] 948 | ... point: D2D_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ROUNDED_RECT` in this scope [INFO] [stdout] --> src/d2d.rs:977:40 [INFO] [stdout] | [INFO] [stdout] 977 | let toolbar_rounded_rect = D2D1_ROUNDED_RECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:1000:39 [INFO] [stdout] | [INFO] [stdout] 1000 | let hover_color = D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope [INFO] [stdout] --> src/d2d.rs:375:23 [INFO] [stdout] | [INFO] [stdout] 375 | let mut bmi = BITMAPINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/d2d.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | bmiHeader: BITMAPINFOHEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ROUNDED_RECT` in this scope [INFO] [stdout] --> src/d2d.rs:1010:51 [INFO] [stdout] | [INFO] [stdout] 1010 | let button_rounded_rect = D2D1_ROUNDED_RECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ROUNDED_RECT` in this scope [INFO] [stdout] --> src/d2d.rs:1030:51 [INFO] [stdout] | [INFO] [stdout] 1030 | let button_rounded_rect = D2D1_ROUNDED_RECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:1043:21 [INFO] [stdout] | [INFO] [stdout] 1043 | D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:1051:21 [INFO] [stdout] | [INFO] [stdout] 1051 | D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:1059:21 [INFO] [stdout] | [INFO] [stdout] 1059 | D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/d2d.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | D2D1_DRAW_TEXT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/d2d.rs:377:45 [INFO] [stdout] | [INFO] [stdout] 377 | biSize: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl WindowState { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_MEASURING_MODE_NATURAL` in this scope [INFO] [stdout] --> src/d2d.rs:1078:25 [INFO] [stdout] | [INFO] [stdout] 1078 | DWRITE_MEASURING_MODE_NATURAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope [INFO] [stdout] --> src/d2d.rs:382:32 [INFO] [stdout] | [INFO] [stdout] 382 | biCompression: BI_RGB.0, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope [INFO] [stdout] --> src/d2d.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | DIB_RGB_COLORS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/d2d.rs:405:60 [INFO] [stdout] | [INFO] [stdout] 405 | BitBlt(temp_dc, 0, 0, width, height, gdi_dc, 0, 0, SRCCOPY)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BITMAP_PROPERTIES` in this scope [INFO] [stdout] --> src/d2d.rs:411:33 [INFO] [stdout] | [INFO] [stdout] 411 | let bitmap_properties = D2D1_BITMAP_PROPERTIES { [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/d2d.rs:412:26 [INFO] [stdout] | [INFO] [stdout] 412 | 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/d2d.rs:413:25 [INFO] [stdout] | [INFO] [stdout] 413 | 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_PREMULTIPLIED` in this scope [INFO] [stdout] --> src/d2d.rs:414:28 [INFO] [stdout] | [INFO] [stdout] 414 | alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/d2d.rs:420:20 [INFO] [stdout] | [INFO] [stdout] 420 | let size = D2D_SIZE_U { [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/d2d.rs:437:31 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn paint(&self, hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:451:44 [INFO] [stdout] | [INFO] [stdout] 451 | self.render_target.Clear(Some(&D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_BITMAP_INTERPOLATION_MODE_LINEAR` in this scope [INFO] [stdout] --> src/d2d.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_ANTIALIAS_MODE_PER_PRIMITIVE` in this scope [INFO] [stdout] --> src/d2d.rs:526:50 [INFO] [stdout] | [INFO] [stdout] 526 | .PushAxisAlignedClip(&clip_rect, D2D1_ANTIALIAS_MODE_PER_PRIMITIVE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/d2d.rs:552:31 [INFO] [stdout] | [INFO] [stdout] 552 | let source_rect = D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_BITMAP_INTERPOLATION_MODE_LINEAR` in this scope [INFO] [stdout] --> src/d2d.rs:563:17 [INFO] [stdout] | [INFO] [stdout] 563 | D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/drawing.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/d2d.rs:601:35 [INFO] [stdout] | [INFO] [stdout] 601 | let handle_rect = D2D_RECT_F { [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/toolbar.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | selection_rect: &RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/toolbar.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | self.rect = D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/toolbar.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let button_rect = D2D_RECT_F { [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/toolbar.rs:107:73 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn handle_toolbar_click(&mut self, button: ToolbarButton, hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_STROKE_STYLE_PROPERTIES` in this scope [INFO] [stdout] --> src/d2d.rs:641:59 [INFO] [stdout] | [INFO] [stdout] 641 | ... let stroke_style_properties = D2D1_STROKE_STYLE_PROPERTIES { [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/toolbar.rs:149:52 [INFO] [stdout] | [INFO] [stdout] 149 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 149 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 149 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:642:43 [INFO] [stdout] | [INFO] [stdout] 642 | ... startCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:643:41 [INFO] [stdout] | [INFO] [stdout] 643 | ... endCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:644:42 [INFO] [stdout] | [INFO] [stdout] 644 | ... dashCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_LINE_JOIN_MITER` in this scope [INFO] [stdout] --> src/d2d.rs:645:43 [INFO] [stdout] | [INFO] [stdout] 645 | ... lineJoin: D2D1_LINE_JOIN_MITER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DASH_STYLE_DASH` in this scope [INFO] [stdout] --> src/d2d.rs:647:44 [INFO] [stdout] | [INFO] [stdout] 647 | ... dashStyle: D2D1_DASH_STYLE_DASH, [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/toolbar.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 183 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 183 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/input.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn handle_left_button_down(&mut self, hwnd: HWND, x: i32, y: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/d2d.rs:679:41 [INFO] [stdout] | [INFO] [stdout] 679 | ... D2D1_DRAW_TEXT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_MEASURING_MODE_NATURAL` in this scope [INFO] [stdout] --> src/d2d.rs:680:41 [INFO] [stdout] | [INFO] [stdout] 680 | ... DWRITE_MEASURING_MODE_NATURAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/d2d.rs:691:41 [INFO] [stdout] | [INFO] [stdout] 691 | ... D2D1_DRAW_TEXT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_MEASURING_MODE_NATURAL` in this scope [INFO] [stdout] --> src/d2d.rs:692:41 [INFO] [stdout] | [INFO] [stdout] 692 | ... DWRITE_MEASURING_MODE_NATURAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ELLIPSE` in this scope [INFO] [stdout] --> src/d2d.rs:723:43 [INFO] [stdout] | [INFO] [stdout] 723 | ... let ellipse = D2D1_ELLIPSE { [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/input.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 63 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 63 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/d2d.rs:724:40 [INFO] [stdout] | [INFO] [stdout] 724 | ... point: D2D_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ELLIPSE` in this scope [INFO] [stdout] --> src/d2d.rs:852:58 [INFO] [stdout] | [INFO] [stdout] 852 | ... let handle_ellipse = D2D1_ELLIPSE { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/d2d.rs:853:48 [INFO] [stdout] | [INFO] [stdout] 853 | ... point: D2D_POINT_2F { [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/input.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 76 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 76 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_STROKE_STYLE_PROPERTIES` in this scope [INFO] [stdout] --> src/d2d.rs:894:63 [INFO] [stdout] | [INFO] [stdout] 894 | ... let stroke_style_properties = D2D1_STROKE_STYLE_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:895:47 [INFO] [stdout] | [INFO] [stdout] 895 | ... startCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:896:45 [INFO] [stdout] | [INFO] [stdout] 896 | ... endCap: D2D1_CAP_STYLE_FLAT, [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/input.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 108 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 108 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | text_element.points.push(POINT { x, y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/input.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | text_element.rect = RECT { [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/input.rs:131:49 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn handle_double_click(&mut self, hwnd: HWND, x: i32, y: i32) { [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/input.rs:138:51 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn handle_left_button_up(&mut self, hwnd: HWND, x: i32, y: i32) { [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/input.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 165 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 165 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/input.rs:169:45 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn handle_key_down(&mut self, hwnd: HWND, key: u32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/input.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | val if val == VK_ESCAPE.0 as u32 => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/input.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | val if val == VK_ESCAPE.0 as u32 => unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RETURN` in this scope [INFO] [stdout] --> src/input.rs:186:27 [INFO] [stdout] | [INFO] [stdout] 186 | val if val == VK_RETURN.0 as u32 => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_Z` in this scope [INFO] [stdout] --> src/input.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | val if val == VK_Z.0 as u32 => unsafe { [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/input.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | if GetKeyState(VK_CONTROL.0 as i32) < 0 { [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/input.rs:195:48 [INFO] [stdout] | [INFO] [stdout] 195 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 195 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 195 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/input.rs:201:59 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn update_pinned_window_position(&mut self, hwnd: HWND, x: i32, y: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_FLAT` in this scope [INFO] [stdout] --> src/d2d.rs:897:46 [INFO] [stdout] | [INFO] [stdout] 897 | ... dashCap: D2D1_CAP_STYLE_FLAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> src/input.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | HWND_TOPMOST, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> src/input.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | SWP_NOSIZE | SWP_NOZORDER, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_LINE_JOIN_MITER` in this scope [INFO] [stdout] --> src/d2d.rs:898:47 [INFO] [stdout] | [INFO] [stdout] 898 | ... lineJoin: D2D1_LINE_JOIN_MITER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/input.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | SWP_NOSIZE | SWP_NOZORDER, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DASH_STYLE_DASH` in this scope [INFO] [stdout] --> src/d2d.rs:900:48 [INFO] [stdout] | [INFO] [stdout] 900 | ... dashStyle: D2D1_DASH_STYLE_DASH, [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/input.rs:225:47 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn handle_mouse_move(&mut self, hwnd: HWND, x: i32, y: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ELLIPSE` in this scope [INFO] [stdout] --> src/d2d.rs:947:62 [INFO] [stdout] | [INFO] [stdout] 947 | ... let handle_ellipse = D2D1_ELLIPSE { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/d2d.rs:948:52 [INFO] [stdout] | [INFO] [stdout] 948 | ... point: D2D_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ROUNDED_RECT` in this scope [INFO] [stdout] --> src/d2d.rs:977:40 [INFO] [stdout] | [INFO] [stdout] 977 | let toolbar_rounded_rect = D2D1_ROUNDED_RECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:1000:39 [INFO] [stdout] | [INFO] [stdout] 1000 | let hover_color = D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ROUNDED_RECT` in this scope [INFO] [stdout] --> src/d2d.rs:1010:51 [INFO] [stdout] | [INFO] [stdout] 1010 | let button_rounded_rect = D2D1_ROUNDED_RECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ROUNDED_RECT` in this scope [INFO] [stdout] --> src/d2d.rs:1030:51 [INFO] [stdout] | [INFO] [stdout] 1030 | let button_rounded_rect = D2D1_ROUNDED_RECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:1043:21 [INFO] [stdout] | [INFO] [stdout] 1043 | D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:1051:21 [INFO] [stdout] | [INFO] [stdout] 1051 | D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/d2d.rs:1059:21 [INFO] [stdout] | [INFO] [stdout] 1059 | D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/d2d.rs:1077:25 [INFO] [stdout] | [INFO] [stdout] 1077 | D2D1_DRAW_TEXT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_MEASURING_MODE_NATURAL` in this scope [INFO] [stdout] --> src/d2d.rs:1078:25 [INFO] [stdout] | [INFO] [stdout] 1078 | DWRITE_MEASURING_MODE_NATURAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/input.rs:234:82 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(cursor) = LoadCursorW(HINSTANCE(std::ptr::null_mut()), IDC_SIZEALL) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_HAND` in this scope [INFO] [stdout] --> src/input.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | IDC_HAND [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/input.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | IDC_SIZEALL [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_CROSS` in this scope [INFO] [stdout] --> src/input.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | IDC_CROSS [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/input.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | IDC_ARROW [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/input.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | IDC_ARROW [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/input.rs:288:40 [INFO] [stdout] | [INFO] [stdout] 288 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 288 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 288 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/input.rs:343:73 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn get_element_handle_at_position(&self, x: i32, y: i32, rect: &RECT) -> DragMode { [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/input.rs:435:20 [INFO] [stdout] | [INFO] [stdout] 435 | return IDC_ARROW; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_HAND` in this scope [INFO] [stdout] --> src/input.rs:447:24 [INFO] [stdout] | [INFO] [stdout] 447 | return IDC_HAND; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENWSE` in this scope [INFO] [stdout] --> src/input.rs:467:41 [INFO] [stdout] | [INFO] [stdout] 467 | ... IDC_SIZENWSE [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENESW` in this scope [INFO] [stdout] --> src/input.rs:470:41 [INFO] [stdout] | [INFO] [stdout] 470 | ... IDC_SIZENESW [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENS` in this scope [INFO] [stdout] --> src/input.rs:473:73 [INFO] [stdout] | [INFO] [stdout] 473 | ... | DragMode::ResizingBottomCenter => IDC_SIZENS, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEWE` in this scope [INFO] [stdout] --> src/input.rs:475:72 [INFO] [stdout] | [INFO] [stdout] 475 | ... | DragMode::ResizingMiddleRight => IDC_SIZEWE, [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/input.rs:476:42 [INFO] [stdout] | [INFO] [stdout] 476 | ... _ => IDC_ARROW, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/input.rs:481:40 [INFO] [stdout] | [INFO] [stdout] 481 | ... return IDC_SIZEALL; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/input.rs:497:32 [INFO] [stdout] | [INFO] [stdout] 497 | return IDC_SIZEALL; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/drawing.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | SRCCOPY, [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/toolbar.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | selection_rect: &RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_CROSS` in this scope [INFO] [stdout] --> src/input.rs:510:41 [INFO] [stdout] | [INFO] [stdout] 510 | DrawingTool::Pen => IDC_CROSS, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/toolbar.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | self.rect = D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/toolbar.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let button_rect = D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_CROSS` in this scope [INFO] [stdout] --> src/input.rs:511:90 [INFO] [stdout] | [INFO] [stdout] 511 | DrawingTool::Rectangle | DrawingTool::Circle | DrawingTool::Arrow => IDC_CROSS, [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/toolbar.rs:107:73 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn handle_toolbar_click(&mut self, button: ToolbarButton, hwnd: HWND) { [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/input.rs:512:42 [INFO] [stdout] | [INFO] [stdout] 512 | DrawingTool::Text => IDC_IBEAM, [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/toolbar.rs:149:52 [INFO] [stdout] | [INFO] [stdout] 149 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 149 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 149 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/input.rs:513:26 [INFO] [stdout] | [INFO] [stdout] 513 | _ => IDC_ARROW, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENWSE` in this scope [INFO] [stdout] --> src/input.rs:520:78 [INFO] [stdout] | [INFO] [stdout] 520 | DragMode::ResizingTopLeft | DragMode::ResizingBottomRight => IDC_SIZENWSE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENESW` in this scope [INFO] [stdout] --> src/input.rs:521:78 [INFO] [stdout] | [INFO] [stdout] 521 | DragMode::ResizingTopRight | DragMode::ResizingBottomLeft => IDC_SIZENESW, [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/toolbar.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 183 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 183 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/input.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn handle_left_button_down(&mut self, hwnd: HWND, x: i32, y: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | self.drag_start_pos = POINT { x, y }; [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/input.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 63 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 63 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/input.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 76 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 76 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENS` in this scope [INFO] [stdout] --> src/input.rs:522:81 [INFO] [stdout] | [INFO] [stdout] 522 | DragMode::ResizingTopCenter | DragMode::ResizingBottomCenter => IDC_SIZENS, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEWE` in this scope [INFO] [stdout] --> src/input.rs:523:81 [INFO] [stdout] | [INFO] [stdout] 523 | DragMode::ResizingMiddleLeft | DragMode::ResizingMiddleRight => IDC_SIZEWE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/input.rs:524:37 [INFO] [stdout] | [INFO] [stdout] 524 | DragMode::Moving => IDC_SIZEALL, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_NO` in this scope [INFO] [stdout] --> src/input.rs:525:22 [INFO] [stdout] | [INFO] [stdout] 525 | _ => IDC_NO, [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/input.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | IDC_ARROW [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/input.rs:543:39 [INFO] [stdout] | [INFO] [stdout] 543 | self.selection_rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:563:49 [INFO] [stdout] | [INFO] [stdout] 563 | ... element.points.push(POINT { [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/input.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 108 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 108 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:573:53 [INFO] [stdout] | [INFO] [stdout] 573 | ... element.points.push(POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:578:53 [INFO] [stdout] | [INFO] [stdout] 578 | ... element.points[1] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/input.rs:587:44 [INFO] [stdout] | [INFO] [stdout] 587 | ... element.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/input.rs:612:43 [INFO] [stdout] | [INFO] [stdout] 612 | self.selection_rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | text_element.points.push(POINT { x, y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:687:57 [INFO] [stdout] | [INFO] [stdout] 687 | ... element.points[0] = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:691:57 [INFO] [stdout] | [INFO] [stdout] 691 | ... element.points[1] = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/input.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | text_element.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:826:55 [INFO] [stdout] | [INFO] [stdout] 826 | ... self.drag_start_pos = POINT { x, y }; [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/input.rs:131:49 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn handle_double_click(&mut self, hwnd: HWND, x: i32, y: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:841:55 [INFO] [stdout] | [INFO] [stdout] 841 | ... self.drag_start_pos = POINT { x, y }; [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/input.rs:138:51 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn handle_left_button_up(&mut self, hwnd: HWND, x: i32, y: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:883:47 [INFO] [stdout] | [INFO] [stdout] 883 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:889:47 [INFO] [stdout] | [INFO] [stdout] 889 | self.drag_start_pos = POINT { x, y }; [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/input.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 165 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 165 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:912:43 [INFO] [stdout] | [INFO] [stdout] 912 | self.drag_start_pos = POINT { x, y }; [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/input.rs:169:45 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn handle_key_down(&mut self, hwnd: HWND, key: u32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:920:53 [INFO] [stdout] | [INFO] [stdout] 920 | ... new_element.points.push(POINT { x, y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:923:53 [INFO] [stdout] | [INFO] [stdout] 923 | ... new_element.points.push(POINT { x, y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:926:53 [INFO] [stdout] | [INFO] [stdout] 926 | ... new_element.points.push(POINT { x, y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:961:43 [INFO] [stdout] | [INFO] [stdout] 961 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:978:39 [INFO] [stdout] | [INFO] [stdout] 978 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/input.rs:979:39 [INFO] [stdout] | [INFO] [stdout] 979 | self.selection_rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/input.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | val if val == VK_ESCAPE.0 as u32 => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/input.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | val if val == VK_ESCAPE.0 as u32 => unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RETURN` in this scope [INFO] [stdout] --> src/input.rs:186:27 [INFO] [stdout] | [INFO] [stdout] 186 | val if val == VK_RETURN.0 as u32 => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_Z` in this scope [INFO] [stdout] --> src/input.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | val if val == VK_Z.0 as u32 => unsafe { [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/input.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | if GetKeyState(VK_CONTROL.0 as i32) < 0 { [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/input.rs:195:48 [INFO] [stdout] | [INFO] [stdout] 195 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 195 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 195 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/input.rs:201:59 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn update_pinned_window_position(&mut self, hwnd: HWND, x: i32, y: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> src/input.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | HWND_TOPMOST, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> src/input.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | SWP_NOSIZE | SWP_NOZORDER, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stdout] --> src/input.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | SWP_NOSIZE | SWP_NOZORDER, [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/input.rs:225:47 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn handle_mouse_move(&mut self, hwnd: HWND, x: i32, y: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/input.rs:234:82 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(cursor) = LoadCursorW(HINSTANCE(std::ptr::null_mut()), IDC_SIZEALL) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_HAND` in this scope [INFO] [stdout] --> src/input.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | IDC_HAND [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/input.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | IDC_SIZEALL [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_CROSS` in this scope [INFO] [stdout] --> src/input.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | IDC_CROSS [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/input.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | IDC_ARROW [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/input.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | IDC_ARROW [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/input.rs:288:40 [INFO] [stdout] | [INFO] [stdout] 288 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 288 - InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] 288 + InvalidateRect(hwnd, None, false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/input.rs:343:73 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn get_element_handle_at_position(&self, x: i32, y: i32, rect: &RECT) -> DragMode { [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/input.rs:435:20 [INFO] [stdout] | [INFO] [stdout] 435 | return IDC_ARROW; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_HAND` in this scope [INFO] [stdout] --> src/input.rs:447:24 [INFO] [stdout] | [INFO] [stdout] 447 | return IDC_HAND; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENWSE` in this scope [INFO] [stdout] --> src/input.rs:467:41 [INFO] [stdout] | [INFO] [stdout] 467 | ... IDC_SIZENWSE [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENESW` in this scope [INFO] [stdout] --> src/input.rs:470:41 [INFO] [stdout] | [INFO] [stdout] 470 | ... IDC_SIZENESW [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENS` in this scope [INFO] [stdout] --> src/input.rs:473:73 [INFO] [stdout] | [INFO] [stdout] 473 | ... | DragMode::ResizingBottomCenter => IDC_SIZENS, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEWE` in this scope [INFO] [stdout] --> src/input.rs:475:72 [INFO] [stdout] | [INFO] [stdout] 475 | ... | DragMode::ResizingMiddleRight => IDC_SIZEWE, [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/input.rs:476:42 [INFO] [stdout] | [INFO] [stdout] 476 | ... _ => IDC_ARROW, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/input.rs:481:40 [INFO] [stdout] | [INFO] [stdout] 481 | ... return IDC_SIZEALL; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/input.rs:497:32 [INFO] [stdout] | [INFO] [stdout] 497 | return IDC_SIZEALL; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_CROSS` in this scope [INFO] [stdout] --> src/input.rs:510:41 [INFO] [stdout] | [INFO] [stdout] 510 | DrawingTool::Pen => IDC_CROSS, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_CROSS` in this scope [INFO] [stdout] --> src/input.rs:511:90 [INFO] [stdout] | [INFO] [stdout] 511 | DrawingTool::Rectangle | DrawingTool::Circle | DrawingTool::Arrow => IDC_CROSS, [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/input.rs:512:42 [INFO] [stdout] | [INFO] [stdout] 512 | DrawingTool::Text => IDC_IBEAM, [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/input.rs:513:26 [INFO] [stdout] | [INFO] [stdout] 513 | _ => IDC_ARROW, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENWSE` in this scope [INFO] [stdout] --> src/input.rs:520:78 [INFO] [stdout] | [INFO] [stdout] 520 | DragMode::ResizingTopLeft | DragMode::ResizingBottomRight => IDC_SIZENWSE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENESW` in this scope [INFO] [stdout] --> src/input.rs:521:78 [INFO] [stdout] | [INFO] [stdout] 521 | DragMode::ResizingTopRight | DragMode::ResizingBottomLeft => IDC_SIZENESW, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENS` in this scope [INFO] [stdout] --> src/input.rs:522:81 [INFO] [stdout] | [INFO] [stdout] 522 | DragMode::ResizingTopCenter | DragMode::ResizingBottomCenter => IDC_SIZENS, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEWE` in this scope [INFO] [stdout] --> src/input.rs:523:81 [INFO] [stdout] | [INFO] [stdout] 523 | DragMode::ResizingMiddleLeft | DragMode::ResizingMiddleRight => IDC_SIZEWE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/input.rs:524:37 [INFO] [stdout] | [INFO] [stdout] 524 | DragMode::Moving => IDC_SIZEALL, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_NO` in this scope [INFO] [stdout] --> src/input.rs:525:22 [INFO] [stdout] | [INFO] [stdout] 525 | _ => IDC_NO, [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/input.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | IDC_ARROW [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/input.rs:543:39 [INFO] [stdout] | [INFO] [stdout] 543 | self.selection_rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:563:49 [INFO] [stdout] | [INFO] [stdout] 563 | ... element.points.push(POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:573:53 [INFO] [stdout] | [INFO] [stdout] 573 | ... element.points.push(POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:578:53 [INFO] [stdout] | [INFO] [stdout] 578 | ... element.points[1] = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/input.rs:587:44 [INFO] [stdout] | [INFO] [stdout] 587 | ... element.rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/input.rs:612:43 [INFO] [stdout] | [INFO] [stdout] 612 | self.selection_rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:687:57 [INFO] [stdout] | [INFO] [stdout] 687 | ... element.points[0] = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:691:57 [INFO] [stdout] | [INFO] [stdout] 691 | ... element.points[1] = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:826:55 [INFO] [stdout] | [INFO] [stdout] 826 | ... self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:841:55 [INFO] [stdout] | [INFO] [stdout] 841 | ... self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:883:47 [INFO] [stdout] | [INFO] [stdout] 883 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:889:47 [INFO] [stdout] | [INFO] [stdout] 889 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:912:43 [INFO] [stdout] | [INFO] [stdout] 912 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:920:53 [INFO] [stdout] | [INFO] [stdout] 920 | ... new_element.points.push(POINT { x, y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:923:53 [INFO] [stdout] | [INFO] [stdout] 923 | ... new_element.points.push(POINT { x, y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:926:53 [INFO] [stdout] | [INFO] [stdout] 926 | ... new_element.points.push(POINT { x, y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:961:43 [INFO] [stdout] | [INFO] [stdout] 961 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/input.rs:978:39 [INFO] [stdout] | [INFO] [stdout] 978 | self.drag_start_pos = POINT { x, y }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/input.rs:979:39 [INFO] [stdout] | [INFO] [stdout] 979 | self.selection_rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/d2d.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(hwnd: HWND) -> Result { [INFO] [stdout] | ^^^^^^ ---- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(hwnd: HWND) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/d2d.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn pin_selection(&mut self, hwnd: HWND) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 198 | pub fn pin_selection(&mut self, hwnd: HWND) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/d2d.rs:310:10 [INFO] [stdout] | [INFO] [stdout] 310 | ) -> Result { [INFO] [stdout] | ^^^^^^ --------------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 310 | ) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/d2d.rs:339:10 [INFO] [stdout] | [INFO] [stdout] 339 | ) -> Result<( [INFO] [stdout] | __________^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected 2 generic arguments [INFO] [stdout] 340 | | ID2D1SolidColorBrush, [INFO] [stdout] 341 | | ID2D1SolidColorBrush, [INFO] [stdout] 342 | | ID2D1SolidColorBrush, [INFO] [stdout] ... | [INFO] [stdout] 347 | | ID2D1SolidColorBrush, [INFO] [stdout] 348 | | )> { [INFO] [stdout] | |_____- supplied 1 generic argument [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 348 | ), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/d2d.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result { [INFO] [stdout] | ^^^^^^ ----------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/drawing.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn save_selection(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 147 | pub fn save_selection(&self) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/d2d.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(hwnd: HWND) -> Result { [INFO] [stdout] | ^^^^^^ ---- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(hwnd: HWND) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/d2d.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn pin_selection(&mut self, hwnd: HWND) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 198 | pub fn pin_selection(&mut self, hwnd: HWND) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/d2d.rs:310:10 [INFO] [stdout] | [INFO] [stdout] 310 | ) -> Result { [INFO] [stdout] | ^^^^^^ --------------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 310 | ) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/d2d.rs:339:10 [INFO] [stdout] | [INFO] [stdout] 339 | ) -> Result<( [INFO] [stdout] | __________^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected 2 generic arguments [INFO] [stdout] 340 | | ID2D1SolidColorBrush, [INFO] [stdout] 341 | | ID2D1SolidColorBrush, [INFO] [stdout] 342 | | ID2D1SolidColorBrush, [INFO] [stdout] ... | [INFO] [stdout] 347 | | ID2D1SolidColorBrush, [INFO] [stdout] 348 | | )> { [INFO] [stdout] | |_____- supplied 1 generic argument [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 348 | ), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/d2d.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result { [INFO] [stdout] | ^^^^^^ ----------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/drawing.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn save_selection(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 147 | pub fn save_selection(&self) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | OsStr::new(s).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitialize` in this scope [INFO] [stdout] --> src/d2d.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | CoInitialize(None); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/d2d.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | let screen_width = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/d2d.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | let screen_height = GetSystemMetrics(SM_CYSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/d2d.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `hwnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/d2d.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/d2d.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let screenshot_dc = CreateCompatibleDC(screen_dc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/d2d.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | CreateCompatibleBitmap(screen_dc, screen_width, screen_height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/d2d.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | SelectObject(screenshot_dc, gdi_screenshot_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/d2d.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/d2d.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `hwnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/d2d.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1CreateFactory` in this scope [INFO] [stdout] --> src/d2d.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | D2D1CreateFactory::(D2D1_FACTORY_TYPE_SINGLE_THREADED, None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DWriteCreateFactory` in this scope [INFO] [stdout] --> src/d2d.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | let dwrite_factory: IDWriteFactory = DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/d2d.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | original_window_pos: RECT::default(), // 新增字段初始化 [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/d2d.rs:209:40 [INFO] [stdout] | [INFO] [stdout] 209 | let mut current_rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/d2d.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | GetWindowRect(hwnd, &mut current_rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/d2d.rs:215:35 [INFO] [stdout] | [INFO] [stdout] 215 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `hwnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/d2d.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/d2d.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | let mem_dc = CreateCompatibleDC(screen_dc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/d2d.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | let bitmap = CreateCompatibleBitmap(screen_dc, 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 `SelectObject` in this scope [INFO] [stdout] --> src/d2d.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | let old_bitmap = SelectObject(mem_dc, bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/d2d.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/d2d.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | SelectObject(mem_dc, old_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/d2d.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | DeleteObject(bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/d2d.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | DeleteDC(mem_dc); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/d2d.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `hwnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/d2d.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/d2d.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RGBQUAD` [INFO] [stdout] --> src/d2d.rs:389:25 [INFO] [stdout] | [INFO] [stdout] 389 | bmiColors: [RGBQUAD::default(); 1], [INFO] [stdout] | ^^^^^^^ use of undeclared type `RGBQUAD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HANDLE` in this scope [INFO] [stdout] --> src/d2d.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | HANDLE(std::ptr::null_mut()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDIBSection` in this scope [INFO] [stdout] --> src/d2d.rs:393:19 [INFO] [stdout] | [INFO] [stdout] 393 | let dib = CreateDIBSection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/d2d.rs:402:23 [INFO] [stdout] | [INFO] [stdout] 402 | let temp_dc = CreateCompatibleDC(gdi_dc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/d2d.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | let old_bitmap = SelectObject(temp_dc, dib); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/d2d.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | BitBlt(temp_dc, 0, 0, width, height, gdi_dc, 0, 0, SRCCOPY)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/d2d.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | SelectObject(temp_dc, old_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/d2d.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | DeleteDC(temp_dc); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/d2d.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | DeleteObject(dib); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT` [INFO] [stdout] --> src/d2d.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | let mut ps = PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/d2d.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | BeginPaint(hwnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> src/d2d.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | EndPaint(hwnd, &ps); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | OsStr::new(s).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitialize` in this scope [INFO] [stdout] --> src/d2d.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | CoInitialize(None); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/d2d.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | let screen_width = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/d2d.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | let screen_height = GetSystemMetrics(SM_CYSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/d2d.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `hwnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/d2d.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/d2d.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let screenshot_dc = CreateCompatibleDC(screen_dc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/d2d.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | CreateCompatibleBitmap(screen_dc, screen_width, screen_height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/d2d.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | SelectObject(screenshot_dc, gdi_screenshot_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/d2d.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/d2d.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `hwnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/d2d.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1CreateFactory` in this scope [INFO] [stdout] --> src/d2d.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | D2D1CreateFactory::(D2D1_FACTORY_TYPE_SINGLE_THREADED, None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DWriteCreateFactory` in this scope [INFO] [stdout] --> src/d2d.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | let dwrite_factory: IDWriteFactory = DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/d2d.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | original_window_pos: RECT::default(), // 新增字段初始化 [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/d2d.rs:209:40 [INFO] [stdout] | [INFO] [stdout] 209 | let mut current_rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/d2d.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | GetWindowRect(hwnd, &mut current_rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/d2d.rs:215:35 [INFO] [stdout] | [INFO] [stdout] 215 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `hwnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/d2d.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/d2d.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | let mem_dc = CreateCompatibleDC(screen_dc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/d2d.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | let bitmap = CreateCompatibleBitmap(screen_dc, 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 `SelectObject` in this scope [INFO] [stdout] --> src/d2d.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | let old_bitmap = SelectObject(mem_dc, bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/d2d.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/d2d.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | SelectObject(mem_dc, old_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/d2d.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | DeleteObject(bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/d2d.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | DeleteDC(mem_dc); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/d2d.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `hwnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/d2d.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/d2d.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RGBQUAD` [INFO] [stdout] --> src/d2d.rs:389:25 [INFO] [stdout] | [INFO] [stdout] 389 | bmiColors: [RGBQUAD::default(); 1], [INFO] [stdout] | ^^^^^^^ use of undeclared type `RGBQUAD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HANDLE` in this scope [INFO] [stdout] --> src/d2d.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | HANDLE(std::ptr::null_mut()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDIBSection` in this scope [INFO] [stdout] --> src/d2d.rs:393:19 [INFO] [stdout] | [INFO] [stdout] 393 | let dib = CreateDIBSection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/d2d.rs:402:23 [INFO] [stdout] | [INFO] [stdout] 402 | let temp_dc = CreateCompatibleDC(gdi_dc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/d2d.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | let old_bitmap = SelectObject(temp_dc, dib); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/d2d.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | BitBlt(temp_dc, 0, 0, width, height, gdi_dc, 0, 0, SRCCOPY)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/d2d.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | SelectObject(temp_dc, old_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/d2d.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | DeleteDC(temp_dc); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/d2d.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | DeleteObject(dib); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT` [INFO] [stdout] --> src/d2d.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | let mut ps = PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/d2d.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | BeginPaint(hwnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> src/d2d.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | EndPaint(hwnd, &ps); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `types::ToolbarButton` cannot be dereferenced [INFO] [stdout] --> src/d2d.rs:998:27 [INFO] [stdout] | [INFO] [stdout] 998 | } else if *button_type == self.toolbar.hovered_button { [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `types::ToolbarButton` cannot be dereferenced [INFO] [stdout] --> src/d2d.rs:1049:27 [INFO] [stdout] | [INFO] [stdout] 1049 | } else if *button_type == self.toolbar.clicked_button { [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/d2d.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | DeleteDC(self.screenshot_dc); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/d2d.rs:1089:13 [INFO] [stdout] | [INFO] [stdout] 1089 | DeleteObject(self.gdi_screenshot_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/d2d.rs:1090:13 [INFO] [stdout] | [INFO] [stdout] 1090 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/drawing.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/drawing.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/drawing.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | let mem_dc = CreateCompatibleDC(screen_dc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/drawing.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | let bitmap = CreateCompatibleBitmap(screen_dc, 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 `SelectObject` in this scope [INFO] [stdout] --> src/drawing.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | let old_bitmap = SelectObject(mem_dc, bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/drawing.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/drawing.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | if OpenClipboard(HWND(std::ptr::null_mut())).is_ok() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenClipboard` in this scope [INFO] [stdout] --> src/drawing.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | if OpenClipboard(HWND(std::ptr::null_mut())).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EmptyClipboard` in this scope [INFO] [stdout] --> src/drawing.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | let _ = EmptyClipboard(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HANDLE` in this scope [INFO] [stdout] --> src/drawing.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | let _ = SetClipboardData(2, HANDLE(bitmap.0 as *mut std::ffi::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 `SetClipboardData` in this scope [INFO] [stdout] --> src/drawing.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | let _ = SetClipboardData(2, HANDLE(bitmap.0 as *mut std::ffi::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 `CloseClipboard` in this scope [INFO] [stdout] --> src/drawing.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | let _ = CloseClipboard(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/drawing.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | DeleteObject(bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/drawing.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | SelectObject(mem_dc, old_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/drawing.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/drawing.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/drawing.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | DeleteDC(mem_dc); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `types::ToolbarButton` cannot be dereferenced [INFO] [stdout] --> src/d2d.rs:998:27 [INFO] [stdout] | [INFO] [stdout] 998 | } else if *button_type == self.toolbar.hovered_button { [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `types::ToolbarButton` cannot be dereferenced [INFO] [stdout] --> src/d2d.rs:1049:27 [INFO] [stdout] | [INFO] [stdout] 1049 | } else if *button_type == self.toolbar.clicked_button { [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/d2d.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | DeleteDC(self.screenshot_dc); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/d2d.rs:1089:13 [INFO] [stdout] | [INFO] [stdout] 1089 | DeleteObject(self.gdi_screenshot_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/d2d.rs:1090:13 [INFO] [stdout] | [INFO] [stdout] 1090 | CoUninitialize(); [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/toolbar.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/toolbar.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCapture` in this scope [INFO] [stdout] --> src/input.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | SetCapture(hwnd); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCapture` in this scope [INFO] [stdout] --> src/input.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | SetCapture(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/input.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | InvalidateRect(hwnd, None, FALSE); [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/input.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCapture` in this scope [INFO] [stdout] --> src/input.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | SetCapture(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/input.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseCapture` in this scope [INFO] [stdout] --> src/input.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | ReleaseCapture(); [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/input.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | InvalidateRect(hwnd, None, FALSE); [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/input.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | unsafe { PostQuitMessage(0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/input.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/input.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | PostQuitMessage(0); [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/input.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | if GetKeyState(VK_CONTROL.0 as i32) < 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/input.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/input.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | let mut window_rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/input.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | GetWindowRect(hwnd, &mut window_rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/input.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope [INFO] [stdout] --> src/input.rs:234:49 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(cursor) = LoadCursorW(HINSTANCE(std::ptr::null_mut()), IDC_SIZEALL) { [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/input.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(cursor) = LoadCursorW(HINSTANCE(std::ptr::null_mut()), IDC_SIZEALL) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/input.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | SetCursor(cursor); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope [INFO] [stdout] --> src/input.rs:281:49 [INFO] [stdout] | [INFO] [stdout] 281 | if let Ok(cursor) = LoadCursorW(HINSTANCE(std::ptr::null_mut()), cursor_id) { [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/input.rs:281:37 [INFO] [stdout] | [INFO] [stdout] 281 | if let Ok(cursor) = LoadCursorW(HINSTANCE(std::ptr::null_mut()), cursor_id) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/input.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | SetCursor(cursor); [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/input.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/drawing.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/drawing.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | let screen_dc = GetDC(HWND(std::ptr::null_mut())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/drawing.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | let mem_dc = CreateCompatibleDC(screen_dc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/drawing.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | let bitmap = CreateCompatibleBitmap(screen_dc, 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 `SelectObject` in this scope [INFO] [stdout] --> src/drawing.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | let old_bitmap = SelectObject(mem_dc, bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/drawing.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/drawing.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | if OpenClipboard(HWND(std::ptr::null_mut())).is_ok() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenClipboard` in this scope [INFO] [stdout] --> src/drawing.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | if OpenClipboard(HWND(std::ptr::null_mut())).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EmptyClipboard` in this scope [INFO] [stdout] --> src/drawing.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | let _ = EmptyClipboard(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HANDLE` in this scope [INFO] [stdout] --> src/drawing.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | let _ = SetClipboardData(2, HANDLE(bitmap.0 as *mut std::ffi::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 `SetClipboardData` in this scope [INFO] [stdout] --> src/drawing.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | let _ = SetClipboardData(2, HANDLE(bitmap.0 as *mut std::ffi::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 `CloseClipboard` in this scope [INFO] [stdout] --> src/drawing.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | let _ = CloseClipboard(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/drawing.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | DeleteObject(bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/drawing.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | SelectObject(mem_dc, old_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/drawing.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/drawing.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | ReleaseDC(HWND(std::ptr::null_mut()), screen_dc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/drawing.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | DeleteDC(mem_dc); [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/toolbar.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/toolbar.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCapture` in this scope [INFO] [stdout] --> src/input.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | SetCapture(hwnd); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCapture` in this scope [INFO] [stdout] --> src/input.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | SetCapture(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/input.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | InvalidateRect(hwnd, None, FALSE); [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/input.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCapture` in this scope [INFO] [stdout] --> src/input.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | SetCapture(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/input.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseCapture` in this scope [INFO] [stdout] --> src/input.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | ReleaseCapture(); [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/input.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | InvalidateRect(hwnd, None, FALSE); [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/input.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | unsafe { PostQuitMessage(0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/input.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/input.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | PostQuitMessage(0); [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/input.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | if GetKeyState(VK_CONTROL.0 as i32) < 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/input.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/input.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | let mut window_rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/input.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | GetWindowRect(hwnd, &mut window_rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/input.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope [INFO] [stdout] --> src/input.rs:234:49 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(cursor) = LoadCursorW(HINSTANCE(std::ptr::null_mut()), IDC_SIZEALL) { [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/input.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(cursor) = LoadCursorW(HINSTANCE(std::ptr::null_mut()), IDC_SIZEALL) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/input.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | SetCursor(cursor); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope [INFO] [stdout] --> src/input.rs:281:49 [INFO] [stdout] | [INFO] [stdout] 281 | if let Ok(cursor) = LoadCursorW(HINSTANCE(std::ptr::null_mut()), cursor_id) { [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/input.rs:281:37 [INFO] [stdout] | [INFO] [stdout] 281 | if let Ok(cursor) = LoadCursorW(HINSTANCE(std::ptr::null_mut()), cursor_id) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/input.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | SetCursor(cursor); [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/input.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | InvalidateRect(hwnd, None, FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0425, E0432, E0433, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0425, E0432, E0433, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc_windows` (lib test) due to 361 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sc_windows` (lib) due to 361 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0212cb2242e54fea82277e31285f95800be52a1a46b9e7cf2948f67b4acf1905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0212cb2242e54fea82277e31285f95800be52a1a46b9e7cf2948f67b4acf1905", kill_on_drop: false }` [INFO] [stdout] 0212cb2242e54fea82277e31285f95800be52a1a46b9e7cf2948f67b4acf1905