[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#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexlapp%2Fsimple-solitaire" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexlapp/simple-solitaire on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf224dc1a743ab7e9765cebe1a6e88fbe542d5fab173d525e418a23fa3b4356f [INFO] running `Command { std: "docker" "start" "-a" "cf224dc1a743ab7e9765cebe1a6e88fbe542d5fab173d525e418a23fa3b4356f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf224dc1a743ab7e9765cebe1a6e88fbe542d5fab173d525e418a23fa3b4356f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf224dc1a743ab7e9765cebe1a6e88fbe542d5fab173d525e418a23fa3b4356f", kill_on_drop: false }` [INFO] [stdout] cf224dc1a743ab7e9765cebe1a6e88fbe542d5fab173d525e418a23fa3b4356f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85ee94845d6b2351255abcf67274f5ce50feeb89aa241e70aa7e4006170cb419 [INFO] running `Command { std: "docker" "start" "-a" "85ee94845d6b2351255abcf67274f5ce50feeb89aa241e70aa7e4006170cb419", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking ttf-parser v0.25.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Compiling wgpu-core v22.1.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling winit v0.30.5 [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] Compiling document-features v0.2.10 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Compiling wgpu v22.1.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking thiserror v1.0.64 [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 rand_chacha v0.3.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking simple-solitaire-lib v0.1.0 (/opt/rustwide/workdir/simple-solitaire-lib) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wayland-protocols v0.32.4 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] error: could not compile `ash` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed606620234c6b50f2414162c4bbabd5f4a925f3/bin/rustc --crate-name ash --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ash-0.38.0+1.3.281/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="debug"' --cfg 'feature="default"' --cfg 'feature="libloading"' --cfg 'feature="loaded"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("debug", "default", "libloading", "linked", "loaded", "std"))' -C metadata=d47add3d2f13c56f -C extra-filename=-6f39f59e684e9f77 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern libloading=/opt/rustwide/target/debug/deps/liblibloading-ca2fbd4142ab8c8c.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "85ee94845d6b2351255abcf67274f5ce50feeb89aa241e70aa7e4006170cb419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85ee94845d6b2351255abcf67274f5ce50feeb89aa241e70aa7e4006170cb419", kill_on_drop: false }` [INFO] [stdout] 85ee94845d6b2351255abcf67274f5ce50feeb89aa241e70aa7e4006170cb419