[INFO] cloning repository https://github.com/arnoldaz/dx11-graphics-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arnoldaz/dx11-graphics-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnoldaz%2Fdx11-graphics-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnoldaz%2Fdx11-graphics-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9c47718d00abee3ef52f8cad6816048a2b384bf [INFO] checking arnoldaz/dx11-graphics-engine against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnoldaz%2Fdx11-graphics-engine" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/arnoldaz/dx11-graphics-engine [INFO] finished tweaking git repo https://github.com/arnoldaz/dx11-graphics-engine [INFO] tweaked toml for git repo https://github.com/arnoldaz/dx11-graphics-engine written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arnoldaz/dx11-graphics-engine on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arnoldaz/dx11-graphics-engine 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chlorine v1.0.10 [INFO] [stderr] Downloaded flate2 v1.0.27 [INFO] [stderr] Downloaded thiserror v1.0.48 [INFO] [stderr] Downloaded thiserror-impl v1.0.48 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded xml-rs v0.8.18 [INFO] [stderr] Downloaded indexmap v2.0.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.67 [INFO] [stderr] Downloaded memchr v2.6.3 [INFO] [stderr] Downloaded hashbrown v0.14.0 [INFO] [stderr] Downloaded directx_math v0.2.2 [INFO] [stderr] Downloaded ttf-parser v0.19.2 [INFO] [stderr] Downloaded winnow v0.5.15 [INFO] [stderr] Downloaded syn v2.0.37 [INFO] [stderr] Downloaded glfw v0.53.0 [INFO] [stderr] Downloaded imgui v0.11.0 [INFO] [stderr] Downloaded glfw-sys v4.0.0+3.3.5 [INFO] [stderr] Downloaded orbclient v0.3.46 [INFO] [stderr] Downloaded imgui-sys v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84e4d8cd42604653bfc7a9761c569edca25c8f847dd7afeab25f86e2cc590adb [INFO] running `Command { std: "docker" "start" "-a" "84e4d8cd42604653bfc7a9761c569edca25c8f847dd7afeab25f86e2cc590adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84e4d8cd42604653bfc7a9761c569edca25c8f847dd7afeab25f86e2cc590adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e4d8cd42604653bfc7a9761c569edca25c8f847dd7afeab25f86e2cc590adb", kill_on_drop: false }` [INFO] [stdout] 84e4d8cd42604653bfc7a9761c569edca25c8f847dd7afeab25f86e2cc590adb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1da153bf67514b946487c7531692c1d4a1c02c762aba7b5cc665c304810f7a37 [INFO] running `Command { std: "docker" "start" "-a" "1da153bf67514b946487c7531692c1d4a1c02c762aba7b5cc665c304810f7a37", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling xml-rs v0.8.18 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking ttf-parser v0.19.2 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling directx_math v0.2.2 [INFO] [stderr] Checking chlorine v1.0.10 [INFO] [stderr] Checking windows-core v0.51.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling dx11-graphics-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking windows v0.51.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling glfw-sys v4.0.0+3.3.5 [INFO] [stderr] Compiling imgui-sys v0.11.0 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking owned_ttf_parser v0.19.0 [INFO] [stderr] Checking ab_glyph v0.2.21 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking glfw v0.53.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking imgui v0.11.0 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stdout] error[E0432]: unresolved import `crate::imgui_dx11_renderer` [INFO] [stdout] --> src/window_ui.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::imgui_dx11_renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `imgui_dx11_renderer` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod imgui_dx11_renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/imgui_dx11_renderer.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut` and `ptr` [INFO] [stdout] --> src/window_application.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ptr, borrow::BorrowMut}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FontConfig`, `FontGlyphRanges`, `FontSource`, and `Ui` [INFO] [stdout] --> src/window_ui.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use imgui::{Context, FontConfig, FontGlyphRanges, FontSource, Ui, ConfigFlags}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImString` [INFO] [stdout] --> src/imgui_glfw_support.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | use imgui::{BackendFlags, ConfigFlags, Context, ImString, Io, Key, Ui}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::imgui_dx11_renderer` [INFO] [stdout] --> src/window_ui.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::imgui_dx11_renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `imgui_dx11_renderer` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod imgui_dx11_renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/imgui_dx11_renderer.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut` and `ptr` [INFO] [stdout] --> src/window_application.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ptr, borrow::BorrowMut}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FontConfig`, `FontGlyphRanges`, `FontSource`, and `Ui` [INFO] [stdout] --> src/window_ui.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use imgui::{Context, FontConfig, FontGlyphRanges, FontSource, Ui, ConfigFlags}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImString` [INFO] [stdout] --> src/imgui_glfw_support.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | use imgui::{BackendFlags, ConfigFlags, Context, ImString, Io, Key, Ui}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_win32_window` found for struct `glfw::Window` in the current scope [INFO] [stdout] --> src/window.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | let window_handle = self.window.get_win32_window(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_x11_window` with a similar name [INFO] [stdout] | [INFO] [stdout] 53 - let window_handle = self.window.get_win32_window(); [INFO] [stdout] 53 + let window_handle = self.window.get_x11_window(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_win32_window` found for struct `glfw::Window` in the current scope [INFO] [stdout] --> src/window.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | let window_handle = self.window.get_win32_window(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_x11_window` with a similar name [INFO] [stdout] | [INFO] [stdout] 53 - let window_handle = self.window.get_win32_window(); [INFO] [stdout] 53 + let window_handle = self.window.get_x11_window(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/window_application.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let debug: &ID3D11Debug = unsafe { ID3D11Debug::from_raw_borrowed(&device_unwrapped.abi()).unwrap() }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/window_application.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let debug: &ID3D11Debug = unsafe { ID3D11Debug::from_raw_borrowed(&device_unwrapped.abi()).unwrap() }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_ui` [INFO] [stdout] --> src/window_application.rs:432:53 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn render(&self, viewport_size: (u32, u32), window_ui: &mut crate::window_ui::WindowUi) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_ui` [INFO] [stdout] --> src/window_application.rs:432:53 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn render(&self, viewport_size: (u32, u32), window_ui: &mut crate::window_ui::WindowUi) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dx11-graphics-engine` (bin "dx11-graphics-engine") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dx11-graphics-engine` (bin "dx11-graphics-engine" test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1da153bf67514b946487c7531692c1d4a1c02c762aba7b5cc665c304810f7a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da153bf67514b946487c7531692c1d4a1c02c762aba7b5cc665c304810f7a37", kill_on_drop: false }` [INFO] [stdout] 1da153bf67514b946487c7531692c1d4a1c02c762aba7b5cc665c304810f7a37