[INFO] cloning repository https://github.com/alexlapp/simple-solitaire [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexlapp/simple-solitaire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexlapp%2Fsimple-solitaire", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexlapp%2Fsimple-solitaire'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6613eea9d287dddc13334ae2a13b3326c1d1e716 [INFO] checking alexlapp/simple-solitaire against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexlapp%2Fsimple-solitaire" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alexlapp/simple-solitaire [INFO] finished tweaking git repo https://github.com/alexlapp/simple-solitaire [INFO] tweaked toml for git repo https://github.com/alexlapp/simple-solitaire written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexlapp/simple-solitaire on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alexlapp/simple-solitaire 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46695acbae4b2e0329526f1f24f9c91fec8ebf30ca13c363e70accd3df9bf1d3 [INFO] running `Command { std: "docker" "start" "-a" "46695acbae4b2e0329526f1f24f9c91fec8ebf30ca13c363e70accd3df9bf1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46695acbae4b2e0329526f1f24f9c91fec8ebf30ca13c363e70accd3df9bf1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46695acbae4b2e0329526f1f24f9c91fec8ebf30ca13c363e70accd3df9bf1d3", kill_on_drop: false }` [INFO] [stdout] 46695acbae4b2e0329526f1f24f9c91fec8ebf30ca13c363e70accd3df9bf1d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6ee04a9383499022cdfbae2a511bd9973bd257b8fa2708d6c51d29c3d570f0e [INFO] running `Command { std: "docker" "start" "-a" "d6ee04a9383499022cdfbae2a511bd9973bd257b8fa2708d6c51d29c3d570f0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking ttf-parser v0.25.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling wgpu-core v22.1.0 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking fdeflate v0.3.5 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Compiling wgpu v22.1.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking wayland-protocols v0.32.4 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking simple-solitaire-lib v0.1.0 (/opt/rustwide/workdir/simple-solitaire-lib) [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stdout] warning: unused import: `crate::cards::Suit::Clubs` [INFO] [stdout] --> simple-solitaire-lib/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cards::Suit::Clubs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cards::Suit::Clubs` [INFO] [stdout] --> simple-solitaire-lib/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cards::Suit::Clubs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | fn get_status(&self, board: &Board) -> GameStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CardColor` is more private than the item `Card::get_color` [INFO] [stdout] --> simple-solitaire-lib/src/cards.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_color(&self) -> CardColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Card::get_color` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CardColor` is only usable at visibility `pub(crate)` [INFO] [stdout] --> simple-solitaire-lib/src/cards.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum CardColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameStatus` is more private than the item `GameLogic::get_status` [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_status(&self, board: &Board) -> GameStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GameLogic::get_status` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameStatus` is only usable at visibility `pub(self)` [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum GameStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameStatus` is more private than the item `::get_status` [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | fn get_status(&self, board: &Board) -> GameStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_status` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameStatus` is only usable at visibility `pub(self)` [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum GameStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_accept_card` is never used [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 38 | impl Pile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 39 | pub(crate) fn can_accept_card(&self, incoming: &Card) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ActionItemId(pub usize); [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, and `style` are never read [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) struct ActionItem { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 88 | id: ActionItemId, [INFO] [stdout] | ^^ [INFO] [stdout] 89 | loc: BoardLocation, [INFO] [stdout] | ^^^ [INFO] [stdout] 90 | style: BoardItemStyle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action_items` is never read [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 94 | piles: Vec, [INFO] [stdout] 95 | action_items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_action_item` is never used [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | fn add_action_item(&mut self, action_item: ActionItem) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SameColor` is never constructed [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 153 | pub enum SuitOrdering { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 156 | SameColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SuitOrdering` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Descending` and `Increasing` are never constructed [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum RankOrdering { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 161 | Any, [INFO] [stdout] 162 | Descending, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 163 | Decrementing, [INFO] [stdout] 164 | Increasing, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RankOrdering` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ordered` is never constructed [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum Availability { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 169 | All, [INFO] [stdout] 170 | Ordered, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Availability` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 174 | pub enum AcceptLogic { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 175 | Any, [INFO] [stdout] 176 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AcceptLogic` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum EmptyAcceptLogic { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 182 | Any, [INFO] [stdout] 183 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmptyAcceptLogic` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameStatus` is never used [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum GameStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_status` is never used [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) trait GameLogic { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn get_status(&self, board: &Board) -> GameStatus; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flow` is never read [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct SelectedPile { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 27 | cards: Vec, [INFO] [stdout] 28 | flow: PileFlow, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn card_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn card_iter(&self) -> Iter<'_, Card> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn card_iter_rev(&self) -> Rev> { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn card_iter_rev(&self) -> Rev> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn pile_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn pile_iter(&self) -> Iter<'_, Pile> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | fn get_status(&self, board: &Board) -> GameStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CardColor` is more private than the item `Card::get_color` [INFO] [stdout] --> simple-solitaire-lib/src/cards.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_color(&self) -> CardColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Card::get_color` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CardColor` is only usable at visibility `pub(crate)` [INFO] [stdout] --> simple-solitaire-lib/src/cards.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum CardColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameStatus` is more private than the item `GameLogic::get_status` [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_status(&self, board: &Board) -> GameStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GameLogic::get_status` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameStatus` is only usable at visibility `pub(self)` [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum GameStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameStatus` is more private than the item `::get_status` [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | fn get_status(&self, board: &Board) -> GameStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_status` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameStatus` is only usable at visibility `pub(self)` [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum GameStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_accept_card` is never used [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 38 | impl Pile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 39 | pub(crate) fn can_accept_card(&self, incoming: &Card) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ActionItemId(pub usize); [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, and `style` are never read [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) struct ActionItem { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 88 | id: ActionItemId, [INFO] [stdout] | ^^ [INFO] [stdout] 89 | loc: BoardLocation, [INFO] [stdout] | ^^^ [INFO] [stdout] 90 | style: BoardItemStyle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action_items` is never read [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 94 | piles: Vec, [INFO] [stdout] 95 | action_items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_action_item` is never used [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | fn add_action_item(&mut self, action_item: ActionItem) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SameColor` is never constructed [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 153 | pub enum SuitOrdering { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 156 | SameColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SuitOrdering` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Descending` and `Increasing` are never constructed [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum RankOrdering { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 161 | Any, [INFO] [stdout] 162 | Descending, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 163 | Decrementing, [INFO] [stdout] 164 | Increasing, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RankOrdering` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ordered` is never constructed [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum Availability { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 169 | All, [INFO] [stdout] 170 | Ordered, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Availability` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 174 | pub enum AcceptLogic { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 175 | Any, [INFO] [stdout] 176 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AcceptLogic` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum EmptyAcceptLogic { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 182 | Any, [INFO] [stdout] 183 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmptyAcceptLogic` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameStatus` is never used [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum GameStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_status` is never used [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) trait GameLogic { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn get_status(&self, board: &Board) -> GameStatus; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flow` is never read [INFO] [stdout] --> simple-solitaire-lib/src/games.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct SelectedPile { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 27 | cards: Vec, [INFO] [stdout] 28 | flow: PileFlow, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn card_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn card_iter(&self) -> Iter<'_, Card> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn card_iter_rev(&self) -> Rev> { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn card_iter_rev(&self) -> Rev> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple-solitaire-lib/src/board.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn pile_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn pile_iter(&self) -> Iter<'_, Pile> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crevice v0.16.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.4 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.4 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking simple-solitaire-gui v0.1.0 (/opt/rustwide/workdir/simple-solitaire-gui) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> simple-solitaire-gui/src/logic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> simple-solitaire-gui/src/logic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLEAR_COLOR` is never used [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const CLEAR_COLOR: wgpu::Color = wgpu::Color { r: 22. / 255., g: 128. / 255., b: 17. / 255., a: 1.0 }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const OPENGL_TO_WGPU_MATRIX: glam::f32::Mat4 = glam::f32::Mat4::from_cols_array(&[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / #[repr(C)] [INFO] [stdout] 38 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 39 | | struct Vertex { [INFO] [stdout] 40 | | position: [f32; 3], [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / #[repr(C)] [INFO] [stdout] 66 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 67 | | struct InstanceRaw { [INFO] [stdout] 68 | | src_rect: [f32; 4], [INFO] [stdout] 69 | | transform: [[f32; 4]; 4], [INFO] [stdout] 70 | | size: [[f32; 4]; 4], [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window` is never read [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub(crate) struct WgpuState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 162 | window: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `window` is never used [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl WgpuState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Grab` and `Grabbing` are never constructed [INFO] [stdout] --> simple-solitaire-gui/src/cursors/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum SolitaireCursor { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 7 | Pointer, [INFO] [stdout] 8 | Grab, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Grabbing, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SolitaireCursor` 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 `CLEAR_COLOR` is never used [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const CLEAR_COLOR: wgpu::Color = wgpu::Color { r: 22. / 255., g: 128. / 255., b: 17. / 255., a: 1.0 }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const OPENGL_TO_WGPU_MATRIX: glam::f32::Mat4 = glam::f32::Mat4::from_cols_array(&[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / #[repr(C)] [INFO] [stdout] 38 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 39 | | struct Vertex { [INFO] [stdout] 40 | | position: [f32; 3], [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / #[repr(C)] [INFO] [stdout] 66 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 67 | | struct InstanceRaw { [INFO] [stdout] 68 | | src_rect: [f32; 4], [INFO] [stdout] 69 | | transform: [[f32; 4]; 4], [INFO] [stdout] 70 | | size: [[f32; 4]; 4], [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window` is never read [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub(crate) struct WgpuState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 162 | window: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `window` is never used [INFO] [stdout] --> simple-solitaire-gui/src/graphics/mod.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl WgpuState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Grab` and `Grabbing` are never constructed [INFO] [stdout] --> simple-solitaire-gui/src/cursors/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum SolitaireCursor { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 7 | Pointer, [INFO] [stdout] 8 | Grab, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Grabbing, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SolitaireCursor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "d6ee04a9383499022cdfbae2a511bd9973bd257b8fa2708d6c51d29c3d570f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ee04a9383499022cdfbae2a511bd9973bd257b8fa2708d6c51d29c3d570f0e", kill_on_drop: false }` [INFO] [stdout] d6ee04a9383499022cdfbae2a511bd9973bd257b8fa2708d6c51d29c3d570f0e