[INFO] cloning repository https://github.com/drgomesp/slotcars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drgomesp/slotcars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Fslotcars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Fslotcars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11290541e5b686c02740ed990c2f60e75165537b [INFO] testing drgomesp/slotcars against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Fslotcars" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drgomesp/slotcars on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/drgomesp/slotcars [INFO] finished tweaking git repo https://github.com/drgomesp/slotcars [INFO] tweaked toml for git repo https://github.com/drgomesp/slotcars written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/drgomesp/slotcars 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7c3b37288ae3a074fcbbe64f9a02af7f403e7fd8ae241b9c5fa898a0166a5a6 [INFO] running `Command { std: "docker" "start" "-a" "a7c3b37288ae3a074fcbbe64f9a02af7f403e7fd8ae241b9c5fa898a0166a5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c3b37288ae3a074fcbbe64f9a02af7f403e7fd8ae241b9c5fa898a0166a5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c3b37288ae3a074fcbbe64f9a02af7f403e7fd8ae241b9c5fa898a0166a5a6", kill_on_drop: false }` [INFO] [stdout] a7c3b37288ae3a074fcbbe64f9a02af7f403e7fd8ae241b9c5fa898a0166a5a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adee941910b21c654ce529bf772898e8f5bc8a5a5490e895af6fa4883927b216 [INFO] running `Command { std: "docker" "start" "-a" "adee941910b21c654ce529bf772898e8f5bc8a5a5490e895af6fa4883927b216", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling xml-rs v0.8.24 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling slotcars v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:299:6 [INFO] [stdout] | [INFO] [stdout] 299 | ) -> ((Vec, Vec)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 299 - ) -> ((Vec, Vec)) { [INFO] [stdout] 299 + ) -> (Vec, Vec) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid_render_pipeline` [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let grid_render_pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_render_pipeline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `selection_box_raw_vertices` is never read [INFO] [stdout] --> src/main.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | selection_box_raw_vertices = vertices.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let mut grid_index_buffer = device.create_buffer_init(&wgpu::util::BufferInitDescriptor { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grid.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut vertices = vec![ [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/grid.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/grid.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | Some(pos) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `is_hovered` are never read [INFO] [stdout] --> src/grid.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cell { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 7 | is_hovered: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cells` is never read [INFO] [stdout] --> src/grid.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Grid { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub cells: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_cell_at` is never used [INFO] [stdout] --> src/grid.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "adee941910b21c654ce529bf772898e8f5bc8a5a5490e895af6fa4883927b216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adee941910b21c654ce529bf772898e8f5bc8a5a5490e895af6fa4883927b216", kill_on_drop: false }` [INFO] [stdout] adee941910b21c654ce529bf772898e8f5bc8a5a5490e895af6fa4883927b216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71d64374a893d95a7669eb44bf77c3c8893ba2394fa7021f227d9cffd077ffa0 [INFO] running `Command { std: "docker" "start" "-a" "71d64374a893d95a7669eb44bf77c3c8893ba2394fa7021f227d9cffd077ffa0", kill_on_drop: false }` [INFO] [stderr] Compiling slotcars v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:299:6 [INFO] [stdout] | [INFO] [stdout] 299 | ) -> ((Vec, Vec)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 299 - ) -> ((Vec, Vec)) { [INFO] [stdout] 299 + ) -> (Vec, Vec) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid_render_pipeline` [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let grid_render_pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_render_pipeline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `selection_box_raw_vertices` is never read [INFO] [stdout] --> src/main.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | selection_box_raw_vertices = vertices.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let mut grid_index_buffer = device.create_buffer_init(&wgpu::util::BufferInitDescriptor { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grid.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut vertices = vec![ [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/grid.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/grid.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | Some(pos) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `is_hovered` are never read [INFO] [stdout] --> src/grid.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cell { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 7 | is_hovered: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cells` is never read [INFO] [stdout] --> src/grid.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Grid { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub cells: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_cell_at` is never used [INFO] [stdout] --> src/grid.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "71d64374a893d95a7669eb44bf77c3c8893ba2394fa7021f227d9cffd077ffa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71d64374a893d95a7669eb44bf77c3c8893ba2394fa7021f227d9cffd077ffa0", kill_on_drop: false }` [INFO] [stdout] 71d64374a893d95a7669eb44bf77c3c8893ba2394fa7021f227d9cffd077ffa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e26b36228b1971790761c82949f6fc48f16765e5ccbd91844151e3258bc4c654 [INFO] running `Command { std: "docker" "start" "-a" "e26b36228b1971790761c82949f6fc48f16765e5ccbd91844151e3258bc4c654", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:299:6 [INFO] [stderr] | [INFO] [stderr] 299 | ) -> ((Vec, Vec)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 299 - ) -> ((Vec, Vec)) { [INFO] [stderr] 299 + ) -> (Vec, Vec) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `grid_render_pipeline` [INFO] [stderr] --> src/main.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | let grid_render_pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_render_pipeline` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value captured by `selection_box_raw_vertices` is never read [INFO] [stderr] --> src/main.rs:219:17 [INFO] [stderr] | [INFO] [stderr] 219 | selection_box_raw_vertices = vertices.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | let mut grid_index_buffer = device.create_buffer_init(&wgpu::util::BufferInitDescriptor { [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/grid.rs:107:13 [INFO] [stderr] | [INFO] [stderr] 107 | let mut vertices = vec![ [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/grid.rs:165:35 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/grid.rs:165:43 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/main.rs:306:14 [INFO] [stderr] | [INFO] [stderr] 306 | Some(pos) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: fields `x`, `y`, and `is_hovered` are never read [INFO] [stderr] --> src/grid.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Cell { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 5 | x: i32, [INFO] [stderr] | ^ [INFO] [stderr] 6 | y: i32, [INFO] [stderr] | ^ [INFO] [stderr] 7 | is_hovered: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `cells` is never read [INFO] [stderr] --> src/grid.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Grid { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | pub cells: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Grid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get_cell_at` is never used [INFO] [stderr] --> src/grid.rs:165:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Grid { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 165 | pub fn get_cell_at(&mut self, x: f32, y: f32) -> Option<&Cell> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `slotcars` (bin "slotcars" test) generated 11 warnings (run `cargo fix --bin "slotcars" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/slotcars-b2532fb59dfff917) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e26b36228b1971790761c82949f6fc48f16765e5ccbd91844151e3258bc4c654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26b36228b1971790761c82949f6fc48f16765e5ccbd91844151e3258bc4c654", kill_on_drop: false }` [INFO] [stdout] e26b36228b1971790761c82949f6fc48f16765e5ccbd91844151e3258bc4c654