[INFO] cloning repository https://github.com/dpatzan2/proyecto2-gc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpatzan2/proyecto2-gc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpatzan2%2Fproyecto2-gc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpatzan2%2Fproyecto2-gc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b16d13644695ba86ade7aafb89dc7613c7defbf9 [INFO] checking dpatzan2/proyecto2-gc against master#377656d3dd3f9c23a9c8713e163f4365a5261a84 for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpatzan2%2Fproyecto2-gc" "/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/dpatzan2/proyecto2-gc [INFO] finished tweaking git repo https://github.com/dpatzan2/proyecto2-gc [INFO] tweaked toml for git repo https://github.com/dpatzan2/proyecto2-gc written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dpatzan2/proyecto2-gc on toolchain 377656d3dd3f9c23a9c8713e163f4365a5261a84 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dpatzan2/proyecto2-gc 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" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zune-jpeg v0.4.21 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded raylib v5.5.1 [INFO] [stderr] Downloaded cc v1.2.36 [INFO] [stderr] Downloaded png v0.18.0 [INFO] [stderr] Downloaded moxcms v0.7.5 [INFO] [stderr] Downloaded bindgen v0.70.1 [INFO] [stderr] Downloaded image v0.25.8 [INFO] [stderr] Downloaded pxfm v0.1.23 [INFO] [stderr] Downloaded raylib-sys v5.5.1 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a0b41bc90287ad9c01ee6aabc0803777d319c3c6cdca2764252d5a5f7395ae8 [INFO] running `Command { std: "docker" "start" "-a" "4a0b41bc90287ad9c01ee6aabc0803777d319c3c6cdca2764252d5a5f7395ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a0b41bc90287ad9c01ee6aabc0803777d319c3c6cdca2764252d5a5f7395ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a0b41bc90287ad9c01ee6aabc0803777d319c3c6cdca2764252d5a5f7395ae8", kill_on_drop: false }` [INFO] [stdout] 4a0b41bc90287ad9c01ee6aabc0803777d319c3c6cdca2764252d5a5f7395ae8 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 966afc75cc49f3a0cecd8035994564d6e1255fc7a612c7ee6e2c15d491c6a022 [INFO] running `Command { std: "docker" "start" "-a" "966afc75cc49f3a0cecd8035994564d6e1255fc7a612c7ee6e2c15d491c6a022", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking pxfm v0.1.23 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking moxcms v0.7.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Checking raylib v5.5.1 [INFO] [stderr] Checking proyecto2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `normal` is never read [INFO] [stdout] --> src/cube.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | let mut normal = Vec3::new(0.0, 0.0, 0.0); [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: value assigned to `t_curr` is never read [INFO] [stdout] --> src/voxel_world.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | let mut t_curr = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t_curr` is never read [INFO] [stdout] --> src/voxel_world.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | let mut t_curr = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `normal` is never read [INFO] [stdout] --> src/cube.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | let mut normal = Vec3::new(0.0, 0.0, 0.0); [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 does not need to be mutable [INFO] [stdout] --> src/voxel_world.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let mut pos = ray.origin + ray.dir * t_entry; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloud_size_y` [INFO] [stdout] --> src/island.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let cloud_size_y = 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloud_size_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t_curr` is never read [INFO] [stdout] --> src/voxel_world.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | let mut t_curr = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t_curr` is never read [INFO] [stdout] --> src/voxel_world.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | let mut t_curr = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let mut steps = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/voxel_world.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let mut pos = ray.origin + ray.dir * t_entry; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloud_size_y` [INFO] [stdout] --> src/island.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let cloud_size_y = 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloud_size_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `intensity`, and `color` are never read [INFO] [stdout] --> src/light.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PointLight { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 4 | pub position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | pub intensity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Plane` is never constructed [INFO] [stdout] --> src/ray_intersect.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ObjectId { Cube, Plane } [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: `ObjectId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t` is never read [INFO] [stdout] --> src/ray_intersect.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HitInfo { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | pub t: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/cube.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Cube { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_textured`, and `face_uv` are never used [INFO] [stdout] --> src/cube.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cube { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(center: Vec3, side: f32, material: Material) -> Self { Self { center, half: side * 0.5, material, textured: false } } [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub fn new_textured(center: Vec3, side: f32, material: Material) -> Self { Self { center, half: side * 0.5, material, textured: ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub fn face_uv(&self, position: Vec3, normal: Vec3) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Plane` is never constructed [INFO] [stdout] --> src/plane.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Plane { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plane.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(y: f32, material: Material) -> Self { Self { y, material } } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let mut steps = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `voxel_material` is never used [INFO] [stdout] --> src/voxel_world.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl VoxelWorld { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn voxel_material(&self, x:i32,y:i32,z:i32) -> Option { self.voxels.get(&(x,y,z)).copied() } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear` and `set_pixel` are never used [INFO] [stdout] --> src/framebuffer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RLFramebuffer { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn clear(&mut self, col: PColor) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_pixel(&mut self, x: u32, y: u32, c: PColor) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tMaxX` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | let mut tMaxX = if invx.is_finite() { t_entry + next_boundary(pos.x, ix, step_x) * invx } else { f32::INFINITY }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_max_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tMaxY` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let mut tMaxY = if invy.is_finite() { t_entry + next_boundary(pos.y, iy, step_y) * invy } else { f32::INFINITY }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_max_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tMaxZ` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let mut tMaxZ = if invz.is_finite() { t_entry + next_boundary(pos.z, iz, step_z) * invz } else { f32::INFINITY }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_max_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tDeltaX` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let tDeltaX = (step_x as f32 * invx).abs(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `t_delta_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tDeltaY` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let tDeltaY = (step_y as f32 * invy).abs(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `t_delta_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tDeltaZ` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let tDeltaZ = (step_z as f32 * invz).abs(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `t_delta_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `intensity`, and `color` are never read [INFO] [stdout] --> src/light.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PointLight { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 4 | pub position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | pub intensity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Plane` is never constructed [INFO] [stdout] --> src/ray_intersect.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ObjectId { Cube, Plane } [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: `ObjectId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t` is never read [INFO] [stdout] --> src/ray_intersect.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HitInfo { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | pub t: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/cube.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Cube { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_textured`, and `face_uv` are never used [INFO] [stdout] --> src/cube.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cube { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(center: Vec3, side: f32, material: Material) -> Self { Self { center, half: side * 0.5, material, textured: false } } [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub fn new_textured(center: Vec3, side: f32, material: Material) -> Self { Self { center, half: side * 0.5, material, textured: ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub fn face_uv(&self, position: Vec3, normal: Vec3) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Plane` is never constructed [INFO] [stdout] --> src/plane.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Plane { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plane.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(y: f32, material: Material) -> Self { Self { y, material } } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `voxel_material` is never used [INFO] [stdout] --> src/voxel_world.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl VoxelWorld { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn voxel_material(&self, x:i32,y:i32,z:i32) -> Option { self.voxels.get(&(x,y,z)).copied() } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear` and `set_pixel` are never used [INFO] [stdout] --> src/framebuffer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RLFramebuffer { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn clear(&mut self, col: PColor) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_pixel(&mut self, x: u32, y: u32, c: PColor) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tMaxX` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | let mut tMaxX = if invx.is_finite() { t_entry + next_boundary(pos.x, ix, step_x) * invx } else { f32::INFINITY }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_max_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tMaxY` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let mut tMaxY = if invy.is_finite() { t_entry + next_boundary(pos.y, iy, step_y) * invy } else { f32::INFINITY }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_max_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tMaxZ` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let mut tMaxZ = if invz.is_finite() { t_entry + next_boundary(pos.z, iz, step_z) * invz } else { f32::INFINITY }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_max_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tDeltaX` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let tDeltaX = (step_x as f32 * invx).abs(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `t_delta_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tDeltaY` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let tDeltaY = (step_y as f32 * invy).abs(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `t_delta_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tDeltaZ` should have a snake case name [INFO] [stdout] --> src/voxel_world.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let tDeltaZ = (step_z as f32 * invz).abs(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `t_delta_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.65s [INFO] running `Command { std: "docker" "inspect" "966afc75cc49f3a0cecd8035994564d6e1255fc7a612c7ee6e2c15d491c6a022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "966afc75cc49f3a0cecd8035994564d6e1255fc7a612c7ee6e2c15d491c6a022", kill_on_drop: false }` [INFO] [stdout] 966afc75cc49f3a0cecd8035994564d6e1255fc7a612c7ee6e2c15d491c6a022