[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 try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpatzan2%2Fproyecto2-gc" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dpatzan2/proyecto2-gc on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking dpatzan2/proyecto2-gc against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpatzan2%2Fproyecto2-gc" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dpatzan2/proyecto2-gc on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glob v0.3.3 [INFO] [stderr] Downloaded find-msvc-tools v0.1.1 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded wasi v0.14.5+wasi-0.2.4 [INFO] [stderr] Downloaded byteorder-lite v0.1.0 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded wit-bindgen v0.45.1 [INFO] [stderr] Downloaded zune-jpeg v0.4.21 [INFO] [stderr] Downloaded cc v1.2.36 [INFO] [stderr] Downloaded raylib v5.5.1 [INFO] [stderr] Downloaded png v0.18.0 [INFO] [stderr] Downloaded wasip2 v1.0.0+wasi-0.2.4 [INFO] [stderr] Downloaded bindgen v0.70.1 [INFO] [stderr] Downloaded moxcms v0.7.5 [INFO] [stderr] Downloaded zune-core v0.4.12 [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2ab31522c28312629443b204291a3ed77ce1fd092cb517990dba4ae3db0e978 [INFO] running `Command { std: "docker" "start" "-a" "f2ab31522c28312629443b204291a3ed77ce1fd092cb517990dba4ae3db0e978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2ab31522c28312629443b204291a3ed77ce1fd092cb517990dba4ae3db0e978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ab31522c28312629443b204291a3ed77ce1fd092cb517990dba4ae3db0e978", kill_on_drop: false }` [INFO] [stdout] f2ab31522c28312629443b204291a3ed77ce1fd092cb517990dba4ae3db0e978 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ad21e6b9a9c835db1bd86b6fdd869c76a5ac5845e41284bf1e2b619cf935b89 [INFO] running `Command { std: "docker" "start" "-a" "7ad21e6b9a9c835db1bd86b6fdd869c76a5ac5845e41284bf1e2b619cf935b89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking pxfm v0.1.23 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking moxcms v0.7.5 [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: 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 `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/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: 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: true } } [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] [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/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: 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: 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: true } } [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 45.14s [INFO] running `Command { std: "docker" "inspect" "7ad21e6b9a9c835db1bd86b6fdd869c76a5ac5845e41284bf1e2b619cf935b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad21e6b9a9c835db1bd86b6fdd869c76a5ac5845e41284bf1e2b619cf935b89", kill_on_drop: false }` [INFO] [stdout] 7ad21e6b9a9c835db1bd86b6fdd869c76a5ac5845e41284bf1e2b619cf935b89