[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] d07f54a9f8655f62f2d95e0f41d1224fc993e1eb [INFO] checking ricmzn/dcs-hemmecs against master#c9228570668803e3e6402770d55f23a12c9ae686 for pr-79472 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricmzn%2Fdcs-hemmecs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ricmzn/dcs-hemmecs on toolchain c9228570668803e3e6402770d55f23a12c9ae686 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "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-4/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" "+c9228570668803e3e6402770d55f23a12c9ae686" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+c9228570668803e3e6402770d55f23a12c9ae686" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e438ad5ad3b28788250aeb37feee69d7d59ed77b1e537a69ae38acdc28252788 [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" "e438ad5ad3b28788250aeb37feee69d7d59ed77b1e537a69ae38acdc28252788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e438ad5ad3b28788250aeb37feee69d7d59ed77b1e537a69ae38acdc28252788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e438ad5ad3b28788250aeb37feee69d7d59ed77b1e537a69ae38acdc28252788", kill_on_drop: false }` [INFO] [stdout] e438ad5ad3b28788250aeb37feee69d7d59ed77b1e537a69ae38acdc28252788 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+c9228570668803e3e6402770d55f23a12c9ae686" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07a873cd6afe2406ae753819ff7e42abe1948c5851b10837bcfe63eecc82d7ad [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" "07a873cd6afe2406ae753819ff7e42abe1948c5851b10837bcfe63eecc82d7ad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking itoa v0.4.6 [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 crossbeam-utils v0.8.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Checking alga v0.8.2 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking net2 v0.2.36 [INFO] [stderr] Checking dirs-sys v0.3.5 [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 lyon_geom v0.15.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking inotify v0.7.1 [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 v0.6.23 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking font-kit v0.7.1 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking nalgebra v0.17.3 [INFO] [stderr] Checking raqote v0.8.0 (https://github.com/ricmzn/raqote.git?branch=0.8#6a49164d) [INFO] [stderr] Checking notify v4.0.15 [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/window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/window.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/window.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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/window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::wingdi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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/window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/window.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/window.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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/window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::wingdi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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 `RGBQUAD` in this scope [INFO] [stdout] --> src/window.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | 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/window.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | 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/window.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | 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/window.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | 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/window.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | 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/window.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | 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/window.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | 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/window.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | 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/window.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | 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/window.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | 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/window.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | 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/window.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 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/window.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | 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/window.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | 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/window.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | 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/window.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | 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/window.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | 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/window.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | &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/window.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | 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/window.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | 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/window.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | 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/window.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | 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/window.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | 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/window.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | 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/window.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | 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 `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | 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/window.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | 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 `PostMessageA` in this scope [INFO] [stdout] --> src/window.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | PostMessageA(hwnd, WM_CLOSE, 0, 0); [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/window.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 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/window.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | _ => 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/window.rs:98:67 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn create_window(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/window.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | 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/window.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | 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/window.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | 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:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | 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/window.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | 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/window.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | 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/window.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | 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/window.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 118 | 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/window.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | 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/window.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | 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/window.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | 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/window.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | 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/window.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | 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/window.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | 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/window.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | 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/window.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | 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/window.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | 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/window.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 141 | 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/window.rs:141:62 [INFO] [stdout] | [INFO] [stdout] 141 | 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/window.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | 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/window.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | 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/window.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | 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/window.rs:155:61 [INFO] [stdout] | [INFO] [stdout] 155 | 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/window.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | 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/window.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | 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/window.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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/window.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | 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/window.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | 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/window.rs:186:64 [INFO] [stdout] | [INFO] [stdout] 186 | 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/window.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | 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/window.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | unsafe { GetFocus() == 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/window.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | 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/window.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | 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/window.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | 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/window.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | 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/window.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | 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/window.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | 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/window.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | 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/window.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | 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/window.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | 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/window.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | 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/window.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | 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/window.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 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/window.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | 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/window.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | 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/window.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | 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/window.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | 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/window.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | 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/window.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | &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/window.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | 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/window.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | 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/window.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | 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/window.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | 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/window.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | 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/window.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | 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/window.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | 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 `InvalidateRect` in this scope [INFO] [stdout] --> src/window.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | 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/window.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | 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 `PostMessageA` in this scope [INFO] [stdout] --> src/window.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | PostMessageA(hwnd, WM_CLOSE, 0, 0); [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/window.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 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/window.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | _ => 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/window.rs:98:67 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn create_window(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/window.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | 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/window.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | 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/window.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | 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:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | 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/window.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | 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/window.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | 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/window.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | 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/window.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 118 | 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/window.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | 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/window.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | 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/window.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | 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/window.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | 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/window.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | 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/window.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | 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/window.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | 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/window.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | 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/window.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | 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/window.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 141 | 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/window.rs:141:62 [INFO] [stdout] | [INFO] [stdout] 141 | 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/window.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | 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/window.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | 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/window.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | 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/window.rs:155:61 [INFO] [stdout] | [INFO] [stdout] 155 | 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/window.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | 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/window.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | 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/window.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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/window.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | 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/window.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | 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/window.rs:186:64 [INFO] [stdout] | [INFO] [stdout] 186 | 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/window.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | 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/window.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | unsafe { GetFocus() == hwnd } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 69 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 69 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" "07a873cd6afe2406ae753819ff7e42abe1948c5851b10837bcfe63eecc82d7ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a873cd6afe2406ae753819ff7e42abe1948c5851b10837bcfe63eecc82d7ad", kill_on_drop: false }` [INFO] [stdout] 07a873cd6afe2406ae753819ff7e42abe1948c5851b10837bcfe63eecc82d7ad