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