[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#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [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 c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored v2.0.0 [INFO] [stderr] Downloaded roxmltree v0.14.1 [INFO] [stderr] Downloaded ron v0.7.1 [INFO] [stderr] Downloaded shaderc v0.8.0 [INFO] [stderr] Downloaded backtrace v0.3.66 [INFO] [stderr] Downloaded object v0.29.0 [INFO] [stderr] Downloaded glam v0.21.2 [INFO] [stderr] Downloaded serde v1.0.138 [INFO] [stderr] Downloaded simple_logger v2.2.0 [INFO] [stderr] Downloaded rbitset v0.3.1 [INFO] [stderr] Downloaded serde_derive v1.0.138 [INFO] [stderr] Downloaded mio v0.8.4 [INFO] [stderr] Downloaded image v0.24.2 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded cmake v0.1.48 [INFO] [stderr] Downloaded xmlparser v0.13.3 [INFO] [stderr] Downloaded shaderc-sys v0.8.0 [INFO] [stderr] Downloaded clamp v0.1.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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8de03c4383c846e1ad5353d263bd180111bded5bda860202015719331f1041e2 [INFO] running `Command { std: "docker" "start" "-a" "8de03c4383c846e1ad5353d263bd180111bded5bda860202015719331f1041e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8de03c4383c846e1ad5353d263bd180111bded5bda860202015719331f1041e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de03c4383c846e1ad5353d263bd180111bded5bda860202015719331f1041e2", kill_on_drop: false }` [INFO] [stdout] 8de03c4383c846e1ad5353d263bd180111bded5bda860202015719331f1041e2 [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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a8f4c12a4a2992a2b5a273e0802cba1b9c50bf929729e991fa0be54fb5f85a8 [INFO] running `Command { std: "docker" "start" "-a" "2a8f4c12a4a2992a2b5a273e0802cba1b9c50bf929729e991fa0be54fb5f85a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking once_cell v1.13.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 serde_derive v1.0.138 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bytemuck v1.10.0 [INFO] [stderr] Checking clamp v0.1.0 [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] Checking png v0.17.5 [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] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking rbitset v0.3.1 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking simple_logger v2.2.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking addr2line v0.17.0 [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 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 44.54s [INFO] running `Command { std: "docker" "inspect" "2a8f4c12a4a2992a2b5a273e0802cba1b9c50bf929729e991fa0be54fb5f85a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a8f4c12a4a2992a2b5a273e0802cba1b9c50bf929729e991fa0be54fb5f85a8", kill_on_drop: false }` [INFO] [stdout] 2a8f4c12a4a2992a2b5a273e0802cba1b9c50bf929729e991fa0be54fb5f85a8 [INFO] checking henry-lang/tile-world against try#5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenry-lang%2Ftile-world" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/henry-lang/tile-world on toolchain 5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "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-tc2/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" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb54c273d41e669907f0196ffe2852da5ed428cc2772f952f3d79a9702b1720d [INFO] running `Command { std: "docker" "start" "-a" "eb54c273d41e669907f0196ffe2852da5ed428cc2772f952f3d79a9702b1720d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb54c273d41e669907f0196ffe2852da5ed428cc2772f952f3d79a9702b1720d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb54c273d41e669907f0196ffe2852da5ed428cc2772f952f3d79a9702b1720d", kill_on_drop: false }` [INFO] [stdout] eb54c273d41e669907f0196ffe2852da5ed428cc2772f952f3d79a9702b1720d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe8e262f61f83910ebd0828915795b658493e8dff418fe7e11592ef26ca4e811 [INFO] running `Command { std: "docker" "start" "-a" "fe8e262f61f83910ebd0828915795b658493e8dff418fe7e11592ef26ca4e811", 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 pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking libloading v0.7.3 [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 serde_derive v1.0.138 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bytemuck v1.10.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking clamp v0.1.0 [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] Checking png v0.17.5 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling backtrace v0.3.66 [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 num-integer v0.1.45 [INFO] [stderr] Checking rbitset v0.3.1 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking simple_logger v2.2.0 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking addr2line v0.17.0 [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 ron v0.7.1 [INFO] [stderr] Checking glam v0.21.2 [INFO] [stdout] error[E0310]: the associated type `::UserEvent` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.26.1/src/platform/run_return.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | F: FnMut( [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | Event<'_, Self::UserEvent>, [INFO] [stdout] 40 | | &EventLoopWindowTarget, [INFO] [stdout] 41 | | &mut ControlFlow, [INFO] [stdout] 42 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the associated type `::UserEvent` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `::UserEvent` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.26.1/src/event.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Event<'a, T: 'static> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 42 | ), ::UserEvent: 'static; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winit` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "fe8e262f61f83910ebd0828915795b658493e8dff418fe7e11592ef26ca4e811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe8e262f61f83910ebd0828915795b658493e8dff418fe7e11592ef26ca4e811", kill_on_drop: false }` [INFO] [stdout] fe8e262f61f83910ebd0828915795b658493e8dff418fe7e11592ef26ca4e811