[INFO] cloning repository https://github.com/Kayuii/dxgi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kayuii/dxgi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayuii%2Fdxgi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayuii%2Fdxgi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db0758c4f621576e60d39cb66cc771f3c935de94 [INFO] checking Kayuii/dxgi/db0758c4f621576e60d39cb66cc771f3c935de94 against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayuii%2Fdxgi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kayuii/dxgi [INFO] finished tweaking git repo https://github.com/Kayuii/dxgi [INFO] tweaked toml for git repo https://github.com/Kayuii/dxgi written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kayuii/dxgi on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kayuii/dxgi already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/kayuii/hwcodec` [INFO] [stderr] Updating git submodule `https://github.com/21pages/externals.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.208 [INFO] [stderr] Downloaded serde v1.0.208 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] [stderr] Downloaded cc v1.1.13 [INFO] [stderr] Downloaded bindgen v0.59.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8555192c1c78c171fb1401abb8938f8408aa492c35807cfd241584da99d2266a [INFO] running `Command { std: "docker" "start" "-a" "8555192c1c78c171fb1401abb8938f8408aa492c35807cfd241584da99d2266a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8555192c1c78c171fb1401abb8938f8408aa492c35807cfd241584da99d2266a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8555192c1c78c171fb1401abb8938f8408aa492c35807cfd241584da99d2266a", kill_on_drop: false }` [INFO] [stdout] 8555192c1c78c171fb1401abb8938f8408aa492c35807cfd241584da99d2266a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75dbf3714df5058184fb2c52b80d7266d32db6bbcbf7907950e84a46308f407b [INFO] running `Command { std: "docker" "start" "-a" "75dbf3714df5058184fb2c52b80d7266d32db6bbcbf7907950e84a46308f407b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking dxgi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::{Foundation::LUID, Graphics::{Direct3D11::{ID3D11ShaderResourceView, ID3D11Texture2D, D3D11_MAPPED_SUBRESOURCE}, ... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/d3d11.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Foundation::{LUID, S_FALSE}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/d3d11.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::{core::Result, core::*, Win32::Graphics::Direct3D11::*, Win32::Graphics::Dxgi::*}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/d3d11.rs:4:70 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::{core::Result, core::*, Win32::Graphics::Direct3D11::*, Win32::Graphics::Dxgi::*}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows::core`, `windows::core` [INFO] [stdout] --> src/d3d11.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::{core::Result, core::*, Win32::Graphics::Direct3D11::*, Win32::Graphics::Dxgi::*}; [INFO] [stdout] | ^^^^ ^^^^ could not find `core` in `windows` [INFO] [stdout] | | [INFO] [stdout] | could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Foundation::{LUID, TRUE}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::Graphics::Direct3D::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Graphics::Dxgi::{IDXGIFactory4, DXGI_CREATE_FACTORY_FLAGS}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::WinRT::{RoInitialize, RO_INIT_MULTITHREADED}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::System::Com::{CoInitializeEx, COINIT_MULTITHREADED}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::Win32::UI::HiDpi::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use windows::Win32::UI::WindowsAndMessaging::SetProcessDPIAware; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/utils.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::core::HSTRING; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Graphics` in `windows` [INFO] [stdout] --> src/utils.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Graphics::DirectX::Direct3D11::IDirect3DDevice, [INFO] [stdout] | ^^^^^^^^ could not find `Graphics` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/utils.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | core::{Interface, Result}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/staging_texture.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Win32:: [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/staging_texture.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | core::{Interface, Result}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_hardware_adapter_desc` [INFO] [stdout] --> src/d3d11.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | acquire_duplication, get_hardware_adapter_desc, init_adaptor, init_adaptor_by_luid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Luid` [INFO] [stdout] --> src/utils.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::{AdapterDesc, Luid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dxgi` (lib) due to 18 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "75dbf3714df5058184fb2c52b80d7266d32db6bbcbf7907950e84a46308f407b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75dbf3714df5058184fb2c52b80d7266d32db6bbcbf7907950e84a46308f407b", kill_on_drop: false }` [INFO] [stdout] 75dbf3714df5058184fb2c52b80d7266d32db6bbcbf7907950e84a46308f407b