[INFO] cloning repository https://github.com/cortex/xtop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cortex/xtop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcortex%2Fxtop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcortex%2Fxtop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30a2bc53510cc6e8e9295548a7f3ecc55f0ee1c8 [INFO] checking cortex/xtop against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcortex%2Fxtop" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cortex/xtop [INFO] finished tweaking git repo https://github.com/cortex/xtop [INFO] tweaked toml for git repo https://github.com/cortex/xtop written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cortex/xtop on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cortex/xtop 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e7974ebe024cebe0031116dfd1a2c63fc92ce7a1be20fbb8227a3d44170b09c [INFO] running `Command { std: "docker" "start" "-a" "0e7974ebe024cebe0031116dfd1a2c63fc92ce7a1be20fbb8227a3d44170b09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e7974ebe024cebe0031116dfd1a2c63fc92ce7a1be20fbb8227a3d44170b09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7974ebe024cebe0031116dfd1a2c63fc92ce7a1be20fbb8227a3d44170b09c", kill_on_drop: false }` [INFO] [stdout] 0e7974ebe024cebe0031116dfd1a2c63fc92ce7a1be20fbb8227a3d44170b09c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a84a50e7341f4400ba445ffa4ea73872d5f257e24987f3f0d838012aaa654f2 [INFO] running `Command { std: "docker" "start" "-a" "9a84a50e7341f4400ba445ffa4ea73872d5f257e24987f3f0d838012aaa654f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling wgpu-core v22.1.0 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking ttf-parser v0.25.0 [INFO] [stderr] Checking font-types v0.7.2 [INFO] [stderr] Checking read-fonts v0.22.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking fontconfig-parser v0.5.7 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wgpu v22.1.0 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking yazi v0.1.6 [INFO] [stderr] Checking zeno v0.2.3 [INFO] [stderr] Checking unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Checking wayland-protocols v0.32.4 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking unicode-ccc v0.2.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking skrifa v0.22.3 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking svg_fmt v0.4.3 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking sys-locale v0.3.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking etagere v0.2.13 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.4 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.4 [INFO] [stderr] Checking swash v0.1.19 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking cosmic-text v0.12.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking glyphon v0.6.0 [INFO] [stderr] Checking lolitop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/camera.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/camera.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / #[repr(C)] [INFO] [stdout] 103 | | // This is so we can store this in a buffer [INFO] [stdout] 104 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 105 | | pub struct CameraUniform { [INFO] [stdout] ... | [INFO] [stdout] 108 | | view_proj: [[f32; 4]; 4], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/light.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LightUniform { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/light.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct LightUniform { [INFO] [stdout] 4 | | pub position: [f32; 3], [INFO] [stdout] ... | [INFO] [stdout] 9 | | pub _padding2: u32, [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/metrics.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/metrics.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / #[repr(C)] [INFO] [stdout] 171 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 172 | | pub struct InstanceRaw { [INFO] [stdout] 173 | | model: [[f32; 4]; 4], [INFO] [stdout] 174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/model.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct Vertex { [INFO] [stdout] 4 | | position: [f32; 3], [INFO] [stdout] 5 | | normal: [f32; 3], [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/window.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn run() { [INFO] [stdout] | ____________________- [INFO] [stdout] 20 | | env_logger::init(); [INFO] [stdout] 21 | | let event_loop = EventLoop::new().expect("Failed to create event loop"); [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | impl<'a> ApplicationHandler for App<'a> { [INFO] [stdout] | | ^^^^^^^^^------------------^^^^^---^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `App` is not local [INFO] [stdout] | | `ApplicationHandler` is not local [INFO] [stdout] ... | [INFO] [stdout] 94 | | event_loop.run_app(&mut app).unwrap(); [INFO] [stdout] 95 | | } [INFO] [stdout] | |_- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/camera.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/camera.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / #[repr(C)] [INFO] [stdout] 103 | | // This is so we can store this in a buffer [INFO] [stdout] 104 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 105 | | pub struct CameraUniform { [INFO] [stdout] ... | [INFO] [stdout] 108 | | view_proj: [[f32; 4]; 4], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/light.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LightUniform { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/light.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct LightUniform { [INFO] [stdout] 4 | | pub position: [f32; 3], [INFO] [stdout] ... | [INFO] [stdout] 9 | | pub _padding2: u32, [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/metrics.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/metrics.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / #[repr(C)] [INFO] [stdout] 171 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 172 | | pub struct InstanceRaw { [INFO] [stdout] 173 | | model: [[f32; 4]; 4], [INFO] [stdout] 174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/model.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct Vertex { [INFO] [stdout] 4 | | position: [f32; 3], [INFO] [stdout] 5 | | normal: [f32; 3], [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/window.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn run() { [INFO] [stdout] | ____________________- [INFO] [stdout] 20 | | env_logger::init(); [INFO] [stdout] 21 | | let event_loop = EventLoop::new().expect("Failed to create event loop"); [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | impl<'a> ApplicationHandler for App<'a> { [INFO] [stdout] | | ^^^^^^^^^------------------^^^^^---^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `App` is not local [INFO] [stdout] | | `ApplicationHandler` is not local [INFO] [stdout] ... | [INFO] [stdout] 94 | | event_loop.run_app(&mut app).unwrap(); [INFO] [stdout] 95 | | } [INFO] [stdout] | |_- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "9a84a50e7341f4400ba445ffa4ea73872d5f257e24987f3f0d838012aaa654f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a84a50e7341f4400ba445ffa4ea73872d5f257e24987f3f0d838012aaa654f2", kill_on_drop: false }` [INFO] [stdout] 9a84a50e7341f4400ba445ffa4ea73872d5f257e24987f3f0d838012aaa654f2