[INFO] cloning repository https://github.com/CampbellOwen/rust_d3d11 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CampbellOwen/rust_d3d11" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCampbellOwen%2Frust_d3d11", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCampbellOwen%2Frust_d3d11'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9aa0bedca81e17f8a27fd83b6f06db771bc6b17 [INFO] testing CampbellOwen/rust_d3d11 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCampbellOwen%2Frust_d3d11" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CampbellOwen/rust_d3d11 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CampbellOwen/rust_d3d11 [INFO] finished tweaking git repo https://github.com/CampbellOwen/rust_d3d11 [INFO] tweaked toml for git repo https://github.com/CampbellOwen/rust_d3d11 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/CampbellOwen/rust_d3d11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winit_input_helper v0.11.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.29.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.29.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.29.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.29.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.29.0 [INFO] [stderr] Downloaded windows v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 373e5a1459eb858ffdb29025fcae930ba9b47398e30e22e52f4d1571e958bf71 [INFO] running `Command { std: "docker" "start" "-a" "373e5a1459eb858ffdb29025fcae930ba9b47398e30e22e52f4d1571e958bf71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "373e5a1459eb858ffdb29025fcae930ba9b47398e30e22e52f4d1571e958bf71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "373e5a1459eb858ffdb29025fcae930ba9b47398e30e22e52f4d1571e958bf71", kill_on_drop: false }` [INFO] [stdout] 373e5a1459eb858ffdb29025fcae930ba9b47398e30e22e52f4d1571e958bf71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfc087a96ec7b374a76c64c0022fe960c0c4f776c3c09a27b469580836a9b100 [INFO] running `Command { std: "docker" "start" "-a" "cfc087a96ec7b374a76c64c0022fe960c0c4f776c3c09a27b469580836a9b100", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling winit v0.26.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling windows v0.29.0 [INFO] [stderr] Compiling obj v0.10.2 [INFO] [stderr] Compiling glam v0.17.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling wayland-sys v0.29.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.29.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-client v0.29.1 [INFO] [stderr] Compiling wayland-protocols v0.29.1 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-commons v0.29.1 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.29.1 [INFO] [stderr] Compiling winit_input_helper v0.11.0 [INFO] [stderr] Compiling rust_d3d11 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/atmosphere/precompute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Direct3D::D3D11_SRV_DIMENSION_BUFFEREX` [INFO] [stdout] --> src/atmosphere/precompute.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Direct3D::D3D11_SRV_DIMENSION_BUFFEREX, Direct3D11::*, Dxgi::Common::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString` [INFO] [stdout] --> src/atmosphere/precompute.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::mesh::GpuMesh` [INFO] [stdout] --> src/render_backend/render_pass.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::mesh::GpuMesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/render_backend/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GpuMesh` [INFO] [stdout] --> src/render_backend/renderer.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use super::mesh::{GpuMesh, Vertex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/render_backend/shader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/render_backend/texture.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/simple_triangle.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::{Mat4, Quat, Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_triangle::SimpleTriangleScene` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use simple_triangle::SimpleTriangleScene; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `texture::Tex2D` [INFO] [stdout] --> src/object.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | texture::Tex2D, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flag` [INFO] [stdout] --> src/scene.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::object::{Flag, GameObject, SimpleMesh}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `backend::Backend`, `render_pass::RenderPass`, `shader::Shader` [INFO] [stdout] --> src/simple_gbuffer_pass.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::render_backend::{backend::Backend, render_pass::RenderPass, shader::Shader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Foundation::*`, `Graphics::Direct3D11::*`, `Graphics::Dxgi::Common::*` [INFO] [stdout] --> src/simple_gbuffer_pass.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::{Foundation::*, Graphics::Direct3D11::*, Graphics::Dxgi::Common::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `backend::Backend`, `render_pass::RenderPass`, `shader::Shader` [INFO] [stdout] --> src/vertex_colour_stage.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::render_backend::{backend::Backend, render_pass::RenderPass, shader::Shader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Foundation::*`, `Graphics::Direct3D11::*`, `Graphics::Dxgi::Common::*` [INFO] [stdout] --> src/vertex_colour_stage.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::{Foundation::*, Graphics::Direct3D11::*, Graphics::Dxgi::Common::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope [INFO] [stdout] --> src/main.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | let hwnd = _window.hwnd(); [INFO] [stdout] | ^^^^ method not found in `winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{float}` [INFO] [stdout] --> src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 32 | let width = 1920.; [INFO] [stdout] | ----- consider giving `width` a type [INFO] [stdout] ... [INFO] [stdout] 36 | .with_inner_size(LogicalSize::new(width, height)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: winit::dpi::Pixel` found in the `winit` crate: [INFO] [stdout] - impl winit::dpi::Pixel for f32; [INFO] [stdout] - impl winit::dpi::Pixel for f64; [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `Size` [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `LogicalSize<{float}>` [INFO] [stdout] note: required by a bound in `WindowBuilder::with_inner_size` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/winit-0.26.0/src/window.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn with_inner_size>(mut self, size: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `WindowBuilder::with_inner_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_d3d11` due to 4 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cfc087a96ec7b374a76c64c0022fe960c0c4f776c3c09a27b469580836a9b100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc087a96ec7b374a76c64c0022fe960c0c4f776c3c09a27b469580836a9b100", kill_on_drop: false }` [INFO] [stdout] cfc087a96ec7b374a76c64c0022fe960c0c4f776c3c09a27b469580836a9b100