[INFO] cloning repository https://github.com/amarde05/soft_rast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amarde05/soft_rast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famarde05%2Fsoft_rast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famarde05%2Fsoft_rast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9284ee4c152940b135c94e01cb6db2374876c0df [INFO] checking amarde05/soft_rast against 8773d2c75a8e90130dcce745a7ec4e66bb9963db+rustflags=-Aunfulfilled-lint-expectations for pr-163637 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famarde05%2Fsoft_rast" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/amarde05/soft_rast [INFO] finished tweaking git repo https://github.com/amarde05/soft_rast [INFO] tweaked toml for git repo https://github.com/amarde05/soft_rast written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amarde05/soft_rast on toolchain 8773d2c75a8e90130dcce745a7ec4e66bb9963db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/amarde05/soft_rast 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" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] eecd01f09e125c093ff92029b868fe6c78ef5a5a75e066ebf829429fc08d89ef [INFO] running `Command { std: "docker" "start" "eecd01f09e125c093ff92029b868fe6c78ef5a5a75e066ebf829429fc08d89ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eecd01f09e125c093ff92029b868fe6c78ef5a5a75e066ebf829429fc08d89ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "eecd01f09e125c093ff92029b868fe6c78ef5a5a75e066ebf829429fc08d89ef" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eecd01f09e125c093ff92029b868fe6c78ef5a5a75e066ebf829429fc08d89ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Aunfulfilled-lint-expectations" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "eecd01f09e125c093ff92029b868fe6c78ef5a5a75e066ebf829429fc08d89ef" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling quick-xml v0.39.2 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling drm-sys v0.8.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking zerocopy v0.8.48 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling tiny-xlib v0.2.4 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking ctor-lite v0.1.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking fastrand v2.4.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking glam v0.32.1 [INFO] [stderr] Compiling soft_rast v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking tobj v4.0.3 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking drm-ffi v0.9.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking drm v0.14.1 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking softbuffer v0.4.8 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stdout] warning: unused import: `Vec4` [INFO] [stdout] --> src/main.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use glam::{Mat4, Quat, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mesh` [INFO] [stdout] --> src/main.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{engine::{input::Input, mesh::{Mesh, MeshRegistry}, time::Time}, render::{Renderer, camera::Camera}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/render/mod.rs:7:94 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{engine::mesh::MeshRegistry, render::{camera::Camera, graphics::{Color, Graphics, Point}, pipeline::Pipeline}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec4` [INFO] [stdout] --> src/render/camera.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use glam::{Mat4, Quat, Vec3, Vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/engine/input.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | (position.x as f32 - self.mouse_pos.x), /// window_size.width as f32, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - (position.x as f32 - self.mouse_pos.x), /// window_size.width as f32, [INFO] [stdout] 114 + position.x as f32 - self.mouse_pos.x, /// window_size.width as f32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine/input.rs:114:53 [INFO] [stdout] | [INFO] [stdout] 114 | (position.x as f32 - self.mouse_pos.x), /// window_size.width as f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | (position.y as f32 - self.mouse_pos.y)// / window_size.height as f32 [INFO] [stdout] | -------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/engine/time.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeDelta` [INFO] [stdout] --> src/engine/time.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, TimeDelta, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec4` [INFO] [stdout] --> src/main.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use glam::{Mat4, Quat, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mesh` [INFO] [stdout] --> src/main.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{engine::{input::Input, mesh::{Mesh, MeshRegistry}, time::Time}, render::{Renderer, camera::Camera}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/render/mod.rs:7:94 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{engine::mesh::MeshRegistry, render::{camera::Camera, graphics::{Color, Graphics, Point}, pipeline::Pipeline}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec4` [INFO] [stdout] --> src/render/camera.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use glam::{Mat4, Quat, Vec3, Vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/engine/input.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | (position.x as f32 - self.mouse_pos.x), /// window_size.width as f32, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - (position.x as f32 - self.mouse_pos.x), /// window_size.width as f32, [INFO] [stdout] 114 + position.x as f32 - self.mouse_pos.x, /// window_size.width as f32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine/input.rs:114:53 [INFO] [stdout] | [INFO] [stdout] 114 | (position.x as f32 - self.mouse_pos.x), /// window_size.width as f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | (position.y as f32 - self.mouse_pos.y)// / window_size.height as f32 [INFO] [stdout] | -------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/engine/time.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeDelta` [INFO] [stdout] --> src/engine/time.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, TimeDelta, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/engine/input.rs:112:79 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn handle_cursor_movement(&mut self, position: PhysicalPosition, window_size: PhysicalSize) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | event_loop: &winit::event_loop::ActiveEventLoop, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/engine/input.rs:112:79 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn handle_cursor_movement(&mut self, position: PhysicalPosition, window_size: PhysicalSize) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/main.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | device_id: winit::event::DeviceId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/main.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | fn about_to_wait(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Triangle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 69 | pub fn new(verts: [Vec4; 3]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_pixels` is never used [INFO] [stdout] --> src/render/graphics.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a, D: HasDisplayHandle, W: HasWindowHandle> Graphics<'a, D, W> { [INFO] [stdout] | -------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_pixels(&mut self, x: u32, y: u32, w: u32, h: u32, cols: &[u32]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Outline` is never constructed [INFO] [stdout] --> src/render/graphics.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 303 | pub enum DrawMode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 304 | Fill, [INFO] [stdout] 305 | Outline [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render/graphics.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 314 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 315 | pub fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> src/render/graphics.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct LineIter { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 321 | pub a: Point, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_rotation` is never used [INFO] [stdout] --> src/render/camera.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn set_rotation(&mut self, rot: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mouse_pos` is never read [INFO] [stdout] --> src/engine/input.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | mouse_pos: Vec2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key_up`, `handle_cursor_movement`, `get_mouse_pos`, `get_mouse_button`, and `get_mouse_up` are never used [INFO] [stdout] --> src/engine/input.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Input { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_key_up(&self, key: KeyCode) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn handle_cursor_movement(&mut self, position: PhysicalPosition, window_size: PhysicalSize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_mouse_pos(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_mouse_button(&self, button: MouseButton) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn get_mouse_up(&self, button: MouseButton) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dt` is never used [INFO] [stdout] --> src/engine/time.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Time { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn dt(&self) -> f32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | event_loop: &winit::event_loop::ActiveEventLoop, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/main.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | device_id: winit::event::DeviceId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/main.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | fn about_to_wait(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Triangle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 69 | pub fn new(verts: [Vec4; 3]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_pixels` is never used [INFO] [stdout] --> src/render/graphics.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a, D: HasDisplayHandle, W: HasWindowHandle> Graphics<'a, D, W> { [INFO] [stdout] | -------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_pixels(&mut self, x: u32, y: u32, w: u32, h: u32, cols: &[u32]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Outline` is never constructed [INFO] [stdout] --> src/render/graphics.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 303 | pub enum DrawMode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 304 | Fill, [INFO] [stdout] 305 | Outline [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render/graphics.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 314 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 315 | pub fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> src/render/graphics.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct LineIter { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 321 | pub a: Point, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_rotation` is never used [INFO] [stdout] --> src/render/camera.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn set_rotation(&mut self, rot: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mouse_pos` is never read [INFO] [stdout] --> src/engine/input.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | mouse_pos: Vec2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key_up`, `handle_cursor_movement`, `get_mouse_pos`, `get_mouse_button`, and `get_mouse_up` are never used [INFO] [stdout] --> src/engine/input.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Input { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_key_up(&self, key: KeyCode) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn handle_cursor_movement(&mut self, position: PhysicalPosition, window_size: PhysicalSize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_mouse_pos(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_mouse_button(&self, button: MouseButton) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn get_mouse_up(&self, button: MouseButton) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dt` is never used [INFO] [stdout] --> src/engine/time.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Time { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn dt(&self) -> f32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `glob` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | glob = "0.3" [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `glob` [INFO] [stderr] warning: `soft_rast` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.43s [INFO] running `Command { std: "docker" "inspect" "eecd01f09e125c093ff92029b868fe6c78ef5a5a75e066ebf829429fc08d89ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eecd01f09e125c093ff92029b868fe6c78ef5a5a75e066ebf829429fc08d89ef", kill_on_drop: false }` [INFO] [stdout] eecd01f09e125c093ff92029b868fe6c78ef5a5a75e066ebf829429fc08d89ef