[INFO] cloning repository https://github.com/faguilarleal/proyecto1_graficas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/faguilarleal/proyecto1_graficas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaguilarleal%2Fproyecto1_graficas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaguilarleal%2Fproyecto1_graficas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d593e8520db9f9b54279bee2704b7675ccea1284 [INFO] building faguilarleal/proyecto1_graficas against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaguilarleal%2Fproyecto1_graficas" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/faguilarleal/proyecto1_graficas [INFO] finished tweaking git repo https://github.com/faguilarleal/proyecto1_graficas [INFO] tweaked toml for git repo https://github.com/faguilarleal/proyecto1_graficas written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/faguilarleal/proyecto1_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/faguilarleal/proyecto1_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] 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 symphonia-metadata v0.5.4 [INFO] [stderr] Downloaded libredox v0.0.2 [INFO] [stderr] Downloaded libc-print v0.1.23 [INFO] [stderr] Downloaded profiling v1.0.15 [INFO] [stderr] Downloaded lewton v0.10.2 [INFO] [stderr] Downloaded built v0.7.4 [INFO] [stderr] Downloaded symphonia-core v0.5.4 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded futures-cpupool v0.1.8 [INFO] [stderr] Downloaded avif-serialize v0.8.1 [INFO] [stderr] Downloaded bitstream-io v2.5.0 [INFO] [stderr] Downloaded image-webp v0.1.3 [INFO] [stderr] Downloaded image v0.25.2 [INFO] [stderr] Downloaded fdeflate v0.3.4 [INFO] [stderr] Downloaded exr v1.72.0 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.7 [INFO] [stderr] Downloaded imgref v1.10.1 [INFO] [stderr] Downloaded gstd v1.5.0 [INFO] [stderr] Downloaded alga v0.8.2 [INFO] [stderr] Downloaded matrixmultiply v0.2.4 [INFO] [stderr] Downloaded nalgebra-glm v0.3.0 [INFO] [stderr] Downloaded proc-macro-crate v3.1.0 [INFO] [stderr] Downloaded bytemuck v1.16.3 [INFO] [stderr] Downloaded page_size v0.6.0 [INFO] [stderr] Downloaded libm v0.1.4 [INFO] [stderr] Downloaded serde v1.0.206 [INFO] [stderr] Downloaded cc v1.1.10 [INFO] [stderr] Downloaded toml_edit v0.21.1 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.2 [INFO] [stderr] Downloaded gear-dlmalloc v0.2.0 [INFO] [stderr] Downloaded profiling-procmacros v1.0.15 [INFO] [stderr] Downloaded gmeta v1.5.0 [INFO] [stderr] Downloaded const_format v0.2.32 [INFO] [stderr] Downloaded galloc v1.5.0 [INFO] [stderr] Downloaded gcore v1.5.0 [INFO] [stderr] Downloaded bindgen v0.69.4 [INFO] [stderr] Downloaded gear-ss58 v1.5.0 [INFO] [stderr] Downloaded gprimitives v1.5.0 [INFO] [stderr] Downloaded gstd-codegen v1.5.0 [INFO] [stderr] Downloaded io v0.0.2 [INFO] [stderr] Downloaded xml-rs v0.8.21 [INFO] [stderr] Downloaded miniquad v0.4.5 [INFO] [stderr] Downloaded nalgebra v0.17.3 [INFO] [stderr] Downloaded oboe-sys v0.6.1 [INFO] [stderr] Downloaded oboe v0.6.1 [INFO] [stderr] Downloaded ogg v0.8.0 [INFO] [stderr] Downloaded symphonia v0.5.4 [INFO] [stderr] Downloaded alsa v0.9.0 [INFO] [stderr] Downloaded png v0.17.13 [INFO] [stderr] Downloaded zune-jpeg v0.4.13 [INFO] [stderr] Downloaded str-buf v3.0.3 [INFO] [stderr] Downloaded gsys v1.5.0 [INFO] [stderr] Downloaded gear-core-errors v1.5.0 [INFO] [stderr] Downloaded scale-info-derive v2.11.3 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded libloading v0.8.5 [INFO] [stderr] Downloaded coreaudio-sys v0.2.15 [INFO] [stderr] Downloaded serde_derive v1.0.206 [INFO] [stderr] Downloaded cpal v0.15.3 [INFO] [stderr] Downloaded rodio v0.19.0 [INFO] [stderr] Downloaded fs v0.0.5 [INFO] [stderr] Downloaded ravif v0.11.10 [INFO] [stderr] Downloaded rgb v0.8.48 [INFO] [stderr] Downloaded const_format_proc_macros v0.2.32 [INFO] [stderr] Downloaded gear-stack-buffer v1.5.0 [INFO] [stderr] Downloaded scale-info v2.11.3 [INFO] [stderr] Downloaded minifb v0.27.0 [INFO] [stderr] Downloaded mouse_position v0.1.4 [INFO] [stderr] Downloaded claxon v0.4.3 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Downloaded coreaudio-rs v0.11.3 [INFO] [stderr] Downloaded orbclient v0.3.47 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ccb9d19721391ae61e68bf7c5b8366c028ce882d2c48dffc3273d19f847e567 [INFO] running `Command { std: "docker" "start" "-a" "4ccb9d19721391ae61e68bf7c5b8366c028ce882d2c48dffc3273d19f847e567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ccb9d19721391ae61e68bf7c5b8366c028ce882d2c48dffc3273d19f847e567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ccb9d19721391ae61e68bf7c5b8366c028ce882d2c48dffc3273d19f847e567", kill_on_drop: false }` [INFO] [stdout] 4ccb9d19721391ae61e68bf7c5b8366c028ce882d2c48dffc3273d19f847e567 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce8065ad310a1924f1606bb274a90d6de1632faa253e2d48fd73e4ad20b6330f [INFO] running `Command { std: "docker" "start" "-a" "ce8065ad310a1924f1606bb274a90d6de1632faa253e2d48fd73e4ad20b6330f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling gear-dlmalloc v0.2.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling gear-stack-buffer v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling gear-ss58 v1.5.0 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling str-buf v3.0.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling libc-print v0.1.23 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling gsys v1.5.0 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling bitstream-io v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling galloc v1.5.0 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling alga v0.8.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Compiling rgb v0.8.48 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling miniquad v0.4.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling nalgebra v0.17.3 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling fs v0.0.5 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling mouse_position v0.1.4 [INFO] [stderr] Compiling rodio v0.19.0 [INFO] [stderr] Compiling parity-scale-codec v3.6.12 [INFO] [stderr] Compiling scale-info v2.11.3 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling gear-core-errors v1.5.0 [INFO] [stderr] Compiling gmeta v1.5.0 [INFO] [stderr] Compiling gprimitives v1.5.0 [INFO] [stderr] Compiling gcore v1.5.0 [INFO] [stderr] Compiling gstd-codegen v1.5.0 [INFO] [stderr] Compiling gstd v1.5.0 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling io v0.0.2 [INFO] [stderr] Compiling nalgebra-glm v0.3.0 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling lab3_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `render2D` and `update_enemies` [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use render::{render2D, render3D, update_enemies, render_fps, getGatos}; [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 imports: `Intersect` and `cast_ray` [INFO] [stdout] --> src/main.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use caster::{cast_ray, Intersect}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder`, `OutputStream`, and `source::Source` [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use rodio::{Decoder, OutputStream, source::Source}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cells` [INFO] [stdout] --> src/framebuffer.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let cells = vec![false; width * height]; // Inicializar las células como muertas [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cells` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_color` [INFO] [stdout] --> src/render.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let default_color = 0x000000; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/render.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | fn cell_to_texture_color(cell: char, tx: u32, ty:u32)-> u32{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player2` [INFO] [stdout] --> src/render.rs:248:65 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn render3D(framebuffer: &mut Framebuffer, player: &Player, player2: &Player) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut mode = "3D"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_player` [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut audio_player = AudioPlayer::new(audio_file_path); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `enemies_caught` is never read [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut enemies_caught = 0; // Contador de enemigos atrapados [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: unused variable: `enemy_position` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let enemy_position = Vec2::new((last_x * 20) as f32, (last_y * 20) as f32); // Ajusta según el tamaño del bloque [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `enemies_caught` is never read [INFO] [stdout] --> src/main.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | enemies_caught = 0; // Reinicia el contador de enemigos [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/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut mode = "3D"; [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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut audio_player = AudioPlayer::new(audio_file_path); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `background_color` and `line_color` are never read [INFO] [stdout] --> src/framebuffer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Framebuffer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | background_color: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | current_color: u32, [INFO] [stdout] 10 | line_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: methods `width`, `height`, `set_background_color`, `clear`, `set_line_color`, and `render_buffer` are never used [INFO] [stdout] --> src/framebuffer.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Framebuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_background_color(&mut self, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_line_color(&mut self, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn render_buffer(&self, file_path: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_bmp_file` is never used [INFO] [stdout] --> src/bm.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn write_bmp_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/color.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `red`, `green`, and `blue` are never used [INFO] [stdout] --> src/color.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(red: u8, green: u8, blue: u8) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn red(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn green(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn blue(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_array` is never read [INFO] [stdout] --> src/texture.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub color_array: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/texture.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Texture { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_pixel(&self, x: u32, y: u32) -> u32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sink` and `isplaying` are never read [INFO] [stdout] --> src/sound.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AudioPlayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | sink: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | _stream: OutputStream, [INFO] [stdout] 9 | pub isplaying:bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `play` and `stop` are never used [INFO] [stdout] --> src/sound.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AudioPlayer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn play(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drawcell` is never used [INFO] [stdout] --> src/render.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn drawcell(framebuffer: &mut Framebuffer, xo: usize, yo: usize, block_size: usize, cell: char){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_player2d` is never used [INFO] [stdout] --> src/render.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn render_player2d(framebuffer: &mut Framebuffer, player: &Player, block_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render2D` is never used [INFO] [stdout] --> src/render.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn render2D(framebuffer: &mut Framebuffer, player: &Player) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getGatos` should have a snake case name [INFO] [stdout] --> src/render.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn getGatos() -> u32{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_gatos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render2D` should have a snake case name [INFO] [stdout] --> src/render.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn render2D(framebuffer: &mut Framebuffer, player: &Player) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `render2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render3D` should have a snake case name [INFO] [stdout] --> src/render.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn render3D(framebuffer: &mut Framebuffer, player: &Player, player2: &Player) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `render3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "ce8065ad310a1924f1606bb274a90d6de1632faa253e2d48fd73e4ad20b6330f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce8065ad310a1924f1606bb274a90d6de1632faa253e2d48fd73e4ad20b6330f", kill_on_drop: false }` [INFO] [stdout] ce8065ad310a1924f1606bb274a90d6de1632faa253e2d48fd73e4ad20b6330f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60364c76cd9cd1d74cd7fd8d9f60dfe5c1b1e791e3af7b699cd3669654779e98 [INFO] running `Command { std: "docker" "start" "-a" "60364c76cd9cd1d74cd7fd8d9f60dfe5c1b1e791e3af7b699cd3669654779e98", kill_on_drop: false }` [INFO] [stderr] Compiling lab3_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `render2D` and `update_enemies` [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use render::{render2D, render3D, update_enemies, render_fps, getGatos}; [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 imports: `Intersect` and `cast_ray` [INFO] [stdout] --> src/main.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use caster::{cast_ray, Intersect}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder`, `OutputStream`, and `source::Source` [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use rodio::{Decoder, OutputStream, source::Source}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cells` [INFO] [stdout] --> src/framebuffer.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let cells = vec![false; width * height]; // Inicializar las células como muertas [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cells` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_color` [INFO] [stdout] --> src/render.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let default_color = 0x000000; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/render.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | fn cell_to_texture_color(cell: char, tx: u32, ty:u32)-> u32{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player2` [INFO] [stdout] --> src/render.rs:248:65 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn render3D(framebuffer: &mut Framebuffer, player: &Player, player2: &Player) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut mode = "3D"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_player` [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut audio_player = AudioPlayer::new(audio_file_path); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `enemies_caught` is never read [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut enemies_caught = 0; // Contador de enemigos atrapados [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: unused variable: `enemy_position` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let enemy_position = Vec2::new((last_x * 20) as f32, (last_y * 20) as f32); // Ajusta según el tamaño del bloque [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `enemies_caught` is never read [INFO] [stdout] --> src/main.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | enemies_caught = 0; // Reinicia el contador de enemigos [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/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut mode = "3D"; [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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut audio_player = AudioPlayer::new(audio_file_path); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `background_color` and `line_color` are never read [INFO] [stdout] --> src/framebuffer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Framebuffer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | background_color: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | current_color: u32, [INFO] [stdout] 10 | line_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: methods `width`, `height`, `set_background_color`, `clear`, `set_line_color`, and `render_buffer` are never used [INFO] [stdout] --> src/framebuffer.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Framebuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_background_color(&mut self, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_line_color(&mut self, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn render_buffer(&self, file_path: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_bmp_file` is never used [INFO] [stdout] --> src/bm.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn write_bmp_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/color.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `red`, `green`, and `blue` are never used [INFO] [stdout] --> src/color.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(red: u8, green: u8, blue: u8) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn red(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn green(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn blue(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_array` is never read [INFO] [stdout] --> src/texture.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub color_array: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/texture.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Texture { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_pixel(&self, x: u32, y: u32) -> u32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sink` and `isplaying` are never read [INFO] [stdout] --> src/sound.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AudioPlayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | sink: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | _stream: OutputStream, [INFO] [stdout] 9 | pub isplaying:bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `play` and `stop` are never used [INFO] [stdout] --> src/sound.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AudioPlayer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn play(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drawcell` is never used [INFO] [stdout] --> src/render.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn drawcell(framebuffer: &mut Framebuffer, xo: usize, yo: usize, block_size: usize, cell: char){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_player2d` is never used [INFO] [stdout] --> src/render.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn render_player2d(framebuffer: &mut Framebuffer, player: &Player, block_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render2D` is never used [INFO] [stdout] --> src/render.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn render2D(framebuffer: &mut Framebuffer, player: &Player) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getGatos` should have a snake case name [INFO] [stdout] --> src/render.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn getGatos() -> u32{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_gatos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render2D` should have a snake case name [INFO] [stdout] --> src/render.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn render2D(framebuffer: &mut Framebuffer, player: &Player) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `render2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render3D` should have a snake case name [INFO] [stdout] --> src/render.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn render3D(framebuffer: &mut Framebuffer, player: &Player, player2: &Player) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `render3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.70s [INFO] running `Command { std: "docker" "inspect" "60364c76cd9cd1d74cd7fd8d9f60dfe5c1b1e791e3af7b699cd3669654779e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60364c76cd9cd1d74cd7fd8d9f60dfe5c1b1e791e3af7b699cd3669654779e98", kill_on_drop: false }` [INFO] [stdout] 60364c76cd9cd1d74cd7fd8d9f60dfe5c1b1e791e3af7b699cd3669654779e98