[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] testing raphlinus/dx11-toy against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphlinus%2Fdx11-toy" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raphlinus/dx11-toy on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2/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" "+beta-2022-04-10" "fetch" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 477220a0290ff43c7af6cea93fa940e9841ba57d1718b925cfe7ef86b4b0faee [INFO] running `Command { std: "docker" "start" "-a" "477220a0290ff43c7af6cea93fa940e9841ba57d1718b925cfe7ef86b4b0faee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "477220a0290ff43c7af6cea93fa940e9841ba57d1718b925cfe7ef86b4b0faee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "477220a0290ff43c7af6cea93fa940e9841ba57d1718b925cfe7ef86b4b0faee", kill_on_drop: false }` [INFO] [stdout] 477220a0290ff43c7af6cea93fa940e9841ba57d1718b925cfe7ef86b4b0faee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85d6cf22865c7b3d2f208bb3ffb19ed6a44f08646d1592422ab372c77b63c03d [INFO] running `Command { std: "docker" "start" "-a" "85d6cf22865c7b3d2f208bb3ffb19ed6a44f08646d1592422ab372c77b63c03d", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling wio v0.2.2 [INFO] [stderr] Compiling 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 `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] [stderr] error: could not compile `dx11-toy` due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "85d6cf22865c7b3d2f208bb3ffb19ed6a44f08646d1592422ab372c77b63c03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d6cf22865c7b3d2f208bb3ffb19ed6a44f08646d1592422ab372c77b63c03d", kill_on_drop: false }` [INFO] [stdout] 85d6cf22865c7b3d2f208bb3ffb19ed6a44f08646d1592422ab372c77b63c03d