[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 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-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Blatko1/wgpu-beginner-project on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d6a13aed05fbc54feae25df2f233ce59a59c0a567ec918c9f4a157e2f58a90c [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" "6d6a13aed05fbc54feae25df2f233ce59a59c0a567ec918c9f4a157e2f58a90c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d6a13aed05fbc54feae25df2f233ce59a59c0a567ec918c9f4a157e2f58a90c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6a13aed05fbc54feae25df2f233ce59a59c0a567ec918c9f4a157e2f58a90c", kill_on_drop: false }` [INFO] [stdout] 6d6a13aed05fbc54feae25df2f233ce59a59c0a567ec918c9f4a157e2f58a90c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f5280fc1e1c29bb33b155bf8fc5297dce0ae2327ce20e952ef5ec7d589370583 [INFO] running `Command { std: "docker" "start" "-a" "f5280fc1e1c29bb33b155bf8fc5297dce0ae2327ce20e952ef5ec7d589370583", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] naga v0.5.0: msl-out [INFO] [stderr] scopeguard v1.1.0: default, use_std [INFO] [stderr] syn v1.0.73 (as host dependency): extra-traits, visit [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.73 [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] Checking smallvec v1.6.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking profiling v1.0.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling ahash v0.7.4 [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 miniz_oxide v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.15 [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] Compiling wgpu-core v0.9.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking ash v0.32.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking wgpu-types v0.9.0 [INFO] [stderr] Checking gfx-renderdoc v0.1.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking ab_glyph v0.2.11 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking gpu-descriptor v0.1.1 [INFO] [stderr] Checking gpu-alloc v0.4.7 [INFO] [stderr] Compiling first_gwpu_graphics v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking regex v1.4.6 [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 crossbeam v0.8.1 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.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 mio v0.7.13 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tobj v3.0.1 [INFO] [stderr] Checking rose_tree v0.2.0 [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 rand v0.8.4 [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 wayland-commons v0.28.6 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking glyph_brush v0.7.2 [INFO] [stderr] Checking tiff v0.6.1 [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 bytemuck v1.7.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking nalgebra v0.27.1 [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 winit v0.25.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking serde_json v1.0.66 [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-empty v0.9.0 [INFO] [stderr] Checking gfx-backend-gl v0.9.0 [INFO] [stderr] Checking wgpu v0.9.0 [INFO] [stderr] Checking wgpu_glyph v0.13.0 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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[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: 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[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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f5280fc1e1c29bb33b155bf8fc5297dce0ae2327ce20e952ef5ec7d589370583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5280fc1e1c29bb33b155bf8fc5297dce0ae2327ce20e952ef5ec7d589370583", kill_on_drop: false }` [INFO] [stdout] f5280fc1e1c29bb33b155bf8fc5297dce0ae2327ce20e952ef5ec7d589370583