[INFO] cloning repository https://github.com/Mark342-prog/Proyecto2_raytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mark342-prog/Proyecto2_raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMark342-prog%2FProyecto2_raytracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMark342-prog%2FProyecto2_raytracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18596841ae9f16aa9edef2b176a3fb429450d523 [INFO] checking Mark342-prog/Proyecto2_raytracing against master#ab1d2444533d829e2d5cff6634cd3c70de6d7103 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMark342-prog%2FProyecto2_raytracing" "/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/Mark342-prog/Proyecto2_raytracing [INFO] finished tweaking git repo https://github.com/Mark342-prog/Proyecto2_raytracing [INFO] tweaked toml for git repo https://github.com/Mark342-prog/Proyecto2_raytracing written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mark342-prog/Proyecto2_raytracing on toolchain ab1d2444533d829e2d5cff6634cd3c70de6d7103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Mark342-prog/Proyecto2_raytracing 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" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gethostname v1.0.2 [INFO] [stderr] Downloaded nalgebra-glm v0.19.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.3 [INFO] [stderr] Downloaded simba v0.9.1 [INFO] [stderr] Downloaded flate2 v1.1.3 [INFO] [stderr] Downloaded minifb v0.27.0 [INFO] [stderr] Downloaded moxcms v0.7.6 [INFO] [stderr] Downloaded wide v0.7.33 [INFO] [stderr] Downloaded cc v1.2.40 [INFO] [stderr] Downloaded pxfm v0.1.24 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2df70ee34bd421aecf4bdf3dc3450d047c722740e4eb5842e0fba0d44839112f [INFO] running `Command { std: "docker" "start" "-a" "2df70ee34bd421aecf4bdf3dc3450d047c722740e4eb5842e0fba0d44839112f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2df70ee34bd421aecf4bdf3dc3450d047c722740e4eb5842e0fba0d44839112f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2df70ee34bd421aecf4bdf3dc3450d047c722740e4eb5842e0fba0d44839112f", kill_on_drop: false }` [INFO] [stdout] 2df70ee34bd421aecf4bdf3dc3450d047c722740e4eb5842e0fba0d44839112f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e84f949a569d9fbfef1089dd08c91e6e7b6f8c180bae6d4f90aad2e742549a55 [INFO] running `Command { std: "docker" "start" "-a" "e84f949a569d9fbfef1089dd08c91e6e7b6f8c180bae6d4f90aad2e742549a55", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking flate2 v1.1.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Checking pxfm v0.1.24 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking alsa-sys v0.3.1 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking simba v0.9.1 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking cpal v0.15.3 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking moxcms v0.7.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking rodio v0.19.0 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking ravif v0.11.20 [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 x11rb v0.13.2 [INFO] [stderr] Checking nalgebra-glm v0.19.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking MinecraftDioramaRaytracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Material` [INFO] [stdout] --> src/raytracer.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ray_intersect::{Intersect, RayIntersect, Material}; [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: `DynamicImage` [INFO] [stdout] --> src/texture.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, DynamicImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::RgbaImage` [INFO] [stdout] --> src/cube.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image::RgbaImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Material` [INFO] [stdout] --> src/raytracer.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ray_intersect::{Intersect, RayIntersect, Material}; [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: `DynamicImage` [INFO] [stdout] --> src/texture.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, DynamicImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::RgbaImage` [INFO] [stdout] --> src/cube.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image::RgbaImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::light::Light` [INFO] [stdout] --> src/cube.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::light::Light; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::light::Light` [INFO] [stdout] --> src/cube.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::light::Light; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textura_color` [INFO] [stdout] --> src/cube.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let textura_color = self.get_diffuse_color(face_index, u, v); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textura_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textura_color` [INFO] [stdout] --> src/cube.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let textura_color = self.get_diffuse_color(face_index, u, v); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textura_color` [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:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | let mut needs_render = true; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | let mut needs_render = true; [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: `glass` [INFO] [stdout] --> src/main.rs:752:9 [INFO] [stdout] | [INFO] [stdout] 752 | let glass = Material::new(Color::new(255, 255, 255), 125.0, [0.0, 0.5, 0.1, 0.8], 1.5, false, None); // Vidrio, 80% transparente, índ... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_glass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `needs_render` [INFO] [stdout] --> src/main.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | let mut needs_render = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_needs_render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_fps` [INFO] [stdout] --> src/main.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | let target_fps = Duration::from_millis(33); // Target ~30 FPS [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `camera_moved` is never read [INFO] [stdout] --> src/main.rs:755:28 [INFO] [stdout] | [INFO] [stdout] 755 | let mut camera_moved = false; [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: associated items `upscale_bilineal` and `bilinear_interpolation` are never used [INFO] [stdout] --> src/framebuffer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Framebuffer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn upscale_bilineal(&self, new_width: usize, new_height: usize) -> Framebuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn bilinear_interpolation(c11: u32, c12: u32, c21: u32, c22: u32, weight_x: f32, weight_y: f32) -> u32 { [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 `refract` is never used [INFO] [stdout] --> src/raytracer.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn refract(incident: &Vector3, normal: &Vector3, eta_t: f32) -> Vector3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `refractive_index` is never read [INFO] [stdout] --> src/ray_intersect.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub refractive_index: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_uv` is never used [INFO] [stdout] --> src/ray_intersect.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub trait RayIntersect: Any + Send + Sync { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 92 | fn ray_intersect(&self, ray_origin: &Vector3, ray_direction: &Vector3) -> Intersect; [INFO] [stdout] 93 | fn get_uv(&self, point: &Vector3) -> (f32, f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `radius` is never read [INFO] [stdout] --> src/light.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Light { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Light` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_u32` is never used [INFO] [stdout] --> src/color.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn to_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glass` [INFO] [stdout] --> src/main.rs:752:9 [INFO] [stdout] | [INFO] [stdout] 752 | let glass = Material::new(Color::new(255, 255, 255), 125.0, [0.0, 0.5, 0.1, 0.8], 1.5, false, None); // Vidrio, 80% transparente, índ... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_glass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `r`, `g`, and `b` are never used [INFO] [stdout] --> src/texture.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 12 | pub fn r(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn g(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn b(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cube.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Cube { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(center: Vec3, size: f32, materials: [Material; 6]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `needs_render` [INFO] [stdout] --> src/main.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | let mut needs_render = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_needs_render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_fps` [INFO] [stdout] --> src/main.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | let target_fps = Duration::from_millis(33); // Target ~30 FPS [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `camera_moved` is never read [INFO] [stdout] --> src/main.rs:755:28 [INFO] [stdout] | [INFO] [stdout] 755 | let mut camera_moved = false; [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: associated items `upscale_bilineal` and `bilinear_interpolation` are never used [INFO] [stdout] --> src/framebuffer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Framebuffer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn upscale_bilineal(&self, new_width: usize, new_height: usize) -> Framebuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn bilinear_interpolation(c11: u32, c12: u32, c21: u32, c22: u32, weight_x: f32, weight_y: f32) -> u32 { [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 `refract` is never used [INFO] [stdout] --> src/raytracer.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn refract(incident: &Vector3, normal: &Vector3, eta_t: f32) -> Vector3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `refractive_index` is never read [INFO] [stdout] --> src/ray_intersect.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub refractive_index: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_uv` is never used [INFO] [stdout] --> src/ray_intersect.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub trait RayIntersect: Any + Send + Sync { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 92 | fn ray_intersect(&self, ray_origin: &Vector3, ray_direction: &Vector3) -> Intersect; [INFO] [stdout] 93 | fn get_uv(&self, point: &Vector3) -> (f32, f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `radius` is never read [INFO] [stdout] --> src/light.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Light { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Light` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_u32` is never used [INFO] [stdout] --> src/color.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn to_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `r`, `g`, and `b` are never used [INFO] [stdout] --> src/texture.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 12 | pub fn r(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn g(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn b(&self) -> u8 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cube.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Cube { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(center: Vec3, size: f32, materials: [Material; 6]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "e84f949a569d9fbfef1089dd08c91e6e7b6f8c180bae6d4f90aad2e742549a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e84f949a569d9fbfef1089dd08c91e6e7b6f8c180bae6d4f90aad2e742549a55", kill_on_drop: false }` [INFO] [stdout] e84f949a569d9fbfef1089dd08c91e6e7b6f8c180bae6d4f90aad2e742549a55