[INFO] cloning repository https://github.com/rol22672/proyecto-2-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rol22672/proyecto-2-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frol22672%2Fproyecto-2-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frol22672%2Fproyecto-2-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4b93459af1bba7c8cda63ed3afba78262cf1394 [INFO] testing rol22672/proyecto-2-rust against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frol22672%2Fproyecto-2-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rol22672/proyecto-2-rust on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rol22672/proyecto-2-rust [INFO] finished tweaking git repo https://github.com/rol22672/proyecto-2-rust [INFO] tweaked toml for git repo https://github.com/rol22672/proyecto-2-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rol22672/proyecto-2-rust 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dwrote v0.11.1 [INFO] [stderr] Downloaded nalgebra-glm v0.4.2 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15af81ffe41b3d46b651ab698e228c9c9f7718d88d8c6d1feb288a200abcbabc [INFO] running `Command { std: "docker" "start" "-a" "15af81ffe41b3d46b651ab698e228c9c9f7718d88d8c6d1feb288a200abcbabc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15af81ffe41b3d46b651ab698e228c9c9f7718d88d8c6d1feb288a200abcbabc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15af81ffe41b3d46b651ab698e228c9c9f7718d88d8c6d1feb288a200abcbabc", kill_on_drop: false }` [INFO] [stdout] 15af81ffe41b3d46b651ab698e228c9c9f7718d88d8c6d1feb288a200abcbabc [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83d9932340d5079712b9ec626fefc214db150369219091b6f51a03a407855608 [INFO] running `Command { std: "docker" "start" "-a" "83d9932340d5079712b9ec626fefc214db150369219091b6f51a03a407855608", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling inplace_it v0.3.5 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling wide v0.7.28 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling wgpu-hal v0.12.5 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling nalgebra-glm v0.4.2 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling pixels v0.9.0 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling project2-rayv2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vec4` [INFO] [stdout] --> src/camera.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra_glm::{Vec3, rotate_y, rotate_x, Mat4, Vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color::Color` [INFO] [stdout] --> src/cube.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t_max` is never read [INFO] [stdout] --> src/cube.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | t_max = tz_max; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/cube.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let color = if self.material.has_texture { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/intersect.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(point: Vec3, normal: Vec3, distance: f32, material: &Material, u: f32, v: f32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/intersect.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(point: Vec3, normal: Vec3, distance: f32, material: &Material, u: f32, v: f32) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate` is never used [INFO] [stdout] --> src/camera.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn rotate(&mut self, angle_x: f32, angle_y: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `albedo`, `specular`, `reflectivity`, and `transparency` are never read [INFO] [stdout] --> src/material.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub diffuse: Color, [INFO] [stdout] 7 | pub albedo: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub specular: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub reflectivity: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | pub transparency: 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 `to_f32` is never used [INFO] [stdout] --> src/color.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to_f32(&self) -> (f32, f32, f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/framebuffer.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Framebuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn save(&self, filename: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 20s [INFO] running `Command { std: "docker" "inspect" "83d9932340d5079712b9ec626fefc214db150369219091b6f51a03a407855608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83d9932340d5079712b9ec626fefc214db150369219091b6f51a03a407855608", kill_on_drop: false }` [INFO] [stdout] 83d9932340d5079712b9ec626fefc214db150369219091b6f51a03a407855608 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e80c57a478be24d7ea7ff0a5db362f2491d3635f7036c489b57ae52e77eeaa3e [INFO] running `Command { std: "docker" "start" "-a" "e80c57a478be24d7ea7ff0a5db362f2491d3635f7036c489b57ae52e77eeaa3e", kill_on_drop: false }` [INFO] [stderr] Compiling project2-rayv2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vec4` [INFO] [stdout] --> src/camera.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra_glm::{Vec3, rotate_y, rotate_x, Mat4, Vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color::Color` [INFO] [stdout] --> src/cube.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t_max` is never read [INFO] [stdout] --> src/cube.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | t_max = tz_max; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/cube.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let color = if self.material.has_texture { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/intersect.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(point: Vec3, normal: Vec3, distance: f32, material: &Material, u: f32, v: f32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/intersect.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(point: Vec3, normal: Vec3, distance: f32, material: &Material, u: f32, v: f32) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate` is never used [INFO] [stdout] --> src/camera.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn rotate(&mut self, angle_x: f32, angle_y: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `albedo`, `specular`, `reflectivity`, and `transparency` are never read [INFO] [stdout] --> src/material.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub diffuse: Color, [INFO] [stdout] 7 | pub albedo: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub specular: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub reflectivity: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | pub transparency: 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 `to_f32` is never used [INFO] [stdout] --> src/color.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to_f32(&self) -> (f32, f32, f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/framebuffer.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Framebuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn save(&self, filename: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "e80c57a478be24d7ea7ff0a5db362f2491d3635f7036c489b57ae52e77eeaa3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80c57a478be24d7ea7ff0a5db362f2491d3635f7036c489b57ae52e77eeaa3e", kill_on_drop: false }` [INFO] [stdout] e80c57a478be24d7ea7ff0a5db362f2491d3635f7036c489b57ae52e77eeaa3e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d88bd4842f2dd64c92e701563badd2f729fcd41edfec519fa88f1359acc48670 [INFO] running `Command { std: "docker" "start" "-a" "d88bd4842f2dd64c92e701563badd2f729fcd41edfec519fa88f1359acc48670", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Vec4` [INFO] [stderr] --> src/camera.rs:1:52 [INFO] [stderr] | [INFO] [stderr] 1 | use nalgebra_glm::{Vec3, rotate_y, rotate_x, Mat4, Vec4}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::color::Color` [INFO] [stderr] --> src/cube.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::color::Color; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `t_max` is never read [INFO] [stderr] --> src/cube.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | t_max = tz_max; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color` [INFO] [stderr] --> src/cube.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | let color = if self.material.has_texture { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/intersect.rs:15:16 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(point: Vec3, normal: Vec3, distance: f32, material: &Material, u: f32, v: f32) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `normal` [INFO] [stderr] --> src/intersect.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(point: Vec3, normal: Vec3, distance: f32, material: &Material, u: f32, v: f32) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stderr] [INFO] [stderr] warning: method `rotate` is never used [INFO] [stderr] --> src/camera.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Camera { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn rotate(&mut self, angle_x: f32, angle_y: f32) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `albedo`, `specular`, `reflectivity`, and `transparency` are never read [INFO] [stderr] --> src/material.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Material { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 6 | pub diffuse: Color, [INFO] [stderr] 7 | pub albedo: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 8 | pub specular: f32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 9 | pub reflectivity: f32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 10 | pub transparency: f32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Material` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `to_f32` is never used [INFO] [stderr] --> src/color.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl Color { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn to_f32(&self) -> (f32, f32, f32) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `save` is never used [INFO] [stderr] --> src/framebuffer.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Framebuffer { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn save(&self, filename: &str) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `project2-rayv2` (bin "project2-rayv2" test) generated 10 warnings (run `cargo fix --bin "project2-rayv2" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/project2_rayv2-cd67e7bb5e6cbaf2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d88bd4842f2dd64c92e701563badd2f729fcd41edfec519fa88f1359acc48670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88bd4842f2dd64c92e701563badd2f729fcd41edfec519fa88f1359acc48670", kill_on_drop: false }` [INFO] [stdout] d88bd4842f2dd64c92e701563badd2f729fcd41edfec519fa88f1359acc48670