[INFO] cloning repository https://github.com/SofiaWinters/joyshop
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SofiaWinters/joyshop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSofiaWinters%2Fjoyshop", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSofiaWinters%2Fjoyshop'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 24334d04aecfde7d78d251865be1b75649052e78
[INFO] checking SofiaWinters/joyshop against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSofiaWinters%2Fjoyshop" "/workspace/builds/worker-82/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-82/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/SofiaWinters/joyshop on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/SofiaWinters/joyshop
[INFO] finished tweaking git repo https://github.com/SofiaWinters/joyshop
[INFO] tweaked toml for git repo https://github.com/SofiaWinters/joyshop written to /workspace/builds/worker-82/source/Cargo.toml
[INFO] crate git repo https://github.com/SofiaWinters/joyshop already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9fca831734732bee9c3b55c446a67605ffaf30f618e11a361dd1b123ca7236cf
[INFO] running `Command { std: "docker" "start" "-a" "9fca831734732bee9c3b55c446a67605ffaf30f618e11a361dd1b123ca7236cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9fca831734732bee9c3b55c446a67605ffaf30f618e11a361dd1b123ca7236cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fca831734732bee9c3b55c446a67605ffaf30f618e11a361dd1b123ca7236cf", kill_on_drop: false }`
[INFO] [stdout] 9fca831734732bee9c3b55c446a67605ffaf30f618e11a361dd1b123ca7236cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03a5e8539b10fc041a79ebe4d797b0d6841cfc9c95a46cd475fca5e2a651ebf9
[INFO] running `Command { std: "docker" "start" "-a" "03a5e8539b10fc041a79ebe4d797b0d6841cfc9c95a46cd475fca5e2a651ebf9", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling proc-macro2 v1.0.24
[INFO] [stderr] Compiling unicode-xid v0.2.1
[INFO] [stderr] Compiling syn v1.0.57
[INFO] [stderr] Checking lazy_static v1.4.0
[INFO] [stderr] Compiling maybe-uninit v2.0.0
[INFO] [stderr] Compiling libc v0.2.82
[INFO] [stderr] Compiling cc v1.0.66
[INFO] [stderr] Compiling serde_derive v1.0.118
[INFO] [stderr] Compiling pkg-config v0.3.19
[INFO] [stderr] Compiling serde v1.0.118
[INFO] [stderr] Checking cfg-if v0.1.10
[INFO] [stderr] Compiling ryu v1.0.5
[INFO] [stderr] Compiling serde_json v1.0.61
[INFO] [stderr] Compiling winapi v0.3.9
[INFO] [stderr] Checking cfg-if v1.0.0
[INFO] [stderr] Checking itoa v0.4.7
[INFO] [stderr] Checking once_cell v1.5.2
[INFO] [stderr] Checking win_key_codes v0.1.2
[INFO] [stderr] Compiling crossbeam-utils v0.7.2
[INFO] [stderr] Compiling crossbeam-utils v0.8.1
[INFO] [stderr] Compiling hidapi-alt-for-hidapi-issue-127 v1.2.1
[INFO] [stderr] Compiling quote v1.0.8
[INFO] [stderr] Checking crossbeam-channel v0.5.0
[INFO] [stderr] Checking crossbeam-channel v0.4.4
[INFO] [stderr] Checking joycon-rs v0.6.1
[INFO] [stderr] Checking joyshop v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi`
[INFO] [stdout] --> src/configuration.rs:6:13
[INFO] [stdout] |
[INFO] [stdout] 6 | use winapi::_core::fmt::Formatter;
[INFO] [stdout] | ^^^^^ could not find `_core` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/key_sender.rs:6:13
[INFO] [stdout] |
[INFO] [stdout] 6 | use winapi::shared::windef::HWND;
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/key_sender.rs:7:13
[INFO] [stdout] |
[INFO] [stdout] 7 | use winapi::um::winuser::{
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi`
[INFO] [stdout] --> src/ui.rs:7:13
[INFO] [stdout] |
[INFO] [stdout] 7 | use winapi::_core::time::Duration;
[INFO] [stdout] | ^^^^^ could not find `_core` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/ui.rs:8:13
[INFO] [stdout] |
[INFO] [stdout] 8 | use winapi::shared::minwindef::{FALSE, LPARAM, LRESULT, TRUE, UINT, WPARAM};
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/ui.rs:9:13
[INFO] [stdout] |
[INFO] [stdout] 9 | use winapi::shared::windef::{HWND, POINT, RECT};
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/ui.rs:10:13
[INFO] [stdout] |
[INFO] [stdout] 10 | use winapi::um::wingdi::{GetStockObject, SelectObject, DEFAULT_GUI_FONT};
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/ui.rs:11:13
[INFO] [stdout] |
[INFO] [stdout] 11 | use winapi::um::winuser::{
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/window.rs:3:13
[INFO] [stdout] |
[INFO] [stdout] 3 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM};
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/window.rs:4:13
[INFO] [stdout] |
[INFO] [stdout] 4 | use winapi::shared::windef::{HBRUSH, HWND};
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/window.rs:5:13
[INFO] [stdout] |
[INFO] [stdout] 5 | use winapi::um::wingdi::{GetStockObject, WHITE_BRUSH};
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/window.rs:6:13
[INFO] [stdout] |
[INFO] [stdout] 6 | use winapi::um::winuser::{
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi`
[INFO] [stdout] --> src/configuration.rs:6:13
[INFO] [stdout] |
[INFO] [stdout] 6 | use winapi::_core::fmt::Formatter;
[INFO] [stdout] | ^^^^^ could not find `_core` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/key_sender.rs:6:13
[INFO] [stdout] |
[INFO] [stdout] 6 | use winapi::shared::windef::HWND;
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/key_sender.rs:7:13
[INFO] [stdout] |
[INFO] [stdout] 7 | use winapi::um::winuser::{
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi`
[INFO] [stdout] --> src/ui.rs:7:13
[INFO] [stdout] |
[INFO] [stdout] 7 | use winapi::_core::time::Duration;
[INFO] [stdout] | ^^^^^ could not find `_core` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/ui.rs:8:13
[INFO] [stdout] |
[INFO] [stdout] 8 | use winapi::shared::minwindef::{FALSE, LPARAM, LRESULT, TRUE, UINT, WPARAM};
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/ui.rs:9:13
[INFO] [stdout] |
[INFO] [stdout] 9 | use winapi::shared::windef::{HWND, POINT, RECT};
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/ui.rs:10:13
[INFO] [stdout] |
[INFO] [stdout] 10 | use winapi::um::wingdi::{GetStockObject, SelectObject, DEFAULT_GUI_FONT};
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/ui.rs:11:13
[INFO] [stdout] |
[INFO] [stdout] 11 | use winapi::um::winuser::{
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/window.rs:3:13
[INFO] [stdout] |
[INFO] [stdout] 3 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM};
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/window.rs:4:13
[INFO] [stdout] |
[INFO] [stdout] 4 | use winapi::shared::windef::{HBRUSH, HWND};
[INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/window.rs:5:13
[INFO] [stdout] |
[INFO] [stdout] 5 | use winapi::um::wingdi::{GetStockObject, WHITE_BRUSH};
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout] --> src/window.rs:6:13
[INFO] [stdout] |
[INFO] [stdout] 6 | use winapi::um::winuser::{
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope
[INFO] [stdout] --> src/configuration.rs:195:27
[INFO] [stdout] |
[INFO] [stdout] 195 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 1 | use core::fmt::Formatter;
[INFO] [stdout] |
[INFO] [stdout] 1 | use serde::export::Formatter;
[INFO] [stdout] |
[INFO] [stdout] 1 | use serde_json::ser::Formatter;
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::fmt::Formatter;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/key_sender.rs:13:34
[INFO] [stdout] |
[INFO] [stdout] 13 | fn ImmGetDefaultIMEWnd(hwnd: HWND) -> HWND;
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/key_sender.rs:13:43
[INFO] [stdout] |
[INFO] [stdout] 13 | fn ImmGetDefaultIMEWnd(hwnd: HWND) -> HWND;
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope
[INFO] [stdout] --> src/configuration.rs:195:27
[INFO] [stdout] |
[INFO] [stdout] 195 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 1 | use core::fmt::Formatter;
[INFO] [stdout] |
[INFO] [stdout] 1 | use serde::export::Formatter;
[INFO] [stdout] |
[INFO] [stdout] 1 | use serde_json::ser::Formatter;
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::fmt::Formatter;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/key_sender.rs:13:34
[INFO] [stdout] |
[INFO] [stdout] 13 | fn ImmGetDefaultIMEWnd(hwnd: HWND) -> HWND;
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout] --> src/key_sender.rs:19:53
[INFO] [stdout] |
[INFO] [stdout] 19 | let ime_window_handle = ImmGetDefaultIMEWnd(GetForegroundWindow());
[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/key_sender.rs:13:43
[INFO] [stdout] |
[INFO] [stdout] 13 | fn ImmGetDefaultIMEWnd(hwnd: HWND) -> HWND;
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout] --> src/key_sender.rs:19:53
[INFO] [stdout] |
[INFO] [stdout] 19 | let ime_window_handle = ImmGetDefaultIMEWnd(GetForegroundWindow());
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope
[INFO] [stdout] --> src/key_sender.rs:20:9
[INFO] [stdout] |
[INFO] [stdout] 20 | SendMessageW(ime_window_handle, WM_IME_CONTROL, IMC_GETOPENSTATUS, 0);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope
[INFO] [stdout] --> src/key_sender.rs:20:9
[INFO] [stdout] |
[INFO] [stdout] 20 | SendMessageW(ime_window_handle, WM_IME_CONTROL, IMC_GETOPENSTATUS, 0);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WM_IME_CONTROL` in this scope
[INFO] [stdout] --> src/key_sender.rs:20:41
[INFO] [stdout] |
[INFO] [stdout] 20 | SendMessageW(ime_window_handle, WM_IME_CONTROL, IMC_GETOPENSTATUS, 0);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WM_IME_CONTROL` in this scope
[INFO] [stdout] --> src/key_sender.rs:20:41
[INFO] [stdout] |
[INFO] [stdout] 20 | SendMessageW(ime_window_handle, WM_IME_CONTROL, IMC_GETOPENSTATUS, 0);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/key_sender.rs:100:39
[INFO] [stdout] |
[INFO] [stdout] 99 | fn send_input(key: i32, down: bool) {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] 100 | let mut input = unsafe { zeroed::() };
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/key_sender.rs:100:39
[INFO] [stdout] |
[INFO] [stdout] 99 | fn send_input(key: i32, down: bool) {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] 100 | let mut input = unsafe { zeroed::() };
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout] --> src/key_sender.rs:101:19
[INFO] [stdout] |
[INFO] [stdout] 101 | input.type_ = INPUT_KEYBOARD;
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout] --> src/key_sender.rs:101:19
[INFO] [stdout] |
[INFO] [stdout] 101 | input.type_ = INPUT_KEYBOARD;
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout] --> src/key_sender.rs:108:22
[INFO] [stdout] |
[INFO] [stdout] 108 | ki.dwFlags = KEYEVENTF_KEYUP;
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout] --> src/key_sender.rs:108:22
[INFO] [stdout] |
[INFO] [stdout] 108 | ki.dwFlags = KEYEVENTF_KEYUP;
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout] --> src/key_sender.rs:113:9
[INFO] [stdout] |
[INFO] [stdout] 113 | SendInput(
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout] --> src/key_sender.rs:113:9
[INFO] [stdout] |
[INFO] [stdout] 113 | SendInput(
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/key_sender.rs:116:23
[INFO] [stdout] |
[INFO] [stdout] 99 | fn send_input(key: i32, down: bool) {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 116 | size_of::().try_into().unwrap(),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/key_sender.rs:116:23
[INFO] [stdout] |
[INFO] [stdout] 99 | fn send_input(key: i32, down: bool) {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 116 | size_of::().try_into().unwrap(),
[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/ui.rs:39:37
[INFO] [stdout] |
[INFO] [stdout] 39 | let mut last_point: POINT = zeroed();
[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/ui.rs:39:37
[INFO] [stdout] |
[INFO] [stdout] 39 | let mut last_point: POINT = zeroed();
[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/ui.rs:41:36
[INFO] [stdout] |
[INFO] [stdout] 41 | let mut point: POINT = zeroed();
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout] --> src/ui.rs:42:21
[INFO] [stdout] |
[INFO] [stdout] 42 | GetCursorPos(&mut point);
[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/ui.rs:41:36
[INFO] [stdout] |
[INFO] [stdout] 41 | let mut point: POINT = zeroed();
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout] --> src/ui.rs:42:21
[INFO] [stdout] |
[INFO] [stdout] 42 | GetCursorPos(&mut point);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout] --> src/ui.rs:44:43
[INFO] [stdout] |
[INFO] [stdout] 44 | match rx.recv_timeout(Duration::from_millis(0)) {
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 1 | use core::time::Duration;
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::time::Duration;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope
[INFO] [stdout] --> src/ui.rs:47:29
[INFO] [stdout] |
[INFO] [stdout] 47 | ... SetLayeredWindowAttributes(window_handle.into(), 0, 120, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout] --> src/ui.rs:44:43
[INFO] [stdout] |
[INFO] [stdout] 44 | match rx.recv_timeout(Duration::from_millis(0)) {
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 1 | use core::time::Duration;
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::time::Duration;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope
[INFO] [stdout] --> src/ui.rs:47:86
[INFO] [stdout] |
[INFO] [stdout] 47 | ... SetLayeredWindowAttributes(window_handle.into(), 0, 120, LWA_ALPHA);
[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/ui.rs:48:29
[INFO] [stdout] |
[INFO] [stdout] 48 | ... InvalidateRect(window_handle.into(), null_mut(), TRUE);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope
[INFO] [stdout] --> src/ui.rs:47:29
[INFO] [stdout] |
[INFO] [stdout] 47 | ... SetLayeredWindowAttributes(window_handle.into(), 0, 120, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout] --> src/ui.rs:48:78
[INFO] [stdout] |
[INFO] [stdout] 48 | ... InvalidateRect(window_handle.into(), null_mut(), TRUE);
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope
[INFO] [stdout] --> src/ui.rs:47:86
[INFO] [stdout] |
[INFO] [stdout] 47 | ... SetLayeredWindowAttributes(window_handle.into(), 0, 120, LWA_ALPHA);
[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/ui.rs:48:29
[INFO] [stdout] |
[INFO] [stdout] 48 | ... InvalidateRect(window_handle.into(), null_mut(), TRUE);
[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/ui.rs:54:24
[INFO] [stdout] |
[INFO] [stdout] 54 | if GetKeyState(VK_LBUTTON) < 0 {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout] --> src/ui.rs:48:78
[INFO] [stdout] |
[INFO] [stdout] 48 | ... InvalidateRect(window_handle.into(), null_mut(), TRUE);
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope
[INFO] [stdout] --> src/ui.rs:55:25
[INFO] [stdout] |
[INFO] [stdout] 55 | SetLayeredWindowAttributes(window_handle.into(), 0, 0, LWA_ALPHA);
[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/ui.rs:54:24
[INFO] [stdout] |
[INFO] [stdout] 54 | if GetKeyState(VK_LBUTTON) < 0 {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope
[INFO] [stdout] --> src/ui.rs:55:80
[INFO] [stdout] |
[INFO] [stdout] 55 | SetLayeredWindowAttributes(window_handle.into(), 0, 0, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope
[INFO] [stdout] --> src/ui.rs:55:25
[INFO] [stdout] |
[INFO] [stdout] 55 | SetLayeredWindowAttributes(window_handle.into(), 0, 0, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope
[INFO] [stdout] --> src/ui.rs:61:25
[INFO] [stdout] |
[INFO] [stdout] 61 | SetLayeredWindowAttributes(window_handle.into(), 0, 0, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope
[INFO] [stdout] --> src/ui.rs:61:80
[INFO] [stdout] |
[INFO] [stdout] 61 | SetLayeredWindowAttributes(window_handle.into(), 0, 0, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope
[INFO] [stdout] --> src/ui.rs:55:80
[INFO] [stdout] |
[INFO] [stdout] 55 | SetLayeredWindowAttributes(window_handle.into(), 0, 0, LWA_ALPHA);
[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/ui.rs:64:21
[INFO] [stdout] |
[INFO] [stdout] 64 | SetWindowPos(
[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/ui.rs:66:25
[INFO] [stdout] |
[INFO] [stdout] 66 | 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/ui.rs:71:25
[INFO] [stdout] |
[INFO] [stdout] 71 | SWP_NOSIZE,
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout] --> src/ui.rs:73:27
[INFO] [stdout] |
[INFO] [stdout] 73 | sleep(Duration::from_millis(1));
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 1 | use core::time::Duration;
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::time::Duration;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope
[INFO] [stdout] --> src/ui.rs:61:25
[INFO] [stdout] |
[INFO] [stdout] 61 | SetLayeredWindowAttributes(window_handle.into(), 0, 0, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout] --> src/ui.rs:78:22
[INFO] [stdout] |
[INFO] [stdout] 78 | let mut msg: MSG = zeroed();
[INFO] [stdout] | ^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout] --> src/ui.rs:80:16
[INFO] [stdout] |
[INFO] [stdout] 80 | if GetMessageW(&mut msg, null_mut(), 0, 0) == FALSE {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope
[INFO] [stdout] --> src/ui.rs:61:80
[INFO] [stdout] |
[INFO] [stdout] 61 | SetLayeredWindowAttributes(window_handle.into(), 0, 0, LWA_ALPHA);
[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/ui.rs:80:59
[INFO] [stdout] |
[INFO] [stdout] 80 | if GetMessageW(&mut msg, null_mut(), 0, 0) == FALSE {
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout] --> src/ui.rs:84:13
[INFO] [stdout] |
[INFO] [stdout] 84 | TranslateMessage(&mut msg);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout] --> src/ui.rs:64:21
[INFO] [stdout] |
[INFO] [stdout] 64 | SetWindowPos(
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout] --> src/ui.rs:85:13
[INFO] [stdout] |
[INFO] [stdout] 85 | DispatchMessageW(&mut msg);
[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/ui.rs:91:20
[INFO] [stdout] |
[INFO] [stdout] 91 | window_handle: HWND,
[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/ui.rs:66:25
[INFO] [stdout] |
[INFO] [stdout] 66 | HWND_TOPMOST,
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout] --> src/ui.rs:92:14
[INFO] [stdout] |
[INFO] [stdout] 92 | message: UINT,
[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/ui.rs:71:25
[INFO] [stdout] |
[INFO] [stdout] 71 | SWP_NOSIZE,
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout] --> src/ui.rs:93:13
[INFO] [stdout] |
[INFO] [stdout] 93 | wparam: WPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout] --> src/ui.rs:94:13
[INFO] [stdout] |
[INFO] [stdout] 94 | lparam: LPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout] --> src/ui.rs:73:27
[INFO] [stdout] |
[INFO] [stdout] 73 | sleep(Duration::from_millis(1));
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 1 | use core::time::Duration;
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::time::Duration;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout] --> src/ui.rs:78:22
[INFO] [stdout] |
[INFO] [stdout] 78 | let mut msg: MSG = zeroed();
[INFO] [stdout] | ^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout] --> src/ui.rs:95:6
[INFO] [stdout] |
[INFO] [stdout] 95 | ) -> LRESULT {
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout] --> src/ui.rs:80:16
[INFO] [stdout] |
[INFO] [stdout] 80 | if GetMessageW(&mut msg, null_mut(), 0, 0) == FALSE {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stdout] --> src/ui.rs:99:25
[INFO] [stdout] |
[INFO] [stdout] 99 | let mut ps: PAINTSTRUCT = zeroed();
[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/ui.rs:80:59
[INFO] [stdout] |
[INFO] [stdout] 80 | if GetMessageW(&mut msg, null_mut(), 0, 0) == FALSE {
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope
[INFO] [stdout] --> src/ui.rs:100:23
[INFO] [stdout] |
[INFO] [stdout] 100 | let hdc = BeginPaint(window_handle, &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 `TranslateMessage` in this scope
[INFO] [stdout] --> src/ui.rs:84:13
[INFO] [stdout] |
[INFO] [stdout] 84 | TranslateMessage(&mut msg);
[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/ui.rs:101:27
[INFO] [stdout] |
[INFO] [stdout] 101 | let mut rect: RECT = zeroed();
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout] --> src/ui.rs:85:13
[INFO] [stdout] |
[INFO] [stdout] 85 | DispatchMessageW(&mut msg);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in this scope
[INFO] [stdout] --> src/ui.rs:103:24
[INFO] [stdout] |
[INFO] [stdout] 103 | let font = GetStockObject(DEFAULT_GUI_FONT as 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/ui.rs:91:20
[INFO] [stdout] |
[INFO] [stdout] 91 | window_handle: HWND,
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `DEFAULT_GUI_FONT` in this scope
[INFO] [stdout] --> src/ui.rs:103:39
[INFO] [stdout] |
[INFO] [stdout] 103 | let font = GetStockObject(DEFAULT_GUI_FONT as i32);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout] --> src/ui.rs:92:14
[INFO] [stdout] |
[INFO] [stdout] 92 | message: UINT,
[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/ui.rs:104:13
[INFO] [stdout] |
[INFO] [stdout] 104 | SelectObject(hdc, font);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout] --> src/ui.rs:93:13
[INFO] [stdout] |
[INFO] [stdout] 93 | wparam: WPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawTextW` in this scope
[INFO] [stdout] --> src/ui.rs:106:13
[INFO] [stdout] |
[INFO] [stdout] 106 | DrawTextW(
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout] --> src/ui.rs:94:13
[INFO] [stdout] |
[INFO] [stdout] 94 | lparam: LPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `DT_CALCRECT` in this scope
[INFO] [stdout] --> src/ui.rs:111:17
[INFO] [stdout] |
[INFO] [stdout] 111 | DT_CALCRECT,
[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/ui.rs:114:13
[INFO] [stdout] |
[INFO] [stdout] 114 | SetWindowPos(
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout] --> src/ui.rs:95:6
[INFO] [stdout] |
[INFO] [stdout] 95 | ) -> LRESULT {
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope
[INFO] [stdout] --> src/ui.rs:116:17
[INFO] [stdout] |
[INFO] [stdout] 116 | HWND_TOP,
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope
[INFO] [stdout] --> src/ui.rs:121:17
[INFO] [stdout] |
[INFO] [stdout] 121 | SWP_NOMOVE,
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stdout] --> src/ui.rs:99:25
[INFO] [stdout] |
[INFO] [stdout] 99 | let mut ps: PAINTSTRUCT = zeroed();
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawTextW` in this scope
[INFO] [stdout] --> src/ui.rs:124:13
[INFO] [stdout] |
[INFO] [stdout] 124 | DrawTextW(
[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/ui.rs:132:13
[INFO] [stdout] |
[INFO] [stdout] 132 | EndPaint(window_handle, &ps);
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope
[INFO] [stdout] --> src/ui.rs:100:23
[INFO] [stdout] |
[INFO] [stdout] 100 | let hdc = BeginPaint(window_handle, &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 `PostQuitMessage` in this scope
[INFO] [stdout] --> src/ui.rs:136:13
[INFO] [stdout] |
[INFO] [stdout] 136 | PostQuitMessage(0);
[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/ui.rs:101:27
[INFO] [stdout] |
[INFO] [stdout] 101 | let mut rect: RECT = zeroed();
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout] --> src/ui.rs:139:14
[INFO] [stdout] |
[INFO] [stdout] 139 | _ => DefWindowProcW(window_handle, message, wparam, lparam),
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in this scope
[INFO] [stdout] --> src/ui.rs:103:24
[INFO] [stdout] |
[INFO] [stdout] 103 | let font = GetStockObject(DEFAULT_GUI_FONT as 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/window.rs:24:11
[INFO] [stdout] |
[INFO] [stdout] 24 | impl From for Handle {
[INFO] [stdout] | - ^^^^ not found in this scope
[INFO] [stdout] | |
[INFO] [stdout] | help: you might be missing a type parameter: ``
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `DEFAULT_GUI_FONT` in this scope
[INFO] [stdout] --> src/ui.rs:103:39
[INFO] [stdout] |
[INFO] [stdout] 103 | let font = GetStockObject(DEFAULT_GUI_FONT as i32);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout] --> src/ui.rs:104:13
[INFO] [stdout] |
[INFO] [stdout] 104 | SelectObject(hdc, font);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/window.rs:25:19
[INFO] [stdout] |
[INFO] [stdout] 25 | fn from(hwnd: HWND) -> Self {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/window.rs:30:23
[INFO] [stdout] |
[INFO] [stdout] 30 | impl From for HWND {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawTextW` in this scope
[INFO] [stdout] --> src/ui.rs:106:13
[INFO] [stdout] |
[INFO] [stdout] 106 | DrawTextW(
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `DT_CALCRECT` in this scope
[INFO] [stdout] --> src/ui.rs:111:17
[INFO] [stdout] |
[INFO] [stdout] 111 | DT_CALCRECT,
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/window.rs:45:28
[INFO] [stdout] |
[INFO] [stdout] 45 | window_handle: HWND,
[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/ui.rs:114:13
[INFO] [stdout] |
[INFO] [stdout] 114 | SetWindowPos(
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout] --> src/window.rs:46:22
[INFO] [stdout] |
[INFO] [stdout] 46 | message: UINT,
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope
[INFO] [stdout] --> src/ui.rs:116:17
[INFO] [stdout] |
[INFO] [stdout] 116 | HWND_TOP,
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout] --> src/window.rs:47:21
[INFO] [stdout] |
[INFO] [stdout] 47 | wparam: WPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope
[INFO] [stdout] --> src/ui.rs:121:17
[INFO] [stdout] |
[INFO] [stdout] 121 | SWP_NOMOVE,
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout] --> src/window.rs:48:21
[INFO] [stdout] |
[INFO] [stdout] 48 | lparam: LPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout] --> src/window.rs:49:14
[INFO] [stdout] |
[INFO] [stdout] 49 | ) -> LRESULT,
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawTextW` in this scope
[INFO] [stdout] --> src/ui.rs:124:13
[INFO] [stdout] |
[INFO] [stdout] 124 | DrawTextW(
[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/ui.rs:132:13
[INFO] [stdout] |
[INFO] [stdout] 132 | EndPaint(window_handle, &ps);
[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/ui.rs:136:13
[INFO] [stdout] |
[INFO] [stdout] 136 | 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 `ShowWindow` in this scope
[INFO] [stdout] --> src/window.rs:54:13
[INFO] [stdout] |
[INFO] [stdout] 54 | ShowWindow(window_handle, SW_NORMAL);
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in this scope
[INFO] [stdout] --> src/window.rs:54:39
[INFO] [stdout] |
[INFO] [stdout] 54 | ShowWindow(window_handle, SW_NORMAL);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope
[INFO] [stdout] --> src/window.rs:55:13
[INFO] [stdout] |
[INFO] [stdout] 55 | UpdateWindow(window_handle);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout] --> src/ui.rs:139:14
[INFO] [stdout] |
[INFO] [stdout] 139 | _ => DefWindowProcW(window_handle, message, wparam, lparam),
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope
[INFO] [stdout] --> src/window.rs:57:13
[INFO] [stdout] |
[INFO] [stdout] 57 | SetLayeredWindowAttributes(window_handle, 0, 0, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope
[INFO] [stdout] --> src/window.rs:57:61
[INFO] [stdout] |
[INFO] [stdout] 57 | SetLayeredWindowAttributes(window_handle, 0, 0, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/window.rs:24:11
[INFO] [stdout] |
[INFO] [stdout] 24 | impl From for Handle {
[INFO] [stdout] | - ^^^^ not found in this scope
[INFO] [stdout] | |
[INFO] [stdout] | help: you might be missing a type parameter: ``
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope
[INFO] [stdout] --> src/window.rs:58:29
[INFO] [stdout] |
[INFO] [stdout] 58 | let mut style = GetWindowLongW(window_handle, GWL_STYLE);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stdout] --> src/window.rs:58:59
[INFO] [stdout] |
[INFO] [stdout] 58 | let mut style = GetWindowLongW(window_handle, GWL_STYLE);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/window.rs:25:19
[INFO] [stdout] |
[INFO] [stdout] 25 | fn from(hwnd: HWND) -> Self {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope
[INFO] [stdout] --> src/window.rs:59:31
[INFO] [stdout] |
[INFO] [stdout] 59 | style = style & !(WS_CAPTION as 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/window.rs:30:23
[INFO] [stdout] |
[INFO] [stdout] 30 | impl From for HWND {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongW` in this scope
[INFO] [stdout] --> src/window.rs:60:13
[INFO] [stdout] |
[INFO] [stdout] 60 | SetWindowLongW(window_handle, GWL_STYLE, style);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/window.rs:45:28
[INFO] [stdout] |
[INFO] [stdout] 45 | window_handle: HWND,
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stdout] --> src/window.rs:60:43
[INFO] [stdout] |
[INFO] [stdout] 60 | SetWindowLongW(window_handle, GWL_STYLE, style);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout] --> src/window.rs:46:22
[INFO] [stdout] |
[INFO] [stdout] 46 | message: UINT,
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/window.rs:68:67
[INFO] [stdout] |
[INFO] [stdout] 68 | pub fn create_window(window_title: &str, class_name: &str) -> HWND {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout] --> src/window.rs:47:21
[INFO] [stdout] |
[INFO] [stdout] 47 | wparam: WPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout] --> src/window.rs:70:13
[INFO] [stdout] |
[INFO] [stdout] 70 | CreateWindowExW(
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope
[INFO] [stdout] --> src/window.rs:71:17
[INFO] [stdout] |
[INFO] [stdout] 71 | WS_EX_LAYERED | WS_EX_TRANSPARENT,
[INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout] --> src/window.rs:48:21
[INFO] [stdout] |
[INFO] [stdout] 48 | lparam: LPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope
[INFO] [stdout] --> src/window.rs:71:33
[INFO] [stdout] |
[INFO] [stdout] 71 | WS_EX_LAYERED | WS_EX_TRANSPARENT,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout] --> src/window.rs:49:14
[INFO] [stdout] |
[INFO] [stdout] 49 | ) -> LRESULT,
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/window.rs:90:28
[INFO] [stdout] |
[INFO] [stdout] 90 | window_handle: HWND,
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stdout] --> src/window.rs:54:13
[INFO] [stdout] |
[INFO] [stdout] 54 | ShowWindow(window_handle, SW_NORMAL);
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in this scope
[INFO] [stdout] --> src/window.rs:54:39
[INFO] [stdout] |
[INFO] [stdout] 54 | ShowWindow(window_handle, SW_NORMAL);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout] --> src/window.rs:91:22
[INFO] [stdout] |
[INFO] [stdout] 91 | message: UINT,
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope
[INFO] [stdout] --> src/window.rs:55:13
[INFO] [stdout] |
[INFO] [stdout] 55 | UpdateWindow(window_handle);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout] --> src/window.rs:92:21
[INFO] [stdout] |
[INFO] [stdout] 92 | wparam: WPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope
[INFO] [stdout] --> src/window.rs:57:13
[INFO] [stdout] |
[INFO] [stdout] 57 | SetLayeredWindowAttributes(window_handle, 0, 0, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout] --> src/window.rs:93:21
[INFO] [stdout] |
[INFO] [stdout] 93 | lparam: LPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope
[INFO] [stdout] --> src/window.rs:57:61
[INFO] [stdout] |
[INFO] [stdout] 57 | SetLayeredWindowAttributes(window_handle, 0, 0, LWA_ALPHA);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout] --> src/window.rs:94:14
[INFO] [stdout] |
[INFO] [stdout] 94 | ) -> LRESULT,
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope
[INFO] [stdout] --> src/window.rs:58:29
[INFO] [stdout] |
[INFO] [stdout] 58 | let mut style = GetWindowLongW(window_handle, GWL_STYLE);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stdout] --> src/window.rs:97:28
[INFO] [stdout] |
[INFO] [stdout] 97 | let window_class = WNDCLASSEXW {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stdout] --> src/window.rs:58:59
[INFO] [stdout] |
[INFO] [stdout] 58 | let mut style = GetWindowLongW(window_handle, GWL_STYLE);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope
[INFO] [stdout] --> src/window.rs:59:31
[INFO] [stdout] |
[INFO] [stdout] 59 | style = style & !(WS_CAPTION as i32);
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stdout] --> src/window.rs:98:31
[INFO] [stdout] |
[INFO] [stdout] 40 | impl Window {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 98 | cbSize: size_of::() as u32,
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stdout] --> src/window.rs:99:20
[INFO] [stdout] |
[INFO] [stdout] 99 | style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongW` in this scope
[INFO] [stdout] --> src/window.rs:60:13
[INFO] [stdout] |
[INFO] [stdout] 60 | SetWindowLongW(window_handle, GWL_STYLE, style);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stdout] --> src/window.rs:60:43
[INFO] [stdout] |
[INFO] [stdout] 60 | SetWindowLongW(window_handle, GWL_STYLE, style);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stdout] --> src/window.rs:99:33
[INFO] [stdout] |
[INFO] [stdout] 99 | style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/window.rs:68:67
[INFO] [stdout] |
[INFO] [stdout] 68 | pub fn create_window(window_title: &str, class_name: &str) -> HWND {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stdout] --> src/window.rs:104:29
[INFO] [stdout] |
[INFO] [stdout] 104 | hIcon: unsafe { LoadIconW(null_mut(), IDI_APPLICATION) },
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stdout] --> src/window.rs:104:51
[INFO] [stdout] |
[INFO] [stdout] 104 | hIcon: unsafe { LoadIconW(null_mut(), IDI_APPLICATION) },
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout] --> src/window.rs:70:13
[INFO] [stdout] |
[INFO] [stdout] 70 | CreateWindowExW(
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stdout] --> src/window.rs:105:31
[INFO] [stdout] |
[INFO] [stdout] 105 | hCursor: unsafe { LoadCursorW(null_mut(), IDC_ARROW) },
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope
[INFO] [stdout] --> src/window.rs:71:17
[INFO] [stdout] |
[INFO] [stdout] 71 | WS_EX_LAYERED | WS_EX_TRANSPARENT,
[INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stdout] --> src/window.rs:105:55
[INFO] [stdout] |
[INFO] [stdout] 105 | hCursor: unsafe { LoadCursorW(null_mut(), IDC_ARROW) },
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope
[INFO] [stdout] --> src/window.rs:71:33
[INFO] [stdout] |
[INFO] [stdout] 71 | WS_EX_LAYERED | WS_EX_TRANSPARENT,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in this scope
[INFO] [stdout] --> src/window.rs:106:37
[INFO] [stdout] |
[INFO] [stdout] 106 | hbrBackground: unsafe { GetStockObject(WHITE_BRUSH as i32) as HBRUSH },
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout] --> src/window.rs:90:28
[INFO] [stdout] |
[INFO] [stdout] 90 | window_handle: HWND,
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WHITE_BRUSH` in this scope
[INFO] [stdout] --> src/window.rs:106:52
[INFO] [stdout] |
[INFO] [stdout] 106 | hbrBackground: unsafe { GetStockObject(WHITE_BRUSH as i32) as HBRUSH },
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout] --> src/window.rs:91:22
[INFO] [stdout] |
[INFO] [stdout] 91 | message: UINT,
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stdout] --> src/window.rs:106:75
[INFO] [stdout] |
[INFO] [stdout] 106 | hbrBackground: unsafe { GetStockObject(WHITE_BRUSH as i32) as HBRUSH },
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEINTRESOURCEW` in this scope
[INFO] [stdout] --> src/window.rs:107:27
[INFO] [stdout] |
[INFO] [stdout] 107 | lpszMenuName: MAKEINTRESOURCEW(0),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout] --> src/window.rs:92:21
[INFO] [stdout] |
[INFO] [stdout] 92 | wparam: WPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stdout] --> src/window.rs:109:31
[INFO] [stdout] |
[INFO] [stdout] 109 | hIconSm: unsafe { LoadIconW(null_mut(), IDI_APPLICATION) },
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout] --> src/window.rs:93:21
[INFO] [stdout] |
[INFO] [stdout] 93 | lparam: LPARAM,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout] --> src/window.rs:94:14
[INFO] [stdout] |
[INFO] [stdout] 94 | ) -> LRESULT,
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stdout] --> src/window.rs:109:53
[INFO] [stdout] |
[INFO] [stdout] 109 | hIconSm: unsafe { LoadIconW(null_mut(), IDI_APPLICATION) },
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stdout] --> src/window.rs:97:28
[INFO] [stdout] |
[INFO] [stdout] 97 | let window_class = WNDCLASSEXW {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stdout] --> src/window.rs:112:18
[INFO] [stdout] |
[INFO] [stdout] 112 | unsafe { RegisterClassExW(&window_class) };
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stdout] --> src/window.rs:98:31
[INFO] [stdout] |
[INFO] [stdout] 40 | impl Window {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 98 | cbSize: size_of::() as u32,
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stdout] --> src/window.rs:99:20
[INFO] [stdout] |
[INFO] [stdout] 99 | style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stdout] --> src/window.rs:99:33
[INFO] [stdout] |
[INFO] [stdout] 99 | style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stdout] --> src/window.rs:104:29
[INFO] [stdout] |
[INFO] [stdout] 104 | hIcon: unsafe { LoadIconW(null_mut(), IDI_APPLICATION) },
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stdout] --> src/window.rs:104:51
[INFO] [stdout] |
[INFO] [stdout] 104 | hIcon: unsafe { LoadIconW(null_mut(), IDI_APPLICATION) },
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stdout] --> src/window.rs:105:31
[INFO] [stdout] |
[INFO] [stdout] 105 | hCursor: unsafe { LoadCursorW(null_mut(), 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/window.rs:105:55
[INFO] [stdout] |
[INFO] [stdout] 105 | hCursor: unsafe { LoadCursorW(null_mut(), IDC_ARROW) },
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in this scope
[INFO] [stdout] --> src/window.rs:106:37
[INFO] [stdout] |
[INFO] [stdout] 106 | hbrBackground: unsafe { GetStockObject(WHITE_BRUSH as i32) as HBRUSH },
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WHITE_BRUSH` in this scope
[INFO] [stdout] --> src/window.rs:106:52
[INFO] [stdout] |
[INFO] [stdout] 106 | hbrBackground: unsafe { GetStockObject(WHITE_BRUSH as i32) as HBRUSH },
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stdout] --> src/window.rs:106:75
[INFO] [stdout] |
[INFO] [stdout] 106 | hbrBackground: unsafe { GetStockObject(WHITE_BRUSH as i32) as HBRUSH },
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEINTRESOURCEW` in this scope
[INFO] [stdout] --> src/window.rs:107:27
[INFO] [stdout] |
[INFO] [stdout] 107 | lpszMenuName: MAKEINTRESOURCEW(0),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stdout] --> src/window.rs:109:31
[INFO] [stdout] |
[INFO] [stdout] 109 | hIconSm: unsafe { LoadIconW(null_mut(), IDI_APPLICATION) },
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stdout] --> src/window.rs:109:53
[INFO] [stdout] |
[INFO] [stdout] 109 | hIconSm: unsafe { LoadIconW(null_mut(), IDI_APPLICATION) },
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stdout] --> src/window.rs:112:18
[INFO] [stdout] |
[INFO] [stdout] 112 | unsafe { RegisterClassExW(&window_class) };
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 107 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `joyshop` due to 108 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 107 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout]
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "03a5e8539b10fc041a79ebe4d797b0d6841cfc9c95a46cd475fca5e2a651ebf9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03a5e8539b10fc041a79ebe4d797b0d6841cfc9c95a46cd475fca5e2a651ebf9", kill_on_drop: false }`
[INFO] [stdout] 03a5e8539b10fc041a79ebe4d797b0d6841cfc9c95a46cd475fca5e2a651ebf9