[INFO] cloning repository https://github.com/Emadlgg/proyecto2_graficas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emadlgg/proyecto2_graficas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmadlgg%2Fproyecto2_graficas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmadlgg%2Fproyecto2_graficas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 393725c1f4fd71d8bb673e8393c86a312be737e9 [INFO] testing Emadlgg/proyecto2_graficas against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmadlgg%2Fproyecto2_graficas" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Emadlgg/proyecto2_graficas [INFO] finished tweaking git repo https://github.com/Emadlgg/proyecto2_graficas [INFO] tweaked toml for git repo https://github.com/Emadlgg/proyecto2_graficas written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Emadlgg/proyecto2_graficas on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Emadlgg/proyecto2_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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simd_helpers v0.1.0 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded approx v0.5.1 [INFO] [stderr] Downloaded version-compare v0.2.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.1 [INFO] [stderr] Downloaded noop_proc_macro v0.3.0 [INFO] [stderr] Downloaded equator-macro v0.4.2 [INFO] [stderr] Downloaded arg_enum_proc_macro v0.3.4 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded loop9 v0.1.5 [INFO] [stderr] Downloaded wayland-scanner v0.29.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.51 [INFO] [stderr] Downloaded v_frame v0.3.9 [INFO] [stderr] Downloaded built v0.7.7 [INFO] [stderr] Downloaded bitstream-io v2.6.0 [INFO] [stderr] Downloaded image-webp v0.2.4 [INFO] [stderr] Downloaded wayland-client v0.29.5 [INFO] [stderr] Downloaded minifb v0.27.0 [INFO] [stderr] Downloaded regex v1.11.2 [INFO] [stderr] Downloaded moxcms v0.7.5 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded wayland-protocols v0.29.5 [INFO] [stderr] Downloaded wasi v0.14.3+wasi-0.2.4 [INFO] [stderr] Downloaded image v0.25.8 [INFO] [stderr] Downloaded nix v0.24.3 [INFO] [stderr] Downloaded cc v1.2.36 [INFO] [stderr] Downloaded nalgebra v0.33.2 [INFO] [stderr] Downloaded imgref v1.11.0 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded xml-rs v0.8.27 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded safe_arch v0.7.4 [INFO] [stderr] Downloaded regex-automata v0.4.10 [INFO] [stderr] Downloaded web-sys v0.3.78 [INFO] [stderr] Downloaded arbitrary v1.4.2 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded js-sys v0.3.78 [INFO] [stderr] Downloaded wasm-bindgen v0.2.101 [INFO] [stderr] Downloaded wit-bindgen v0.45.1 [INFO] [stderr] Downloaded system-deps v6.2.2 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.101 [INFO] [stderr] Downloaded num-rational v0.4.2 [INFO] [stderr] Downloaded simba v0.9.1 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.101 [INFO] [stderr] Downloaded wayland-cursor v0.29.5 [INFO] [stderr] Downloaded interpolate_name v0.2.4 [INFO] [stderr] Downloaded pxfm v0.1.22 [INFO] [stderr] Downloaded maybe-rayon v0.1.1 [INFO] [stderr] Downloaded target-lexicon v0.12.16 [INFO] [stderr] Downloaded orbclient v0.3.48 [INFO] [stderr] Downloaded rgb v0.8.52 [INFO] [stderr] Downloaded rav1e v0.7.1 [INFO] [stderr] Downloaded wayland-commons v0.29.5 [INFO] [stderr] Downloaded nalgebra-glm v0.19.0 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded equator v0.4.2 [INFO] [stderr] Downloaded libredox v0.1.9 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.101 [INFO] [stderr] Downloaded aligned-vec v0.6.4 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded cfg-expr v0.15.8 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.101 [INFO] [stderr] Downloaded wide v0.7.33 [INFO] [stderr] Downloaded wayland-sys v0.29.5 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f71618f195453f50dc819327a4a0d795cb2848a4496675a503c9643aa5ee19ac [INFO] running `Command { std: "docker" "start" "-a" "f71618f195453f50dc819327a4a0d795cb2848a4496675a503c9643aa5ee19ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f71618f195453f50dc819327a4a0d795cb2848a4496675a503c9643aa5ee19ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71618f195453f50dc819327a4a0d795cb2848a4496675a503c9643aa5ee19ac", kill_on_drop: false }` [INFO] [stdout] f71618f195453f50dc819327a4a0d795cb2848a4496675a503c9643aa5ee19ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cbc13beb7c35125e7604431fefe5267a409832a5c4b56b05a8a8794ec8891ad [INFO] running `Command { std: "docker" "start" "-a" "4cbc13beb7c35125e7604431fefe5267a409832a5c4b56b05a8a8794ec8891ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling wayland-commons v0.29.5 [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 equator v0.4.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling simba v0.9.1 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling pxfm v0.1.22 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling moxcms v0.7.5 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling nalgebra-glm v0.19.0 [INFO] [stderr] Compiling raylib v5.5.1 [INFO] [stderr] Compiling proyecto2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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 variable: `x` [INFO] [stdout] --> src/main.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | for x in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | for x in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | for x in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | for x in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_height` [INFO] [stdout] --> src/main.rs:563:62 [INFO] [stdout] | [INFO] [stdout] 563 | fn should_place_cube(x: usize, z: usize, y_level: usize, max_height: usize, grid_size: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 692 | let mut cosi = dot(incident, normal).clamp(-1.0, 1.0); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | let mut final_color = Color::new( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `closest_distance` is never read [INFO] [stdout] --> src/main.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | closest_distance = distance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:996:17 [INFO] [stdout] | [INFO] [stdout] 996 | let mut screen_y = -(2.0 * y as f32) / height + 1.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `black` is never used [INFO] [stdout] --> src/main.rs:886:8 [INFO] [stdout] | [INFO] [stdout] 882 | trait ColorVec3 { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 886 | fn black() -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `objects_tested` is never read [INFO] [stdout] --> src/stats.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RenderStats { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub objects_tested: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_summary` is never used [INFO] [stdout] --> src/stats.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RenderStats { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn print_summary(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:486:40 [INFO] [stdout] | [INFO] [stdout] 486 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:498:18 [INFO] [stdout] | [INFO] [stdout] 498 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:498:38 [INFO] [stdout] | [INFO] [stdout] 498 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:521:14 [INFO] [stdout] | [INFO] [stdout] 521 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:521:34 [INFO] [stdout] | [INFO] [stdout] 521 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:530:48 [INFO] [stdout] | [INFO] [stdout] 530 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:572:16 [INFO] [stdout] | [INFO] [stdout] 572 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:572:36 [INFO] [stdout] | [INFO] [stdout] 572 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:597:28 [INFO] [stdout] | [INFO] [stdout] 597 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:597:48 [INFO] [stdout] | [INFO] [stdout] 597 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized] target(s) in 7m 13s [INFO] running `Command { std: "docker" "inspect" "4cbc13beb7c35125e7604431fefe5267a409832a5c4b56b05a8a8794ec8891ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cbc13beb7c35125e7604431fefe5267a409832a5c4b56b05a8a8794ec8891ad", kill_on_drop: false }` [INFO] [stdout] 4cbc13beb7c35125e7604431fefe5267a409832a5c4b56b05a8a8794ec8891ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e46599f723a8c7aee542cfd6f2fd7dd48b7bc3a078a06b92cd81bc3ec0e013d5 [INFO] running `Command { std: "docker" "start" "-a" "e46599f723a8c7aee542cfd6f2fd7dd48b7bc3a078a06b92cd81bc3ec0e013d5", kill_on_drop: false }` [INFO] [stderr] Compiling proyecto2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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 variable: `x` [INFO] [stdout] --> src/main.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | for x in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | for x in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | for x in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | for x in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_height` [INFO] [stdout] --> src/main.rs:563:62 [INFO] [stdout] | [INFO] [stdout] 563 | fn should_place_cube(x: usize, z: usize, y_level: usize, max_height: usize, grid_size: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 692 | let mut cosi = dot(incident, normal).clamp(-1.0, 1.0); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | let mut final_color = Color::new( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `closest_distance` is never read [INFO] [stdout] --> src/main.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | closest_distance = distance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:996:17 [INFO] [stdout] | [INFO] [stdout] 996 | let mut screen_y = -(2.0 * y as f32) / height + 1.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `black` is never used [INFO] [stdout] --> src/main.rs:886:8 [INFO] [stdout] | [INFO] [stdout] 882 | trait ColorVec3 { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 886 | fn black() -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `objects_tested` is never read [INFO] [stdout] --> src/stats.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RenderStats { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub objects_tested: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_summary` is never used [INFO] [stdout] --> src/stats.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RenderStats { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn print_summary(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:486:40 [INFO] [stdout] | [INFO] [stdout] 486 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:498:18 [INFO] [stdout] | [INFO] [stdout] 498 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:498:38 [INFO] [stdout] | [INFO] [stdout] 498 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:521:14 [INFO] [stdout] | [INFO] [stdout] 521 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:521:34 [INFO] [stdout] | [INFO] [stdout] 521 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:530:48 [INFO] [stdout] | [INFO] [stdout] 530 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:572:16 [INFO] [stdout] | [INFO] [stdout] 572 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:572:36 [INFO] [stdout] | [INFO] [stdout] 572 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:597:28 [INFO] [stdout] | [INFO] [stdout] 597 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:597:48 [INFO] [stdout] | [INFO] [stdout] 597 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "e46599f723a8c7aee542cfd6f2fd7dd48b7bc3a078a06b92cd81bc3ec0e013d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46599f723a8c7aee542cfd6f2fd7dd48b7bc3a078a06b92cd81bc3ec0e013d5", kill_on_drop: false }` [INFO] [stdout] e46599f723a8c7aee542cfd6f2fd7dd48b7bc3a078a06b92cd81bc3ec0e013d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 329805dbf28e8aba3c079382f3f947de658d6b1d4ab6f2a79672134a032a8bcb [INFO] running `Command { std: "docker" "start" "-a" "329805dbf28e8aba3c079382f3f947de658d6b1d4ab6f2a79672134a032a8bcb", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::f32::consts::PI` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::f32::consts::PI; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:271:17 [INFO] [stderr] | [INFO] [stderr] 271 | for x in 0..size { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:308:17 [INFO] [stderr] | [INFO] [stderr] 308 | for x in 0..size { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:324:17 [INFO] [stderr] | [INFO] [stderr] 324 | for x in 0..size { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:340:17 [INFO] [stderr] | [INFO] [stderr] 340 | for x in 0..size { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_height` [INFO] [stderr] --> src/main.rs:563:62 [INFO] [stderr] | [INFO] [stderr] 563 | fn should_place_cube(x: usize, z: usize, y_level: usize, max_height: usize, grid_size: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_height` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:692:9 [INFO] [stderr] | [INFO] [stderr] 692 | let mut cosi = dot(incident, normal).clamp(-1.0, 1.0); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:836:13 [INFO] [stderr] | [INFO] [stderr] 836 | let mut final_color = Color::new( [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `closest_distance` is never read [INFO] [stderr] --> src/main.rs:754:13 [INFO] [stderr] | [INFO] [stderr] 754 | closest_distance = distance; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:996:17 [INFO] [stderr] | [INFO] [stderr] 996 | let mut screen_y = -(2.0 * y as f32) / height + 1.0; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function `black` is never used [INFO] [stderr] --> src/main.rs:886:8 [INFO] [stderr] | [INFO] [stderr] 882 | trait ColorVec3 { [INFO] [stderr] | --------- associated function in this trait [INFO] [stderr] ... [INFO] [stderr] 886 | fn black() -> Self; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `objects_tested` is never read [INFO] [stderr] --> src/stats.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct RenderStats { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 6 | pub objects_tested: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RenderStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `print_summary` is never used [INFO] [stderr] --> src/stats.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl RenderStats { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn print_summary(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:486:20 [INFO] [stderr] | [INFO] [stderr] 486 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:486:40 [INFO] [stderr] | [INFO] [stderr] 486 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:498:18 [INFO] [stderr] | [INFO] [stderr] 498 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:498:38 [INFO] [stderr] | [INFO] [stderr] 498 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:521:14 [INFO] [stderr] | [INFO] [stderr] 521 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:521:34 [INFO] [stderr] | [INFO] [stderr] 521 | (x >= 0 && x <= 8 && z >= 0 && z <= 8) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:530:28 [INFO] [stderr] | [INFO] [stderr] 530 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:530:48 [INFO] [stderr] | [INFO] [stderr] 530 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:572:16 [INFO] [stderr] | [INFO] [stderr] 572 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:572:36 [INFO] [stderr] | [INFO] [stderr] 572 | if x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:597:28 [INFO] [stderr] | [INFO] [stderr] 597 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/main.rs:597:48 [INFO] [stderr] | [INFO] [stderr] 597 | if y_level == 1 && x >= 0 && x <= 8 && z >= 0 && z <= 8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `proyecto2` (bin "proyecto2" test) generated 25 warnings (run `cargo fix --bin "proyecto2" -p proyecto2 --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [optimized] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/proyecto2-fec088f5b9efe74f) [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" "329805dbf28e8aba3c079382f3f947de658d6b1d4ab6f2a79672134a032a8bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329805dbf28e8aba3c079382f3f947de658d6b1d4ab6f2a79672134a032a8bcb", kill_on_drop: false }` [INFO] [stdout] 329805dbf28e8aba3c079382f3f947de658d6b1d4ab6f2a79672134a032a8bcb