[INFO] cloning repository https://github.com/Osspial/render_to_dxgi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Osspial/render_to_dxgi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsspial%2Frender_to_dxgi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsspial%2Frender_to_dxgi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10b6ca7989746ca0e50d4e1b2599f1d945fa49d3 [INFO] checking Osspial/render_to_dxgi against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsspial%2Frender_to_dxgi" "/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/Osspial/render_to_dxgi on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Osspial/render_to_dxgi [INFO] removed path dependency glutin_wgl_sys from git repo https://github.com/Osspial/render_to_dxgi [INFO] finished tweaking git repo https://github.com/Osspial/render_to_dxgi [INFO] tweaked toml for git repo https://github.com/Osspial/render_to_dxgi written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Osspial/render_to_dxgi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (glutin_wgl_sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (glutin_wgl_sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 268a8a8a75173ed8c5df98073c2dae716af68af2af70d4c27733c11a427d8706 [INFO] running `Command { std: "docker" "start" "-a" "268a8a8a75173ed8c5df98073c2dae716af68af2af70d4c27733c11a427d8706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "268a8a8a75173ed8c5df98073c2dae716af68af2af70d4c27733c11a427d8706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "268a8a8a75173ed8c5df98073c2dae716af68af2af70d4c27733c11a427d8706", kill_on_drop: false }` [INFO] [stdout] 268a8a8a75173ed8c5df98073c2dae716af68af2af70d4c27733c11a427d8706 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3006dec3f9f57ba2947a897909cb58d49b01914c77083d410b90a0ed5b29fbcc [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" "3006dec3f9f57ba2947a897909cb58d49b01914c77083d410b90a0ed5b29fbcc", kill_on_drop: false }` [INFO] [stderr] warning: dependency (glutin_wgl_sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling glutin_wgl_sys v0.1.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.20.0 [INFO] [stderr] Checking render_to_dxgi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `glutin_wgl_sys::wgl`, `glutin_wgl_sys::wgl_extra` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use glutin_wgl_sys::{wgl, wgl_extra}; [INFO] [stdout] | ^^^ ^^^^^^^^^ no `wgl_extra` in the root [INFO] [stdout] | | [INFO] [stdout] | no `wgl` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wgl` in `glutin_wgl_sys` [INFO] [stdout] --> src/main.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | use glutin_wgl_sys::wgl::types::*; [INFO] [stdout] | ^^^ could not find `wgl` in `glutin_wgl_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | platform::windows::WindowExtWindows, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let class = winuser::WNDCLASSEXA { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | cbSize: mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | style: winuser::CS_HREDRAW | winuser::CS_VREDRAW | winuser::CS_OWNDC, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | style: winuser::CS_HREDRAW | winuser::CS_VREDRAW | winuser::CS_OWNDC, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:31:64 [INFO] [stdout] | [INFO] [stdout] 31 | style: winuser::CS_HREDRAW | winuser::CS_VREDRAW | winuser::CS_OWNDC, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | lpfnWndProc: Some(winuser::DefWindowProcA), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi` [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | hInstance: libloaderapi::GetModuleHandleW(ptr::null()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | winuser::RegisterClassExA(&class); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let gl_hwnd = winuser::CreateWindowExA( [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | winuser::WS_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | winuser::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | winuser::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | winuser::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | winuser::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi` [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | libloaderapi::GetModuleHandleW(ptr::null()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `glutin_wgl_sys::wgl`, `glutin_wgl_sys::wgl_extra` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use glutin_wgl_sys::{wgl, wgl_extra}; [INFO] [stdout] | ^^^ ^^^^^^^^^ no `wgl_extra` in the root [INFO] [stdout] | | [INFO] [stdout] | no `wgl` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wgl` in `glutin_wgl_sys` [INFO] [stdout] --> src/main.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | use glutin_wgl_sys::wgl::types::*; [INFO] [stdout] | ^^^ could not find `wgl` in `glutin_wgl_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | platform::windows::WindowExtWindows, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let class = winuser::WNDCLASSEXA { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | cbSize: mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | style: winuser::CS_HREDRAW | winuser::CS_VREDRAW | winuser::CS_OWNDC, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | style: winuser::CS_HREDRAW | winuser::CS_VREDRAW | winuser::CS_OWNDC, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let gl_hdc = winuser::GetDC(gl_hwnd); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:31:64 [INFO] [stdout] | [INFO] [stdout] 31 | style: winuser::CS_HREDRAW | winuser::CS_VREDRAW | winuser::CS_OWNDC, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi` [INFO] [stdout] --> src/main.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let pfd = wingdi::PIXELFORMATDESCRIPTOR { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wingdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | lpfnWndProc: Some(winuser::DefWindowProcA), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi` [INFO] [stdout] --> src/main.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | nSize: mem::size_of::() as _, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wingdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi` [INFO] [stdout] --> src/main.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | dwFlags: wingdi::PFD_SUPPORT_OPENGL, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wingdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi` [INFO] [stdout] --> src/main.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let pixel_format = wingdi::ChoosePixelFormat(gl_hdc, &pfd); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wingdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi` [INFO] [stdout] --> src/main.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | assert!(0 != wingdi::SetPixelFormat(gl_hdc, pixel_format, &pfd)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wingdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi` [INFO] [stdout] --> src/main.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let h_opengl32 = libloaderapi::LoadLibraryA("OpenGL32.dll\0".as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi` [INFO] [stdout] --> src/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | libloaderapi::GetProcAddress(h_opengl32, cs.as_ptr()) as *const _ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi` [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | hInstance: libloaderapi::GetModuleHandleW(ptr::null()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_3` [INFO] [stdout] --> src/main.rs:168:34 [INFO] [stdout] | [INFO] [stdout] 168 | let mut swap_chain: *mut dxgi1_3::IDXGISwapChain2 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | let mut device: *mut d3d11::ID3D11Device = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let mut device_context: *mut d3d11::ID3D11DeviceContext = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2` [INFO] [stdout] --> src/main.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | let mut factory: *mut dxgi1_2::IDXGIFactory2 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi` [INFO] [stdout] --> src/main.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let result = dxgi::CreateDXGIFactory( [INFO] [stdout] | ^^^^ use of undeclared crate or module `dxgi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2` [INFO] [stdout] --> src/main.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | &dxgi1_2::IID_IDXGIFactory2, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | let result = d3d11::D3D11CreateDevice( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3dcommon` [INFO] [stdout] --> src/main.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | d3dcommon::D3D_DRIVER_TYPE_HARDWARE, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `d3dcommon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | d3d11::D3D11_CREATE_DEVICE_DEBUG, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | d3d11::D3D11_SDK_VERSION, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2` [INFO] [stdout] --> src/main.rs:194:37 [INFO] [stdout] | [INFO] [stdout] 194 | let swap_chain_descriptor = dxgi1_2::DXGI_SWAP_CHAIN_DESC1 { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgiformat` [INFO] [stdout] --> src/main.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | Format: dxgiformat::DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dxgiformat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `minwindef` [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | Stereo: minwindef::FALSE, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `minwindef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgitype` [INFO] [stdout] --> src/main.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | SampleDesc: dxgitype::DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dxgitype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgitype` [INFO] [stdout] --> src/main.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | BufferUsage: dxgitype::DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dxgitype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2` [INFO] [stdout] --> src/main.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | Scaling: dxgi1_2::DXGI_SCALING_STRETCH, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi` [INFO] [stdout] --> src/main.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | SwapEffect: dxgi::DXGI_SWAP_EFFECT_FLIP_DISCARD, [INFO] [stdout] | ^^^^ use of undeclared crate or module `dxgi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2` [INFO] [stdout] --> src/main.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | AlphaMode: dxgi1_2::DXGI_ALPHA_MODE_UNSPECIFIED, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi` [INFO] [stdout] --> src/main.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | Flags: dxgi::DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT, [INFO] [stdout] | ^^^^ use of undeclared crate or module `dxgi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:227:39 [INFO] [stdout] | [INFO] [stdout] 227 | let depth_buffer_descriptor = d3d11::D3D11_TEXTURE2D_DESC { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgiformat` [INFO] [stdout] --> src/main.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | Format: dxgiformat::DXGI_FORMAT_D24_UNORM_S8_UINT, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dxgiformat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgitype` [INFO] [stdout] --> src/main.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | SampleDesc: dxgitype::DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dxgitype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | Usage: d3d11::D3D11_USAGE_DEFAULT, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | BindFlags: d3d11::D3D11_BIND_DEPTH_STENCIL, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:242:36 [INFO] [stdout] | [INFO] [stdout] 242 | let mut depth_buffer: *mut d3d11::ID3D11Texture2D = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:250:45 [INFO] [stdout] | [INFO] [stdout] 250 | let depth_stencil_view_descriptor = d3d11::D3D11_DEPTH_STENCIL_VIEW_DESC { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | winuser::RegisterClassExA(&class); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgiformat` [INFO] [stdout] --> src/main.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | Format: dxgiformat::DXGI_FORMAT_D24_UNORM_S8_UINT, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dxgiformat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:252:28 [INFO] [stdout] | [INFO] [stdout] 252 | ViewDimension: d3d11::D3D11_DSV_DIMENSION_TEXTURE2D, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | let mut depth_stencl_view: *mut d3d11::ID3D11DepthStencilView = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:265:36 [INFO] [stdout] | [INFO] [stdout] 265 | let mut color_buffer: *mut d3d11::ID3D11Texture2D = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:266:50 [INFO] [stdout] | [INFO] [stdout] 266 | let result = (*swap_chain).GetBuffer(0, &d3d11::IID_ID3D11Texture2D, &mut color_buffer as *mut _ as *mut _); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:269:41 [INFO] [stdout] | [INFO] [stdout] 269 | let mut color_buffer_view: *mut d3d11::ID3D11RenderTargetView = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let gl_hwnd = winuser::CreateWindowExA( [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | winuser::WS_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | winuser::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | winuser::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLenum` in this scope [INFO] [stdout] --> src/main.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | source: GLenum, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLenum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLenum` in this scope [INFO] [stdout] --> src/main.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | gltype: GLenum, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLenum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLuint` in this scope [INFO] [stdout] --> src/main.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | id: GLuint, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLuint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLenum` in this scope [INFO] [stdout] --> src/main.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | severity: GLenum, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLenum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLsizei` in this scope [INFO] [stdout] --> src/main.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | length: GLsizei, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLsizei; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLchar` in this scope [INFO] [stdout] --> src/main.rs:125:33 [INFO] [stdout] | [INFO] [stdout] 125 | message: *const GLchar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 125 | message: *const char, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLchar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | winuser::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | winuser::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi` [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | libloaderapi::GetModuleHandleW(ptr::null()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/main.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let gl_hdc = winuser::GetDC(gl_hwnd); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi` [INFO] [stdout] --> src/main.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let pfd = wingdi::PIXELFORMATDESCRIPTOR { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wingdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi` [INFO] [stdout] --> src/main.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | nSize: mem::size_of::() as _, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wingdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi` [INFO] [stdout] --> src/main.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | dwFlags: wingdi::PFD_SUPPORT_OPENGL, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wingdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi` [INFO] [stdout] --> src/main.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let pixel_format = wingdi::ChoosePixelFormat(gl_hdc, &pfd); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wingdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi` [INFO] [stdout] --> src/main.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | assert!(0 != wingdi::SetPixelFormat(gl_hdc, pixel_format, &pfd)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wingdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi` [INFO] [stdout] --> src/main.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let h_opengl32 = libloaderapi::LoadLibraryA("OpenGL32.dll\0".as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi` [INFO] [stdout] --> src/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | libloaderapi::GetProcAddress(h_opengl32, cs.as_ptr()) as *const _ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_3` [INFO] [stdout] --> src/main.rs:168:34 [INFO] [stdout] | [INFO] [stdout] 168 | let mut swap_chain: *mut dxgi1_3::IDXGISwapChain2 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | let mut device: *mut d3d11::ID3D11Device = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let mut device_context: *mut d3d11::ID3D11DeviceContext = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2` [INFO] [stdout] --> src/main.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | let mut factory: *mut dxgi1_2::IDXGIFactory2 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi` [INFO] [stdout] --> src/main.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let result = dxgi::CreateDXGIFactory( [INFO] [stdout] | ^^^^ use of undeclared crate or module `dxgi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2` [INFO] [stdout] --> src/main.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | &dxgi1_2::IID_IDXGIFactory2, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | let result = d3d11::D3D11CreateDevice( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3dcommon` [INFO] [stdout] --> src/main.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | d3dcommon::D3D_DRIVER_TYPE_HARDWARE, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `d3dcommon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | d3d11::D3D11_CREATE_DEVICE_DEBUG, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | d3d11::D3D11_SDK_VERSION, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2` [INFO] [stdout] --> src/main.rs:194:37 [INFO] [stdout] | [INFO] [stdout] 194 | let swap_chain_descriptor = dxgi1_2::DXGI_SWAP_CHAIN_DESC1 { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgiformat` [INFO] [stdout] --> src/main.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | Format: dxgiformat::DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dxgiformat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `minwindef` [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | Stereo: minwindef::FALSE, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `minwindef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgitype` [INFO] [stdout] --> src/main.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | SampleDesc: dxgitype::DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dxgitype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgitype` [INFO] [stdout] --> src/main.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | BufferUsage: dxgitype::DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dxgitype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2` [INFO] [stdout] --> src/main.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | Scaling: dxgi1_2::DXGI_SCALING_STRETCH, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi` [INFO] [stdout] --> src/main.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | SwapEffect: dxgi::DXGI_SWAP_EFFECT_FLIP_DISCARD, [INFO] [stdout] | ^^^^ use of undeclared crate or module `dxgi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2` [INFO] [stdout] --> src/main.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | AlphaMode: dxgi1_2::DXGI_ALPHA_MODE_UNSPECIFIED, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dxgi1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi` [INFO] [stdout] --> src/main.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | Flags: dxgi::DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT, [INFO] [stdout] | ^^^^ use of undeclared crate or module `dxgi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:227:39 [INFO] [stdout] | [INFO] [stdout] 227 | let depth_buffer_descriptor = d3d11::D3D11_TEXTURE2D_DESC { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgiformat` [INFO] [stdout] --> src/main.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | Format: dxgiformat::DXGI_FORMAT_D24_UNORM_S8_UINT, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dxgiformat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgitype` [INFO] [stdout] --> src/main.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | SampleDesc: dxgitype::DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dxgitype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | Usage: d3d11::D3D11_USAGE_DEFAULT, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | BindFlags: d3d11::D3D11_BIND_DEPTH_STENCIL, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:242:36 [INFO] [stdout] | [INFO] [stdout] 242 | let mut depth_buffer: *mut d3d11::ID3D11Texture2D = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:250:45 [INFO] [stdout] | [INFO] [stdout] 250 | let depth_stencil_view_descriptor = d3d11::D3D11_DEPTH_STENCIL_VIEW_DESC { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgiformat` [INFO] [stdout] --> src/main.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | Format: dxgiformat::DXGI_FORMAT_D24_UNORM_S8_UINT, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dxgiformat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:252:28 [INFO] [stdout] | [INFO] [stdout] 252 | ViewDimension: d3d11::D3D11_DSV_DIMENSION_TEXTURE2D, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | let mut depth_stencl_view: *mut d3d11::ID3D11DepthStencilView = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:265:36 [INFO] [stdout] | [INFO] [stdout] 265 | let mut color_buffer: *mut d3d11::ID3D11Texture2D = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:266:50 [INFO] [stdout] | [INFO] [stdout] 266 | let result = (*swap_chain).GetBuffer(0, &d3d11::IID_ID3D11Texture2D, &mut color_buffer as *mut _ as *mut _); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11` [INFO] [stdout] --> src/main.rs:269:41 [INFO] [stdout] | [INFO] [stdout] 269 | let mut color_buffer_view: *mut d3d11::ID3D11RenderTargetView = ptr::null_mut(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `d3d11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror` [INFO] [stdout] --> src/main.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(winerror::S_OK, result, "{:x}", result); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `winerror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLenum` in this scope [INFO] [stdout] --> src/main.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | source: GLenum, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLenum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLenum` in this scope [INFO] [stdout] --> src/main.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | gltype: GLenum, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLenum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLuint` in this scope [INFO] [stdout] --> src/main.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | id: GLuint, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLuint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLenum` in this scope [INFO] [stdout] --> src/main.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | severity: GLenum, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLenum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLsizei` in this scope [INFO] [stdout] --> src/main.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | length: GLsizei, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLsizei; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLchar` in this scope [INFO] [stdout] --> src/main.rs:125:33 [INFO] [stdout] | [INFO] [stdout] 125 | message: *const GLchar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 125 | message: *const char, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLchar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | gl::DebugMessageCallback(debug_callback, 0 as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Option`, found fn item [INFO] [stdout] | help: try using a variant of the expected enum: `Some(debug_callback)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found fn item `extern "system" fn([type error], [type error], [type error], [type error], [type error], *const [type error], *mut c_void) {debug_callback}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope [INFO] [stdout] --> src/main.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | window.hwnd() as _, [INFO] [stdout] | ^^^^ method not found in `winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `EventsCleared` found for enum `Event<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:315:24 [INFO] [stdout] | [INFO] [stdout] 315 | Event::EventsCleared => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Event<'_, _>` [INFO] [stdout] | help: there is a variant with a similar name: `MainEventsCleared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | gl::DebugMessageCallback(debug_callback, 0 as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Option`, found fn item [INFO] [stdout] | help: try using a variant of the expected enum: `Some(debug_callback)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found fn item `extern "system" fn([type error], [type error], [type error], [type error], [type error], *const [type error], *mut c_void) {debug_callback}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 75 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `render_to_dxgi` [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[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope [INFO] [stdout] --> src/main.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | window.hwnd() as _, [INFO] [stdout] | ^^^^ method not found in `winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `EventsCleared` found for enum `Event<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:315:24 [INFO] [stdout] | [INFO] [stdout] 315 | Event::EventsCleared => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Event<'_, _>` [INFO] [stdout] | help: there is a variant with a similar name: `MainEventsCleared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 75 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3006dec3f9f57ba2947a897909cb58d49b01914c77083d410b90a0ed5b29fbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3006dec3f9f57ba2947a897909cb58d49b01914c77083d410b90a0ed5b29fbcc", kill_on_drop: false }` [INFO] [stdout] 3006dec3f9f57ba2947a897909cb58d49b01914c77083d410b90a0ed5b29fbcc