[INFO] cloning repository https://github.com/DrewKestell/ForayRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DrewKestell/ForayRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrewKestell%2FForayRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrewKestell%2FForayRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a7e2a03614926badc8321ac1d22ae9c6c123abb [INFO] checking DrewKestell/ForayRust against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrewKestell%2FForayRust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DrewKestell/ForayRust on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DrewKestell/ForayRust [INFO] finished tweaking git repo https://github.com/DrewKestell/ForayRust [INFO] tweaked toml for git repo https://github.com/DrewKestell/ForayRust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/DrewKestell/ForayRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37fafc3faf7baf209205b8124083a79500d7269943546fc943662c1c6031e297 [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" "37fafc3faf7baf209205b8124083a79500d7269943546fc943662c1c6031e297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37fafc3faf7baf209205b8124083a79500d7269943546fc943662c1c6031e297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37fafc3faf7baf209205b8124083a79500d7269943546fc943662c1c6031e297", kill_on_drop: false }` [INFO] [stdout] 37fafc3faf7baf209205b8124083a79500d7269943546fc943662c1c6031e297 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8b96275fc53b509043861c2d3b95e4154294739a3f0b7dd8702a0b97df18a523 [INFO] running `Command { std: "docker" "start" "-a" "8b96275fc53b509043861c2d3b95e4154294739a3f0b7dd8702a0b97df18a523", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking foray_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `windows` in `os` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::libloaderapi::GetModuleHandleW; [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:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::combaseapi::{ [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::d3d11::{ [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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::windef::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | 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 `um` in `winapi` [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/com.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/device_resources.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/device_resources.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::Interface` [INFO] [stdout] --> src/device_resources.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 8 | Interface, [INFO] [stdout] | ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `windows` in `os` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::libloaderapi::GetModuleHandleW; [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:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::combaseapi::{ [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::d3d11::{ [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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::windef::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | 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 `um` in `winapi` [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/com.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/device_resources.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/device_resources.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::Interface` [INFO] [stdout] --> src/device_resources.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 8 | Interface, [INFO] [stdout] | ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIInfoQueue` [INFO] [stdout] --> src/device_resources.rs:248:44 [INFO] [stdout] | [INFO] [stdout] 248 | DXGIGetDebugInterface1(0, &IDXGIInfoQueue::uuidof(), &mut dxgi_info_queue as *mut *mut IDXGIInfoQueue as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IDXGIInfoQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIFactory2` [INFO] [stdout] --> src/device_resources.rs:257:64 [INFO] [stdout] | [INFO] [stdout] 257 | ... CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c... [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IDXGIFactory2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIFactory2` [INFO] [stdout] --> src/device_resources.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 263 | CreateDXGIFactory2(0, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IDXGIFactory2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11Device1` [INFO] [stdout] --> src/device_resources.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | &ID3D11Device1::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID3D11Device1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIInfoQueue` [INFO] [stdout] --> src/device_resources.rs:248:44 [INFO] [stdout] | [INFO] [stdout] 248 | DXGIGetDebugInterface1(0, &IDXGIInfoQueue::uuidof(), &mut dxgi_info_queue as *mut *mut IDXGIInfoQueue as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IDXGIInfoQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/device_resources.rs:309:82 [INFO] [stdout] | [INFO] [stdout] 309 | &mut d3d_device1 as *mut *mut ID3D11Device1 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: use of undeclared type `ID3D11DeviceContext1` [INFO] [stdout] --> src/device_resources.rs:316:18 [INFO] [stdout] | [INFO] [stdout] 316 | &ID3D11DeviceContext1::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11DeviceContext1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/device_resources.rs:317:97 [INFO] [stdout] | [INFO] [stdout] 317 | &mut d3d_device_context1 as *mut *mut ID3D11DeviceContext1 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: use of undeclared type `IDXGIFactory2` [INFO] [stdout] --> src/device_resources.rs:257:64 [INFO] [stdout] | [INFO] [stdout] 257 | ... CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c... [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IDXGIFactory2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDWriteFactory2` [INFO] [stdout] --> src/device_resources.rs:334:62 [INFO] [stdout] | [INFO] [stdout] 334 | ... DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, &IDWriteFactory2::uuidof(), &mut write_factory as *mut *mut IDWriteFactory2 as *mut... [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IDWriteFactory2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIFactory2` [INFO] [stdout] --> src/device_resources.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 263 | CreateDXGIFactory2(0, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IDXGIFactory2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID2D1Factory2` [INFO] [stdout] --> src/device_resources.rs:342:66 [INFO] [stdout] | [INFO] [stdout] 342 | ... D2D1CreateFactory(D2D1_FACTORY_TYPE_MULTI_THREADED, &ID2D1Factory2::uuidof(), &options, &mut d2d_factory as *mut *mut ID2D1Factory2... [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID2D1Factory2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11Device1` [INFO] [stdout] --> src/device_resources.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | &ID3D11Device1::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID3D11Device1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/device_resources.rs:309:82 [INFO] [stdout] | [INFO] [stdout] 309 | &mut d3d_device1 as *mut *mut ID3D11Device1 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: use of undeclared type `ID3D11DeviceContext1` [INFO] [stdout] --> src/device_resources.rs:316:18 [INFO] [stdout] | [INFO] [stdout] 316 | &ID3D11DeviceContext1::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11DeviceContext1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/device_resources.rs:317:97 [INFO] [stdout] | [INFO] [stdout] 317 | &mut d3d_device_context1 as *mut *mut ID3D11DeviceContext1 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: use of undeclared type `ID3D11Texture2D` [INFO] [stdout] --> src/device_resources.rs:425:66 [INFO] [stdout] | [INFO] [stdout] 425 | ... self.dxgi_swap_chain.as_ref().unwrap().GetBuffer(0, &ID3D11Texture2D::uuidof(), &mut back_buffer_render_target as *mut *mut ID3D11T... [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ID3D11Texture2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDWriteFactory2` [INFO] [stdout] --> src/device_resources.rs:334:62 [INFO] [stdout] | [INFO] [stdout] 334 | ... DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, &IDWriteFactory2::uuidof(), &mut write_factory as *mut *mut IDWriteFactory2 as *mut... [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IDWriteFactory2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID2D1Factory2` [INFO] [stdout] --> src/device_resources.rs:342:66 [INFO] [stdout] | [INFO] [stdout] 342 | ... D2D1CreateFactory(D2D1_FACTORY_TYPE_MULTI_THREADED, &ID2D1Factory2::uuidof(), &options, &mut d2d_factory as *mut *mut ID2D1Factory2... [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID2D1Factory2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11Texture2D` [INFO] [stdout] --> src/device_resources.rs:425:66 [INFO] [stdout] | [INFO] [stdout] 425 | ... self.dxgi_swap_chain.as_ref().unwrap().GetBuffer(0, &ID3D11Texture2D::uuidof(), &mut back_buffer_render_target as *mut *mut ID3D11T... [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ID3D11Texture2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | fn as_unknown(&self) -> &IUnknown { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { &*(self.as_raw() as *mut IUnknown) } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/device_resources.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 133 | handle: HWND, [INFO] [stdout] 134 | dxgi_factory: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 135 | d3d_device: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 136 | d3d_device_context: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 137 | write_factory: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory2` in this scope [INFO] [stdout] --> src/device_resources.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 138 | d2d_factory: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 139 | d2d_device: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 140 | d2d_device_context: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/device_resources.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 141 | dxgi_swap_chain: Option>, [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/device_resources.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 142 | back_buffer_render_target: Option>, [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/device_resources.rs:143:51 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 143 | back_buffer_render_target_view: Option>, [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/device_resources.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 144 | depth_stencil_buffer: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/device_resources.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 145 | depth_stencil_view: Option>, [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/device_resources.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 146 | offscreen_render_target: Option>, [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/device_resources.rs:147:49 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 147 | offscreen_render_target_view: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Bitmap1` in this scope [INFO] [stdout] --> src/device_resources.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 148 | target_bitmap: Option>, [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/device_resources.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | viewport: D3D11_VIEWPORT, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/device_resources.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | output_size: RECT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_VIEWPORT` in this scope [INFO] [stdout] --> src/device_resources.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | viewport: D3D11_VIEWPORT { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/device_resources.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | output_size: RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn get_dxgi_factory(&mut self) -> *const IDXGIFactory2 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:193:48 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn get_d3d_device(&mut self) -> *const ID3D11Device1 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:197:56 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn get_d3d_device_context(&mut self) -> *const ID3D11DeviceContext1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_write_factory(&mut self) -> *const IDWriteFactory2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory2` in this scope [INFO] [stdout] --> src/device_resources.rs:205:49 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn get_d2d_factory(&mut self) -> *const ID2D1Factory2 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_d2d_device(&mut self) -> *const ID2D1Device1 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:213:56 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_d2d_device_context(&mut self) -> *const ID2D1DeviceContext1 { [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/device_resources.rs:217:64 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn get_offscreen_render_target_view(&mut self) -> *mut ID3D11RenderTargetView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/device_resources.rs:221:54 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn get_depth_stencil_view(&mut self) -> *mut ID3D11DepthStencilView { [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/device_resources.rs:225:39 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn get_viewport(&mut self) -> D3D11_VIEWPORT { [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/device_resources.rs:229:61 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn get_back_buffer_render_target(&mut self) -> *mut ID3D11Texture2D { [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/device_resources.rs:233:59 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_offscreen_render_target(&mut self) -> *mut ID3D11Texture2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/device_resources.rs:237:42 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn set_window(&mut self, handle: HWND, width: i32, height: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIInfoQueue` in this scope [INFO] [stdout] --> src/device_resources.rs:247:47 [INFO] [stdout] | [INFO] [stdout] 247 | let mut dxgi_info_queue: *mut IDXGIInfoQueue = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DXGIGetDebugInterface1` in this scope [INFO] [stdout] --> src/device_resources.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | DXGIGetDebugInterface1(0, &IDXGIInfoQueue::uuidof(), &mut dxgi_info_queue as *mut *mut IDXGIInfoQueue as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIInfoQueue` in this scope [INFO] [stdout] --> src/device_resources.rs:248:104 [INFO] [stdout] | [INFO] [stdout] 248 | DXGIGetDebugInterface1(0, &IDXGIInfoQueue::uuidof(), &mut dxgi_info_queue as *mut *mut IDXGIInfoQueue as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_DEBUG_ALL` in this scope [INFO] [stdout] --> src/device_resources.rs:250:70 [INFO] [stdout] | [INFO] [stdout] 250 | dxgi_info_queue.as_ref().unwrap().SetBreakOnSeverity(DXGI_DEBUG_ALL, DXGI_INFO_QUEUE_MESSAGE_SEVERITY_ERROR, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_INFO_QUEUE_MESSAGE_SEVERITY_ERROR` in this scope [INFO] [stdout] --> src/device_resources.rs:250:86 [INFO] [stdout] | [INFO] [stdout] 250 | dxgi_info_queue.as_ref().unwrap().SetBreakOnSeverity(DXGI_DEBUG_ALL, DXGI_INFO_QUEUE_MESSAGE_SEVERITY_ERROR, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_DEBUG_ALL` in this scope [INFO] [stdout] --> src/device_resources.rs:251:70 [INFO] [stdout] | [INFO] [stdout] 251 | dxgi_info_queue.as_ref().unwrap().SetBreakOnSeverity(DXGI_DEBUG_ALL, DXGI_INFO_QUEUE_MESSAGE_SEVERITY_CORRUPTION, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_INFO_QUEUE_MESSAGE_SEVERITY_CORRUPTION` in this scope [INFO] [stdout] --> src/device_resources.rs:251:86 [INFO] [stdout] | [INFO] [stdout] 251 | dxgi_info_queue.as_ref().unwrap().SetBreakOnSeverity(DXGI_DEBUG_ALL, DXGI_INFO_QUEUE_MESSAGE_SEVERITY_CORRUPTION, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:256:44 [INFO] [stdout] | [INFO] [stdout] 256 | let mut dxgi_factory: *mut IDXGIFactory2 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | ... CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_CREATE_FACTORY_DEBUG` in this scope [INFO] [stdout] --> src/device_resources.rs:257:36 [INFO] [stdout] | [INFO] [stdout] 257 | ... CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | fn as_unknown(&self) -> &IUnknown { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { &*(self.as_raw() as *mut IUnknown) } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:257:120 [INFO] [stdout] | [INFO] [stdout] 257 | ...tory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:262:44 [INFO] [stdout] | [INFO] [stdout] 262 | let mut dxgi_factory: *mut IDXGIFactory2 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | CreateDXGIFactory2(0, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:263:96 [INFO] [stdout] | [INFO] [stdout] 263 | CreateDXGIFactory2(0, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_BGRA_SUPPORT` in this scope [INFO] [stdout] --> src/device_resources.rs:274:43 [INFO] [stdout] | [INFO] [stdout] 274 | let mut creation_flags: u32 = D3D11_CREATE_DEVICE_BGRA_SUPPORT; [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/device_resources.rs:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | creation_flags |= D3D11_CREATE_DEVICE_DEBUG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stdout] --> src/device_resources.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | let feature_levels: [D3D_FEATURE_LEVEL; 7] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_1` in this scope [INFO] [stdout] --> src/device_resources.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | D3D_FEATURE_LEVEL_11_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_0` in this scope [INFO] [stdout] --> src/device_resources.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | D3D_FEATURE_LEVEL_11_0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_1` in this scope [INFO] [stdout] --> src/device_resources.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | D3D_FEATURE_LEVEL_10_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_0` in this scope [INFO] [stdout] --> src/device_resources.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | D3D_FEATURE_LEVEL_10_0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_3` in this scope [INFO] [stdout] --> src/device_resources.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | D3D_FEATURE_LEVEL_9_3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_2` in this scope [INFO] [stdout] --> src/device_resources.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | D3D_FEATURE_LEVEL_9_2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stdout] --> src/device_resources.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | D3D_FEATURE_LEVEL_9_1 [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/device_resources.rs:290:38 [INFO] [stdout] | [INFO] [stdout] 290 | let mut d3d_device: *mut ID3D11Device = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stdout] --> src/device_resources.rs:291:40 [INFO] [stdout] | [INFO] [stdout] 291 | let mut d3d_feature_level: D3D_FEATURE_LEVEL = zeroed(); [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/device_resources.rs:292:46 [INFO] [stdout] | [INFO] [stdout] 292 | let mut d3d_device_context: *mut ID3D11DeviceContext = zeroed(); [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/device_resources.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | D3D11CreateDevice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stdout] --> src/device_resources.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | D3D_DRIVER_TYPE_HARDWARE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stdout] --> src/device_resources.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | D3D11_SDK_VERSION, [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/device_resources.rs:302:46 [INFO] [stdout] | [INFO] [stdout] 302 | &mut d3d_device as *mut *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/device_resources.rs:304:54 [INFO] [stdout] | [INFO] [stdout] 304 | &mut d3d_device_context as *mut *mut ID3D11DeviceContext ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:306:39 [INFO] [stdout] | [INFO] [stdout] 306 | let mut d3d_device1: *mut ID3D11Device1 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:309:47 [INFO] [stdout] | [INFO] [stdout] 309 | &mut d3d_device1 as *mut *mut ID3D11Device1 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 `ID3D11DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:314:47 [INFO] [stdout] | [INFO] [stdout] 314 | let mut d3d_device_context1: *mut ID3D11DeviceContext1 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/device_resources.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:317:55 [INFO] [stdout] | [INFO] [stdout] 317 | &mut d3d_device_context1 as *mut *mut ID3D11DeviceContext1 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 `ID3D11Debug` in this scope [INFO] [stdout] --> src/device_resources.rs:323:74 [INFO] [stdout] | [INFO] [stdout] 153 | impl DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 323 | let d3d_debug = self.d3d_device.as_ref().unwrap().cast::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11InfoQueue` in this scope [INFO] [stdout] --> src/device_resources.rs:324:55 [INFO] [stdout] | [INFO] [stdout] 153 | impl DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 324 | let d3d_info_queue = d3d_debug.cast::().unwrap().as_raw().as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_MESSAGE_SEVERITY_CORRUPTION` in this scope [INFO] [stdout] --> src/device_resources.rs:326:51 [INFO] [stdout] | [INFO] [stdout] 326 | d3d_info_queue.SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_CORRUPTION, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_MESSAGE_SEVERITY_ERROR` in this scope [INFO] [stdout] --> src/device_resources.rs:327:51 [INFO] [stdout] | [INFO] [stdout] 327 | d3d_info_queue.SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_ERROR, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:333:41 [INFO] [stdout] | [INFO] [stdout] 333 | let mut write_factory: *mut IDWriteFactory2 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DWriteCreateFactory` in this scope [INFO] [stdout] --> src/device_resources.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | ... DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, &IDWriteFactory2::uuidof(), &mut write_factory as *mut *mut IDWriteFactory2 as *mut... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope [INFO] [stdout] --> src/device_resources.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | ... DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, &IDWriteFactory2::uuidof(), &mut write_factory as *mut *mut IDWriteFactory2 as *mut... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:334:121 [INFO] [stdout] | [INFO] [stdout] 334 | ...ry2::uuidof(), &mut write_factory as *mut *mut IDWriteFactory2 as *mut *mut IUnknown); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/device_resources.rs:334:150 [INFO] [stdout] | [INFO] [stdout] 334 | ..._factory as *mut *mut IDWriteFactory2 as *mut *mut IUnknown); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/device_resources.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | let options = D2D1_FACTORY_OPTIONS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_INFORMATION` in this scope [INFO] [stdout] --> src/device_resources.rs:339:57 [INFO] [stdout] | [INFO] [stdout] 339 | debugLevel: if cfg!(debug_assertions) { D2D1_DEBUG_LEVEL_INFORMATION } else { D2D1_DEBUG_LEVEL_NONE } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_NONE` in this scope [INFO] [stdout] --> src/device_resources.rs:339:95 [INFO] [stdout] | [INFO] [stdout] 339 | debugLevel: if cfg!(debug_assertions) { D2D1_DEBUG_LEVEL_INFORMATION } else { D2D1_DEBUG_LEVEL_NONE } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory2` in this scope [INFO] [stdout] --> src/device_resources.rs:341:39 [INFO] [stdout] | [INFO] [stdout] 341 | let mut d2d_factory: *mut ID2D1Factory2 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1CreateFactory` in this scope [INFO] [stdout] --> src/device_resources.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | ... D2D1CreateFactory(D2D1_FACTORY_TYPE_MULTI_THREADED, &ID2D1Factory2::uuidof(), &options, &mut d2d_factory as *mut *mut ID2D1Factory2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_MULTI_THREADED` in this scope [INFO] [stdout] --> src/device_resources.rs:342:31 [INFO] [stdout] | [INFO] [stdout] 342 | ... D2D1CreateFactory(D2D1_FACTORY_TYPE_MULTI_THREADED, &ID2D1Factory2::uuidof(), &options, &mut d2d_factory as *mut *mut ID2D1Factory2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory2` in this scope [INFO] [stdout] --> src/device_resources.rs:342:131 [INFO] [stdout] | [INFO] [stdout] 342 | ...idof(), &options, &mut d2d_factory as *mut *mut ID2D1Factory2 as *mut *mut c_void); [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/device_resources.rs:347:72 [INFO] [stdout] | [INFO] [stdout] 153 | impl DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 347 | let dxgi_device = self.d3d_device.as_ref().unwrap().cast::().unwrap().as_raw(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:349:38 [INFO] [stdout] | [INFO] [stdout] 349 | let mut d2d_device: *mut ID2D1Device1 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:350:103 [INFO] [stdout] | [INFO] [stdout] 350 | self.d2d_factory.as_ref().unwrap().CreateDevice(dxgi_device, &mut d2d_device as *mut *mut ID2D1Device1); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:355:46 [INFO] [stdout] | [INFO] [stdout] 355 | let mut d2d_device_context: *mut ID2D1DeviceContext1 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 133 | handle: HWND, [INFO] [stdout] 134 | dxgi_factory: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS` in this scope [INFO] [stdout] --> src/device_resources.rs:356:67 [INFO] [stdout] | [INFO] [stdout] 356 | ...p().CreateDeviceContext(D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS, &mut d2d_device_context as *mut *mut ID2D1Devi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:356:168 [INFO] [stdout] | [INFO] [stdout] 356 | ...ATIONS, &mut d2d_device_context as *mut *mut ID2D1DeviceContext1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 135 | d3d_device: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/device_resources.rs:367:38 [INFO] [stdout] | [INFO] [stdout] 367 | let back_buffer_format = DXGI_FORMAT_B8G8R8A8_UNORM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope [INFO] [stdout] --> src/device_resources.rs:371:39 [INFO] [stdout] | [INFO] [stdout] 371 | let swap_chain_desc = DXGI_SWAP_CHAIN_DESC1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 136 | d3d_device_context: Option>, [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/device_resources.rs:375:34 [INFO] [stdout] | [INFO] [stdout] 375 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 137 | write_factory: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:377:33 [INFO] [stdout] | [INFO] [stdout] 377 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SCALING_STRETCH` in this scope [INFO] [stdout] --> src/device_resources.rs:381:30 [INFO] [stdout] | [INFO] [stdout] 381 | Scaling: DXGI_SCALING_STRETCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory2` in this scope [INFO] [stdout] --> src/device_resources.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 138 | d2d_factory: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 139 | d2d_device: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 140 | d2d_device_context: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/device_resources.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 141 | dxgi_swap_chain: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_DISCARD` in this scope [INFO] [stdout] --> src/device_resources.rs:382:33 [INFO] [stdout] | [INFO] [stdout] 382 | SwapEffect: DXGI_SWAP_EFFECT_FLIP_DISCARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ALPHA_MODE_IGNORE` in this scope [INFO] [stdout] --> src/device_resources.rs:383:32 [INFO] [stdout] | [INFO] [stdout] 383 | AlphaMode: DXGI_ALPHA_MODE_IGNORE, [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/device_resources.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 142 | back_buffer_render_target: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_FULLSCREEN_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:387:42 [INFO] [stdout] | [INFO] [stdout] 387 | let swap_chain_fs_desc = DXGI_SWAP_CHAIN_FULLSCREEN_DESC { [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/device_resources.rs:143:51 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 143 | back_buffer_render_target_view: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_RATIONAL` in this scope [INFO] [stdout] --> src/device_resources.rs:388:34 [INFO] [stdout] | [INFO] [stdout] 388 | RefreshRate: DXGI_RATIONAL { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/device_resources.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 397 | let mut swap_chain: *mut IDXGISwapChain1 = null_mut(); [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/device_resources.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 144 | depth_stencil_buffer: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/device_resources.rs:399:72 [INFO] [stdout] | [INFO] [stdout] 399 | self.d3d_device.as_ref().unwrap().as_raw() as *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/device_resources.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 145 | depth_stencil_view: Option>, [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/device_resources.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 146 | offscreen_render_target: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/device_resources.rs:404:50 [INFO] [stdout] | [INFO] [stdout] 404 | &mut swap_chain as *mut *mut IDXGISwapChain1 [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/device_resources.rs:147:49 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 147 | offscreen_render_target_view: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_REMOVED` in this scope [INFO] [stdout] --> src/device_resources.rs:417:26 [INFO] [stdout] | [INFO] [stdout] 417 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Bitmap1` in this scope [INFO] [stdout] --> src/device_resources.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 148 | target_bitmap: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_RESET` in this scope [INFO] [stdout] --> src/device_resources.rs:417:61 [INFO] [stdout] | [INFO] [stdout] 417 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [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/device_resources.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | viewport: D3D11_VIEWPORT, [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/device_resources.rs:424:53 [INFO] [stdout] | [INFO] [stdout] 424 | let mut back_buffer_render_target: *mut ID3D11Texture2D = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/device_resources.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | output_size: RECT [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/device_resources.rs:425:137 [INFO] [stdout] | [INFO] [stdout] 425 | ...), &mut back_buffer_render_target as *mut *mut ID3D11Texture2D as *mut *mut c_void); [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/device_resources.rs:429:58 [INFO] [stdout] | [INFO] [stdout] 429 | let mut back_buffer_render_target_view: *mut ID3D11RenderTargetView = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_VIEWPORT` in this scope [INFO] [stdout] --> src/device_resources.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | viewport: D3D11_VIEWPORT { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:430:104 [INFO] [stdout] | [INFO] [stdout] 430 | ...derTargetView(back_buffer_render_target as *mut ID3D11Resource, null_mut(), &mut back_buffer_render_target_view as *mut *mut ID3D11Ren... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/device_resources.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | output_size: RECT { [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/device_resources.rs:430:181 [INFO] [stdout] | [INFO] [stdout] 430 | ...back_buffer_render_target_view as *mut *mut ID3D11RenderTargetView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn get_dxgi_factory(&mut self) -> *const IDXGIFactory2 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/device_resources.rs:436:77 [INFO] [stdout] | [INFO] [stdout] 436 | self.d3d_device.as_ref().unwrap().CheckMultisampleQualityLevels(DXGI_FORMAT_B8G8R8A8_UNORM, msaa_count, &mut msaa_quality); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_TEXTURE2D_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:438:38 [INFO] [stdout] | [INFO] [stdout] 438 | let depth_stencil_desc = D3D11_TEXTURE2D_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:193:48 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn get_d3d_device(&mut self) -> *const ID3D11Device1 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:197:56 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn get_d3d_device_context(&mut self) -> *const ID3D11DeviceContext1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_write_factory(&mut self) -> *const IDWriteFactory2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory2` in this scope [INFO] [stdout] --> src/device_resources.rs:205:49 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn get_d2d_factory(&mut self) -> *const ID2D1Factory2 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_D32_FLOAT` in this scope [INFO] [stdout] --> src/device_resources.rs:439:25 [INFO] [stdout] | [INFO] [stdout] 439 | Format: DXGI_FORMAT_D32_FLOAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_d2d_device(&mut self) -> *const ID2D1Device1 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:442:29 [INFO] [stdout] | [INFO] [stdout] 442 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:213:56 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_d2d_device_context(&mut self) -> *const ID2D1DeviceContext1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_DEFAULT` in this scope [INFO] [stdout] --> src/device_resources.rs:448:24 [INFO] [stdout] | [INFO] [stdout] 448 | Usage: D3D11_USAGE_DEFAULT, [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/device_resources.rs:217:64 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn get_offscreen_render_target_view(&mut self) -> *mut ID3D11RenderTargetView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_DEPTH_STENCIL` in this scope [INFO] [stdout] --> src/device_resources.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | BindFlags: D3D11_BIND_DEPTH_STENCIL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/device_resources.rs:221:54 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn get_depth_stencil_view(&mut self) -> *mut ID3D11DepthStencilView { [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/device_resources.rs:225:39 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn get_viewport(&mut self) -> D3D11_VIEWPORT { [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/device_resources.rs:454:48 [INFO] [stdout] | [INFO] [stdout] 454 | let mut depth_stencil_buffer: *mut ID3D11Texture2D = null_mut(); [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/device_resources.rs:455:135 [INFO] [stdout] | [INFO] [stdout] 455 | ..._mut(), &mut depth_stencil_buffer as *mut *mut ID3D11Texture2D); [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/device_resources.rs:229:61 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn get_back_buffer_render_target(&mut self) -> *mut ID3D11Texture2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_DEPTH_STENCIL_VIEW_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:458:43 [INFO] [stdout] | [INFO] [stdout] 458 | let depth_stencil_view_desc = D3D11_DEPTH_STENCIL_VIEW_DESC { [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/device_resources.rs:233:59 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_offscreen_render_target(&mut self) -> *mut ID3D11Texture2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_DSV_DIMENSION_TEXTURE2DMS` in this scope [INFO] [stdout] --> src/device_resources.rs:459:32 [INFO] [stdout] | [INFO] [stdout] 459 | ViewDimension: D3D11_DSV_DIMENSION_TEXTURE2DMS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/device_resources.rs:237:42 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn set_window(&mut self, handle: HWND, width: i32, height: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/device_resources.rs:466:46 [INFO] [stdout] | [INFO] [stdout] 466 | let mut depth_stencil_view: *mut ID3D11DepthStencilView = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:467:99 [INFO] [stdout] | [INFO] [stdout] 467 | ... self.d3d_device.as_ref().unwrap().CreateDepthStencilView(depth_stencil_buffer as *mut ID3D11Resource, &depth_stencil_view_desc, &mu... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIInfoQueue` in this scope [INFO] [stdout] --> src/device_resources.rs:247:47 [INFO] [stdout] | [INFO] [stdout] 247 | let mut dxgi_info_queue: *mut IDXGIInfoQueue = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DXGIGetDebugInterface1` in this scope [INFO] [stdout] --> src/device_resources.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | DXGIGetDebugInterface1(0, &IDXGIInfoQueue::uuidof(), &mut dxgi_info_queue as *mut *mut IDXGIInfoQueue as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIInfoQueue` in this scope [INFO] [stdout] --> src/device_resources.rs:248:104 [INFO] [stdout] | [INFO] [stdout] 248 | DXGIGetDebugInterface1(0, &IDXGIInfoQueue::uuidof(), &mut dxgi_info_queue as *mut *mut IDXGIInfoQueue as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_DEBUG_ALL` in this scope [INFO] [stdout] --> src/device_resources.rs:250:70 [INFO] [stdout] | [INFO] [stdout] 250 | dxgi_info_queue.as_ref().unwrap().SetBreakOnSeverity(DXGI_DEBUG_ALL, DXGI_INFO_QUEUE_MESSAGE_SEVERITY_ERROR, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/device_resources.rs:467:178 [INFO] [stdout] | [INFO] [stdout] 467 | ..._desc, &mut depth_stencil_view as *mut *mut ID3D11DepthStencilView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_INFO_QUEUE_MESSAGE_SEVERITY_ERROR` in this scope [INFO] [stdout] --> src/device_resources.rs:250:86 [INFO] [stdout] | [INFO] [stdout] 250 | dxgi_info_queue.as_ref().unwrap().SetBreakOnSeverity(DXGI_DEBUG_ALL, DXGI_INFO_QUEUE_MESSAGE_SEVERITY_ERROR, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_DEBUG_ALL` in this scope [INFO] [stdout] --> src/device_resources.rs:251:70 [INFO] [stdout] | [INFO] [stdout] 251 | dxgi_info_queue.as_ref().unwrap().SetBreakOnSeverity(DXGI_DEBUG_ALL, DXGI_INFO_QUEUE_MESSAGE_SEVERITY_CORRUPTION, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_TEXTURE2D_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:471:32 [INFO] [stdout] | [INFO] [stdout] 471 | let surface_desc = D3D11_TEXTURE2D_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/device_resources.rs:472:25 [INFO] [stdout] | [INFO] [stdout] 472 | Format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_INFO_QUEUE_MESSAGE_SEVERITY_CORRUPTION` in this scope [INFO] [stdout] --> src/device_resources.rs:251:86 [INFO] [stdout] | [INFO] [stdout] 251 | dxgi_info_queue.as_ref().unwrap().SetBreakOnSeverity(DXGI_DEBUG_ALL, DXGI_INFO_QUEUE_MESSAGE_SEVERITY_CORRUPTION, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_RENDER_TARGET` in this scope [INFO] [stdout] --> src/device_resources.rs:475:28 [INFO] [stdout] | [INFO] [stdout] 475 | BindFlags: D3D11_BIND_RENDER_TARGET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:256:44 [INFO] [stdout] | [INFO] [stdout] 256 | let mut dxgi_factory: *mut IDXGIFactory2 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:478:29 [INFO] [stdout] | [INFO] [stdout] 478 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | ... CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_CREATE_FACTORY_DEBUG` in this scope [INFO] [stdout] --> src/device_resources.rs:257:36 [INFO] [stdout] | [INFO] [stdout] 257 | ... CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:257:120 [INFO] [stdout] | [INFO] [stdout] 257 | ...tory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:262:44 [INFO] [stdout] | [INFO] [stdout] 262 | let mut dxgi_factory: *mut IDXGIFactory2 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_DEFAULT` in this scope [INFO] [stdout] --> src/device_resources.rs:484:24 [INFO] [stdout] | [INFO] [stdout] 484 | Usage: D3D11_USAGE_DEFAULT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | CreateDXGIFactory2(0, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:263:96 [INFO] [stdout] | [INFO] [stdout] 263 | CreateDXGIFactory2(0, &IDXGIFactory2::uuidof(), &mut dxgi_factory as *mut *mut IDXGIFactory2 as *mut *mut c_void); [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/device_resources.rs:486:51 [INFO] [stdout] | [INFO] [stdout] 486 | let mut offscreen_render_target: *mut ID3D11Texture2D = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_BGRA_SUPPORT` in this scope [INFO] [stdout] --> src/device_resources.rs:274:43 [INFO] [stdout] | [INFO] [stdout] 274 | let mut creation_flags: u32 = D3D11_CREATE_DEVICE_BGRA_SUPPORT; [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/device_resources.rs:487:132 [INFO] [stdout] | [INFO] [stdout] 487 | ...t(), &mut offscreen_render_target as *mut *mut ID3D11Texture2D); [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/device_resources.rs:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | creation_flags |= D3D11_CREATE_DEVICE_DEBUG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_RENDER_TARGET_VIEW_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:491:43 [INFO] [stdout] | [INFO] [stdout] 491 | let render_target_view_desc = D3D11_RENDER_TARGET_VIEW_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stdout] --> src/device_resources.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | let feature_levels: [D3D_FEATURE_LEVEL; 7] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_RTV_DIMENSION_TEXTURE2DMS` in this scope [INFO] [stdout] --> src/device_resources.rs:492:32 [INFO] [stdout] | [INFO] [stdout] 492 | ViewDimension: D3D11_RTV_DIMENSION_TEXTURE2DMS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_1` in this scope [INFO] [stdout] --> src/device_resources.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | D3D_FEATURE_LEVEL_11_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_0` in this scope [INFO] [stdout] --> src/device_resources.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | D3D_FEATURE_LEVEL_11_0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_1` in this scope [INFO] [stdout] --> src/device_resources.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | D3D_FEATURE_LEVEL_10_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_0` in this scope [INFO] [stdout] --> src/device_resources.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | D3D_FEATURE_LEVEL_10_0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_3` in this scope [INFO] [stdout] --> src/device_resources.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | D3D_FEATURE_LEVEL_9_3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_2` in this scope [INFO] [stdout] --> src/device_resources.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | D3D_FEATURE_LEVEL_9_2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stdout] --> src/device_resources.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | D3D_FEATURE_LEVEL_9_1 [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/device_resources.rs:290:38 [INFO] [stdout] | [INFO] [stdout] 290 | let mut d3d_device: *mut ID3D11Device = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stdout] --> src/device_resources.rs:291:40 [INFO] [stdout] | [INFO] [stdout] 291 | let mut d3d_feature_level: D3D_FEATURE_LEVEL = zeroed(); [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/device_resources.rs:292:46 [INFO] [stdout] | [INFO] [stdout] 292 | let mut d3d_device_context: *mut ID3D11DeviceContext = zeroed(); [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/device_resources.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | D3D11CreateDevice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stdout] --> src/device_resources.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | D3D_DRIVER_TYPE_HARDWARE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stdout] --> src/device_resources.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | D3D11_SDK_VERSION, [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/device_resources.rs:302:46 [INFO] [stdout] | [INFO] [stdout] 302 | &mut d3d_device as *mut *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/device_resources.rs:304:54 [INFO] [stdout] | [INFO] [stdout] 304 | &mut d3d_device_context as *mut *mut ID3D11DeviceContext ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:306:39 [INFO] [stdout] | [INFO] [stdout] 306 | let mut d3d_device1: *mut ID3D11Device1 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:309:47 [INFO] [stdout] | [INFO] [stdout] 309 | &mut d3d_device1 as *mut *mut ID3D11Device1 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 `ID3D11RenderTargetView` in this scope [INFO] [stdout] --> src/device_resources.rs:496:56 [INFO] [stdout] | [INFO] [stdout] 496 | let mut offscreen_render_target_view: *mut ID3D11RenderTargetView = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:314:47 [INFO] [stdout] | [INFO] [stdout] 314 | let mut d3d_device_context1: *mut ID3D11DeviceContext1 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:497:102 [INFO] [stdout] | [INFO] [stdout] 497 | ... self.d3d_device.as_ref().unwrap().CreateRenderTargetView(offscreen_render_target as *mut ID3D11Resource, &render_target_view_desc, ... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:317:55 [INFO] [stdout] | [INFO] [stdout] 317 | &mut d3d_device_context1 as *mut *mut ID3D11DeviceContext1 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 `ID3D11Debug` in this scope [INFO] [stdout] --> src/device_resources.rs:323:74 [INFO] [stdout] | [INFO] [stdout] 153 | impl DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 323 | let d3d_debug = self.d3d_device.as_ref().unwrap().cast::().unwrap(); [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/device_resources.rs:497:191 [INFO] [stdout] | [INFO] [stdout] 497 | ...t offscreen_render_target_view as *mut *mut ID3D11RenderTargetView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11InfoQueue` in this scope [INFO] [stdout] --> src/device_resources.rs:324:55 [INFO] [stdout] | [INFO] [stdout] 153 | impl DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 324 | let d3d_info_queue = d3d_debug.cast::().unwrap().as_raw().as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_MESSAGE_SEVERITY_CORRUPTION` in this scope [INFO] [stdout] --> src/device_resources.rs:326:51 [INFO] [stdout] | [INFO] [stdout] 326 | d3d_info_queue.SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_CORRUPTION, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BITMAP_PROPERTIES1` in this scope [INFO] [stdout] --> src/device_resources.rs:501:32 [INFO] [stdout] | [INFO] [stdout] 501 | let bitmap_props = D2D1_BITMAP_PROPERTIES1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope [INFO] [stdout] --> src/device_resources.rs:502:30 [INFO] [stdout] | [INFO] [stdout] 502 | pixelFormat: D2D1_PIXEL_FORMAT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_MESSAGE_SEVERITY_ERROR` in this scope [INFO] [stdout] --> src/device_resources.rs:327:51 [INFO] [stdout] | [INFO] [stdout] 327 | d3d_info_queue.SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_ERROR, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:333:41 [INFO] [stdout] | [INFO] [stdout] 333 | let mut write_factory: *mut IDWriteFactory2 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/device_resources.rs:503:29 [INFO] [stdout] | [INFO] [stdout] 503 | format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_IGNORE` in this scope [INFO] [stdout] --> src/device_resources.rs:504:32 [INFO] [stdout] | [INFO] [stdout] 504 | alphaMode: D2D1_ALPHA_MODE_IGNORE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DWriteCreateFactory` in this scope [INFO] [stdout] --> src/device_resources.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | ... DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, &IDWriteFactory2::uuidof(), &mut write_factory as *mut *mut IDWriteFactory2 as *mut... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_BITMAP_OPTIONS_TARGET` in this scope [INFO] [stdout] --> src/device_resources.rs:508:32 [INFO] [stdout] | [INFO] [stdout] 508 | bitmapOptions: D2D1_BITMAP_OPTIONS_TARGET | D2D1_BITMAP_OPTIONS_CANNOT_DRAW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope [INFO] [stdout] --> src/device_resources.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | ... DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, &IDWriteFactory2::uuidof(), &mut write_factory as *mut *mut IDWriteFactory2 as *mut... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_BITMAP_OPTIONS_CANNOT_DRAW` in this scope [INFO] [stdout] --> src/device_resources.rs:508:61 [INFO] [stdout] | [INFO] [stdout] 508 | bitmapOptions: D2D1_BITMAP_OPTIONS_TARGET | D2D1_BITMAP_OPTIONS_CANNOT_DRAW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory2` in this scope [INFO] [stdout] --> src/device_resources.rs:334:121 [INFO] [stdout] | [INFO] [stdout] 334 | ...ry2::uuidof(), &mut write_factory as *mut *mut IDWriteFactory2 as *mut *mut IUnknown); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/device_resources.rs:334:150 [INFO] [stdout] | [INFO] [stdout] 334 | ..._factory as *mut *mut IDWriteFactory2 as *mut *mut IUnknown); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISurface` in this scope [INFO] [stdout] --> src/device_resources.rs:511:86 [INFO] [stdout] | [INFO] [stdout] 153 | impl DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 511 | let dxgi_surface = self.offscreen_render_target.as_ref().unwrap().cast::().unwrap().as_raw(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Bitmap1` in this scope [INFO] [stdout] --> src/device_resources.rs:512:41 [INFO] [stdout] | [INFO] [stdout] 512 | let mut target_bitmap: *mut ID2D1Bitmap1 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/device_resources.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | let options = D2D1_FACTORY_OPTIONS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_INFORMATION` in this scope [INFO] [stdout] --> src/device_resources.rs:339:57 [INFO] [stdout] | [INFO] [stdout] 339 | debugLevel: if cfg!(debug_assertions) { D2D1_DEBUG_LEVEL_INFORMATION } else { D2D1_DEBUG_LEVEL_NONE } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Bitmap1` in this scope [INFO] [stdout] --> src/device_resources.rs:513:144 [INFO] [stdout] | [INFO] [stdout] 513 | ..., &bitmap_props, &mut target_bitmap as *mut *mut ID2D1Bitmap1); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_NONE` in this scope [INFO] [stdout] --> src/device_resources.rs:339:95 [INFO] [stdout] | [INFO] [stdout] 339 | debugLevel: if cfg!(debug_assertions) { D2D1_DEBUG_LEVEL_INFORMATION } else { D2D1_DEBUG_LEVEL_NONE } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Image` in this scope [INFO] [stdout] --> src/device_resources.rs:516:87 [INFO] [stdout] | [INFO] [stdout] 516 | self.d2d_device_context.as_ref().unwrap().SetTarget(target_bitmap as *mut ID2D1Image); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_VIEWPORT` in this scope [INFO] [stdout] --> src/device_resources.rs:519:29 [INFO] [stdout] | [INFO] [stdout] 519 | self.viewport = D3D11_VIEWPORT { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory2` in this scope [INFO] [stdout] --> src/device_resources.rs:341:39 [INFO] [stdout] | [INFO] [stdout] 341 | let mut d2d_factory: *mut ID2D1Factory2 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1CreateFactory` in this scope [INFO] [stdout] --> src/device_resources.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | ... D2D1CreateFactory(D2D1_FACTORY_TYPE_MULTI_THREADED, &ID2D1Factory2::uuidof(), &options, &mut d2d_factory as *mut *mut ID2D1Factory2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Debug` in this scope [INFO] [stdout] --> src/device_resources.rs:535:74 [INFO] [stdout] | [INFO] [stdout] 153 | impl DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 535 | let d3d_debug = self.d3d_device.as_ref().unwrap().cast::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_RLDO_SUMMARY` in this scope [INFO] [stdout] --> src/device_resources.rs:536:51 [INFO] [stdout] | [INFO] [stdout] 536 | d3d_debug.ReportLiveDeviceObjects(D3D11_RLDO_SUMMARY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_MULTI_THREADED` in this scope [INFO] [stdout] --> src/device_resources.rs:342:31 [INFO] [stdout] | [INFO] [stdout] 342 | ... D2D1CreateFactory(D2D1_FACTORY_TYPE_MULTI_THREADED, &ID2D1Factory2::uuidof(), &options, &mut d2d_factory as *mut *mut ID2D1Factory2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:551:138 [INFO] [stdout] | [INFO] [stdout] 551 | ..._target_view.as_ref().unwrap().as_raw() as *mut ID3D11Resource); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory2` in this scope [INFO] [stdout] --> src/device_resources.rs:342:131 [INFO] [stdout] | [INFO] [stdout] 342 | ...idof(), &options, &mut d2d_factory as *mut *mut ID2D1Factory2 as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:552:136 [INFO] [stdout] | [INFO] [stdout] 552 | ..._target_view.as_ref().unwrap().as_raw() as *mut ID3D11Resource); [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/device_resources.rs:347:72 [INFO] [stdout] | [INFO] [stdout] 153 | impl DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 347 | let dxgi_device = self.d3d_device.as_ref().unwrap().cast::().unwrap().as_raw(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:349:38 [INFO] [stdout] | [INFO] [stdout] 349 | let mut d2d_device: *mut ID2D1Device1 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Device1` in this scope [INFO] [stdout] --> src/device_resources.rs:350:103 [INFO] [stdout] | [INFO] [stdout] 350 | self.d2d_factory.as_ref().unwrap().CreateDevice(dxgi_device, &mut d2d_device as *mut *mut ID2D1Device1); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:355:46 [INFO] [stdout] | [INFO] [stdout] 355 | let mut d2d_device_context: *mut ID2D1DeviceContext1 = zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS` in this scope [INFO] [stdout] --> src/device_resources.rs:356:67 [INFO] [stdout] | [INFO] [stdout] 356 | ...p().CreateDeviceContext(D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS, &mut d2d_device_context as *mut *mut ID2D1Devi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1DeviceContext1` in this scope [INFO] [stdout] --> src/device_resources.rs:356:168 [INFO] [stdout] | [INFO] [stdout] 356 | ...ATIONS, &mut d2d_device_context as *mut *mut ID2D1DeviceContext1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/device_resources.rs:367:38 [INFO] [stdout] | [INFO] [stdout] 367 | let back_buffer_format = DXGI_FORMAT_B8G8R8A8_UNORM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope [INFO] [stdout] --> src/device_resources.rs:371:39 [INFO] [stdout] | [INFO] [stdout] 371 | let swap_chain_desc = DXGI_SWAP_CHAIN_DESC1 { [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/device_resources.rs:375:34 [INFO] [stdout] | [INFO] [stdout] 375 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:377:33 [INFO] [stdout] | [INFO] [stdout] 377 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SCALING_STRETCH` in this scope [INFO] [stdout] --> src/device_resources.rs:381:30 [INFO] [stdout] | [INFO] [stdout] 381 | Scaling: DXGI_SCALING_STRETCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:553:126 [INFO] [stdout] | [INFO] [stdout] 553 | ...stencil_view.as_ref().unwrap().as_raw() as *mut ID3D11Resource); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_REMOVED` in this scope [INFO] [stdout] --> src/device_resources.rs:555:22 [INFO] [stdout] | [INFO] [stdout] 555 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_DISCARD` in this scope [INFO] [stdout] --> src/device_resources.rs:382:33 [INFO] [stdout] | [INFO] [stdout] 382 | SwapEffect: DXGI_SWAP_EFFECT_FLIP_DISCARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_RESET` in this scope [INFO] [stdout] --> src/device_resources.rs:555:57 [INFO] [stdout] | [INFO] [stdout] 555 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ALPHA_MODE_IGNORE` in this scope [INFO] [stdout] --> src/device_resources.rs:383:32 [INFO] [stdout] | [INFO] [stdout] 383 | AlphaMode: DXGI_ALPHA_MODE_IGNORE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | handle: HWND [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_FULLSCREEN_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:387:42 [INFO] [stdout] | [INFO] [stdout] 387 | let swap_chain_fs_desc = DXGI_SWAP_CHAIN_FULLSCREEN_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | CoInitializeEx(null_mut(), COINITBASE_MULTITHREADED); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINITBASE_MULTITHREADED` in this scope [INFO] [stdout] --> src/main.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | CoInitializeEx(null_mut(), COINITBASE_MULTITHREADED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_RATIONAL` in this scope [INFO] [stdout] --> src/device_resources.rs:388:34 [INFO] [stdout] | [INFO] [stdout] 388 | RefreshRate: DXGI_RATIONAL { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/main.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | let hinstance = GetModuleHandleW(null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/device_resources.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 397 | let mut swap_chain: *mut IDXGISwapChain1 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadImageW` in this scope [INFO] [stdout] --> src/main.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let icon = LoadImageW( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/device_resources.rs:399:72 [INFO] [stdout] | [INFO] [stdout] 399 | self.d3d_device.as_ref().unwrap().as_raw() as *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_ICON` in this scope [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | IMAGE_ICON, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/device_resources.rs:404:50 [INFO] [stdout] | [INFO] [stdout] 404 | &mut swap_chain as *mut *mut IDXGISwapChain1 [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_LOADFROMFILE` in this scope [INFO] [stdout] --> src/main.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | LR_LOADFROMFILE | LR_DEFAULTSIZE | LR_SHARED [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_DEFAULTSIZE` in this scope [INFO] [stdout] --> src/main.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | LR_LOADFROMFILE | LR_DEFAULTSIZE | LR_SHARED [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_REMOVED` in this scope [INFO] [stdout] --> src/device_resources.rs:417:26 [INFO] [stdout] | [INFO] [stdout] 417 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_SHARED` in this scope [INFO] [stdout] --> src/main.rs:84:48 [INFO] [stdout] | [INFO] [stdout] 84 | LR_LOADFROMFILE | LR_DEFAULTSIZE | LR_SHARED [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_RESET` in this scope [INFO] [stdout] --> src/device_resources.rs:417:61 [INFO] [stdout] | [INFO] [stdout] 417 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [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:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let wnd_class = WNDCLASSEXW { [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/device_resources.rs:424:53 [INFO] [stdout] | [INFO] [stdout] 424 | let mut back_buffer_render_target: *mut ID3D11Texture2D = null_mut(); [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:88:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn create_window(name: &str, title: &str) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 88 | cbSize : size_of::() as u32, [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/device_resources.rs:425:137 [INFO] [stdout] | [INFO] [stdout] 425 | ...), &mut back_buffer_render_target as *mut *mut ID3D11Texture2D as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | hIcon : icon as HICON, [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/device_resources.rs:429:58 [INFO] [stdout] | [INFO] [stdout] 429 | let mut back_buffer_render_target_view: *mut ID3D11RenderTargetView = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/main.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | 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:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | style : CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:430:104 [INFO] [stdout] | [INFO] [stdout] 430 | ...derTargetView(back_buffer_render_target as *mut ID3D11Resource, null_mut(), &mut back_buffer_render_target_view as *mut *mut ID3D11Ren... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DefWindowProcW` in this scope [INFO] [stdout] --> src/main.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | lpfnWndProc : Some( DefWindowProcW ), [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/device_resources.rs:430:181 [INFO] [stdout] | [INFO] [stdout] 430 | ...back_buffer_render_target_view as *mut *mut ID3D11RenderTargetView); [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:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | RegisterClassExW(&wnd_class); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/device_resources.rs:436:77 [INFO] [stdout] | [INFO] [stdout] 436 | self.d3d_device.as_ref().unwrap().CheckMultisampleQualityLevels(DXGI_FORMAT_B8G8R8A8_UNORM, msaa_count, &mut msaa_quality); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/main.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | let rect = RECT { left: 0, top: 0, right: client_width, bottom: client_height }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_TEXTURE2D_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:438:38 [INFO] [stdout] | [INFO] [stdout] 438 | let depth_stencil_desc = D3D11_TEXTURE2D_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:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let handle = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_D32_FLOAT` in this scope [INFO] [stdout] --> src/device_resources.rs:439:25 [INFO] [stdout] | [INFO] [stdout] 439 | Format: DXGI_FORMAT_D32_FLOAT, [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:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | 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:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:442:29 [INFO] [stdout] | [INFO] [stdout] 442 | SampleDesc: DXGI_SAMPLE_DESC { [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:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | let mut msg: MSG = mem::uninitialized(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_DEFAULT` in this scope [INFO] [stdout] --> src/device_resources.rs:448:24 [INFO] [stdout] | [INFO] [stdout] 448 | Usage: D3D11_USAGE_DEFAULT, [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:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | while msg.message != WM_QUIT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_DEPTH_STENCIL` in this scope [INFO] [stdout] --> src/device_resources.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | BindFlags: D3D11_BIND_DEPTH_STENCIL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/main.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | if PeekMessageW(&mut msg 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 `ID3D11Texture2D` in this scope [INFO] [stdout] --> src/device_resources.rs:454:48 [INFO] [stdout] | [INFO] [stdout] 454 | let mut depth_stencil_buffer: *mut ID3D11Texture2D = null_mut(); [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/device_resources.rs:455:135 [INFO] [stdout] | [INFO] [stdout] 455 | ..._mut(), &mut depth_stencil_buffer as *mut *mut ID3D11Texture2D); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_DEPTH_STENCIL_VIEW_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:458:43 [INFO] [stdout] | [INFO] [stdout] 458 | let depth_stencil_view_desc = D3D11_DEPTH_STENCIL_VIEW_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_DSV_DIMENSION_TEXTURE2DMS` in this scope [INFO] [stdout] --> src/device_resources.rs:459:32 [INFO] [stdout] | [INFO] [stdout] 459 | ViewDimension: D3D11_DSV_DIMENSION_TEXTURE2DMS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/device_resources.rs:466:46 [INFO] [stdout] | [INFO] [stdout] 466 | let mut depth_stencil_view: *mut ID3D11DepthStencilView = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:467:99 [INFO] [stdout] | [INFO] [stdout] 467 | ... self.d3d_device.as_ref().unwrap().CreateDepthStencilView(depth_stencil_buffer as *mut ID3D11Resource, &depth_stencil_view_desc, &mu... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/device_resources.rs:467:178 [INFO] [stdout] | [INFO] [stdout] 467 | ..._desc, &mut depth_stencil_view as *mut *mut ID3D11DepthStencilView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_TEXTURE2D_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:471:32 [INFO] [stdout] | [INFO] [stdout] 471 | let surface_desc = D3D11_TEXTURE2D_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/device_resources.rs:472:25 [INFO] [stdout] | [INFO] [stdout] 472 | Format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_RENDER_TARGET` in this scope [INFO] [stdout] --> src/device_resources.rs:475:28 [INFO] [stdout] | [INFO] [stdout] 475 | BindFlags: D3D11_BIND_RENDER_TARGET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:478:29 [INFO] [stdout] | [INFO] [stdout] 478 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_DEFAULT` in this scope [INFO] [stdout] --> src/device_resources.rs:484:24 [INFO] [stdout] | [INFO] [stdout] 484 | Usage: D3D11_USAGE_DEFAULT [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/device_resources.rs:486:51 [INFO] [stdout] | [INFO] [stdout] 486 | let mut offscreen_render_target: *mut ID3D11Texture2D = null_mut(); [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/device_resources.rs:487:132 [INFO] [stdout] | [INFO] [stdout] 487 | ...t(), &mut offscreen_render_target as *mut *mut ID3D11Texture2D); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_RENDER_TARGET_VIEW_DESC` in this scope [INFO] [stdout] --> src/device_resources.rs:491:43 [INFO] [stdout] | [INFO] [stdout] 491 | let render_target_view_desc = D3D11_RENDER_TARGET_VIEW_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_RTV_DIMENSION_TEXTURE2DMS` in this scope [INFO] [stdout] --> src/device_resources.rs:492:32 [INFO] [stdout] | [INFO] [stdout] 492 | ViewDimension: D3D11_RTV_DIMENSION_TEXTURE2DMS, [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/device_resources.rs:496:56 [INFO] [stdout] | [INFO] [stdout] 496 | let mut offscreen_render_target_view: *mut ID3D11RenderTargetView = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:497:102 [INFO] [stdout] | [INFO] [stdout] 497 | ... self.d3d_device.as_ref().unwrap().CreateRenderTargetView(offscreen_render_target as *mut ID3D11Resource, &render_target_view_desc, ... [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/device_resources.rs:497:191 [INFO] [stdout] | [INFO] [stdout] 497 | ...t offscreen_render_target_view as *mut *mut ID3D11RenderTargetView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BITMAP_PROPERTIES1` in this scope [INFO] [stdout] --> src/device_resources.rs:501:32 [INFO] [stdout] | [INFO] [stdout] 501 | let bitmap_props = D2D1_BITMAP_PROPERTIES1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope [INFO] [stdout] --> src/device_resources.rs:502:30 [INFO] [stdout] | [INFO] [stdout] 502 | pixelFormat: D2D1_PIXEL_FORMAT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/device_resources.rs:503:29 [INFO] [stdout] | [INFO] [stdout] 503 | format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_IGNORE` in this scope [INFO] [stdout] --> src/device_resources.rs:504:32 [INFO] [stdout] | [INFO] [stdout] 504 | alphaMode: D2D1_ALPHA_MODE_IGNORE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_BITMAP_OPTIONS_TARGET` in this scope [INFO] [stdout] --> src/device_resources.rs:508:32 [INFO] [stdout] | [INFO] [stdout] 508 | bitmapOptions: D2D1_BITMAP_OPTIONS_TARGET | D2D1_BITMAP_OPTIONS_CANNOT_DRAW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_BITMAP_OPTIONS_CANNOT_DRAW` in this scope [INFO] [stdout] --> src/device_resources.rs:508:61 [INFO] [stdout] | [INFO] [stdout] 508 | bitmapOptions: D2D1_BITMAP_OPTIONS_TARGET | D2D1_BITMAP_OPTIONS_CANNOT_DRAW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISurface` in this scope [INFO] [stdout] --> src/device_resources.rs:511:86 [INFO] [stdout] | [INFO] [stdout] 153 | impl DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 511 | let dxgi_surface = self.offscreen_render_target.as_ref().unwrap().cast::().unwrap().as_raw(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Bitmap1` in this scope [INFO] [stdout] --> src/device_resources.rs:512:41 [INFO] [stdout] | [INFO] [stdout] 512 | let mut target_bitmap: *mut ID2D1Bitmap1 = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Bitmap1` in this scope [INFO] [stdout] --> src/device_resources.rs:513:144 [INFO] [stdout] | [INFO] [stdout] 513 | ..., &bitmap_props, &mut target_bitmap as *mut *mut ID2D1Bitmap1); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Image` in this scope [INFO] [stdout] --> src/device_resources.rs:516:87 [INFO] [stdout] | [INFO] [stdout] 516 | self.d2d_device_context.as_ref().unwrap().SetTarget(target_bitmap as *mut ID2D1Image); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_VIEWPORT` in this scope [INFO] [stdout] --> src/device_resources.rs:519:29 [INFO] [stdout] | [INFO] [stdout] 519 | self.viewport = D3D11_VIEWPORT { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Debug` in this scope [INFO] [stdout] --> src/device_resources.rs:535:74 [INFO] [stdout] | [INFO] [stdout] 153 | impl DeviceResources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 535 | let d3d_debug = self.d3d_device.as_ref().unwrap().cast::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_RLDO_SUMMARY` in this scope [INFO] [stdout] --> src/device_resources.rs:536:51 [INFO] [stdout] | [INFO] [stdout] 536 | d3d_debug.ReportLiveDeviceObjects(D3D11_RLDO_SUMMARY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:551:138 [INFO] [stdout] | [INFO] [stdout] 551 | ..._target_view.as_ref().unwrap().as_raw() as *mut ID3D11Resource); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:552:136 [INFO] [stdout] | [INFO] [stdout] 552 | ..._target_view.as_ref().unwrap().as_raw() as *mut ID3D11Resource); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/device_resources.rs:553:126 [INFO] [stdout] | [INFO] [stdout] 553 | ...stencil_view.as_ref().unwrap().as_raw() as *mut ID3D11Resource); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_REMOVED` in this scope [INFO] [stdout] --> src/device_resources.rs:555:22 [INFO] [stdout] | [INFO] [stdout] 555 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [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:141:46 [INFO] [stdout] | [INFO] [stdout] 141 | if PeekMessageW(&mut msg 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:141:69 [INFO] [stdout] | [INFO] [stdout] 141 | if PeekMessageW(&mut msg 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:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | TranslateMessage(&msg 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:142:49 [INFO] [stdout] | [INFO] [stdout] 142 | TranslateMessage(&msg 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:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | DispatchMessageW(&msg 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:143:49 [INFO] [stdout] | [INFO] [stdout] 143 | DispatchMessageW(&msg as *const MSG); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CLEAR_DEPTH` in this scope [INFO] [stdout] --> src/main.rs:152:73 [INFO] [stdout] | [INFO] [stdout] 152 | d3d_device_context.ClearDepthStencilView(depth_stencil, D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, 1.0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CLEAR_STENCIL` in this scope [INFO] [stdout] --> src/main.rs:152:93 [INFO] [stdout] | [INFO] [stdout] 152 | d3d_device_context.ClearDepthStencilView(depth_stencil, D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, 1.0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/main.rs:161:88 [INFO] [stdout] | [INFO] [stdout] 161 | ... d3d_device_context.ResolveSubresource(backbuffer_render_target as *mut ID3D11Resource, 0, offscreen_render_target as *mut ID3D11Res... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/main.rs:161:139 [INFO] [stdout] | [INFO] [stdout] 161 | ...D11Resource, 0, offscreen_render_target as *mut ID3D11Resource, 0, DXGI_FORMAT_B8G8R8A8_UNORM); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/main.rs:161:158 [INFO] [stdout] | [INFO] [stdout] 161 | ..._render_target as *mut ID3D11Resource, 0, DXGI_FORMAT_B8G8R8A8_UNORM); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_RESET` in this scope [INFO] [stdout] --> src/device_resources.rs:555:57 [INFO] [stdout] | [INFO] [stdout] 555 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | handle: HWND [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | CoInitializeEx(null_mut(), COINITBASE_MULTITHREADED); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINITBASE_MULTITHREADED` in this scope [INFO] [stdout] --> src/main.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | CoInitializeEx(null_mut(), COINITBASE_MULTITHREADED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/main.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | let hinstance = GetModuleHandleW(null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadImageW` in this scope [INFO] [stdout] --> src/main.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let icon = LoadImageW( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_ICON` in this scope [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | IMAGE_ICON, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_LOADFROMFILE` in this scope [INFO] [stdout] --> src/main.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | LR_LOADFROMFILE | LR_DEFAULTSIZE | LR_SHARED [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_DEFAULTSIZE` in this scope [INFO] [stdout] --> src/main.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | LR_LOADFROMFILE | LR_DEFAULTSIZE | LR_SHARED [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_SHARED` in this scope [INFO] [stdout] --> src/main.rs:84:48 [INFO] [stdout] | [INFO] [stdout] 84 | LR_LOADFROMFILE | LR_DEFAULTSIZE | LR_SHARED [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:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | 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:88:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn create_window(name: &str, title: &str) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 88 | cbSize : size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/main.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | hIcon : icon as HICON, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/main.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | 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:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | style : CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DefWindowProcW` in this scope [INFO] [stdout] --> src/main.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | lpfnWndProc : Some( DefWindowProcW ), [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:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | 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 `RECT` in this scope [INFO] [stdout] --> src/main.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | let rect = RECT { left: 0, top: 0, right: client_width, bottom: client_height }; [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:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let handle = CreateWindowExW( [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:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | 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:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [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:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | let mut msg: MSG = mem::uninitialized(); [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:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | while msg.message != WM_QUIT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/main.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | if PeekMessageW(&mut msg 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:141:46 [INFO] [stdout] | [INFO] [stdout] 141 | if PeekMessageW(&mut msg 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:141:69 [INFO] [stdout] | [INFO] [stdout] 141 | if PeekMessageW(&mut msg 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:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | TranslateMessage(&msg 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:142:49 [INFO] [stdout] | [INFO] [stdout] 142 | TranslateMessage(&msg 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:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | DispatchMessageW(&msg 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:143:49 [INFO] [stdout] | [INFO] [stdout] 143 | DispatchMessageW(&msg as *const MSG); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CLEAR_DEPTH` in this scope [INFO] [stdout] --> src/main.rs:152:73 [INFO] [stdout] | [INFO] [stdout] 152 | d3d_device_context.ClearDepthStencilView(depth_stencil, D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, 1.0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CLEAR_STENCIL` in this scope [INFO] [stdout] --> src/main.rs:152:93 [INFO] [stdout] | [INFO] [stdout] 152 | d3d_device_context.ClearDepthStencilView(depth_stencil, D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, 1.0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/main.rs:161:88 [INFO] [stdout] | [INFO] [stdout] 161 | ... d3d_device_context.ResolveSubresource(backbuffer_render_target as *mut ID3D11Resource, 0, offscreen_render_target as *mut ID3D11Res... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/main.rs:161:139 [INFO] [stdout] | [INFO] [stdout] 161 | ...D11Resource, 0, offscreen_render_target as *mut ID3D11Resource, 0, DXGI_FORMAT_B8G8R8A8_UNORM); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/main.rs:161:158 [INFO] [stdout] | [INFO] [stdout] 161 | ..._render_target as *mut ID3D11Resource, 0, DXGI_FORMAT_B8G8R8A8_UNORM); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | let mut msg: MSG = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `foray_rust` [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | let mut msg: MSG = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 211 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 211 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8b96275fc53b509043861c2d3b95e4154294739a3f0b7dd8702a0b97df18a523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b96275fc53b509043861c2d3b95e4154294739a3f0b7dd8702a0b97df18a523", kill_on_drop: false }` [INFO] [stdout] 8b96275fc53b509043861c2d3b95e4154294739a3f0b7dd8702a0b97df18a523