[INFO] updating cached repository https://github.com/ArmsOfSorrow/win32-d3d-template [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e3d183ebdb58aecb3f1abf538f902f22d46efeaf [INFO] testing ArmsOfSorrow/win32-d3d-template against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArmsOfSorrow%2Fwin32-d3d-template" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArmsOfSorrow/win32-d3d-template on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ArmsOfSorrow/win32-d3d-template [INFO] finished tweaking git repo https://github.com/ArmsOfSorrow/win32-d3d-template [INFO] tweaked toml for git repo https://github.com/ArmsOfSorrow/win32-d3d-template written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ArmsOfSorrow/win32-d3d-template already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3051b121fd7c168534d33d904fea0732ecd67d808ffbf3000f71a741a645c3bc [INFO] running `"docker" "start" "-a" "3051b121fd7c168534d33d904fea0732ecd67d808ffbf3000f71a741a645c3bc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Compiling wio v0.2.0 [INFO] [stderr] Compiling win32-d3d-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{HINSTANCE, LPARAM, LRESULT, WPARAM}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::ntdef::HRESULT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::windef::{HBRUSH, HMENU, HWND}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize, COINITBASE_MULTITHREADED}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::winuser::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::dxgi::{IDXGIAdapter, IDXGIDevice1}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::dxgi1_2::{ [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::dxgiformat::{DXGI_FORMAT_B8G8R8A8_UNORM, DXGI_FORMAT_D24_UNORM_S8_UINT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::dxgitype::DXGI_USAGE_RENDER_TARGET_OUTPUT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{TRUE, UINT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::winerror::{DXGI_ERROR_DEVICE_REMOVED, DXGI_ERROR_DEVICE_RESET}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/game.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::d3d11::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/game.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::d3d11_1::{ID3D11Device1, ID3D11DeviceContext1}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/game.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use winapi::um::d3dcommon::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/game.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::unknwnbase::IUnknown; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/game.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/step_timer.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/step_timer.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winnt::LARGE_INTEGER; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::com` [INFO] [stderr] --> src/game.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | use wio::com::ComPtr; [INFO] [stderr] | ^^^ could not find `com` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDXGIFactory2` [INFO] [stderr] --> src/game.rs:292:18 [INFO] [stderr] | [INFO] [stderr] 292 | &IDXGIFactory2::uuidof(), [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `IDXGIFactory2` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stderr] --> src/game.rs:293:75 [INFO] [stderr] | [INFO] [stderr] 293 | &mut dxgi_factory_ptr as *mut *mut _ as *mut *mut winapi::ctypes::c_void, [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/game.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | window: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stderr] --> src/game.rs:32:20 [INFO] [stderr] | [INFO] [stderr] 32 | feature_level: D3D_FEATURE_LEVEL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stderr] --> src/game.rs:33:31 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Game { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 33 | d3d_device: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stderr] --> src/game.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Game { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 34 | d3d_context: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stderr] --> src/game.rs:35:31 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Game { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 35 | swap_chain: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope [INFO] [stderr] --> src/game.rs:36:39 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Game { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 36 | render_target_view: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stderr] --> src/game.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Game { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 37 | depth_stencil_view: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stderr] --> src/game.rs:48:32 [INFO] [stderr] | [INFO] [stderr] 48 | feature_level: D3D_FEATURE_LEVEL_9_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/game.rs:58:49 [INFO] [stderr] | [INFO] [stderr] 58 | pub unsafe fn initialize(&mut self, window: HWND, width: i32, height: i32) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CLEAR_DEPTH` in this scope [INFO] [stderr] --> src/game.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 112 | D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CLEAR_STENCIL` in this scope [INFO] [stderr] --> src/game.rs:112:41 [INFO] [stderr] | [INFO] [stderr] 112 | D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D11_VIEWPORT` in this scope [INFO] [stderr] --> src/game.rs:118:32 [INFO] [stderr] | [INFO] [stderr] 118 | let viewport = D3D11_VIEWPORT { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_MIN_DEPTH` in this scope [INFO] [stderr] --> src/game.rs:123:31 [INFO] [stderr] | [INFO] [stderr] 123 | MinDepth: D3D11_MIN_DEPTH, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_MAX_DEPTH` in this scope [INFO] [stderr] --> src/game.rs:124:31 [INFO] [stderr] | [INFO] [stderr] 124 | MaxDepth: D3D11_MAX_DEPTH, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_REMOVED` in this scope [INFO] [stderr] --> src/game.rs:140:22 [INFO] [stderr] | [INFO] [stderr] 140 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_RESET` in this scope [INFO] [stderr] --> src/game.rs:140:57 [INFO] [stderr] | [INFO] [stderr] 140 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/game.rs:184:33 [INFO] [stderr] | [INFO] [stderr] 184 | let mut creation_flags: UINT = 0; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_DEBUG` in this scope [INFO] [stderr] --> src/game.rs:188:31 [INFO] [stderr] | [INFO] [stderr] 188 | creation_flags |= D3D11_CREATE_DEVICE_DEBUG; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_1` in this scope [INFO] [stderr] --> src/game.rs:193:13 [INFO] [stderr] | [INFO] [stderr] 193 | D3D_FEATURE_LEVEL_11_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_0` in this scope [INFO] [stderr] --> src/game.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | D3D_FEATURE_LEVEL_11_0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_1` in this scope [INFO] [stderr] --> src/game.rs:195:13 [INFO] [stderr] | [INFO] [stderr] 195 | D3D_FEATURE_LEVEL_10_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_0` in this scope [INFO] [stderr] --> src/game.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | D3D_FEATURE_LEVEL_10_0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_3` in this scope [INFO] [stderr] --> src/game.rs:197:13 [INFO] [stderr] | [INFO] [stderr] 197 | D3D_FEATURE_LEVEL_9_3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_2` in this scope [INFO] [stderr] --> src/game.rs:198:13 [INFO] [stderr] | [INFO] [stderr] 198 | D3D_FEATURE_LEVEL_9_2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stderr] --> src/game.rs:199:13 [INFO] [stderr] | [INFO] [stderr] 199 | D3D_FEATURE_LEVEL_9_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/game.rs:202:34 [INFO] [stderr] | [INFO] [stderr] 202 | let mut device_ptr: *mut ID3D11Device = std::ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/game.rs:203:35 [INFO] [stderr] | [INFO] [stderr] 203 | let mut context_ptr: *mut ID3D11DeviceContext = std::ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDevice` in this scope [INFO] [stderr] --> src/game.rs:204:18 [INFO] [stderr] | [INFO] [stderr] 204 | let hr = D3D11CreateDevice( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stderr] --> src/game.rs:206:13 [INFO] [stderr] | [INFO] [stderr] 206 | D3D_DRIVER_TYPE_HARDWARE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stderr] --> src/game.rs:211:13 [INFO] [stderr] | [INFO] [stderr] 211 | D3D11_SDK_VERSION, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stderr] --> src/game.rs:223:21 [INFO] [stderr] | [INFO] [stderr] 41 | impl Game { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 223 | .cast::() [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stderr] --> src/game.rs:227:21 [INFO] [stderr] | [INFO] [stderr] 41 | impl Game { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 227 | .cast::() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope [INFO] [stderr] --> src/game.rs:236:31 [INFO] [stderr] | [INFO] [stderr] 236 | let null_views: [*mut ID3D11RenderTargetView; 1] = [std::ptr::null_mut()]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stderr] --> src/game.rs:248:34 [INFO] [stderr] | [INFO] [stderr] 248 | let back_buffer_format = DXGI_FORMAT_B8G8R8A8_UNORM; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_D24_UNORM_S8_UINT` in this scope [INFO] [stderr] --> src/game.rs:249:35 [INFO] [stderr] | [INFO] [stderr] 249 | let depth_buffer_format = DXGI_FORMAT_D24_UNORM_S8_UINT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_REMOVED` in this scope [INFO] [stderr] --> src/game.rs:262:22 [INFO] [stderr] | [INFO] [stderr] 262 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_RESET` in this scope [INFO] [stderr] --> src/game.rs:262:57 [INFO] [stderr] | [INFO] [stderr] 262 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIDevice1` in this scope [INFO] [stderr] --> src/game.rs:278:25 [INFO] [stderr] | [INFO] [stderr] 41 | impl Game { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 278 | .cast::() [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stderr] --> src/game.rs:289:44 [INFO] [stderr] | [INFO] [stderr] 289 | let mut dxgi_factory_ptr: *mut IDXGIFactory2 = std::ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DXGI_SWAP_CHAIN_DESC1` in this scope [INFO] [stderr] --> src/game.rs:300:38 [INFO] [stderr] | [INFO] [stderr] 300 | let mut swap_chain_desc: DXGI_SWAP_CHAIN_DESC1 = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope [INFO] [stderr] --> src/game.rs:306:43 [INFO] [stderr] | [INFO] [stderr] 306 | swap_chain_desc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DXGI_SWAP_CHAIN_FULLSCREEN_DESC` in this scope [INFO] [stderr] --> src/game.rs:309:49 [INFO] [stderr] | [INFO] [stderr] 309 | let mut fullscreen_swap_chain_desc: DXGI_SWAP_CHAIN_FULLSCREEN_DESC = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/game.rs:311:51 [INFO] [stderr] | [INFO] [stderr] 311 | fullscreen_swap_chain_desc.Windowed = TRUE; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stderr] --> src/game.rs:313:42 [INFO] [stderr] | [INFO] [stderr] 313 | let mut swap_chain_ptr: *mut IDXGISwapChain1 = std::ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/game.rs:315:68 [INFO] [stderr] | [INFO] [stderr] 315 | self.d3d_device.as_ref().unwrap().as_raw() as *mut IUnknown, //this looks kinda ugly too. [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | qpc_frequency: LARGE_INTEGER, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | qpc_last_time: LARGE_INTEGER, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:26:27 [INFO] [stderr] | [INFO] [stderr] 26 | let mut freq: LARGE_INTEGER = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceFrequency` in this scope [INFO] [stderr] --> src/step_timer.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if QueryPerformanceFrequency(&mut freq) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:31:32 [INFO] [stderr] | [INFO] [stderr] 31 | let mut last_time: LARGE_INTEGER = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope [INFO] [stderr] --> src/step_timer.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | if QueryPerformanceCounter(&mut last_time) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:60:35 [INFO] [stderr] | [INFO] [stderr] 60 | let mut current_time: LARGE_INTEGER = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope [INFO] [stderr] --> src/step_timer.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | if QueryPerformanceCounter(&mut current_time) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope [INFO] [stderr] --> src/step_timer.rs:129:16 [INFO] [stderr] | [INFO] [stderr] 129 | if QueryPerformanceCounter(&mut self.qpc_last_time) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stderr] --> src/main.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | let hr = CoInitializeEx(std::ptr::null_mut(), COINITBASE_MULTITHREADED); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COINITBASE_MULTITHREADED` in this scope [INFO] [stderr] --> src/main.rs:30:55 [INFO] [stderr] | [INFO] [stderr] 30 | let hr = CoInitializeEx(std::ptr::null_mut(), COINITBASE_MULTITHREADED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | let hinstance = GetModuleHandleW(std::ptr::null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | let wnd_class = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:52:41 [INFO] [stderr] | [INFO] [stderr] 52 | cbSize: std::mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:53:20 [INFO] [stderr] | [INFO] [stderr] 53 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:53:33 [INFO] [stderr] | [INFO] [stderr] 53 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stderr] --> src/main.rs:58:20 [INFO] [stderr] | [INFO] [stderr] 58 | hIcon: LoadIconW(hinstance, idi_icon.as_ptr()), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stderr] --> src/main.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/main.rs:59:56 [INFO] [stderr] | [INFO] [stderr] 59 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope [INFO] [stderr] --> src/main.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | hbrBackground: (COLOR_WINDOW + 1) as HBRUSH, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/main.rs:60:50 [INFO] [stderr] | [INFO] [stderr] 60 | hbrBackground: (COLOR_WINDOW + 1) as HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stderr] --> src/main.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | hIconSm: LoadIconW(hinstance, idi_icon.as_ptr()), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stderr] --> src/main.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | let registered = RegisterClassExW(&wnd_class as *const WNDCLASSEXW) != 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:66:64 [INFO] [stderr] | [INFO] [stderr] 66 | let registered = RegisterClassExW(&wnd_class as *const WNDCLASSEXW) != 0; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stderr] --> src/main.rs:76:24 [INFO] [stderr] | [INFO] [stderr] 76 | let hwnd = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stderr] --> src/main.rs:80:17 [INFO] [stderr] | [INFO] [stderr] 80 | WS_OVERLAPPEDWINDOW, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/main.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/main.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:85:22 [INFO] [stderr] | [INFO] [stderr] 85 | 0 as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/main.rs:86:22 [INFO] [stderr] | [INFO] [stderr] 86 | 0 as HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:87:22 [INFO] [stderr] | [INFO] [stderr] 87 | 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stderr] --> src/main.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | ShowWindow(hwnd, SW_SHOW); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stderr] --> src/main.rs:92:34 [INFO] [stderr] | [INFO] [stderr] 92 | ShowWindow(hwnd, SW_SHOW); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:96:30 [INFO] [stderr] | [INFO] [stderr] 96 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stderr] --> src/main.rs:97:23 [INFO] [stderr] | [INFO] [stderr] 97 | while WM_QUIT != msg.message { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stderr] --> src/main.rs:98:24 [INFO] [stderr] | [INFO] [stderr] 98 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stderr] --> src/main.rs:98:75 [INFO] [stderr] | [INFO] [stderr] 98 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:99:25 [INFO] [stderr] | [INFO] [stderr] 99 | TranslateMessage(&msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:100:25 [INFO] [stderr] | [INFO] [stderr] 100 | DispatchMessageW(&msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stderr] --> src/main.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | CoUninitialize(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:116:11 [INFO] [stderr] | [INFO] [stderr] 116 | hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:118:14 [INFO] [stderr] | [INFO] [stderr] 118 | w_param: WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:119:14 [INFO] [stderr] | [INFO] [stderr] 119 | l_param: LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:120:6 [INFO] [stderr] | [INFO] [stderr] 120 | ) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | DefWindowProcW(hwnd, message, w_param, l_param) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/main.rs:140:15 [INFO] [stderr] | [INFO] [stderr] 140 | fn failed(hr: HRESULT) -> bool { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:75:59 [INFO] [stderr] | [INFO] [stderr] 75 | let wnd_name: Vec = OsStr::new("window").encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error: aborting due to 119 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `win32-d3d-template`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3051b121fd7c168534d33d904fea0732ecd67d808ffbf3000f71a741a645c3bc"` [INFO] running `"docker" "rm" "-f" "3051b121fd7c168534d33d904fea0732ecd67d808ffbf3000f71a741a645c3bc"` [INFO] [stdout] 3051b121fd7c168534d33d904fea0732ecd67d808ffbf3000f71a741a645c3bc