[INFO] cloning repository https://github.com/ParriCode/WarXiom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ParriCode/WarXiom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParriCode%2FWarXiom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParriCode%2FWarXiom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 147875779171a1000ee2752b1469217b27573da9 [INFO] checking ParriCode/WarXiom against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParriCode%2FWarXiom" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ParriCode/WarXiom [INFO] finished tweaking git repo https://github.com/ParriCode/WarXiom [INFO] tweaked toml for git repo https://github.com/ParriCode/WarXiom written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ParriCode/WarXiom on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ParriCode/WarXiom 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.71 [INFO] [stderr] Downloaded rtrb v0.3.4 [INFO] [stderr] Downloaded atomic-arena v0.1.2 [INFO] [stderr] Downloaded kira v0.12.0 [INFO] [stderr] Downloaded winnow v1.0.2 [INFO] [stderr] Downloaded libc v0.2.185 [INFO] [stderr] Downloaded hexx v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 87b99d0d3ef2c7bb850c4596fb4210a111da234fd35bfda8457ef305f4b5490a [INFO] running `Command { std: "docker" "start" "87b99d0d3ef2c7bb850c4596fb4210a111da234fd35bfda8457ef305f4b5490a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87b99d0d3ef2c7bb850c4596fb4210a111da234fd35bfda8457ef305f4b5490a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "87b99d0d3ef2c7bb850c4596fb4210a111da234fd35bfda8457ef305f4b5490a" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87b99d0d3ef2c7bb850c4596fb4210a111da234fd35bfda8457ef305f4b5490a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "87b99d0d3ef2c7bb850c4596fb4210a111da234fd35bfda8457ef305f4b5490a" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand_core v0.10.1 [INFO] [stderr] Compiling cpal v0.17.3 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling gilrs v0.11.1 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking rtrb v0.3.4 [INFO] [stderr] Compiling pastey v0.2.2 [INFO] [stderr] Checking atomic-arena v0.1.2 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking glam v0.30.10 [INFO] [stderr] Checking symphonia-core v0.5.5 [INFO] [stderr] Checking glam v0.32.1 [INFO] [stderr] Checking triple_buffer v8.1.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking symphonia-metadata v0.5.5 [INFO] [stderr] Checking symphonia-utils-xiph v0.5.5 [INFO] [stderr] Checking symphonia-format-ogg v0.5.5 [INFO] [stderr] Checking symphonia-codec-vorbis v0.5.5 [INFO] [stderr] Checking symphonia v0.5.5 [INFO] [stderr] Checking alsa-sys v0.4.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking inotify v0.11.1 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking gilrs-core v0.6.7 [INFO] [stderr] Checking alsa v0.11.0 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking hexx v0.24.0 [INFO] [stderr] Checking kira v0.12.0 [INFO] [stderr] Checking warxiom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/gui/components/dice.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | theme: &GuiTheme, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/gui/components/dice.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | theme: &GuiTheme, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_NUMBER_SIZE` is never used [INFO] [stdout] --> src/core/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const TILE_NUMBER_SIZE: f32 = 12.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DiceRolled` is never constructed [INFO] [stdout] --> src/core/game_manager.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum GameEvent { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 27 | DiceRolled, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_game` and `next_turn` are never used [INFO] [stdout] --> src/core/game_manager.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl GameManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn init_game(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn next_turn(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `all_territories`, `has_road`, `has_village`, and `add_resources` are never used [INFO] [stdout] --> src/core/nation.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Nation { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn all_territories(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn has_road(&self, edge: GridEdge) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn has_village(&self, vertex: GridVertex) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn add_resources(&mut self, amounts: [u32; 5]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `land` is never used [INFO] [stdout] --> src/core/tile.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Tile { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn land(hex: Hex, kind: TerrainType, number: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid_radius` and `land_tiles` are never read [INFO] [stdout] --> src/core/world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | grid_radius: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | tiles: HashMap, [INFO] [stdout] 15 | land_tiles: Vec, //Es posible que esta deba ser elminada luego TODO [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/world.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl World { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn for_each_tile(&self, mut f: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn nations_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn for_each_neightbout_at(&self, hex: Hex, f: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn grid_radius(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn claim_territory(&mut self, player_id: usize, hex: Hex) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1119 | pub fn can_be_conquered(&self, nation: &Nation, hex: &Hex) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hovered` is never read [INFO] [stdout] --> src/gui/components/button.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ButtonResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | pub clicked: bool, [INFO] [stdout] 8 | pub hovered: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_center_label` is never used [INFO] [stdout] --> src/gui/components/label.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_center_label(rect: Rect, text: &str, size: u16, theme: &GuiTheme, assets: &GuiAssets) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_vertical` is never used [INFO] [stdout] --> src/gui/layout.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn split_vertical(rect: Rect, heights: &[f32], gap: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RowLayout` is never constructed [INFO] [stdout] --> src/gui/layout.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct RowLayout { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next` are never used [INFO] [stdout] --> src/gui/layout.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl RowLayout { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new(rect: Rect, gap: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn next(&mut self, width: f32) -> Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColumnLayout` is never constructed [INFO] [stdout] --> src/gui/layout.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ColumnLayout { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next` are never used [INFO] [stdout] --> src/gui/layout.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl ColumnLayout { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 73 | pub fn new(rect: Rect, gap: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn next(&mut self, height: f32) -> Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `danger`, `blue`, and `success` are never read [INFO] [stdout] --> src/gui/theme.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GuiTheme { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub danger: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | pub blue: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub success: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GuiTheme` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_NUMBER_SIZE` is never used [INFO] [stdout] --> src/core/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const TILE_NUMBER_SIZE: f32 = 12.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DiceRolled` is never constructed [INFO] [stdout] --> src/core/game_manager.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum GameEvent { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 27 | DiceRolled, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_game` and `next_turn` are never used [INFO] [stdout] --> src/core/game_manager.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl GameManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn init_game(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn next_turn(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `all_territories`, `has_road`, `has_village`, and `add_resources` are never used [INFO] [stdout] --> src/core/nation.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Nation { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn all_territories(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn has_road(&self, edge: GridEdge) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn has_village(&self, vertex: GridVertex) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn add_resources(&mut self, amounts: [u32; 5]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `land` is never used [INFO] [stdout] --> src/core/tile.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Tile { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn land(hex: Hex, kind: TerrainType, number: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid_radius` and `land_tiles` are never read [INFO] [stdout] --> src/core/world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | grid_radius: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | tiles: HashMap, [INFO] [stdout] 15 | land_tiles: Vec, //Es posible que esta deba ser elminada luego TODO [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/world.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl World { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn for_each_tile(&self, mut f: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn nations_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn for_each_neightbout_at(&self, hex: Hex, f: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn grid_radius(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn claim_territory(&mut self, player_id: usize, hex: Hex) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1119 | pub fn can_be_conquered(&self, nation: &Nation, hex: &Hex) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hovered` is never read [INFO] [stdout] --> src/gui/components/button.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ButtonResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | pub clicked: bool, [INFO] [stdout] 8 | pub hovered: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_center_label` is never used [INFO] [stdout] --> src/gui/components/label.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_center_label(rect: Rect, text: &str, size: u16, theme: &GuiTheme, assets: &GuiAssets) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_vertical` is never used [INFO] [stdout] --> src/gui/layout.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn split_vertical(rect: Rect, heights: &[f32], gap: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RowLayout` is never constructed [INFO] [stdout] --> src/gui/layout.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct RowLayout { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next` are never used [INFO] [stdout] --> src/gui/layout.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl RowLayout { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new(rect: Rect, gap: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn next(&mut self, width: f32) -> Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColumnLayout` is never constructed [INFO] [stdout] --> src/gui/layout.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ColumnLayout { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next` are never used [INFO] [stdout] --> src/gui/layout.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl ColumnLayout { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 73 | pub fn new(rect: Rect, gap: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn next(&mut self, height: f32) -> Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `danger`, `blue`, and `success` are never read [INFO] [stdout] --> src/gui/theme.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GuiTheme { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub danger: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | pub blue: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub success: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GuiTheme` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `width`, `height`, `screen_size`, and `normalize_percent` are never used [INFO] [stdout] --> src/gui/types.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ScreenMetrics { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn width(percent: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn height(percent: f32) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn screen_size() -> ScreenSize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn normalize_percent(percent: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVAILABLE_VERTEX_COLOR` is never used [INFO] [stdout] --> src/render/layout.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const AVAILABLE_VERTEX_COLOR: Color = Color::new(0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `width`, `height`, `screen_size`, and `normalize_percent` are never used [INFO] [stdout] --> src/gui/types.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ScreenMetrics { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn width(percent: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn height(percent: f32) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn screen_size() -> ScreenSize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn normalize_percent(percent: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVAILABLE_VERTEX_COLOR` is never used [INFO] [stdout] --> src/render/layout.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const AVAILABLE_VERTEX_COLOR: Color = Color::new(0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_message` is never used [INFO] [stdout] --> src/render/layout.rs:680:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 680 | fn draw_message(&self, message: &String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_message` is never used [INFO] [stdout] --> src/render/layout.rs:680:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 680 | fn draw_message(&self, message: &String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `rand` [INFO] [stderr] --> Cargo.toml:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | rand = "0.10.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rand` [INFO] [stderr] warning: `warxiom` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.30.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "87b99d0d3ef2c7bb850c4596fb4210a111da234fd35bfda8457ef305f4b5490a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b99d0d3ef2c7bb850c4596fb4210a111da234fd35bfda8457ef305f4b5490a", kill_on_drop: false }` [INFO] [stdout] 87b99d0d3ef2c7bb850c4596fb4210a111da234fd35bfda8457ef305f4b5490a