[INFO] cloning repository https://github.com/henry-lang/tile-world [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henry-lang/tile-world" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenry-lang%2Ftile-world", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenry-lang%2Ftile-world'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24d43876c0fac16448a226e23c6cc07c139e89ca [INFO] checking henry-lang/tile-world against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenry-lang%2Ftile-world" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/henry-lang/tile-world on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/henry-lang/tile-world [INFO] finished tweaking git repo https://github.com/henry-lang/tile-world [INFO] tweaked toml for git repo https://github.com/henry-lang/tile-world written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/henry-lang/tile-world 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" "+84e729a59f216cc64755788a470f165429a731f4" "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] Downloading crates ... [INFO] [stderr] Downloaded colored v2.0.0 [INFO] [stderr] Downloaded simple_logger v2.2.0 [INFO] [stderr] Downloaded roxmltree v0.14.1 [INFO] [stderr] Downloaded clamp v0.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.138 [INFO] [stderr] Downloaded xmlparser v0.13.3 [INFO] [stderr] Downloaded shaderc v0.8.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded rbitset v0.3.1 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded glam v0.21.2 [INFO] [stderr] Downloaded image v0.24.2 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded bytemuck v1.10.0 [INFO] [stderr] Downloaded serde v1.0.138 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded shaderc-sys v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a2653f6d49a5d91228dd402c1967b736369165cd87e661280ee6622f90cf877 [INFO] running `Command { std: "docker" "start" "-a" "8a2653f6d49a5d91228dd402c1967b736369165cd87e661280ee6622f90cf877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a2653f6d49a5d91228dd402c1967b736369165cd87e661280ee6622f90cf877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a2653f6d49a5d91228dd402c1967b736369165cd87e661280ee6622f90cf877", kill_on_drop: false }` [INFO] [stdout] 8a2653f6d49a5d91228dd402c1967b736369165cd87e661280ee6622f90cf877 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98662298aa981d7cfd61f4dc64b55af872b3c9fb7a0426f42a02b0ac80a5e954 [INFO] running `Command { std: "docker" "start" "-a" "98662298aa981d7cfd61f4dc64b55af872b3c9fb7a0426f42a02b0ac80a5e954", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking bytemuck v1.10.0 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking clamp v0.1.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glium v0.31.0 [INFO] [stderr] Checking rbitset v0.3.1 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking x11-dl v2.19.1 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking simple_logger v2.2.0 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking wayland-egl v0.29.4 [INFO] [stderr] Checking glam v0.21.2 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking smithay-client-toolkit v0.15.4 [INFO] [stderr] Checking winit v0.26.1 [INFO] [stderr] Checking glutin v0.28.0 [INFO] [stderr] Checking tile-world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CursorMoved` [INFO] [stdout] --> src/input.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | WindowEvent::{CursorMoved, KeyboardInput as WindowKeyboardInput}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgramCreationInput`, `SpirvEntryPoint`, `SpirvProgram` [INFO] [stdout] --> src/shaders/mod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | program::{ProgramCreationInput, SpirvEntryPoint, SpirvProgram}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileTypes` [INFO] [stdout] --> src/world.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tile::{Tile, TileType, TileTypes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawParameters` [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Display, DrawParameters, Surface, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat4` [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use glam::{Mat4, Vec2}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | use std::{path::PathBuf, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CursorMoved` [INFO] [stdout] --> src/input.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | WindowEvent::{CursorMoved, KeyboardInput as WindowKeyboardInput}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgramCreationInput`, `SpirvEntryPoint`, `SpirvProgram` [INFO] [stdout] --> src/shaders/mod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | program::{ProgramCreationInput, SpirvEntryPoint, SpirvProgram}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileTypes` [INFO] [stdout] --> src/world.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tile::{Tile, TileType, TileTypes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawParameters` [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Display, DrawParameters, Surface, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat4` [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use glam::{Mat4, Vec2}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | use std::{path::PathBuf, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resources` is never constructed [INFO] [stdout] --> src/main.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Resources { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor_pos` is never read [INFO] [stdout] --> src/input.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | cursor_pos: Vec2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cursor_pos` and `is_key_released` are never used [INFO] [stdout] --> src/input.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Input { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn cursor_pos(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_key_released(&self, keycode: VirtualKeyCode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default` is never read [INFO] [stdout] --> src/shaders/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Shaders { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | default: Program, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default` is never used [INFO] [stdout] --> src/shaders/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Shaders { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn default(&self) -> &Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TileType` is never used [INFO] [stdout] --> src/tile.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type TileType = usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/tile.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/tile.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TileTypes { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get(&self, tile_type: TileType) -> &TileProperties { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `display_name`, `rendered`, and `lighting` are never read [INFO] [stdout] --> src/tile.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct TileProperties { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 80 | pub system_name: String, [INFO] [stdout] 81 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub rendered: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub lighting: TileLighting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileProperties` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `intensity` and `color` are never read [INFO] [stdout] --> src/tile.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | Colored { intensity: usize, color: Vec3 }, [INFO] [stdout] | ------- ^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `intensity` is never read [INFO] [stdout] --> src/tile.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | White { intensity: usize }, [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emits_light` is never used [INFO] [stdout] --> src/tile.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl TileLighting { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 104 | pub fn emits_light(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/world.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/world.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl World { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(width: usize, height: usize, fill_tile: TileType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get(&self, x: usize, y: usize) -> Tile { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resources` is never constructed [INFO] [stdout] --> src/main.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Resources { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor_pos` is never read [INFO] [stdout] --> src/input.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | cursor_pos: Vec2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cursor_pos` and `is_key_released` are never used [INFO] [stdout] --> src/input.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Input { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn cursor_pos(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_key_released(&self, keycode: VirtualKeyCode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default` is never read [INFO] [stdout] --> src/shaders/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Shaders { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | default: Program, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default` is never used [INFO] [stdout] --> src/shaders/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Shaders { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn default(&self) -> &Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TileType` is never used [INFO] [stdout] --> src/tile.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type TileType = usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/tile.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/tile.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TileTypes { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get(&self, tile_type: TileType) -> &TileProperties { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `display_name`, `rendered`, and `lighting` are never read [INFO] [stdout] --> src/tile.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct TileProperties { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 80 | pub system_name: String, [INFO] [stdout] 81 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub rendered: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub lighting: TileLighting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileProperties` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `intensity` and `color` are never read [INFO] [stdout] --> src/tile.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | Colored { intensity: usize, color: Vec3 }, [INFO] [stdout] | ------- ^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `intensity` is never read [INFO] [stdout] --> src/tile.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | White { intensity: usize }, [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emits_light` is never used [INFO] [stdout] --> src/tile.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl TileLighting { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 104 | pub fn emits_light(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/world.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/world.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl World { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(width: usize, height: usize, fill_tile: TileType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get(&self, x: usize, y: usize) -> Tile { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.27s [INFO] running `Command { std: "docker" "inspect" "98662298aa981d7cfd61f4dc64b55af872b3c9fb7a0426f42a02b0ac80a5e954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98662298aa981d7cfd61f4dc64b55af872b3c9fb7a0426f42a02b0ac80a5e954", kill_on_drop: false }` [INFO] [stdout] 98662298aa981d7cfd61f4dc64b55af872b3c9fb7a0426f42a02b0ac80a5e954