[INFO] cloning repository https://github.com/Ihan-Marroquin/Proyecto_1_graficas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ihan-Marroquin/Proyecto_1_graficas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIhan-Marroquin%2FProyecto_1_graficas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIhan-Marroquin%2FProyecto_1_graficas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fedb7f54b3828708e2d3b5ace48e2a870a7d2f3 [INFO] building Ihan-Marroquin/Proyecto_1_graficas against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIhan-Marroquin%2FProyecto_1_graficas" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ihan-Marroquin/Proyecto_1_graficas [INFO] finished tweaking git repo https://github.com/Ihan-Marroquin/Proyecto_1_graficas [INFO] tweaked toml for git repo https://github.com/Ihan-Marroquin/Proyecto_1_graficas written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ihan-Marroquin/Proyecto_1_graficas on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ihan-Marroquin/Proyecto_1_graficas 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Downloaded objc2-core-audio-types v0.3.1 [INFO] [stderr] Downloaded equator-macro v0.4.2 [INFO] [stderr] Downloaded equator v0.4.2 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded image-webp v0.2.3 [INFO] [stderr] Downloaded zune-jpeg v0.4.20 [INFO] [stderr] Downloaded raylib v5.5.1 [INFO] [stderr] Downloaded objc2-audio-toolbox v0.3.1 [INFO] [stderr] Downloaded cpal v0.16.0 [INFO] [stderr] Downloaded objc2 v0.6.2 [INFO] [stderr] Downloaded rodio v0.21.1 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded built v0.7.7 [INFO] [stderr] Downloaded arbitrary v1.4.2 [INFO] [stderr] Downloaded aligned-vec v0.6.4 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded v_frame v0.3.9 [INFO] [stderr] Downloaded rgb v0.8.52 [INFO] [stderr] Downloaded winapi-util v0.1.10 [INFO] [stderr] Downloaded objc2-core-audio v0.3.1 [INFO] [stderr] Downloaded symphonia-codec-aac v0.5.4 [INFO] [stderr] Downloaded raylib-sys v5.5.1 [INFO] [stderr] Downloaded gif v0.13.3 [INFO] [stderr] Downloaded coreaudio-rs v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf8d3613d074c17bcb5e55a4b32e2a1a4893024118a8d853952b480dfb1d30ea [INFO] running `Command { std: "docker" "start" "-a" "cf8d3613d074c17bcb5e55a4b32e2a1a4893024118a8d853952b480dfb1d30ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf8d3613d074c17bcb5e55a4b32e2a1a4893024118a8d853952b480dfb1d30ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf8d3613d074c17bcb5e55a4b32e2a1a4893024118a8d853952b480dfb1d30ea", kill_on_drop: false }` [INFO] [stdout] cf8d3613d074c17bcb5e55a4b32e2a1a4893024118a8d853952b480dfb1d30ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 731a325ac015df30924dbf3b1ebe7dd71f600c61d30ed12015c7507832035a0c [INFO] running `Command { std: "docker" "start" "-a" "731a325ac015df30924dbf3b1ebe7dd71f600c61d30ed12015c7507832035a0c", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling extended v0.1.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling symphonia-format-riff v0.5.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia-codec-aac v0.5.4 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rodio v0.21.1 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling raylib v5.5.1 [INFO] [stderr] Compiling proyecto_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/player.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [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: `raylib::color::Color` [INFO] [stdout] --> src/caster.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/caster.rs:34:79 [INFO] [stdout] | [INFO] [stdout] 34 | let mut delta_dist_x = if ray_dir_x.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_x.abs()) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - let mut delta_dist_x = if ray_dir_x.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_x.abs()) }; [INFO] [stdout] 34 + let mut delta_dist_x = if ray_dir_x.abs() < 1e-6 { f32::INFINITY } else { 1.0 / ray_dir_x.abs() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/caster.rs:35:79 [INFO] [stdout] | [INFO] [stdout] 35 | let mut delta_dist_y = if ray_dir_y.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_y.abs()) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - let mut delta_dist_y = if ray_dir_y.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_y.abs()) }; [INFO] [stdout] 35 + let mut delta_dist_y = if ray_dir_y.abs() < 1e-6 { f32::INFINITY } else { 1.0 / ray_dir_y.abs() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/caster.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | let offset = (map_x as f32 - map_x_f + ((1 - step_x) as f32) / 2.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - let offset = (map_x as f32 - map_x_f + ((1 - step_x) as f32) / 2.0); [INFO] [stdout] 92 + let offset = map_x as f32 - map_x_f + ((1 - step_x) as f32) / 2.0 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/caster.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let offset = (map_y as f32 - map_y_f + ((1 - step_y) as f32) / 2.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - let offset = (map_y as f32 - map_y_f + ((1 - step_y) as f32) / 2.0); [INFO] [stdout] 95 + let offset = map_y as f32 - map_y_f + ((1 - step_y) as f32) / 2.0 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `step_x` is never read [INFO] [stdout] --> src/caster.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut step_x = 0i32; [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 `step_y` is never read [INFO] [stdout] --> src/caster.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut step_y = 0i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `side_dist_x` is never read [INFO] [stdout] --> src/caster.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut side_dist_x = 0.0f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `side_dist_y` is never read [INFO] [stdout] --> src/caster.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut side_dist_y = 0.0f32; [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/caster.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut delta_dist_x = if ray_dir_x.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_x.abs()) }; [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/caster.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut delta_dist_y = if ray_dir_y.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_y.abs()) }; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `background_color`, `set_background_color`, and `swap_buffers` are never used [INFO] [stdout] --> src/framebuffer.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Framebuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn background_color(&self) -> Color { self.background_color } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn set_background_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn swap_buffers( [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 `line` is never used [INFO] [stdout] --> src/line.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn line( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_maze` is never used [INFO] [stdout] --> src/maze.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn load_maze(filename: &str) -> Maze { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tex_index` is never read [INFO] [stdout] --> src/enemy.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub tex_index: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/textures.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct TextureEntry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | texture: Texture2D, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_texture` is never used [INFO] [stdout] --> src/textures.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl TextureManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_texture(&self, ch: char) -> Option<&Texture2D> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_sfx_volume`, `pause_music`, `resume_music`, and `stop_music` are never used [INFO] [stdout] --> src/audio.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AudioManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_sfx_volume(&mut self, volume: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn pause_music(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn resume_music(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn stop_music(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized] target(s) in 3m 06s [INFO] running `Command { std: "docker" "inspect" "731a325ac015df30924dbf3b1ebe7dd71f600c61d30ed12015c7507832035a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731a325ac015df30924dbf3b1ebe7dd71f600c61d30ed12015c7507832035a0c", kill_on_drop: false }` [INFO] [stdout] 731a325ac015df30924dbf3b1ebe7dd71f600c61d30ed12015c7507832035a0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff64df11c912a045e3d6ce914c3d01a6d749da1ddf1f5428179e7c8b11b6357f [INFO] running `Command { std: "docker" "start" "-a" "ff64df11c912a045e3d6ce914c3d01a6d749da1ddf1f5428179e7c8b11b6357f", kill_on_drop: false }` [INFO] [stderr] Compiling proyecto_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/player.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [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: `raylib::color::Color` [INFO] [stdout] --> src/caster.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/caster.rs:34:79 [INFO] [stdout] | [INFO] [stdout] 34 | let mut delta_dist_x = if ray_dir_x.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_x.abs()) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - let mut delta_dist_x = if ray_dir_x.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_x.abs()) }; [INFO] [stdout] 34 + let mut delta_dist_x = if ray_dir_x.abs() < 1e-6 { f32::INFINITY } else { 1.0 / ray_dir_x.abs() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/caster.rs:35:79 [INFO] [stdout] | [INFO] [stdout] 35 | let mut delta_dist_y = if ray_dir_y.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_y.abs()) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - let mut delta_dist_y = if ray_dir_y.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_y.abs()) }; [INFO] [stdout] 35 + let mut delta_dist_y = if ray_dir_y.abs() < 1e-6 { f32::INFINITY } else { 1.0 / ray_dir_y.abs() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/caster.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | let offset = (map_x as f32 - map_x_f + ((1 - step_x) as f32) / 2.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - let offset = (map_x as f32 - map_x_f + ((1 - step_x) as f32) / 2.0); [INFO] [stdout] 92 + let offset = map_x as f32 - map_x_f + ((1 - step_x) as f32) / 2.0 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/caster.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let offset = (map_y as f32 - map_y_f + ((1 - step_y) as f32) / 2.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - let offset = (map_y as f32 - map_y_f + ((1 - step_y) as f32) / 2.0); [INFO] [stdout] 95 + let offset = map_y as f32 - map_y_f + ((1 - step_y) as f32) / 2.0 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `step_x` is never read [INFO] [stdout] --> src/caster.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut step_x = 0i32; [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 `step_y` is never read [INFO] [stdout] --> src/caster.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut step_y = 0i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `side_dist_x` is never read [INFO] [stdout] --> src/caster.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut side_dist_x = 0.0f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `side_dist_y` is never read [INFO] [stdout] --> src/caster.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut side_dist_y = 0.0f32; [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/caster.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut delta_dist_x = if ray_dir_x.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_x.abs()) }; [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/caster.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut delta_dist_y = if ray_dir_y.abs() < 1e-6 { f32::INFINITY } else { (1.0 / ray_dir_y.abs()) }; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `background_color`, `set_background_color`, and `swap_buffers` are never used [INFO] [stdout] --> src/framebuffer.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Framebuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn background_color(&self) -> Color { self.background_color } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn set_background_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn swap_buffers( [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 `line` is never used [INFO] [stdout] --> src/line.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn line( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_maze` is never used [INFO] [stdout] --> src/maze.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn load_maze(filename: &str) -> Maze { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tex_index` is never read [INFO] [stdout] --> src/enemy.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub tex_index: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/textures.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct TextureEntry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | texture: Texture2D, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_texture` is never used [INFO] [stdout] --> src/textures.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl TextureManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_texture(&self, ch: char) -> Option<&Texture2D> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_sfx_volume`, `pause_music`, `resume_music`, and `stop_music` are never used [INFO] [stdout] --> src/audio.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AudioManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_sfx_volume(&mut self, volume: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn pause_music(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn resume_music(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn stop_music(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "ff64df11c912a045e3d6ce914c3d01a6d749da1ddf1f5428179e7c8b11b6357f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff64df11c912a045e3d6ce914c3d01a6d749da1ddf1f5428179e7c8b11b6357f", kill_on_drop: false }` [INFO] [stdout] ff64df11c912a045e3d6ce914c3d01a6d749da1ddf1f5428179e7c8b11b6357f