[INFO] cloning repository https://github.com/raphlinus/dx11-toy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raphlinus/dx11-toy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphlinus%2Fdx11-toy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphlinus%2Fdx11-toy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3700a740541b643731c4c68f11b3cde6f5950cf [INFO] checking raphlinus/dx11-toy against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphlinus%2Fdx11-toy" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raphlinus/dx11-toy on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raphlinus/dx11-toy [INFO] finished tweaking git repo https://github.com/raphlinus/dx11-toy [INFO] tweaked toml for git repo https://github.com/raphlinus/dx11-toy written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/raphlinus/dx11-toy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db32760fb44456436a01a1a0197b5e7e6d933b02d6171dffd684aef45e93ad7f [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" "db32760fb44456436a01a1a0197b5e7e6d933b02d6171dffd684aef45e93ad7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db32760fb44456436a01a1a0197b5e7e6d933b02d6171dffd684aef45e93ad7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db32760fb44456436a01a1a0197b5e7e6d933b02d6171dffd684aef45e93ad7f", kill_on_drop: false }` [INFO] [stdout] db32760fb44456436a01a1a0197b5e7e6d933b02d6171dffd684aef45e93ad7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3275bd0cc338e997e408c963285e0b1379371fd7e3282293e94421405677526c [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" "3275bd0cc338e997e408c963285e0b1379371fd7e3282293e94421405677526c", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking wio v0.2.2 [INFO] [stderr] Checking dx11-toy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::dxgi::DXGI_SWAP_EFFECT_SEQUENTIAL; [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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgiformat::DXGI_FORMAT_R32G32B32_FLOAT; [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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::d3dcommon::D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST; [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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::d3d11::D3D11_INPUT_PER_VERTEX_DATA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::{dxgi1_2, dxgiformat, dxgitype, minwindef}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::{wingdi, winuser}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::wide` [INFO] [stdout] --> src/main.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use wio::wide::ToWide; [INFO] [stdout] | ^^^^ could not find `wide` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/d3d11.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::{d3d11, d3dcommon, d3dcompiler}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/d3d11.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/dxgi.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::{dxgi, dxgi1_2, windef}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/dxgi.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::d3d11; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/dxgi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/util.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::winerror::{HRESULT, SUCCEEDED}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/dxgi.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/util.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::dxgi::DXGI_SWAP_EFFECT_SEQUENTIAL; [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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgiformat::DXGI_FORMAT_R32G32B32_FLOAT; [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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::d3dcommon::D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST; [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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::d3d11::D3D11_INPUT_PER_VERTEX_DATA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::{dxgi1_2, dxgiformat, dxgitype, minwindef}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::{wingdi, winuser}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::wide` [INFO] [stdout] --> src/main.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use wio::wide::ToWide; [INFO] [stdout] | ^^^^ could not find `wide` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/d3d11.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::{d3d11, d3dcommon, d3dcompiler}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/d3d11.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/dxgi.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::{dxgi, dxgi1_2, windef}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/dxgi.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::d3d11; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/dxgi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/util.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::winerror::{HRESULT, SUCCEEDED}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/dxgi.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/util.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | winapi::um::d3d11::D3D11_INPUT_ELEMENT_DESC { [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:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | let viewport = winapi::um::d3d11::D3D11_VIEWPORT { [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:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | winapi::um::d3d11::D3D11_USAGE_DEFAULT, [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:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | winapi::um::d3d11::D3D11_BIND_VERTEX_BUFFER, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Error(HRESULT); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe fn wrap(hr: HRESULT, ptr: *mut T, f: F) -> Result [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/util.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn wrap_unit(hr: HRESULT) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/util.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | if SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_SEQUENTIAL` in this scope [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | SwapEffect: DXGI_SWAP_EFFECT_SEQUENTIAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32_FLOAT` in this scope [INFO] [stdout] --> src/main.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | Format: DXGI_FORMAT_R32G32B32_FLOAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_INPUT_PER_VERTEX_DATA` in this scope [INFO] [stdout] --> src/main.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | InputSlotClass: D3D11_INPUT_PER_VERTEX_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope [INFO] [stdout] --> src/main.rs:135:50 [INFO] [stdout] | [INFO] [stdout] 135 | device_context.ia_set_primitive_topology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | winapi::um::d3d11::D3D11_INPUT_ELEMENT_DESC { [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:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | let viewport = winapi::um::d3d11::D3D11_VIEWPORT { [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:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | winapi::um::d3d11::D3D11_USAGE_DEFAULT, [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:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | winapi::um::d3d11::D3D11_BIND_VERTEX_BUFFER, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Error(HRESULT); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe fn wrap(hr: HRESULT, ptr: *mut T, f: F) -> Result [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/util.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn wrap_unit(hr: HRESULT) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/util.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | if SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_SEQUENTIAL` in this scope [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | SwapEffect: DXGI_SWAP_EFFECT_SEQUENTIAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32_FLOAT` in this scope [INFO] [stdout] --> src/main.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | Format: DXGI_FORMAT_R32G32B32_FLOAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_INPUT_PER_VERTEX_DATA` in this scope [INFO] [stdout] --> src/main.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | InputSlotClass: D3D11_INPUT_PER_VERTEX_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope [INFO] [stdout] --> src/main.rs:135:50 [INFO] [stdout] | [INFO] [stdout] 135 | device_context.ia_set_primitive_topology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dx11-toy` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3275bd0cc338e997e408c963285e0b1379371fd7e3282293e94421405677526c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3275bd0cc338e997e408c963285e0b1379371fd7e3282293e94421405677526c", kill_on_drop: false }` [INFO] [stdout] 3275bd0cc338e997e408c963285e0b1379371fd7e3282293e94421405677526c