[INFO] cloning repository https://github.com/Blatko1/wgpu-beginner-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Blatko1/wgpu-beginner-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlatko1%2Fwgpu-beginner-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlatko1%2Fwgpu-beginner-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e89ae238e2af6ef091d7fb516de4a4944f120b84 [INFO] checking Blatko1/wgpu-beginner-project against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlatko1%2Fwgpu-beginner-project" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Blatko1/wgpu-beginner-project on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Blatko1/wgpu-beginner-project [INFO] finished tweaking git repo https://github.com/Blatko1/wgpu-beginner-project [INFO] tweaked toml for git repo https://github.com/Blatko1/wgpu-beginner-project written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Blatko1/wgpu-beginner-project already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33c1ff280d28a0254e31ddc1231b6d93dcfe26c8296b1e3a64d9e2a35998ab81 [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" "33c1ff280d28a0254e31ddc1231b6d93dcfe26c8296b1e3a64d9e2a35998ab81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33c1ff280d28a0254e31ddc1231b6d93dcfe26c8296b1e3a64d9e2a35998ab81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c1ff280d28a0254e31ddc1231b6d93dcfe26c8296b1e3a64d9e2a35998ab81", kill_on_drop: false }` [INFO] [stdout] 33c1ff280d28a0254e31ddc1231b6d93dcfe26c8296b1e3a64d9e2a35998ab81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a62d69b9d7124099ed4237c83952443ee8b34b4e12dc298c579e4510f1fd9ce [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" "4a62d69b9d7124099ed4237c83952443ee8b34b4e12dc298c579e4510f1fd9ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking profiling v1.0.3 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling wgpu-core v0.9.0 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking ash v0.32.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking wgpu-types v0.9.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking gfx-renderdoc v0.1.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.2 [INFO] [stderr] Checking ab_glyph v0.2.11 [INFO] [stderr] Checking gpu-descriptor v0.1.1 [INFO] [stderr] Checking gpu-alloc v0.4.7 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling first_gwpu_graphics v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ordered-float v2.7.0 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking khronos-egl v4.1.0 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking rose_tree v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking tobj v3.0.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Checking glyph_brush v0.7.2 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking nalgebra v0.27.1 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking naga v0.5.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking winit v0.25.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking external-memory v0.0.1 [INFO] [stderr] Checking gfx-hal v0.9.0 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Checking wgpu-subscriber v0.1.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.9.0 [INFO] [stderr] Checking gfx-backend-gl v0.9.0 [INFO] [stderr] Checking gfx-backend-empty v0.9.0 [INFO] [stderr] Checking wgpu v0.9.0 [INFO] [stderr] Checking wgpu_glyph v0.13.0 [INFO] [stdout] error: argument must be a string literal [INFO] [stdout] --> src/rendering/pipeline.rs:25:63 [INFO] [stdout] | [INFO] [stdout] 25 | source: wgpu::util::make_spirv(include_bytes!(vertex_path)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: argument must be a string literal [INFO] [stdout] --> src/rendering/pipeline.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | source: wgpu::util::make_spirv(include_bytes!(fragment_path)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::graphics` [INFO] [stdout] --> src/engine.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::Graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rendering::graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::renderer` [INFO] [stdout] --> src/engine.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::renderer::Renderer; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rendering::renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::graphics` [INFO] [stdout] --> src/rendering/object.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::Graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rendering::graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::object` [INFO] [stdout] --> src/rendering/renderer.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | use crate::object::DrawObject; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rendering::object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::renderer` [INFO] [stdout] --> src/rendering/uniforms.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `renderer` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::graphics` [INFO] [stdout] --> src/main.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::graphics::Graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rendering::graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `State` in this scope [INFO] [stdout] --> src/main_state.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | State { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: argument must be a string literal [INFO] [stdout] --> src/rendering/pipeline.rs:25:63 [INFO] [stdout] | [INFO] [stdout] 25 | source: wgpu::util::make_spirv(include_bytes!(vertex_path)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: argument must be a string literal [INFO] [stdout] --> src/rendering/pipeline.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | source: wgpu::util::make_spirv(include_bytes!(fragment_path)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/main.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | match state.render() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rendering/graphics.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 11 | / pub fn new(window: &winit::window::Window) -> Self { [INFO] [stdout] 12 | | let size = window.inner_size(); [INFO] [stdout] 13 | | let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY); [INFO] [stdout] 14 | | let surface = unsafe { instance.create_surface(&window) }; [INFO] [stdout] 15 | | let adapter = instance [INFO] [stdout] | |_______________________^ [INFO] [stdout] 16 | || .request_adapter(&wgpu::RequestAdapterOptions { [INFO] [stdout] 17 | || power_preference: wgpu::PowerPreference::HighPerformance, [INFO] [stdout] 18 | || compatible_surface: Some(&surface), [INFO] [stdout] 19 | || }) [INFO] [stdout] 20 | || .await [INFO] [stdout] | ||__________________^ only allowed inside `async` functions and blocks [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this is not `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rendering/graphics.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 11 | / pub fn new(window: &winit::window::Window) -> Self { [INFO] [stdout] 12 | | let size = window.inner_size(); [INFO] [stdout] 13 | | let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY); [INFO] [stdout] 14 | | let surface = unsafe { instance.create_surface(&window) }; [INFO] [stdout] ... | [INFO] [stdout] 22 | | let (device, queue) = adapter [INFO] [stdout] | |_______________________________^ [INFO] [stdout] 23 | || .request_device( [INFO] [stdout] 24 | || &wgpu::DeviceDescriptor { [INFO] [stdout] 25 | || label: Some("Device & Queue"), [INFO] [stdout] ... || [INFO] [stdout] 36 | || ) [INFO] [stdout] 37 | || .await [INFO] [stdout] | ||__________________^ only allowed inside `async` functions and blocks [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this is not `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::camera::Camera` [INFO] [stdout] --> src/engine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::camera::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chunk::Chunk` [INFO] [stdout] --> src/engine.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::chunk::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rendering::object::Object` [INFO] [stdout] --> src/engine.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::rendering::object::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::generation::flat_terrain` [INFO] [stdout] --> src/main_state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::generation::flat_terrain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawModel` [INFO] [stdout] --> src/main_state.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::modeling::model::{DrawLight, DrawModel, Material, Model}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cube::CubeType` [INFO] [stdout] --> src/quad.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cube::CubeType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlFlow`, `ElementState`, `Event`, `KeyboardInput`, `MouseButton`, `VirtualKeyCode`, `WindowBuilder`, `WindowEvent` [INFO] [stdout] --> src/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | event::{ElementState, Event, KeyboardInput, MouseButton, VirtualKeyCode, WindowEvent}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | event_loop::{ControlFlow, EventLoop}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | window::{self, WindowBuilder}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroU32` [INFO] [stdout] --> src/rendering/pipeline.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::NonZeroU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::ClientWindow` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::window::ClientWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MATRIX_UNIFORM_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:5:75 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MATRIX_UNIFORM_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | pub const SAMPLED_TEXTURE_AND_SAMPLER_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:20:88 [INFO] [stdout] | [INFO] [stdout] 20 | pub const SAMPLED_TEXTURE_AND_SAMPLER_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:46:59 [INFO] [stdout] | [INFO] [stdout] 46 | pub const SAMPLED_TEXTURE_ARRAY_AND_SAMPLER_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:46:94 [INFO] [stdout] | [INFO] [stdout] 46 | pub const SAMPLED_TEXTURE_ARRAY_AND_SAMPLER_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0422, E0425, E0432, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: could not compile `first_gwpu_graphics` due to 19 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `crate::graphics` [INFO] [stdout] --> src/engine.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::Graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rendering::graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::renderer` [INFO] [stdout] --> src/engine.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::renderer::Renderer; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rendering::renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::graphics` [INFO] [stdout] --> src/rendering/object.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::Graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rendering::graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::object` [INFO] [stdout] --> src/rendering/renderer.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | use crate::object::DrawObject; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rendering::object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::renderer` [INFO] [stdout] --> src/rendering/uniforms.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `renderer` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::graphics` [INFO] [stdout] --> src/main.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::graphics::Graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rendering::graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `State` in this scope [INFO] [stdout] --> src/main_state.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | State { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/main.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | match state.render() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rendering/graphics.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 11 | / pub fn new(window: &winit::window::Window) -> Self { [INFO] [stdout] 12 | | let size = window.inner_size(); [INFO] [stdout] 13 | | let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY); [INFO] [stdout] 14 | | let surface = unsafe { instance.create_surface(&window) }; [INFO] [stdout] 15 | | let adapter = instance [INFO] [stdout] | |_______________________^ [INFO] [stdout] 16 | || .request_adapter(&wgpu::RequestAdapterOptions { [INFO] [stdout] 17 | || power_preference: wgpu::PowerPreference::HighPerformance, [INFO] [stdout] 18 | || compatible_surface: Some(&surface), [INFO] [stdout] 19 | || }) [INFO] [stdout] 20 | || .await [INFO] [stdout] | ||__________________^ only allowed inside `async` functions and blocks [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this is not `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rendering/graphics.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 11 | / pub fn new(window: &winit::window::Window) -> Self { [INFO] [stdout] 12 | | let size = window.inner_size(); [INFO] [stdout] 13 | | let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY); [INFO] [stdout] 14 | | let surface = unsafe { instance.create_surface(&window) }; [INFO] [stdout] ... | [INFO] [stdout] 22 | | let (device, queue) = adapter [INFO] [stdout] | |_______________________________^ [INFO] [stdout] 23 | || .request_device( [INFO] [stdout] 24 | || &wgpu::DeviceDescriptor { [INFO] [stdout] 25 | || label: Some("Device & Queue"), [INFO] [stdout] ... || [INFO] [stdout] 36 | || ) [INFO] [stdout] 37 | || .await [INFO] [stdout] | ||__________________^ only allowed inside `async` functions and blocks [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____- this is not `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::camera::Camera` [INFO] [stdout] --> src/engine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::camera::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chunk::Chunk` [INFO] [stdout] --> src/engine.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::chunk::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rendering::object::Object` [INFO] [stdout] --> src/engine.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::rendering::object::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::generation::flat_terrain` [INFO] [stdout] --> src/main_state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::generation::flat_terrain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawModel` [INFO] [stdout] --> src/main_state.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::modeling::model::{DrawLight, DrawModel, Material, Model}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cube::CubeType` [INFO] [stdout] --> src/quad.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cube::CubeType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlFlow`, `ElementState`, `Event`, `KeyboardInput`, `MouseButton`, `VirtualKeyCode`, `WindowBuilder`, `WindowEvent` [INFO] [stdout] --> src/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | event::{ElementState, Event, KeyboardInput, MouseButton, VirtualKeyCode, WindowEvent}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | event_loop::{ControlFlow, EventLoop}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | window::{self, WindowBuilder}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroU32` [INFO] [stdout] --> src/rendering/pipeline.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::NonZeroU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::ClientWindow` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::window::ClientWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MATRIX_UNIFORM_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:5:75 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MATRIX_UNIFORM_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | pub const SAMPLED_TEXTURE_AND_SAMPLER_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:20:88 [INFO] [stdout] | [INFO] [stdout] 20 | pub const SAMPLED_TEXTURE_AND_SAMPLER_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:46:59 [INFO] [stdout] | [INFO] [stdout] 46 | pub const SAMPLED_TEXTURE_ARRAY_AND_SAMPLER_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/rendering/uniforms.rs:46:94 [INFO] [stdout] | [INFO] [stdout] 46 | pub const SAMPLED_TEXTURE_ARRAY_AND_SAMPLER_LAYOUT_DESC: &'a wgpu::BindGroupLayoutDescriptor<'a> = [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0422, E0425, E0432, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4a62d69b9d7124099ed4237c83952443ee8b34b4e12dc298c579e4510f1fd9ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a62d69b9d7124099ed4237c83952443ee8b34b4e12dc298c579e4510f1fd9ce", kill_on_drop: false }` [INFO] [stdout] 4a62d69b9d7124099ed4237c83952443ee8b34b4e12dc298c579e4510f1fd9ce