[INFO] cloning repository https://github.com/Jebik/RustSnake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jebik/RustSnake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJebik%2FRustSnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJebik%2FRustSnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 981ef6d6b0c36debc201765fa59bf11dde3dfd0e [INFO] checking Jebik/RustSnake/981ef6d6b0c36debc201765fa59bf11dde3dfd0e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJebik%2FRustSnake" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jebik/RustSnake on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jebik/RustSnake [INFO] finished tweaking git repo https://github.com/Jebik/RustSnake [INFO] tweaked toml for git repo https://github.com/Jebik/RustSnake written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jebik/RustSnake already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/rust_snake/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/winopengl/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/core_std_main/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bmp v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22ba03439c88c97c4bc1c6bd29e5aea1701512e32ef59f814353fe7dcd7e1095 [INFO] running `Command { std: "docker" "start" "-a" "22ba03439c88c97c4bc1c6bd29e5aea1701512e32ef59f814353fe7dcd7e1095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22ba03439c88c97c4bc1c6bd29e5aea1701512e32ef59f814353fe7dcd7e1095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ba03439c88c97c4bc1c6bd29e5aea1701512e32ef59f814353fe7dcd7e1095", kill_on_drop: false }` [INFO] [stdout] 22ba03439c88c97c4bc1c6bd29e5aea1701512e32ef59f814353fe7dcd7e1095 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4484a421c899685c3a33bedfcc3f571140567a6d01ed451a7a4606354e4253c5 [INFO] running `Command { std: "docker" "start" "-a" "4484a421c899685c3a33bedfcc3f571140567a6d01ed451a7a4606354e4253c5", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/rust_snake/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/winopengl/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/core_std_main/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling winopengl v0.1.0 (/opt/rustwide/workdir/winopengl) [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking core_std v0.1.0 (/opt/rustwide/workdir/core_std) [INFO] [stdout] warning: function `calloc` is never used [INFO] [stdout] --> core_std/src/vec.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn calloc(s: usize, n:usize) -> *mut u8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calloc` is never used [INFO] [stdout] --> core_std/src/vec.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn calloc(s: usize, n:usize) -> *mut u8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking core_std_main v0.1.0 (/opt/rustwide/workdir/core_std_main) [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> winopengl/src/native/windows.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | shared::{ [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] --> winopengl/src/native/windows.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | um::{ [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] --> winopengl/src/native/windows/libopengl32.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::{minwindef::*, ntdef::*, windef::*}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | shared::{ [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] --> winopengl/src/native/windows/wgl.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | um::{errhandlingapi::GetLastError, wingdi::*}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows` [INFO] [stdout] --> winopengl/src/native/module.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use windows::Module; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `super::windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> winopengl/src/native/windows.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | shared::{ [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] --> winopengl/src/native/windows.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | um::{ [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] --> winopengl/src/native/windows/libopengl32.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::{minwindef::*, ntdef::*, windef::*}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | shared::{ [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] --> winopengl/src/native/windows/wgl.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | um::{errhandlingapi::GetLastError, wingdi::*}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows` [INFO] [stdout] --> winopengl/src/native/module.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use windows::Module; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `super::windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stdout] --> winopengl/src/native/windows.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ ------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_SYSKEYDOWN` [INFO] [stdout] --> winopengl/src/native/windows.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stdout] --> winopengl/src/native/windows.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_KEYDOWN` [INFO] [stdout] --> winopengl/src/native/windows.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stdout] --> winopengl/src/native/windows.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ ------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_SYSKEYDOWN` [INFO] [stdout] --> winopengl/src/native/windows.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stdout] --> winopengl/src/native/windows.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_KEYDOWN` [INFO] [stdout] --> winopengl/src/native/windows.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | WM_KEYDOWN | WM_SYSKEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | pub type wglCreateContext = extern "system" fn(_: HDC) -> HGLRC; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | pub type wglCreateContext = extern "system" fn(_: HDC) -> HGLRC; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | pub type wglDeleteContext = extern "system" fn(_: HGLRC) -> bool; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | pub type wglGetProcAddress = extern "system" fn(_: LPCSTR) -> PROC; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | pub type wglGetProcAddress = extern "system" fn(_: LPCSTR) -> PROC; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | pub type wglGetCurrentDC = extern "system" fn() -> HDC; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | pub type wglMakeCurrent = extern "system" fn(_: HDC, _: HGLRC) -> bool; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | pub type wglMakeCurrent = extern "system" fn(_: HDC, _: HGLRC) -> bool; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | let mut pfd: PIXELFORMATDESCRIPTOR = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DRAW_TO_WINDOW` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_SUPPORT_OPENGL` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:190:44 [INFO] [stdout] | [INFO] [stdout] 190 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DOUBLEBUFFER` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:190:65 [INFO] [stdout] | [INFO] [stdout] 190 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_TYPE_RGBA` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | pfd.iPixelType = PFD_TYPE_RGBA; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:347:22 [INFO] [stdout] | [INFO] [stdout] 347 | let mut pfd: PIXELFORMATDESCRIPTOR = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | let display_ptr = GetWindowLongPtrA(hwnd, GWLP_USERDATA); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let mut wndclassw: WNDCLASSW = std::mem::zeroed(); [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] --> winopengl/src/native/windows.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [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] --> winopengl/src/native/windows.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | wndclassw.hCursor = LoadCursorW(NULL as _, IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_WINLOGO` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | wndclassw.hIcon = LoadIconW(NULL as _, IDI_WINLOGO); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_APPWINDOW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | let win_ex_style: DWORD = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_WINDOWEDGE` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | let win_ex_style: DWORD = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | let win_style: DWORD = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:122:46 [INFO] [stdout] | [INFO] [stdout] 122 | let win_style: DWORD = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:122:64 [INFO] [stdout] | [INFO] [stdout] 122 | let win_style: DWORD = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:122:77 [INFO] [stdout] | [INFO] [stdout] 122 | let win_style: DWORD = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:122:90 [INFO] [stdout] | [INFO] [stdout] 122 | let win_style: DWORD = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | CW_USEDEFAULT, // X [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | CW_USEDEFAULT, // Y [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | ShowWindow(hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | WS_EX_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | ShowWindow(msg_hwnd, SW_HIDE); [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] --> winopengl/src/native/windows.rs:180:55 [INFO] [stdout] | [INFO] [stdout] 180 | while PeekMessageW(&mut msg as _, msg_hwnd, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | SetWindowLongPtrA(wnd, GWLP_USERDATA, &mut p as *mut _ as isize); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | let mut msg: MSG = std::mem::zeroed(); [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] --> winopengl/src/native/windows.rs:257:74 [INFO] [stdout] | [INFO] [stdout] 257 | while PeekMessageW(&mut msg as *mut _ as _, NULL as _, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | if WM_QUIT == msg.message { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | pub type wglCreateContext = extern "system" fn(_: HDC) -> HGLRC; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | pub type wglCreateContext = extern "system" fn(_: HDC) -> HGLRC; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | pub type wglDeleteContext = extern "system" fn(_: HGLRC) -> bool; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | pub type wglGetProcAddress = extern "system" fn(_: LPCSTR) -> PROC; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | pub type wglGetProcAddress = extern "system" fn(_: LPCSTR) -> PROC; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | pub type wglGetCurrentDC = extern "system" fn() -> HDC; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | pub type wglMakeCurrent = extern "system" fn(_: HDC, _: HGLRC) -> bool; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> winopengl/src/native/windows/libopengl32.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | pub type wglMakeCurrent = extern "system" fn(_: HDC, _: HGLRC) -> bool; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | let mut pfd: PIXELFORMATDESCRIPTOR = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DRAW_TO_WINDOW` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_SUPPORT_OPENGL` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:190:44 [INFO] [stdout] | [INFO] [stdout] 190 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DOUBLEBUFFER` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:190:65 [INFO] [stdout] | [INFO] [stdout] 190 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_TYPE_RGBA` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | pfd.iPixelType = PFD_TYPE_RGBA; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:347:22 [INFO] [stdout] | [INFO] [stdout] 347 | let mut pfd: PIXELFORMATDESCRIPTOR = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | let display_ptr = GetWindowLongPtrA(hwnd, GWLP_USERDATA); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let mut wndclassw: WNDCLASSW = std::mem::zeroed(); [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] --> winopengl/src/native/windows.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [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] --> winopengl/src/native/windows.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | wndclassw.hCursor = LoadCursorW(NULL as _, IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_WINLOGO` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | wndclassw.hIcon = LoadIconW(NULL as _, IDI_WINLOGO); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_APPWINDOW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | let win_ex_style: DWORD = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_WINDOWEDGE` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | let win_ex_style: DWORD = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | let win_style: DWORD = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:122:46 [INFO] [stdout] | [INFO] [stdout] 122 | let win_style: DWORD = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:122:64 [INFO] [stdout] | [INFO] [stdout] 122 | let win_style: DWORD = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:122:77 [INFO] [stdout] | [INFO] [stdout] 122 | let win_style: DWORD = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:122:90 [INFO] [stdout] | [INFO] [stdout] 122 | let win_style: DWORD = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | CW_USEDEFAULT, // X [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | CW_USEDEFAULT, // Y [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | ShowWindow(hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | WS_EX_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | ShowWindow(msg_hwnd, SW_HIDE); [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] --> winopengl/src/native/windows.rs:180:55 [INFO] [stdout] | [INFO] [stdout] 180 | while PeekMessageW(&mut msg as _, msg_hwnd, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | SetWindowLongPtrA(wnd, GWLP_USERDATA, &mut p as *mut _ as isize); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | let mut msg: MSG = std::mem::zeroed(); [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] --> winopengl/src/native/windows.rs:257:74 [INFO] [stdout] | [INFO] [stdout] 257 | while PeekMessageW(&mut msg as *mut _ as _, NULL as _, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | if WM_QUIT == msg.message { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChoosePixelFormat` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | ChoosePixelFormat(display.msg_dc, &pfd), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if SetPixelFormat( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DescribePixelFormat` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | if DescribePixelFormat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | if SetPixelFormat(display.dc, pixel_format as _, &pfd) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChoosePixelFormat` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | ChoosePixelFormat(display.msg_dc, &pfd), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if SetPixelFormat( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextA` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | SetWindowTextA( [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] --> winopengl/src/native/windows.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let display_ptr = GetWindowLongPtrA(hwnd, GWLP_USERDATA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | return DefWindowProcW(hwnd, umsg, wparam, lparam); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | DefWindowProcW(hwnd, umsg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | wndclassw.hCursor = LoadCursorW(NULL as _, IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | wndclassw.hIcon = LoadIconW(NULL as _, IDI_WINLOGO); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | RegisterClassW(&wndclassw); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRectEx` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | AdjustWindowRectEx(&rect as *const _ as _, win_style, false as _, win_ex_style); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | ShowWindow(hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | let dc = GetDC(hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | let msg_hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | ShowWindow(msg_hwnd, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:180:11 [INFO] [stdout] | [INFO] [stdout] 180 | while PeekMessageW(&mut msg as _, msg_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] --> winopengl/src/native/windows.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | let msg_dc = GetDC(msg_hwnd); [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] --> winopengl/src/native/windows.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | SetWindowLongPtrA(wnd, GWLP_USERDATA, &mut p as *mut _ as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | while PeekMessageW(&mut msg as *mut _ as _, NULL as _, 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] --> winopengl/src/native/windows.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | TranslateMessage(&mut msg as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | DispatchMessageW(&mut msg as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SwapBuffers` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | SwapBuffers(p.display.dc); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | DestroyWindow(wnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DescribePixelFormat` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | if DescribePixelFormat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> winopengl/src/native/windows/wgl.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | if SetPixelFormat(display.dc, pixel_format as _, &pfd) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextA` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | SetWindowTextA( [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] --> winopengl/src/native/windows.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let display_ptr = GetWindowLongPtrA(hwnd, GWLP_USERDATA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | return DefWindowProcW(hwnd, umsg, wparam, lparam); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | DefWindowProcW(hwnd, umsg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | wndclassw.hCursor = LoadCursorW(NULL as _, IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | wndclassw.hIcon = LoadIconW(NULL as _, IDI_WINLOGO); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | RegisterClassW(&wndclassw); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRectEx` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | AdjustWindowRectEx(&rect as *const _ as _, win_style, false as _, win_ex_style); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | ShowWindow(hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | let dc = GetDC(hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | let msg_hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | ShowWindow(msg_hwnd, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:180:11 [INFO] [stdout] | [INFO] [stdout] 180 | while PeekMessageW(&mut msg as _, msg_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] --> winopengl/src/native/windows.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | let msg_dc = GetDC(msg_hwnd); [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] --> winopengl/src/native/windows.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | SetWindowLongPtrA(wnd, GWLP_USERDATA, &mut p as *mut _ as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | while PeekMessageW(&mut msg as *mut _ as _, NULL as _, 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] --> winopengl/src/native/windows.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | TranslateMessage(&mut msg as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | DispatchMessageW(&mut msg as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SwapBuffers` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | SwapBuffers(p.display.dc); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> winopengl/src/native/windows.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | DestroyWindow(wnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> winopengl/src/graphics.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | let mut cache = buffer_cache [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> winopengl/src/graphics.rs:720:17 [INFO] [stdout] | [INFO] [stdout] 720 | let mut buffer_data = &mut buffer_cache [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> winopengl/src/graphics.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | let mut cache = buffer_cache [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> winopengl/src/graphics.rs:720:17 [INFO] [stdout] | [INFO] [stdout] 720 | let mut buffer_data = &mut buffer_cache [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 76 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winopengl` (lib) due to 77 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 76 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winopengl` (lib test) due to 77 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4484a421c899685c3a33bedfcc3f571140567a6d01ed451a7a4606354e4253c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4484a421c899685c3a33bedfcc3f571140567a6d01ed451a7a4606354e4253c5", kill_on_drop: false }` [INFO] [stdout] 4484a421c899685c3a33bedfcc3f571140567a6d01ed451a7a4606354e4253c5