[INFO] cloning repository https://github.com/ricmzn/dcs-hemmecs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ricmzn/dcs-hemmecs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricmzn%2Fdcs-hemmecs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricmzn%2Fdcs-hemmecs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58a1d698e90b5efade8ec0250288c38b9a425ed7 [INFO] checking ricmzn/dcs-hemmecs against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricmzn%2Fdcs-hemmecs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ricmzn/dcs-hemmecs on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ricmzn/dcs-hemmecs [INFO] finished tweaking git repo https://github.com/ricmzn/dcs-hemmecs [INFO] tweaked toml for git repo https://github.com/ricmzn/dcs-hemmecs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/ricmzn/dcs-hemmecs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb156436fd7c994e3435149ef1ba24dead1b2875452162ba547f5d099655e208 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cb156436fd7c994e3435149ef1ba24dead1b2875452162ba547f5d099655e208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb156436fd7c994e3435149ef1ba24dead1b2875452162ba547f5d099655e208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb156436fd7c994e3435149ef1ba24dead1b2875452162ba547f5d099655e208", kill_on_drop: false }` [INFO] [stdout] cb156436fd7c994e3435149ef1ba24dead1b2875452162ba547f5d099655e208 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cee6b897e2478fe2e3e4eac681260f6c8bf5a751d9f445e4ee04a67446fc64c0 [INFO] running `Command { std: "docker" "start" "-a" "cee6b897e2478fe2e3e4eac681260f6c8bf5a751d9f445e4ee04a67446fc64c0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking sw-composite v0.7.14 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking net2 v0.2.36 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.4 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking alga v0.8.2 [INFO] [stderr] Checking font-kit v0.7.1 [INFO] [stderr] Checking nalgebra v0.17.3 [INFO] [stderr] Checking lyon_geom v0.15.3 [INFO] [stderr] Checking raqote v0.8.0 (https://github.com/ricmzn/raqote.git?branch=0.8#6a49164d) [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking nalgebra-glm v0.3.0 [INFO] [stderr] Checking dcs-hemmecs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/drawing.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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 `shared` in `winapi` [INFO] [stdout] --> src/windows/main_window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows/main_window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::errhandlingapi::*; [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/windows/main_window.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::libloaderapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows/main_window.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::wingdi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows/main_window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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/windows/mod.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/windows/mod.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 `shared` in `winapi` [INFO] [stdout] --> src/drawing.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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 `shared` in `winapi` [INFO] [stdout] --> src/windows/main_window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows/main_window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::errhandlingapi::*; [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/windows/main_window.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::libloaderapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows/main_window.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::wingdi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows/main_window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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/windows/mod.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/windows/mod.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[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/drawing.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | 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/drawing.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RGBQUAD` in this scope [INFO] [stdout] --> src/windows/main_window.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | const COLORS: RGBQUAD = RGBQUAD { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RGBQUAD` in this scope [INFO] [stdout] --> src/windows/main_window.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | const COLORS: RGBQUAD = RGBQUAD { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stdout] --> src/windows/main_window.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | const BMP_INFO: BITMAPINFO = BITMAPINFO { [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/windows/main_window.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | const BMP_INFO: BITMAPINFO = 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/windows/main_window.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | bmiHeader: BITMAPINFOHEADER { [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/windows/main_window.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | biSize: std::mem::size_of::() as u32, [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/windows/main_window.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | biCompression: BI_RGB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RGBQUAD` in this scope [INFO] [stdout] --> src/windows/main_window.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | const COLORS: RGBQUAD = RGBQUAD { [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/windows/main_window.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe extern "system" fn window_proc(hwnd: HWND, msg: u32, wparam: usize, lparam: isize) -> isize { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let data = GetWindowLongPtrA(hwnd, GWL_USERDATA) as *const Pin>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_USERDATA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | let data = GetWindowLongPtrA(hwnd, GWL_USERDATA) as *const Pin>; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CREATESTRUCTA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | let data = *(lparam as *mut CREATESTRUCTA); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | SetWindowLongPtrA(hwnd, GWL_USERDATA, data.lpCreateParams as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_USERDATA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | SetWindowLongPtrA(hwnd, GWL_USERDATA, data.lpCreateParams as isize); [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/windows/main_window.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | let mut ps: PAINTSTRUCT = std::mem::zeroed(); [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/windows/main_window.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | let hdc = BeginPaint(hwnd, &mut ps as *mut PAINTSTRUCT); [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/windows/main_window.rs:50:60 [INFO] [stdout] | [INFO] [stdout] 50 | let hdc = BeginPaint(hwnd, &mut ps as *mut PAINTSTRUCT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StretchDIBits` in this scope [INFO] [stdout] --> src/windows/main_window.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | StretchDIBits( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stdout] --> src/windows/main_window.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | &BMP_INFO as *const BITMAPINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RGBQUAD` in this scope [INFO] [stdout] --> src/windows/main_window.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | const COLORS: RGBQUAD = RGBQUAD { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stdout] --> src/windows/main_window.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | const BMP_INFO: BITMAPINFO = BITMAPINFO { [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/windows/main_window.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | const BMP_INFO: BITMAPINFO = 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/windows/main_window.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | bmiHeader: BITMAPINFOHEADER { [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/windows/main_window.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | biSize: std::mem::size_of::() as u32, [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/windows/main_window.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | biCompression: BI_RGB, [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/windows/main_window.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe extern "system" fn window_proc(hwnd: HWND, msg: u32, wparam: usize, lparam: isize) -> isize { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let data = GetWindowLongPtrA(hwnd, GWL_USERDATA) as *const Pin>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_USERDATA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | let data = GetWindowLongPtrA(hwnd, GWL_USERDATA) as *const Pin>; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CREATESTRUCTA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | let data = *(lparam as *mut CREATESTRUCTA); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | SetWindowLongPtrA(hwnd, GWL_USERDATA, data.lpCreateParams as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_USERDATA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | SetWindowLongPtrA(hwnd, GWL_USERDATA, data.lpCreateParams as isize); [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/windows/main_window.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | let mut ps: PAINTSTRUCT = std::mem::zeroed(); [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/windows/main_window.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | DIB_RGB_COLORS, [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/windows/main_window.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | let hdc = BeginPaint(hwnd, &mut ps as *mut PAINTSTRUCT); [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/windows/main_window.rs:50:60 [INFO] [stdout] | [INFO] [stdout] 50 | let hdc = BeginPaint(hwnd, &mut ps as *mut PAINTSTRUCT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StretchDIBits` in this scope [INFO] [stdout] --> src/windows/main_window.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | StretchDIBits( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stdout] --> src/windows/main_window.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | &BMP_INFO as *const BITMAPINFO, [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/windows/main_window.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | 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/windows/main_window.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | SRCCOPY, [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/windows/main_window.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | SetLayeredWindowAttributes( [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/windows/main_window.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | LWA_ALPHA | LWA_COLORKEY, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LWA_COLORKEY` in this scope [INFO] [stdout] --> src/windows/main_window.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | LWA_ALPHA | LWA_COLORKEY, [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/windows/main_window.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | EndPaint(hwnd, &mut ps as *mut PAINTSTRUCT); [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/windows/main_window.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | EndPaint(hwnd, &mut ps as *mut PAINTSTRUCT); [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/windows/main_window.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | SRCCOPY, [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/windows/main_window.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | InvalidateRect(hwnd, NULL(), 0); [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/windows/main_window.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | WM_KEYDOWN if wparam == VK_ESCAPE as usize => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope [INFO] [stdout] --> src/windows/main_window.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | SetLayeredWindowAttributes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | PostMessageA(hwnd, WM_CLOSE, 0, 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/windows/main_window.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | LWA_ALPHA | LWA_COLORKEY, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/windows/main_window.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | PostMessageA(hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | _ => DefWindowProcA(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LWA_COLORKEY` in this scope [INFO] [stdout] --> src/windows/main_window.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | LWA_ALPHA | LWA_COLORKEY, [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/windows/main_window.rs:97:60 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn create(window_data: &Pin>) -> HWND { [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/windows/main_window.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | EndPaint(hwnd, &mut ps as *mut PAINTSTRUCT); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | let instance = unsafe { GetModuleHandleA(NULL()) }; [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/windows/main_window.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | EndPaint(hwnd, &mut ps as *mut PAINTSTRUCT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let window_class = WNDCLASSA { [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/windows/main_window.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | InvalidateRect(hwnd, NULL(), 0); [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/windows/main_window.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | style: CS_HREDRAW | CS_VREDRAW, [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/windows/main_window.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | WM_KEYDOWN if wparam == VK_ESCAPE as usize => { [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/windows/main_window.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | 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 `PostMessageA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | PostMessageA(hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/windows/main_window.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let screen_width = GetSystemMetrics(SM_CXSCREEN); [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/windows/main_window.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | 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/windows/main_window.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let screen_height = GetSystemMetrics(SM_CYSCREEN); [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/windows/main_window.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | 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 `RegisterClassA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | RegisterClassA(&window_class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | let hwnd = CreateWindowExA( [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/windows/main_window.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TRANSPARENT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/windows/main_window.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TRANSPARENT, [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/windows/main_window.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 122 | WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TRANSPARENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/windows/main_window.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | WS_VISIBLE | WS_POPUP, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/windows/main_window.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | PostMessageA(hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | _ => DefWindowProcA(hwnd, msg, wparam, lparam), [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/windows/main_window.rs:97:60 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn create(window_data: &Pin>) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | let instance = unsafe { GetModuleHandleA(NULL()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let window_class = WNDCLASSA { [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/windows/main_window.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | 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/windows/main_window.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | 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 `GetSystemMetrics` in this scope [INFO] [stdout] --> src/windows/main_window.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let screen_width = GetSystemMetrics(SM_CXSCREEN); [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/windows/main_window.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | 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/windows/main_window.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let screen_height = GetSystemMetrics(SM_CYSCREEN); [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/windows/main_window.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | 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 `RegisterClassA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | RegisterClassA(&window_class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> src/windows/main_window.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | let hwnd = CreateWindowExA( [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/windows/main_window.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TRANSPARENT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/windows/main_window.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TRANSPARENT, [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/windows/main_window.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 122 | WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TRANSPARENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/windows/main_window.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | WS_VISIBLE | WS_POPUP, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/windows/main_window.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | WS_VISIBLE | WS_POPUP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/windows/main_window.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | let err = GetLastError(); [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/windows/main_window.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | SetLayeredWindowAttributes(hwnd, 0, 255, LWA_ALPHA | LWA_COLORKEY); [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/windows/main_window.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | SetLayeredWindowAttributes(hwnd, 0, 255, LWA_ALPHA | LWA_COLORKEY); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LWA_COLORKEY` in this scope [INFO] [stdout] --> src/windows/main_window.rs:140:62 [INFO] [stdout] | [INFO] [stdout] 140 | SetLayeredWindowAttributes(hwnd, 0, 255, LWA_ALPHA | LWA_COLORKEY); [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/windows/mod.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn run_window_loop(hwnd: HWND, quit_signal: &AtomicBool) { [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/windows/mod.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in this scope [INFO] [stdout] --> src/windows/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | if PeekMessageA(&mut msg as *mut _, hwnd, 0, 0, PM_REMOVE) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/windows/mod.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | if PeekMessageA(&mut msg as *mut _, hwnd, 0, 0, PM_REMOVE) > 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/windows/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | TranslateMessage(&msg as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope [INFO] [stdout] --> src/windows/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | DispatchMessageA(&msg as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONERROR` in this scope [INFO] [stdout] --> src/windows/mod.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | MB_ICONERROR, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONINFORMATION` in this scope [INFO] [stdout] --> src/windows/mod.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | MB_ICONINFORMATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxA` in this scope [INFO] [stdout] --> src/windows/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | MessageBoxA(NULL(), message.as_ptr(), title, flags) == IDOK [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDOK` in this scope [INFO] [stdout] --> src/windows/mod.rs:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | MessageBoxA(NULL(), message.as_ptr(), title, flags) == IDOK [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/windows/mod.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn is_focused(hwnd: HWND) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFocus` in this scope [INFO] [stdout] --> src/windows/mod.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { GetFocus() == hwnd } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/windows/main_window.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | WS_VISIBLE | WS_POPUP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/windows/main_window.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | let err = GetLastError(); [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/windows/main_window.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | SetLayeredWindowAttributes(hwnd, 0, 255, LWA_ALPHA | LWA_COLORKEY); [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/windows/main_window.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | SetLayeredWindowAttributes(hwnd, 0, 255, LWA_ALPHA | LWA_COLORKEY); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LWA_COLORKEY` in this scope [INFO] [stdout] --> src/windows/main_window.rs:140:62 [INFO] [stdout] | [INFO] [stdout] 140 | SetLayeredWindowAttributes(hwnd, 0, 255, LWA_ALPHA | LWA_COLORKEY); [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/windows/mod.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn run_window_loop(hwnd: HWND, quit_signal: &AtomicBool) { [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/windows/mod.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in this scope [INFO] [stdout] --> src/windows/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | if PeekMessageA(&mut msg as *mut _, hwnd, 0, 0, PM_REMOVE) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/windows/mod.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | if PeekMessageA(&mut msg as *mut _, hwnd, 0, 0, PM_REMOVE) > 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/windows/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | TranslateMessage(&msg as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope [INFO] [stdout] --> src/windows/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | DispatchMessageA(&msg as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONERROR` in this scope [INFO] [stdout] --> src/windows/mod.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | MB_ICONERROR, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONINFORMATION` in this scope [INFO] [stdout] --> src/windows/mod.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | MB_ICONINFORMATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxA` in this scope [INFO] [stdout] --> src/windows/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | MessageBoxA(NULL(), message.as_ptr(), title, flags) == IDOK [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDOK` in this scope [INFO] [stdout] --> src/windows/mod.rs:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | MessageBoxA(NULL(), message.as_ptr(), title, flags) == IDOK [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/windows/mod.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn is_focused(hwnd: HWND) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFocus` in this scope [INFO] [stdout] --> src/windows/mod.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { GetFocus() == hwnd } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 71 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 `dcs-hemmecs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 71 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" "cee6b897e2478fe2e3e4eac681260f6c8bf5a751d9f445e4ee04a67446fc64c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee6b897e2478fe2e3e4eac681260f6c8bf5a751d9f445e4ee04a67446fc64c0", kill_on_drop: false }` [INFO] [stdout] cee6b897e2478fe2e3e4eac681260f6c8bf5a751d9f445e4ee04a67446fc64c0