[INFO] cloning repository https://github.com/Anddii/Rust-winapi-window
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anddii/Rust-winapi-window" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnddii%2FRust-winapi-window", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnddii%2FRust-winapi-window'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cf8d70ad6da470832976a2b9abd7848de889b6e3
[INFO] checking Anddii/Rust-winapi-window against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnddii%2FRust-winapi-window" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Anddii/Rust-winapi-window
[INFO] finished tweaking git repo https://github.com/Anddii/Rust-winapi-window
[INFO] tweaked toml for git repo https://github.com/Anddii/Rust-winapi-window written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anddii/Rust-winapi-window on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Anddii/Rust-winapi-window 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dcb80eed6b62077f34a4713b78ebbb4868526badacd1d35e4044c4cd1354e935
[INFO] running `Command { std: "docker" "start" "-a" "dcb80eed6b62077f34a4713b78ebbb4868526badacd1d35e4044c4cd1354e935", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcb80eed6b62077f34a4713b78ebbb4868526badacd1d35e4044c4cd1354e935", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcb80eed6b62077f34a4713b78ebbb4868526badacd1d35e4044c4cd1354e935", kill_on_drop: false }`
[INFO] [stdout] dcb80eed6b62077f34a4713b78ebbb4868526badacd1d35e4044c4cd1354e935
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85b8caef28a7c54df35c70f5b6a345801d3700128eb8a5b832d58da19d8c7606
[INFO] running `Command { std: "docker" "start" "-a" "85b8caef28a7c54df35c70f5b6a345801d3700128eb8a5b832d58da19d8c7606", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling directx_math v0.2.2
[INFO] [stderr]     Checking rust_dx v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::dxgi::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::dxgiformat::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::shared::dxgitype::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::shared::minwindef::{LPARAM, LPVOID, LRESULT, UINT, WPARAM};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::shared::windef::{HICON, HWND, RECT};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::shared::winerror::FAILED;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::d3d11::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::d3dcommon::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::um::d3dcompiler::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::um::unknwnbase::IUnknown;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::um::winnt::HRESULT;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/time.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::ntdef::LARGE_INTEGER;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/time.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::dxgi::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::dxgiformat::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::shared::dxgitype::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::shared::minwindef::{LPARAM, LPVOID, LRESULT, UINT, WPARAM};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::shared::windef::{HICON, HWND, RECT};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/std/src/os/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/std/src/os/mod.rs:120:10
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::shared::winerror::FAILED;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::d3d11::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::d3dcommon::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::um::d3dcompiler::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::um::unknwnbase::IUnknown;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::um::winnt::HRESULT;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/time.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::ntdef::LARGE_INTEGER;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/time.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::winapi`
[INFO] [stdout]   --> src/main.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::winapi::Interface;
[INFO] [stdout]    |            ^^^^^^ could not find `winapi` in the crate root
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/main.rs:2:14
[INFO] [stdout]    |
[INFO] [stdout]  1 | #[cfg(windows)]
[INFO] [stdout]    |       ------- the item is gated here
[INFO] [stdout]  2 | extern crate winapi;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/std/src/os/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/std/src/os/mod.rs:120:10
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::winapi`
[INFO] [stdout]   --> src/main.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::winapi::Interface;
[INFO] [stdout]    |            ^^^^^^ could not find `winapi` in the crate root
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/main.rs:2:14
[INFO] [stdout]    |
[INFO] [stdout]  1 | #[cfg(windows)]
[INFO] [stdout]    |       ------- the item is gated here
[INFO] [stdout]  2 | extern crate winapi;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:81:33
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let hinstance = winapi::um::libloaderapi::GetModuleHandleW(null_mut());
[INFO] [stdout]    |                                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:81:33
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let hinstance = winapi::um::libloaderapi::GetModuleHandleW(null_mut());
[INFO] [stdout]    |                                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]    --> src/main.rs:177:76
[INFO] [stdout]     |
[INFO] [stdout] 177 |             &mut dxgi_device as *mut *mut IDXGIDevice as *mut *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                                                            ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]    --> src/main.rs:186:79
[INFO] [stdout]     |
[INFO] [stdout] 186 |             &mut dxgi_factory as *mut *mut IDXGIFactory1 as *mut *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                                                               ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]    --> src/main.rs:177:76
[INFO] [stdout]     |
[INFO] [stdout] 177 |             &mut dxgi_device as *mut *mut IDXGIDevice as *mut *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                                                            ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]    --> src/main.rs:186:79
[INFO] [stdout]     |
[INFO] [stdout] 186 |             &mut dxgi_factory as *mut *mut IDXGIFactory1 as *mut *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                                                               ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Buffer` in this scope
[INFO] [stdout]   --> src/main.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |     _vertex_buffer: *mut ID3D11Buffer,
[INFO] [stdout]    |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Buffer` in this scope
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     _index_buffer: *mut ID3D11Buffer,
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Buffer` in this scope
[INFO] [stdout]   --> src/main.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 |     _constant_buffer: *mut ID3D11Buffer,
[INFO] [stdout]    |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope
[INFO] [stdout]   --> src/main.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |     _device: *mut ID3D11Device,
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope
[INFO] [stdout]   --> src/main.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 |     _device_context: *mut ID3D11DeviceContext,
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain` in this scope
[INFO] [stdout]   --> src/main.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     _swap_chain: *mut IDXGISwapChain,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Texture2D` in this scope
[INFO] [stdout]   --> src/main.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |     _back_buffer: *mut ID3D11Texture2D,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope
[INFO] [stdout]   --> src/main.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |     _render_target: *mut ID3D11RenderTargetView,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut message: MSG = mem::zeroed();
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:64:46
[INFO] [stdout]    |
[INFO] [stdout] 64 |         if PeekMessageA(&mut message as *mut MSG, null_mut(), 0, 0, PM_REMOVE) > 0 {
[INFO] [stdout]    |                                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope
[INFO] [stdout]   --> src/main.rs:64:69
[INFO] [stdout]    |
[INFO] [stdout] 64 |         if PeekMessageA(&mut message as *mut MSG, null_mut(), 0, 0, PM_REMOVE) > 0 {
[INFO] [stdout]    |                                                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:65:49
[INFO] [stdout]    |
[INFO] [stdout] 65 |             TranslateMessage(&message as *const MSG);
[INFO] [stdout]    |                                                 ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:66:49
[INFO] [stdout]    |
[INFO] [stdout] 66 |             DispatchMessageW(&message as *const MSG);
[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]   --> src/main.rs:67:35
[INFO] [stdout]    |
[INFO] [stdout] 67 |             if message.message == WM_QUIT {
[INFO] [stdout]    |                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stdout]   --> src/main.rs:82:25
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let wnd_class = WNDCLASSEXW {
[INFO] [stdout]    |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stdout]   --> src/main.rs:83:31
[INFO] [stdout]    |
[INFO] [stdout] 83 |             cbSize: size_of::<WNDCLASSEXW>() as u32,
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn create_window<WNDCLASSEXW>(name: &str, title: &str) -> Result<Window, Error> {
[INFO] [stdout]    |                 +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stdout]   --> src/main.rs:85:20
[INFO] [stdout]    |
[INFO] [stdout] 85 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]    |                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stdout]   --> src/main.rs:85:33
[INFO] [stdout]    |
[INFO] [stdout] 85 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]    --> src/main.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stdout]    --> src/main.rs:103:35
[INFO] [stdout]     |
[INFO] [stdout] 103 |             WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[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]    --> src/main.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |             CW_USEDEFAULT,
[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]    --> src/main.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             CW_USEDEFAULT,
[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]    --> src/main.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |             CW_USEDEFAULT,
[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]    --> src/main.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |             CW_USEDEFAULT,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_DEBUG` in this scope
[INFO] [stdout]    --> src/main.rs:133:26
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let creation_flags = D3D11_CREATE_DEVICE_DEBUG;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DXGI_SWAP_CHAIN_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:158:34
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut swap_chain_desc: DXGI_SWAP_CHAIN_DESC = mem::zeroed();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stdout]    --> src/main.rs:163:45
[INFO] [stdout]     |
[INFO] [stdout] 163 |         swap_chain_desc.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope
[INFO] [stdout]    --> src/main.rs:164:39
[INFO] [stdout]     |
[INFO] [stdout] 164 |         swap_chain_desc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_DISCARD` in this scope
[INFO] [stdout]    --> src/main.rs:167:38
[INFO] [stdout]     |
[INFO] [stdout] 167 |         swap_chain_desc.SwapEffect = DXGI_SWAP_EFFECT_DISCARD; // TODO: Change this. DXGI_SWAP_EFFECT_FLIP_DISCARD and use BufferCount = 2
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIDevice` in this scope
[INFO] [stdout]    --> src/main.rs:170:35
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut dxgi_device: *mut IDXGIDevice = null_mut();
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter` in this scope
[INFO] [stdout]    --> src/main.rs:171:36
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let mut dxgi_adapter: *mut IDXGIAdapter = null_mut();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory1` in this scope
[INFO] [stdout]    --> src/main.rs:172:36
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let mut dxgi_factory: *mut IDXGIFactory1 = null_mut();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIDevice` in this scope
[INFO] [stdout]    --> src/main.rs:177:43
[INFO] [stdout]     |
[INFO] [stdout] 177 |             &mut dxgi_device as *mut *mut IDXGIDevice as *mut *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory1` in this scope
[INFO] [stdout]    --> src/main.rs:186:44
[INFO] [stdout]     |
[INFO] [stdout] 186 |             &mut dxgi_factory as *mut *mut IDXGIFactory1 as *mut *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IID_ID3D11Texture2D` in this scope
[INFO] [stdout]    --> src/main.rs:199:14
[INFO] [stdout]     |
[INFO] [stdout] 199 |             &IID_ID3D11Texture2D,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_VIEWPORT` in this scope
[INFO] [stdout]    --> src/main.rs:221:27
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut viewport: D3D11_VIEWPORT = mem::zeroed();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11VertexShader` in this scope
[INFO] [stdout]    --> src/main.rs:244:28
[INFO] [stdout]     |
[INFO] [stdout] 244 |         let mut p_vs: *mut ID3D11VertexShader = null_mut();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11PixelShader` in this scope
[INFO] [stdout]    --> src/main.rs:245:28
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut p_ps: *mut ID3D11PixelShader = null_mut();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11InputLayout` in this scope
[INFO] [stdout]    --> src/main.rs:246:32
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let mut p_layout: *mut ID3D11InputLayout = mem::zeroed();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D_COMPILE_STANDARD_FILE_INCLUDE` in this scope
[INFO] [stdout]    --> src/main.rs:252:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |             D3D_COMPILE_STANDARD_FILE_INCLUDE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope
[INFO] [stdout]    --> src/main.rs:255:13
[INFO] [stdout]     |
[INFO] [stdout] 255 |             D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope
[INFO] [stdout]    --> src/main.rs:255:32
[INFO] [stdout]     |
[INFO] [stdout] 255 |             D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D_COMPILE_STANDARD_FILE_INCLUDE` in this scope
[INFO] [stdout]    --> src/main.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |             D3D_COMPILE_STANDARD_FILE_INCLUDE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope
[INFO] [stdout]    --> src/main.rs:271:13
[INFO] [stdout]     |
[INFO] [stdout] 271 |             D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope
[INFO] [stdout]    --> src/main.rs:271:32
[INFO] [stdout]     |
[INFO] [stdout] 271 |             D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_INPUT_ELEMENT_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:319:13
[INFO] [stdout]     |
[INFO] [stdout] 319 |             D3D11_INPUT_ELEMENT_DESC {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32_FLOAT` in this scope
[INFO] [stdout]    --> src/main.rs:323:25
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 Format: DXGI_FORMAT_R32G32_FLOAT,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_INPUT_PER_VERTEX_DATA` in this scope
[INFO] [stdout]    --> src/main.rs:326:33
[INFO] [stdout]     |
[INFO] [stdout] 326 |                 InputSlotClass: D3D11_INPUT_PER_VERTEX_DATA,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_INPUT_ELEMENT_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:329:13
[INFO] [stdout]     |
[INFO] [stdout] 329 |             D3D11_INPUT_ELEMENT_DESC {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32A32_FLOAT` in this scope
[INFO] [stdout]    --> src/main.rs:332:25
[INFO] [stdout]     |
[INFO] [stdout] 332 |                 Format: DXGI_FORMAT_R32G32B32A32_FLOAT,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_APPEND_ALIGNED_ELEMENT` in this scope
[INFO] [stdout]    --> src/main.rs:334:36
[INFO] [stdout]     |
[INFO] [stdout] 334 |                 AlignedByteOffset: D3D11_APPEND_ALIGNED_ELEMENT,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_INPUT_PER_VERTEX_DATA` in this scope
[INFO] [stdout]    --> src/main.rs:335:33
[INFO] [stdout]     |
[INFO] [stdout] 335 |                 InputSlotClass: D3D11_INPUT_PER_VERTEX_DATA,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_BUFFER_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:415:23
[INFO] [stdout]     |
[INFO] [stdout] 415 |     let buffer_desc = D3D11_BUFFER_DESC {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_IMMUTABLE` in this scope
[INFO] [stdout]    --> src/main.rs:416:16
[INFO] [stdout]     |
[INFO] [stdout] 416 |         Usage: D3D11_USAGE_IMMUTABLE,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_VERTEX_BUFFER` in this scope
[INFO] [stdout]    --> src/main.rs:418:20
[INFO] [stdout]     |
[INFO] [stdout] 418 |         BindFlags: D3D11_BIND_VERTEX_BUFFER,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_BUFFER_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:425:29
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let index_buffer_desc = D3D11_BUFFER_DESC {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_IMMUTABLE` in this scope
[INFO] [stdout]    --> src/main.rs:426:16
[INFO] [stdout]     |
[INFO] [stdout] 426 |         Usage: D3D11_USAGE_IMMUTABLE,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_INDEX_BUFFER` in this scope
[INFO] [stdout]    --> src/main.rs:428:20
[INFO] [stdout]     |
[INFO] [stdout] 428 |         BindFlags: D3D11_BIND_INDEX_BUFFER,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_SUBRESOURCE_DATA` in this scope
[INFO] [stdout]    --> src/main.rs:435:26
[INFO] [stdout]     |
[INFO] [stdout] 435 |         let vinit_data = D3D11_SUBRESOURCE_DATA {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_SUBRESOURCE_DATA` in this scope
[INFO] [stdout]    --> src/main.rs:453:26
[INFO] [stdout]     |
[INFO] [stdout] 453 |         let iinit_data = D3D11_SUBRESOURCE_DATA {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32_UINT` in this scope
[INFO] [stdout]    --> src/main.rs:478:13
[INFO] [stdout]     |
[INFO] [stdout] 478 |             DXGI_FORMAT_R32_UINT,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_BUFFER_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:494:27
[INFO] [stdout]     |
[INFO] [stdout] 494 |         let buffer_desc = D3D11_BUFFER_DESC {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_DYNAMIC` in this scope
[INFO] [stdout]    --> src/main.rs:495:20
[INFO] [stdout]     |
[INFO] [stdout] 495 |             Usage: D3D11_USAGE_DYNAMIC,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_CONSTANT_BUFFER` in this scope
[INFO] [stdout]    --> src/main.rs:497:24
[INFO] [stdout]     |
[INFO] [stdout] 497 |             BindFlags: D3D11_BIND_CONSTANT_BUFFER,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_WRITE` in this scope
[INFO] [stdout]    --> src/main.rs:498:29
[INFO] [stdout]     |
[INFO] [stdout] 498 |             CPUAccessFlags: D3D11_CPU_ACCESS_WRITE,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_MAPPED_SUBRESOURCE` in this scope
[INFO] [stdout]    --> src/main.rs:563:21
[INFO] [stdout]     |
[INFO] [stdout] 563 |         let mut ms: D3D11_MAPPED_SUBRESOURCE = mem::zeroed();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_MAP_WRITE_DISCARD` in this scope
[INFO] [stdout]    --> src/main.rs:567:13
[INFO] [stdout]     |
[INFO] [stdout] 567 |             D3D11_MAP_WRITE_DISCARD,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries`
[INFO] [stdout]    --> src/main.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 | #[allow(temporary_cstring_as_ptr)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Buffer` in this scope
[INFO] [stdout]   --> src/main.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |     _vertex_buffer: *mut ID3D11Buffer,
[INFO] [stdout]    |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Buffer` in this scope
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     _index_buffer: *mut ID3D11Buffer,
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Buffer` in this scope
[INFO] [stdout]   --> src/main.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 |     _constant_buffer: *mut ID3D11Buffer,
[INFO] [stdout]    |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope
[INFO] [stdout]   --> src/main.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |     _device: *mut ID3D11Device,
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope
[INFO] [stdout]   --> src/main.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 |     _device_context: *mut ID3D11DeviceContext,
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain` in this scope
[INFO] [stdout]   --> src/main.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     _swap_chain: *mut IDXGISwapChain,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Texture2D` in this scope
[INFO] [stdout]   --> src/main.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |     _back_buffer: *mut ID3D11Texture2D,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope
[INFO] [stdout]   --> src/main.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |     _render_target: *mut ID3D11RenderTargetView,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut message: MSG = mem::zeroed();
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:64:46
[INFO] [stdout]    |
[INFO] [stdout] 64 |         if PeekMessageA(&mut message as *mut MSG, null_mut(), 0, 0, PM_REMOVE) > 0 {
[INFO] [stdout]    |                                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope
[INFO] [stdout]   --> src/main.rs:64:69
[INFO] [stdout]    |
[INFO] [stdout] 64 |         if PeekMessageA(&mut message as *mut MSG, null_mut(), 0, 0, PM_REMOVE) > 0 {
[INFO] [stdout]    |                                                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:65:49
[INFO] [stdout]    |
[INFO] [stdout] 65 |             TranslateMessage(&message as *const MSG);
[INFO] [stdout]    |                                                 ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:66:49
[INFO] [stdout]    |
[INFO] [stdout] 66 |             DispatchMessageW(&message as *const MSG);
[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]   --> src/main.rs:67:35
[INFO] [stdout]    |
[INFO] [stdout] 67 |             if message.message == WM_QUIT {
[INFO] [stdout]    |                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stdout]   --> src/main.rs:82:25
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let wnd_class = WNDCLASSEXW {
[INFO] [stdout]    |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stdout]   --> src/main.rs:83:31
[INFO] [stdout]    |
[INFO] [stdout] 83 |             cbSize: size_of::<WNDCLASSEXW>() as u32,
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn create_window<WNDCLASSEXW>(name: &str, title: &str) -> Result<Window, Error> {
[INFO] [stdout]    |                 +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stdout]   --> src/main.rs:85:20
[INFO] [stdout]    |
[INFO] [stdout] 85 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]    |                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stdout]   --> src/main.rs:85:33
[INFO] [stdout]    |
[INFO] [stdout] 85 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]    --> src/main.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stdout]    --> src/main.rs:103:35
[INFO] [stdout]     |
[INFO] [stdout] 103 |             WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[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]    --> src/main.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |             CW_USEDEFAULT,
[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]    --> src/main.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             CW_USEDEFAULT,
[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]    --> src/main.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |             CW_USEDEFAULT,
[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]    --> src/main.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |             CW_USEDEFAULT,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_DEBUG` in this scope
[INFO] [stdout]    --> src/main.rs:133:26
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let creation_flags = D3D11_CREATE_DEVICE_DEBUG;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DXGI_SWAP_CHAIN_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:158:34
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut swap_chain_desc: DXGI_SWAP_CHAIN_DESC = mem::zeroed();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stdout]    --> src/main.rs:163:45
[INFO] [stdout]     |
[INFO] [stdout] 163 |         swap_chain_desc.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope
[INFO] [stdout]    --> src/main.rs:164:39
[INFO] [stdout]     |
[INFO] [stdout] 164 |         swap_chain_desc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_DISCARD` in this scope
[INFO] [stdout]    --> src/main.rs:167:38
[INFO] [stdout]     |
[INFO] [stdout] 167 |         swap_chain_desc.SwapEffect = DXGI_SWAP_EFFECT_DISCARD; // TODO: Change this. DXGI_SWAP_EFFECT_FLIP_DISCARD and use BufferCount = 2
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIDevice` in this scope
[INFO] [stdout]    --> src/main.rs:170:35
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut dxgi_device: *mut IDXGIDevice = null_mut();
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter` in this scope
[INFO] [stdout]    --> src/main.rs:171:36
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let mut dxgi_adapter: *mut IDXGIAdapter = null_mut();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory1` in this scope
[INFO] [stdout]    --> src/main.rs:172:36
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let mut dxgi_factory: *mut IDXGIFactory1 = null_mut();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIDevice` in this scope
[INFO] [stdout]    --> src/main.rs:177:43
[INFO] [stdout]     |
[INFO] [stdout] 177 |             &mut dxgi_device as *mut *mut IDXGIDevice as *mut *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory1` in this scope
[INFO] [stdout]    --> src/main.rs:186:44
[INFO] [stdout]     |
[INFO] [stdout] 186 |             &mut dxgi_factory as *mut *mut IDXGIFactory1 as *mut *mut winapi::ctypes::c_void,
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IID_ID3D11Texture2D` in this scope
[INFO] [stdout]    --> src/main.rs:199:14
[INFO] [stdout]     |
[INFO] [stdout] 199 |             &IID_ID3D11Texture2D,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_VIEWPORT` in this scope
[INFO] [stdout]    --> src/main.rs:221:27
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut viewport: D3D11_VIEWPORT = mem::zeroed();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11VertexShader` in this scope
[INFO] [stdout]    --> src/main.rs:244:28
[INFO] [stdout]     |
[INFO] [stdout] 244 |         let mut p_vs: *mut ID3D11VertexShader = null_mut();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11PixelShader` in this scope
[INFO] [stdout]    --> src/main.rs:245:28
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut p_ps: *mut ID3D11PixelShader = null_mut();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11InputLayout` in this scope
[INFO] [stdout]    --> src/main.rs:246:32
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let mut p_layout: *mut ID3D11InputLayout = mem::zeroed();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D_COMPILE_STANDARD_FILE_INCLUDE` in this scope
[INFO] [stdout]    --> src/main.rs:252:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |             D3D_COMPILE_STANDARD_FILE_INCLUDE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope
[INFO] [stdout]    --> src/main.rs:255:13
[INFO] [stdout]     |
[INFO] [stdout] 255 |             D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope
[INFO] [stdout]    --> src/main.rs:255:32
[INFO] [stdout]     |
[INFO] [stdout] 255 |             D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D_COMPILE_STANDARD_FILE_INCLUDE` in this scope
[INFO] [stdout]    --> src/main.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |             D3D_COMPILE_STANDARD_FILE_INCLUDE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope
[INFO] [stdout]    --> src/main.rs:271:13
[INFO] [stdout]     |
[INFO] [stdout] 271 |             D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope
[INFO] [stdout]    --> src/main.rs:271:32
[INFO] [stdout]     |
[INFO] [stdout] 271 |             D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_INPUT_ELEMENT_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:319:13
[INFO] [stdout]     |
[INFO] [stdout] 319 |             D3D11_INPUT_ELEMENT_DESC {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32_FLOAT` in this scope
[INFO] [stdout]    --> src/main.rs:323:25
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 Format: DXGI_FORMAT_R32G32_FLOAT,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_INPUT_PER_VERTEX_DATA` in this scope
[INFO] [stdout]    --> src/main.rs:326:33
[INFO] [stdout]     |
[INFO] [stdout] 326 |                 InputSlotClass: D3D11_INPUT_PER_VERTEX_DATA,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_INPUT_ELEMENT_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:329:13
[INFO] [stdout]     |
[INFO] [stdout] 329 |             D3D11_INPUT_ELEMENT_DESC {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32A32_FLOAT` in this scope
[INFO] [stdout]    --> src/main.rs:332:25
[INFO] [stdout]     |
[INFO] [stdout] 332 |                 Format: DXGI_FORMAT_R32G32B32A32_FLOAT,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_APPEND_ALIGNED_ELEMENT` in this scope
[INFO] [stdout]    --> src/main.rs:334:36
[INFO] [stdout]     |
[INFO] [stdout] 334 |                 AlignedByteOffset: D3D11_APPEND_ALIGNED_ELEMENT,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_INPUT_PER_VERTEX_DATA` in this scope
[INFO] [stdout]    --> src/main.rs:335:33
[INFO] [stdout]     |
[INFO] [stdout] 335 |                 InputSlotClass: D3D11_INPUT_PER_VERTEX_DATA,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_BUFFER_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:415:23
[INFO] [stdout]     |
[INFO] [stdout] 415 |     let buffer_desc = D3D11_BUFFER_DESC {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_IMMUTABLE` in this scope
[INFO] [stdout]    --> src/main.rs:416:16
[INFO] [stdout]     |
[INFO] [stdout] 416 |         Usage: D3D11_USAGE_IMMUTABLE,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_VERTEX_BUFFER` in this scope
[INFO] [stdout]    --> src/main.rs:418:20
[INFO] [stdout]     |
[INFO] [stdout] 418 |         BindFlags: D3D11_BIND_VERTEX_BUFFER,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |     OsStr::new(value).encode_wide().chain(once(0)).collect()
[INFO] [stdout]    |                       ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_BUFFER_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:425:29
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let index_buffer_desc = D3D11_BUFFER_DESC {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_IMMUTABLE` in this scope
[INFO] [stdout]    --> src/main.rs:426:16
[INFO] [stdout]     |
[INFO] [stdout] 426 |         Usage: D3D11_USAGE_IMMUTABLE,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in this scope
[INFO] [stdout]   --> src/main.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |         if PeekMessageA(&mut message as *mut MSG, null_mut(), 0, 0, PM_REMOVE) > 0 {
[INFO] [stdout]    |            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_INDEX_BUFFER` in this scope
[INFO] [stdout]    --> src/main.rs:428:20
[INFO] [stdout]     |
[INFO] [stdout] 428 |         BindFlags: D3D11_BIND_INDEX_BUFFER,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_SUBRESOURCE_DATA` in this scope
[INFO] [stdout]    --> src/main.rs:435:26
[INFO] [stdout]     |
[INFO] [stdout] 435 |         let vinit_data = D3D11_SUBRESOURCE_DATA {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]   --> src/main.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             TranslateMessage(&message as *const MSG);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_SUBRESOURCE_DATA` in this scope
[INFO] [stdout]    --> src/main.rs:453:26
[INFO] [stdout]     |
[INFO] [stdout] 453 |         let iinit_data = D3D11_SUBRESOURCE_DATA {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             DispatchMessageW(&message as *const MSG);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32_UINT` in this scope
[INFO] [stdout]    --> src/main.rs:478:13
[INFO] [stdout]     |
[INFO] [stdout] 478 |             DXGI_FORMAT_R32_UINT,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stdout]   --> src/main.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |         RegisterClassExW(&wnd_class);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_BUFFER_DESC` in this scope
[INFO] [stdout]    --> src/main.rs:494:27
[INFO] [stdout]     |
[INFO] [stdout] 494 |         let buffer_desc = D3D11_BUFFER_DESC {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/main.rs:99:22
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let handle = CreateWindowExW(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_DYNAMIC` in this scope
[INFO] [stdout]    --> src/main.rs:495:20
[INFO] [stdout]     |
[INFO] [stdout] 495 |             Usage: D3D11_USAGE_DYNAMIC,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stdout]    --> src/main.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         GetClientRect(handle, &mut rect);
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_dx` (bin "rust_dx" test) due to 100 previous errors; 1 warning emitted
[INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_CONSTANT_BUFFER` in this scope
[INFO] [stdout]    --> src/main.rs:497:24
[INFO] [stdout]     |
[INFO] [stdout] 497 |             BindFlags: D3D11_BIND_CONSTANT_BUFFER,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDevice` in this scope
[INFO] [stdout]    --> src/main.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         D3D11CreateDevice(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_WRITE` in this scope
[INFO] [stdout]    --> src/main.rs:498:29
[INFO] [stdout]     |
[INFO] [stdout] 498 |             CPUAccessFlags: D3D11_CPU_ACCESS_WRITE,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIDevice`
[INFO] [stdout]    --> src/main.rs:176:14
[INFO] [stdout]     |
[INFO] [stdout] 176 |             &IDXGIDevice::uuidof(),
[INFO] [stdout]     |              ^^^^^^^^^^^ use of undeclared type `IDXGIDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_MAPPED_SUBRESOURCE` in this scope
[INFO] [stdout]    --> src/main.rs:563:21
[INFO] [stdout]     |
[INFO] [stdout] 563 |         let mut ms: D3D11_MAPPED_SUBRESOURCE = mem::zeroed();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIFactory1`
[INFO] [stdout]    --> src/main.rs:185:14
[INFO] [stdout]     |
[INFO] [stdout] 185 |             &IDXGIFactory1::uuidof(),
[INFO] [stdout]     |              ^^^^^^^^^^^^^ use of undeclared type `IDXGIFactory1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope
[INFO] [stdout]    --> src/main.rs:249:28
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let res: HRESULT = D3DCompileFromFile(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_MAP_WRITE_DISCARD` in this scope
[INFO] [stdout]    --> src/main.rs:567:13
[INFO] [stdout]     |
[INFO] [stdout] 567 |             D3D11_MAP_WRITE_DISCARD,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries`
[INFO] [stdout]    --> src/main.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 | #[allow(temporary_cstring_as_ptr)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope
[INFO] [stdout]    --> src/main.rs:265:28
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let res: HRESULT = D3DCompileFromFile(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]    --> src/main.rs:656:13
[INFO] [stdout]     |
[INFO] [stdout] 656 |             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 `DefWindowProcA` in this scope
[INFO] [stdout]    --> src/main.rs:661:5
[INFO] [stdout]     |
[INFO] [stdout] 661 |     DefWindowProcA(hwnd, u_msg, w_param, l_param)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |     OsStr::new(value).encode_wide().chain(once(0)).collect()
[INFO] [stdout]    |                       ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in this scope
[INFO] [stdout]   --> src/main.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |         if PeekMessageA(&mut message as *mut MSG, null_mut(), 0, 0, PM_REMOVE) > 0 {
[INFO] [stdout]    |            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]   --> src/main.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             TranslateMessage(&message as *const 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]   --> src/main.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             DispatchMessageW(&message as *const MSG);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stdout]   --> src/main.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |         RegisterClassExW(&wnd_class);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/main.rs:99:22
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let handle = CreateWindowExW(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stdout]    --> src/main.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         GetClientRect(handle, &mut rect);
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDevice` in this scope
[INFO] [stdout]    --> src/main.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         D3D11CreateDevice(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIDevice`
[INFO] [stdout]    --> src/main.rs:176:14
[INFO] [stdout]     |
[INFO] [stdout] 176 |             &IDXGIDevice::uuidof(),
[INFO] [stdout]     |              ^^^^^^^^^^^ use of undeclared type `IDXGIDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIFactory1`
[INFO] [stdout]    --> src/main.rs:185:14
[INFO] [stdout]     |
[INFO] [stdout] 185 |             &IDXGIFactory1::uuidof(),
[INFO] [stdout]     |              ^^^^^^^^^^^^^ use of undeclared type `IDXGIFactory1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope
[INFO] [stdout]    --> src/main.rs:249:28
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let res: HRESULT = D3DCompileFromFile(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope
[INFO] [stdout]    --> src/main.rs:265:28
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let res: HRESULT = D3DCompileFromFile(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]    --> src/main.rs:656:13
[INFO] [stdout]     |
[INFO] [stdout] 656 |             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 `DefWindowProcA` in this scope
[INFO] [stdout]    --> src/main.rs:661:5
[INFO] [stdout]     |
[INFO] [stdout] 661 |     DefWindowProcA(hwnd, u_msg, w_param, l_param)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_dx` (bin "rust_dx") due to 100 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "85b8caef28a7c54df35c70f5b6a345801d3700128eb8a5b832d58da19d8c7606", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85b8caef28a7c54df35c70f5b6a345801d3700128eb8a5b832d58da19d8c7606", kill_on_drop: false }`
[INFO] [stdout] 85b8caef28a7c54df35c70f5b6a345801d3700128eb8a5b832d58da19d8c7606
