[INFO] cloning repository https://github.com/lucb31/rs-voxie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucb31/rs-voxie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucb31%2Frs-voxie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucb31%2Frs-voxie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8fbda405fb0465cd9ebe46fde6388ddcdcb167a5 [INFO] checking lucb31/rs-voxie against master#733108b6d4acaa93fe26ae281ea305aacd6aac4e for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucb31%2Frs-voxie" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucb31/rs-voxie [INFO] finished tweaking git repo https://github.com/lucb31/rs-voxie [INFO] tweaked toml for git repo https://github.com/lucb31/rs-voxie written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucb31/rs-voxie on toolchain 733108b6d4acaa93fe26ae281ea305aacd6aac4e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucb31/rs-voxie 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" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded imgui-winit-support v0.13.0 [INFO] [stderr] Downloaded chlorine v1.0.13 [INFO] [stderr] Downloaded noise v0.9.0 [INFO] [stderr] Downloaded imgui v0.12.0 [INFO] [stderr] Downloaded imgui-glow-renderer v0.13.0 [INFO] [stderr] Downloaded imgui-sys v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5d0d8aeccbdc23e35ae135cdeeb37f86b8a7eebdaf8c0067ff8591ab87a590e [INFO] running `Command { std: "docker" "start" "-a" "a5d0d8aeccbdc23e35ae135cdeeb37f86b8a7eebdaf8c0067ff8591ab87a590e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5d0d8aeccbdc23e35ae135cdeeb37f86b8a7eebdaf8c0067ff8591ab87a590e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d0d8aeccbdc23e35ae135cdeeb37f86b8a7eebdaf8c0067ff8591ab87a590e", kill_on_drop: false }` [INFO] [stdout] a5d0d8aeccbdc23e35ae135cdeeb37f86b8a7eebdaf8c0067ff8591ab87a590e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 980b0b89ca9c1ee74c775357a781302bae2d882fc3eb2d8b7f60f4b73b446caf [INFO] running `Command { std: "docker" "start" "-a" "980b0b89ca9c1ee74c775357a781302bae2d882fc3eb2d8b7f60f4b73b446caf", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Compiling imgui-sys v0.12.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking wayland-sys v0.31.7 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Checking chlorine v1.0.13 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Checking zerocopy v0.8.27 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking moxcms v0.7.7 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Checking glam v0.30.5 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking imgui v0.12.0 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking imgui-glow-renderer v0.13.0 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking winit v0.30.12 [INFO] [stderr] Checking imgui-winit-support v0.13.0 [INFO] [stderr] Checking rs-voxie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/cube.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use glam::{Mat3, Quat, Vec3}; [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: `Vec2` [INFO] [stdout] --> src/meshes/cubemesh.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use glam::{Mat3, Mat4, Quat, Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collision::CollisionScene` [INFO] [stdout] --> src/scenes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use collision::CollisionScene; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/cube.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use glam::{Mat3, Quat, Vec3}; [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: `Vec2` [INFO] [stdout] --> src/meshes/cubemesh.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use glam::{Mat3, Mat4, Quat, Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collision::CollisionScene` [INFO] [stdout] --> src/scenes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use collision::CollisionScene; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/cube.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/cube.rs:255:28 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn tick(&mut self, dt: f32, camera_fov: &IAabb) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/game.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | fn tick(&mut self, dt: f32, gl: &glow::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/meshes/cubemesh.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn render(&mut self, gl: &glow::Context, cam: &Camera) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/scene.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | fn render_ui(&mut self, ui: &mut Ui) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/scene.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | fn tick(&mut self, dt: f32, gl: &glow::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/scenes/collision.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | fn tick(&mut self, dt: f32, gl: &glow::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/scenes/lighting.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | fn tick(&mut self, dt: f32, gl: &glow::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/scenes/lighting.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | fn tick(&mut self, dt: f32, gl: &glow::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/cube.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/scenes/lighting.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn render_ui(&mut self, ui: &mut imgui::Ui) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/cube.rs:255:28 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn tick(&mut self, dt: f32, camera_fov: &IAabb) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodes` is assigned to, but never used [INFO] [stdout] --> src/voxels/generators/heightmap.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut nodes = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_nodes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nodes` is never read [INFO] [stdout] --> src/voxels/generators/heightmap.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | nodes += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodes` is assigned to, but never used [INFO] [stdout] --> src/voxels/generators/noise3d.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut nodes = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_nodes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nodes` is never read [INFO] [stdout] --> src/voxels/generators/noise3d.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | nodes += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/game.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | fn tick(&mut self, dt: f32, gl: &glow::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/meshes/cubemesh.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn render(&mut self, gl: &glow::Context, cam: &Camera) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FirstPersonCam` is never constructed [INFO] [stdout] --> src/cameras/fpscam.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FirstPersonCam {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cameras/fpscam.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl FirstPersonCam { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new() -> FirstPersonCam { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `world` and `context` are never read [INFO] [stdout] --> src/game.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct GameScene { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 79 | cube_renderer: CubeRenderer, [INFO] [stdout] 80 | world: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | context: Rc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoundingBox` is never constructed [INFO] [stdout] --> src/meshes/objmesh.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bounding_box` and `shift_and_scale` are never used [INFO] [stdout] --> src/meshes/objmesh.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ObjMesh { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_bounding_box(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn shift_and_scale(&mut self, shift: [f32; 3], scale: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `intersects` and `contains` are never used [INFO] [stdout] --> src/octree.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl AABB { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn intersects(&self, other: &AABB) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn contains(&self, other: &AABB) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `area` is never used [INFO] [stdout] --> src/octree.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl IAabb { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn area(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/octree.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 162 | / impl OctreeNode [INFO] [stdout] 163 | | where [INFO] [stdout] 164 | | T: Clone + Debug, [INFO] [stdout] | |_____________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn get(&mut self, x: i32, y: i32, z: i32, size: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gl` is never read [INFO] [stdout] --> src/scenes/collision.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CollisionScene { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | gl: Rc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gl` is never read [INFO] [stdout] --> src/scenes/lighting.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LightingScene { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | gl: Rc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_voxels` is never used [INFO] [stdout] --> src/voxel.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl VoxelChunk { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn iter_voxels(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeightmapGenerator` is never constructed [INFO] [stdout] --> src/voxels/generators/heightmap.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HeightmapGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/voxels/generators/heightmap.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl HeightmapGenerator { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(chunk_size: usize) -> HeightmapGenerator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `generator` and `max_explored` are never read [INFO] [stdout] --> src/world.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct VoxelWorld { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 67 | tree: Octree>, [INFO] [stdout] 68 | generator: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 69 | [INFO] [stdout] 70 | max_explored: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all_voxels` is never used [INFO] [stdout] --> src/world.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl VoxelWorld { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn get_all_voxels(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/scene.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | fn render_ui(&mut self, ui: &mut Ui) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/scene.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | fn tick(&mut self, dt: f32, gl: &glow::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/scenes/collision.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | fn tick(&mut self, dt: f32, gl: &glow::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/scenes/lighting.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | fn tick(&mut self, dt: f32, gl: &glow::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/scenes/lighting.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | fn tick(&mut self, dt: f32, gl: &glow::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/scenes/lighting.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn render_ui(&mut self, ui: &mut imgui::Ui) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodes` is assigned to, but never used [INFO] [stdout] --> src/voxels/generators/heightmap.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut nodes = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_nodes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nodes` is never read [INFO] [stdout] --> src/voxels/generators/heightmap.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | nodes += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodes` is assigned to, but never used [INFO] [stdout] --> src/voxels/generators/noise3d.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut nodes = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_nodes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nodes` is never read [INFO] [stdout] --> src/voxels/generators/noise3d.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | nodes += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FirstPersonCam` is never constructed [INFO] [stdout] --> src/cameras/fpscam.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FirstPersonCam {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cameras/fpscam.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl FirstPersonCam { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new() -> FirstPersonCam { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `world` and `context` are never read [INFO] [stdout] --> src/game.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct GameScene { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 79 | cube_renderer: CubeRenderer, [INFO] [stdout] 80 | world: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | context: Rc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoundingBox` is never constructed [INFO] [stdout] --> src/meshes/objmesh.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bounding_box` and `shift_and_scale` are never used [INFO] [stdout] --> src/meshes/objmesh.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ObjMesh { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_bounding_box(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn shift_and_scale(&mut self, shift: [f32; 3], scale: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/octree.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl AABB { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn contains(&self, other: &AABB) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `area` is never used [INFO] [stdout] --> src/octree.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl IAabb { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn area(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gl` is never read [INFO] [stdout] --> src/scenes/collision.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CollisionScene { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | gl: Rc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gl` is never read [INFO] [stdout] --> src/scenes/lighting.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LightingScene { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | gl: Rc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeightmapGenerator` is never constructed [INFO] [stdout] --> src/voxels/generators/heightmap.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HeightmapGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/voxels/generators/heightmap.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl HeightmapGenerator { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(chunk_size: usize) -> HeightmapGenerator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `generator` and `max_explored` are never read [INFO] [stdout] --> src/world.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct VoxelWorld { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 67 | tree: Octree>, [INFO] [stdout] 68 | generator: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 69 | [INFO] [stdout] 70 | max_explored: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.81s [INFO] running `Command { std: "docker" "inspect" "980b0b89ca9c1ee74c775357a781302bae2d882fc3eb2d8b7f60f4b73b446caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980b0b89ca9c1ee74c775357a781302bae2d882fc3eb2d8b7f60f4b73b446caf", kill_on_drop: false }` [INFO] [stdout] 980b0b89ca9c1ee74c775357a781302bae2d882fc3eb2d8b7f60f4b73b446caf