[INFO] cloning repository https://github.com/xtsebas/SpaceTravel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xtsebas/SpaceTravel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxtsebas%2FSpaceTravel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxtsebas%2FSpaceTravel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b63823a85c94afb56a62f9ffe7caa85094a84a5 [INFO] building xtsebas/SpaceTravel against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxtsebas%2FSpaceTravel" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xtsebas/SpaceTravel [INFO] finished tweaking git repo https://github.com/xtsebas/SpaceTravel [INFO] tweaked toml for git repo https://github.com/xtsebas/SpaceTravel written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xtsebas/SpaceTravel on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xtsebas/SpaceTravel 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fdeflate v0.3.6 [INFO] [stderr] Downloaded fastnoise-lite v1.1.1 [INFO] [stderr] Downloaded font8x8 v0.2.7 [INFO] [stderr] Downloaded png v0.17.14 [INFO] [stderr] Downloaded xml-rs v0.8.23 [INFO] [stderr] Downloaded simba v0.8.1 [INFO] [stderr] Downloaded minifb v0.27.0 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded nalgebra v0.32.6 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eece4529df7a4594594fc8f549985a0961e3794ac6d45ca2db7328ef23eaa83f [INFO] running `Command { std: "docker" "start" "-a" "eece4529df7a4594594fc8f549985a0961e3794ac6d45ca2db7328ef23eaa83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eece4529df7a4594594fc8f549985a0961e3794ac6d45ca2db7328ef23eaa83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eece4529df7a4594594fc8f549985a0961e3794ac6d45ca2db7328ef23eaa83f", kill_on_drop: false }` [INFO] [stdout] eece4529df7a4594594fc8f549985a0961e3794ac6d45ca2db7328ef23eaa83f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b3c415d089ce66f3f52b5630098125aa69282b481c0279c6cf5181ceb92759d [INFO] running `Command { std: "docker" "start" "-a" "3b3c415d089ce66f3f52b5630098125aa69282b481c0279c6cf5181ceb92759d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling xml-rs v0.8.23 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling wide v0.7.28 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling tobj v4.0.2 [INFO] [stderr] Compiling fastnoise-lite v1.1.1 [INFO] [stderr] Compiling font8x8 v0.2.7 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling nalgebra-glm v0.19.0 [INFO] [stderr] Compiling SpaceTravel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Vector4}; [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: `open` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{open, DynamicImage, GenericImageView}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/triangle.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::vertex::{self, Vertex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/shaders.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::SeedableRng` [INFO] [stdout] --> src/shaders.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::StdRng` [INFO] [stdout] --> src/shaders.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::rngs::StdRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fastnoise_lite::FastNoiseLite` [INFO] [stdout] --> src/shaders.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use fastnoise_lite::FastNoiseLite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `WindowOptions`, and `Window` [INFO] [stdout] --> src/uniforms.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use minifb::{Key, Window, WindowOptions}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Framebuffer` [INFO] [stdout] --> src/uniforms.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Framebuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Vertex` [INFO] [stdout] --> src/uniforms.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Vertex; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Obj` [INFO] [stdout] --> src/uniforms.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Obj; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Camera` [INFO] [stdout] --> src/uniforms.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::triangle` [INFO] [stdout] --> src/uniforms.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::triangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vertex_shader` [INFO] [stdout] --> src/uniforms.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{vertex_shader}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/framebuffer.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | texture: &image::DynamicImage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [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/framebuffer.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let mut sx = if x0 < x1 { 1 } else { -1 }; [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/framebuffer.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut sy = if y0 < y1 { 1 } else { -1 }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/shaders.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | let position = Vec4::new( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fragment` [INFO] [stdout] --> src/shaders.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | fn spaceship_shader(fragment: &Fragment, uniforms: &Uniforms) -> Color { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fragment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniforms` [INFO] [stdout] --> src/shaders.rs:93:42 [INFO] [stdout] | [INFO] [stdout] 93 | fn spaceship_shader(fragment: &Fragment, uniforms: &Uniforms) -> Color { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniforms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/shaders.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | let normal = fragment.normal.normalize(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `highlight_color` [INFO] [stdout] --> src/shaders.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | let highlight_color = Color::new(240, 240, 230); // Gris claro brillante para áreas iluminadas [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_highlight_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_radius` [INFO] [stdout] --> src/main.rs:169:62 [INFO] [stdout] | [INFO] [stdout] 169 | fn is_in_camera_view(camera: &Camera, object_position: Vec3, object_radius: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let mut transition_speed = 0.05; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/main.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | let right = forward.cross(&camera.up).normalize(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planets` [INFO] [stdout] --> src/main.rs:395:55 [INFO] [stdout] | [INFO] [stdout] 395 | fn handle_input(window: &Window, camera: &mut Camera, planets: &[Planet], prev_mouse_pos: &mut Option<(f32, f32)>, mouse_active: &mut bo... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | let mut movement = Vec3::new(0.0, 0.0, 0.0); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_circle` and `plot_circle_points` are never used [INFO] [stdout] --> src/framebuffer.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Framebuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn draw_circle(&mut self, cx: usize, cy: usize, radius: usize, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn plot_circle_points(&mut self, cx: usize, cy: usize, x: isize, y: isize, color: 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: method `draw_triangle` is never used [INFO] [stdout] --> src/framebuffer.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl Framebuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 118 | pub fn draw_triangle( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_color` and `set_transformed` are never used [INFO] [stdout] --> src/vertex.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vertex { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_with_color(position: Vec3, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_transformed(&mut self, position: Vec3, normal: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_black`, `blend_normal`, `blend_multiply`, `blend_add`, `blend_subtract`, and `blend_screen` are never used [INFO] [stdout] --> src/color.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn blend_normal(&self, blend: &Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn blend_multiply(&self, blend: &Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn blend_add(&self, blend: &Color) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn blend_subtract(&self, blend: &Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn blend_screen(&self, blend: &Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `intensity` are never read [INFO] [stdout] --> src/fragment.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Fragment { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub position: Vec2, [INFO] [stdout] 6 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub intensity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `basis_change` and `check_if_changed` are never used [INFO] [stdout] --> src/camera.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn basis_change(&self, vector: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn check_if_changed(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_fov` is never used [INFO] [stdout] --> src/camera.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 90 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 91 | pub fn set_fov(&mut self, fov: f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cell_noise` is never used [INFO] [stdout] --> src/uniforms.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_cell_noise() -> FastNoiseLite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ground_noise` is never used [INFO] [stdout] --> src/uniforms.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create_ground_noise() -> FastNoiseLite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_lava_noise` is never used [INFO] [stdout] --> src/uniforms.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn create_lava_noise() -> FastNoiseLite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_sun` is never used [INFO] [stdout] --> src/light.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Light { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 21 | pub fn new_sun() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "3b3c415d089ce66f3f52b5630098125aa69282b481c0279c6cf5181ceb92759d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b3c415d089ce66f3f52b5630098125aa69282b481c0279c6cf5181ceb92759d", kill_on_drop: false }` [INFO] [stdout] 3b3c415d089ce66f3f52b5630098125aa69282b481c0279c6cf5181ceb92759d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db533d48375f72ceea196f2b75c03975f62561b845ef9e5d8f1f16675afe24f0 [INFO] running `Command { std: "docker" "start" "-a" "db533d48375f72ceea196f2b75c03975f62561b845ef9e5d8f1f16675afe24f0", kill_on_drop: false }` [INFO] [stderr] Compiling SpaceTravel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Vector4}; [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: `open` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{open, DynamicImage, GenericImageView}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/triangle.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::vertex::{self, Vertex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/shaders.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::SeedableRng` [INFO] [stdout] --> src/shaders.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::StdRng` [INFO] [stdout] --> src/shaders.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::rngs::StdRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fastnoise_lite::FastNoiseLite` [INFO] [stdout] --> src/shaders.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use fastnoise_lite::FastNoiseLite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `WindowOptions`, and `Window` [INFO] [stdout] --> src/uniforms.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use minifb::{Key, Window, WindowOptions}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Framebuffer` [INFO] [stdout] --> src/uniforms.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Framebuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Vertex` [INFO] [stdout] --> src/uniforms.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Vertex; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Obj` [INFO] [stdout] --> src/uniforms.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Obj; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Camera` [INFO] [stdout] --> src/uniforms.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::triangle` [INFO] [stdout] --> src/uniforms.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::triangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vertex_shader` [INFO] [stdout] --> src/uniforms.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{vertex_shader}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/framebuffer.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | texture: &image::DynamicImage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [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/framebuffer.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let mut sx = if x0 < x1 { 1 } else { -1 }; [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/framebuffer.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut sy = if y0 < y1 { 1 } else { -1 }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/shaders.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | let position = Vec4::new( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fragment` [INFO] [stdout] --> src/shaders.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | fn spaceship_shader(fragment: &Fragment, uniforms: &Uniforms) -> Color { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fragment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniforms` [INFO] [stdout] --> src/shaders.rs:93:42 [INFO] [stdout] | [INFO] [stdout] 93 | fn spaceship_shader(fragment: &Fragment, uniforms: &Uniforms) -> Color { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniforms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/shaders.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | let normal = fragment.normal.normalize(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `highlight_color` [INFO] [stdout] --> src/shaders.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | let highlight_color = Color::new(240, 240, 230); // Gris claro brillante para áreas iluminadas [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_highlight_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_radius` [INFO] [stdout] --> src/main.rs:169:62 [INFO] [stdout] | [INFO] [stdout] 169 | fn is_in_camera_view(camera: &Camera, object_position: Vec3, object_radius: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let mut transition_speed = 0.05; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/main.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | let right = forward.cross(&camera.up).normalize(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planets` [INFO] [stdout] --> src/main.rs:395:55 [INFO] [stdout] | [INFO] [stdout] 395 | fn handle_input(window: &Window, camera: &mut Camera, planets: &[Planet], prev_mouse_pos: &mut Option<(f32, f32)>, mouse_active: &mut bo... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | let mut movement = Vec3::new(0.0, 0.0, 0.0); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_circle` and `plot_circle_points` are never used [INFO] [stdout] --> src/framebuffer.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Framebuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn draw_circle(&mut self, cx: usize, cy: usize, radius: usize, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn plot_circle_points(&mut self, cx: usize, cy: usize, x: isize, y: isize, color: 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: method `draw_triangle` is never used [INFO] [stdout] --> src/framebuffer.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl Framebuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 118 | pub fn draw_triangle( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_color` and `set_transformed` are never used [INFO] [stdout] --> src/vertex.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vertex { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_with_color(position: Vec3, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_transformed(&mut self, position: Vec3, normal: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_black`, `blend_normal`, `blend_multiply`, `blend_add`, `blend_subtract`, and `blend_screen` are never used [INFO] [stdout] --> src/color.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn blend_normal(&self, blend: &Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn blend_multiply(&self, blend: &Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn blend_add(&self, blend: &Color) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn blend_subtract(&self, blend: &Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn blend_screen(&self, blend: &Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `intensity` are never read [INFO] [stdout] --> src/fragment.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Fragment { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub position: Vec2, [INFO] [stdout] 6 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub intensity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `basis_change` and `check_if_changed` are never used [INFO] [stdout] --> src/camera.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn basis_change(&self, vector: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn check_if_changed(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_fov` is never used [INFO] [stdout] --> src/camera.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 90 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 91 | pub fn set_fov(&mut self, fov: f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cell_noise` is never used [INFO] [stdout] --> src/uniforms.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_cell_noise() -> FastNoiseLite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ground_noise` is never used [INFO] [stdout] --> src/uniforms.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create_ground_noise() -> FastNoiseLite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_lava_noise` is never used [INFO] [stdout] --> src/uniforms.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn create_lava_noise() -> FastNoiseLite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_sun` is never used [INFO] [stdout] --> src/light.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Light { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 21 | pub fn new_sun() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "db533d48375f72ceea196f2b75c03975f62561b845ef9e5d8f1f16675afe24f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db533d48375f72ceea196f2b75c03975f62561b845ef9e5d8f1f16675afe24f0", kill_on_drop: false }` [INFO] [stdout] db533d48375f72ceea196f2b75c03975f62561b845ef9e5d8f1f16675afe24f0