[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] building henry-lang/tile-world against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenry-lang%2Ftile-world" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/henry-lang/tile-world 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/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `simple_logger` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cmake v0.1.48 [INFO] [stderr] Downloaded xmlparser v0.13.3 [INFO] [stderr] Downloaded shaderc v0.8.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 ron v0.7.1 [INFO] [stderr] Downloaded wayland-egl v0.29.4 [INFO] [stderr] Downloaded wayland-cursor v0.29.4 [INFO] [stderr] Downloaded wayland-sys v0.29.4 [INFO] [stderr] Downloaded wayland-client v0.29.4 [INFO] [stderr] Downloaded wayland-scanner v0.29.4 [INFO] [stderr] Downloaded wayland-commons v0.29.4 [INFO] [stderr] Downloaded backtrace v0.3.66 [INFO] [stderr] Downloaded wayland-protocols v0.29.4 [INFO] [stderr] Downloaded nom v7.1.1 [INFO] [stderr] Downloaded glam v0.21.2 [INFO] [stderr] Downloaded object v0.29.0 [INFO] [stderr] Downloaded rbitset v0.3.1 [INFO] [stderr] Downloaded shaderc-sys v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5513cf1df10efe3d41ee5f818e2af5de235f4c903777d44f9f33367b5b909df5 [INFO] running `Command { std: "docker" "start" "-a" "5513cf1df10efe3d41ee5f818e2af5de235f4c903777d44f9f33367b5b909df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5513cf1df10efe3d41ee5f818e2af5de235f4c903777d44f9f33367b5b909df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5513cf1df10efe3d41ee5f818e2af5de235f4c903777d44f9f33367b5b909df5", kill_on_drop: false }` [INFO] [stdout] 5513cf1df10efe3d41ee5f818e2af5de235f4c903777d44f9f33367b5b909df5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 34100f233c7baa1951afa15b282507f1d5e650e662a5c6f62ae9e67a44d64a18 [INFO] running `Command { std: "docker" "start" "-a" "34100f233c7baa1951afa15b282507f1d5e650e662a5c6f62ae9e67a44d64a18", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `simple_logger` dependency) [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bytemuck v1.10.0 [INFO] [stderr] Compiling clamp v0.1.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glium v0.31.0 [INFO] [stderr] Compiling rbitset v0.3.1 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling simple_logger v2.2.0 [INFO] [stderr] Compiling image v0.24.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling wayland-egl v0.29.4 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling glam v0.21.2 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgramCreationInput`, `SpirvEntryPoint`, and `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)]` (part of `#[warn(unused)]`) 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] [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] = note: `TileLighting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `TileLighting` 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 `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "34100f233c7baa1951afa15b282507f1d5e650e662a5c6f62ae9e67a44d64a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34100f233c7baa1951afa15b282507f1d5e650e662a5c6f62ae9e67a44d64a18", kill_on_drop: false }` [INFO] [stdout] 34100f233c7baa1951afa15b282507f1d5e650e662a5c6f62ae9e67a44d64a18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e1139a2474e379de048011de6b199c94e7937526e7405b33db98ba1ed40ba844 [INFO] running `Command { std: "docker" "start" "-a" "e1139a2474e379de048011de6b199c94e7937526e7405b33db98ba1ed40ba844", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `simple_logger` dependency) [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgramCreationInput`, `SpirvEntryPoint`, and `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)]` (part of `#[warn(unused)]`) 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] [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] = note: `TileLighting` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `TileLighting` 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 `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.43s [INFO] running `Command { std: "docker" "inspect" "e1139a2474e379de048011de6b199c94e7937526e7405b33db98ba1ed40ba844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1139a2474e379de048011de6b199c94e7937526e7405b33db98ba1ed40ba844", kill_on_drop: false }` [INFO] [stdout] e1139a2474e379de048011de6b199c94e7937526e7405b33db98ba1ed40ba844