[INFO] cloning repository https://github.com/michaelslain/3d-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaelslain/3d-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelslain%2F3d-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelslain%2F3d-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88198478e6f9e08f9db9944c2479b7955298d601 [INFO] checking michaelslain/3d-engine against master#f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelslain%2F3d-engine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/michaelslain/3d-engine [INFO] finished tweaking git repo https://github.com/michaelslain/3d-engine [INFO] tweaked toml for git repo https://github.com/michaelslain/3d-engine written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michaelslain/3d-engine on toolchain f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/michaelslain/3d-engine 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" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glam v0.30.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26899e70b363679cf040a50d5689fc382779bff43ee69dd4fe3cfcd1f873d852 [INFO] running `Command { std: "docker" "start" "-a" "26899e70b363679cf040a50d5689fc382779bff43ee69dd4fe3cfcd1f873d852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26899e70b363679cf040a50d5689fc382779bff43ee69dd4fe3cfcd1f873d852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26899e70b363679cf040a50d5689fc382779bff43ee69dd4fe3cfcd1f873d852", kill_on_drop: false }` [INFO] [stdout] 26899e70b363679cf040a50d5689fc382779bff43ee69dd4fe3cfcd1f873d852 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3aa50bf13a38c34aca352ad68e68400a2f979fcfd321b2d94f683bd7e144fde [INFO] running `Command { std: "docker" "start" "-a" "a3aa50bf13a38c34aca352ad68e68400a2f979fcfd321b2d94f683bd7e144fde", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling wgpu-hal v25.0.2 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling wgpu-core v25.0.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling winit v0.30.11 [INFO] [stderr] Compiling wgpu v25.0.2 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking glam v0.30.3 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking wgpu-types v25.0.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking wayland-client v0.31.10 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.8 [INFO] [stderr] Checking wayland-cursor v0.31.10 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.8 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.8 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v25.0.0 [INFO] [stderr] Checking three-d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `update_config` [INFO] [stdout] --> src/core/camera.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::config::{get_config, update_config}; [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: `crate::core::object::Object` [INFO] [stdout] --> src/core/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core::object::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mesh::Mesh` [INFO] [stdout] --> src/core/camera.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::geometry::{mesh::Mesh, triangle::Triangle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaseLight` [INFO] [stdout] --> src/core/light/mod.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use light::{BaseLight, Light}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/core/renderer.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | event::{Event, WindowEvent}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_config` [INFO] [stdout] --> src/core/camera.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::config::{get_config, update_config}; [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: `crate::core::object::Object` [INFO] [stdout] --> src/core/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core::object::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mesh::Mesh` [INFO] [stdout] --> src/core/camera.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::geometry::{mesh::Mesh, triangle::Triangle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaseLight` [INFO] [stdout] --> src/core/light/mod.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use light::{BaseLight, Light}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/core/renderer.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | event::{Event, WindowEvent}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winit::event_loop::EventLoop::::create_window`: use `ActiveEventLoop::create_window` instead [INFO] [stdout] --> src/core/renderer.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | .create_window( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winit::event_loop::EventLoop::::create_window`: use `ActiveEventLoop::create_window` instead [INFO] [stdout] --> src/core/renderer.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | .create_window( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/core/renderer.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let surface = unsafe { instance.create_surface(window.clone()).unwrap() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_position` is never used [INFO] [stdout] --> src/core/camera.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn set_position(&mut self, position: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_config` is never used [INFO] [stdout] --> src/core/config.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn update_config(width: u32, height: u32, fov: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_direction`, `get_direction`, `get_position`, `set_rotation`, and `get_rotation` are never used [INFO] [stdout] --> src/core/light/directional_light.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DirectionalLight { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_direction(&mut self, direction: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_direction(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_position(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn set_rotation(&mut self, rotation: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_rotation(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position` and `get_rotation` are never used [INFO] [stdout] --> src/core/light/light.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Light { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn get_position(&self) -> &Vec3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | fn get_rotation(&self) -> &Vec3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position`, `set_rotation`, and `get_rotation` are never used [INFO] [stdout] --> src/core/light/light.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl BaseLight { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_position(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_rotation(&mut self, rotation: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_rotation(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position` and `set_mesh` are never used [INFO] [stdout] --> src/core/object.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Object { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_position(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn set_mesh(&mut self, mesh: Mesh) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_vertices` and `set_triangles` are never used [INFO] [stdout] --> src/geometry/mesh.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Mesh { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_vertices(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_triangles(&mut self, triangles: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cylinder` is never constructed [INFO] [stdout] --> src/geometry/primitives/cylinder.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Cylinder; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geometry/primitives/cylinder.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Cylinder { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(radius: f32, height: f32, segments: u32) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pyramid` is never constructed [INFO] [stdout] --> src/geometry/primitives/pyramid.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Pyramid; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geometry/primitives/pyramid.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Pyramid { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 7 | pub fn new(base_size: f32, height: f32) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectangularPrism` is never constructed [INFO] [stdout] --> src/geometry/primitives/rectangular_prism.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RectangularPrism; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geometry/primitives/rectangular_prism.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl RectangularPrism { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(width: f32, height: f32, depth: f32) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/geometry/primitives/sphere.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Sphere; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geometry/primitives/sphere.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(radius: f32, segments: u32) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TriangularPrism` is never constructed [INFO] [stdout] --> src/geometry/primitives/triangular_prism.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TriangularPrism; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geometry/primitives/triangular_prism.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl TriangularPrism { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(base_width: f32, height: f32, depth: f32) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_vertices` is never used [INFO] [stdout] --> src/geometry/triangle.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Triangle { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_vertices(&mut self, vertices: [Vec3; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/core/renderer.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let surface = unsafe { instance.create_surface(window.clone()).unwrap() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_position` is never used [INFO] [stdout] --> src/core/camera.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn set_position(&mut self, position: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_config` is never used [INFO] [stdout] --> src/core/config.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn update_config(width: u32, height: u32, fov: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_direction`, `get_direction`, `get_position`, `set_rotation`, and `get_rotation` are never used [INFO] [stdout] --> src/core/light/directional_light.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DirectionalLight { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_direction(&mut self, direction: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_direction(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_position(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn set_rotation(&mut self, rotation: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_rotation(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position` and `get_rotation` are never used [INFO] [stdout] --> src/core/light/light.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Light { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn get_position(&self) -> &Vec3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | fn get_rotation(&self) -> &Vec3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position`, `set_rotation`, and `get_rotation` are never used [INFO] [stdout] --> src/core/light/light.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl BaseLight { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_position(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_rotation(&mut self, rotation: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_rotation(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position` and `set_mesh` are never used [INFO] [stdout] --> src/core/object.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Object { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_position(&self) -> &Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn set_mesh(&mut self, mesh: Mesh) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_vertices` and `set_triangles` are never used [INFO] [stdout] --> src/geometry/mesh.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Mesh { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_vertices(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_triangles(&mut self, triangles: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cylinder` is never constructed [INFO] [stdout] --> src/geometry/primitives/cylinder.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Cylinder; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geometry/primitives/cylinder.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Cylinder { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(radius: f32, height: f32, segments: u32) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pyramid` is never constructed [INFO] [stdout] --> src/geometry/primitives/pyramid.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Pyramid; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geometry/primitives/pyramid.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Pyramid { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 7 | pub fn new(base_size: f32, height: f32) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectangularPrism` is never constructed [INFO] [stdout] --> src/geometry/primitives/rectangular_prism.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RectangularPrism; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geometry/primitives/rectangular_prism.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl RectangularPrism { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(width: f32, height: f32, depth: f32) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/geometry/primitives/sphere.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Sphere; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geometry/primitives/sphere.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(radius: f32, segments: u32) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TriangularPrism` is never constructed [INFO] [stdout] --> src/geometry/primitives/triangular_prism.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TriangularPrism; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geometry/primitives/triangular_prism.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl TriangularPrism { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(base_width: f32, height: f32, depth: f32) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_vertices` is never used [INFO] [stdout] --> src/geometry/triangle.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Triangle { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_vertices(&mut self, vertices: [Vec3; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.54s [INFO] running `Command { std: "docker" "inspect" "a3aa50bf13a38c34aca352ad68e68400a2f979fcfd321b2d94f683bd7e144fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3aa50bf13a38c34aca352ad68e68400a2f979fcfd321b2d94f683bd7e144fde", kill_on_drop: false }` [INFO] [stdout] a3aa50bf13a38c34aca352ad68e68400a2f979fcfd321b2d94f683bd7e144fde