[INFO] cloning repository https://github.com/DiegoGarV/Raycasting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DiegoGarV/Raycasting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiegoGarV%2FRaycasting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiegoGarV%2FRaycasting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b089236ec378393eb9653f37f983f5707694fd4c [INFO] checking DiegoGarV/Raycasting against master#3139ff09e9d07f7700f8d15ed25a231e29c43627 for pr-121848-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiegoGarV%2FRaycasting" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 63% (1430/2259) Updating files: 64% (1446/2259) Updating files: 65% (1469/2259) Updating files: 66% (1491/2259) Updating files: 67% (1514/2259) Updating files: 68% (1537/2259) Updating files: 69% (1559/2259) Updating files: 70% (1582/2259) Updating files: 70% (1585/2259) Updating files: 71% (1604/2259) Updating files: 72% (1627/2259) Updating files: 73% (1650/2259) Updating files: 74% (1672/2259) Updating files: 75% (1695/2259) Updating files: 75% (1704/2259) Updating files: 76% (1717/2259) Updating files: 77% (1740/2259) Updating files: 78% (1763/2259) Updating files: 79% (1785/2259) Updating files: 80% (1808/2259) Updating files: 81% (1830/2259) Updating files: 82% (1853/2259) Updating files: 83% (1875/2259) Updating files: 84% (1898/2259) Updating files: 85% (1921/2259) Updating files: 86% (1943/2259) Updating files: 87% (1966/2259) Updating files: 88% (1988/2259) Updating files: 89% (2011/2259) Updating files: 90% (2034/2259) Updating files: 91% (2056/2259) Updating files: 92% (2079/2259) Updating files: 93% (2101/2259) Updating files: 94% (2124/2259) Updating files: 95% (2147/2259) Updating files: 96% (2169/2259) Updating files: 97% (2192/2259) Updating files: 98% (2214/2259) Updating files: 99% (2237/2259) Updating files: 100% (2259/2259) Updating files: 100% (2259/2259), done. [INFO] validating manifest of git repo https://github.com/DiegoGarV/Raycasting on toolchain 3139ff09e9d07f7700f8d15ed25a231e29c43627 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DiegoGarV/Raycasting [INFO] finished tweaking git repo https://github.com/DiegoGarV/Raycasting [INFO] tweaked toml for git repo https://github.com/DiegoGarV/Raycasting written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DiegoGarV/Raycasting 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" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.27.0 [INFO] [stderr] Downloaded fs v0.0.5 [INFO] [stderr] Downloaded gcore v1.5.0 [INFO] [stderr] Downloaded nalgebra-glm v0.19.0 [INFO] [stderr] Downloaded gstd v1.5.0 [INFO] [stderr] Downloaded gmeta v1.5.0 [INFO] [stderr] Downloaded galloc v1.5.0 [INFO] [stderr] Downloaded gear-stack-buffer v1.5.0 [INFO] [stderr] Downloaded gstd-codegen v1.5.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efa19d1725394f784f595d56771a61484c621558b3c7b6d87349ae3592908fa3 [INFO] running `Command { std: "docker" "start" "-a" "efa19d1725394f784f595d56771a61484c621558b3c7b6d87349ae3592908fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efa19d1725394f784f595d56771a61484c621558b3c7b6d87349ae3592908fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa19d1725394f784f595d56771a61484c621558b3c7b6d87349ae3592908fa3", kill_on_drop: false }` [INFO] [stdout] efa19d1725394f784f595d56771a61484c621558b3c7b6d87349ae3592908fa3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d3693ac084250a40c15f7bafa65902c66a97d695c33c22430b008f9fc749e06 [INFO] running `Command { std: "docker" "start" "-a" "4d3693ac084250a40c15f7bafa65902c66a97d695c33c22430b008f9fc749e06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling gear-stack-buffer v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling gear-dlmalloc v0.2.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking libc-print v0.1.23 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking gear-ss58 v1.5.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking str-buf v3.0.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitstream-io v2.5.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking gsys v1.5.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking galloc v1.5.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rgb v0.8.48 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking fs v0.0.5 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking scale-info v2.11.3 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking gear-core-errors v1.5.0 [INFO] [stderr] Checking gmeta v1.5.0 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking gprimitives v1.5.0 [INFO] [stderr] Checking gcore v1.5.0 [INFO] [stderr] Compiling gstd-codegen v1.5.0 [INFO] [stderr] Checking gstd v1.5.0 [INFO] [stderr] Checking io v0.0.2 [INFO] [stderr] Checking ravif v0.11.10 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking nalgebra-glm v0.19.0 [INFO] [stderr] Checking raycasting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Intersect` [INFO] [stdout] --> src/main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | use caster::{cast_ray, Intersect}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Intersect` [INFO] [stdout] --> src/main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | use caster::{cast_ray, Intersect}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_color` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | 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: `default_color` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | 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/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | 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: `cell` [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | 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: `texture_width` [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let texture_width = WALL1.width as f32; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_width` [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let texture_width = WALL1.width as f32; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/main.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | let (window_width, window_height) = window.get_size(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/main.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | let (window_width, window_height) = window.get_size(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/main.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | let (window_width, window_height) = window.get_size(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/main.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | let (window_width, window_height) = window.get_size(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_color` and `line_color` are never read [INFO] [stdout] --> src/framebuffer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Framebuffer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | current_color: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | line_color: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width`, `height`, `set_background_color`, `set_current_color`, `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] 48 | pub fn set_current_color(&mut self, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_line_color(&mut self, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | 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: 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: fields `current_color` and `line_color` are never read [INFO] [stdout] --> src/framebuffer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Framebuffer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | current_color: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | line_color: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width`, `height`, `set_background_color`, `set_current_color`, `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] 48 | pub fn set_current_color(&mut self, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_line_color(&mut self, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | 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: 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.68s [INFO] running `Command { std: "docker" "inspect" "4d3693ac084250a40c15f7bafa65902c66a97d695c33c22430b008f9fc749e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3693ac084250a40c15f7bafa65902c66a97d695c33c22430b008f9fc749e06", kill_on_drop: false }` [INFO] [stdout] 4d3693ac084250a40c15f7bafa65902c66a97d695c33c22430b008f9fc749e06