[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 master#733108b6d4acaa93fe26ae281ea305aacd6aac4e for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexlapp%2Fsimple-solitaire" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexlapp/simple-solitaire on toolchain 733108b6d4acaa93fe26ae281ea305aacd6aac4e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "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" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen v0.2.94 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.94 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.94 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.94 [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded wayland-cursor v0.31.6 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.94 [INFO] [stderr] Downloaded crevice-derive v0.10.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.44 [INFO] [stderr] Downloaded mint v0.5.9 [INFO] [stderr] Downloaded crevice v0.16.0 [INFO] [stderr] Downloaded bytemuck v1.18.0 [INFO] [stderr] Downloaded xml-rs v0.8.22 [INFO] [stderr] Downloaded pin-project-internal v1.1.6 [INFO] [stderr] Downloaded pin-project v1.1.6 [INFO] [stderr] Downloaded js-sys v0.3.71 [INFO] [stderr] Downloaded syn v2.0.79 [INFO] [stderr] Downloaded ttf-parser v0.25.0 [INFO] [stderr] Downloaded cc v1.1.28 [INFO] [stderr] Downloaded web-sys v0.3.71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8981bf9e6a796ca66673e31fb8b94da3d400bebfec1effdf681c96c6714756c7 [INFO] running `Command { std: "docker" "start" "-a" "8981bf9e6a796ca66673e31fb8b94da3d400bebfec1effdf681c96c6714756c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8981bf9e6a796ca66673e31fb8b94da3d400bebfec1effdf681c96c6714756c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8981bf9e6a796ca66673e31fb8b94da3d400bebfec1effdf681c96c6714756c7", kill_on_drop: false }` [INFO] [stdout] 8981bf9e6a796ca66673e31fb8b94da3d400bebfec1effdf681c96c6714756c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c59009a5f8d06053522cb79897d99e2fddca97fd8773bbbaeb4427e7c29a219 [INFO] running `Command { std: "docker" "start" "-a" "6c59009a5f8d06053522cb79897d99e2fddca97fd8773bbbaeb4427e7c29a219", 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 libloading v0.8.5 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.64 [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] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking ttf-parser v0.25.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking xcursor v0.3.8 [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 khronos-egl v6.0.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking regex-automata v0.4.8 [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] Compiling litrs v0.4.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [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 fdeflate v0.3.5 [INFO] [stderr] Compiling wgpu v22.1.0 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking mint v0.5.9 [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 bytemuck v1.18.0 [INFO] [stderr] Checking calloop v0.13.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 rand_chacha v0.3.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking wayland-protocols v0.32.4 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking dpi v0.1.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] [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] [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] [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/733108b6d4acaa93fe26ae281ea305aacd6aac4e/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] [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] running `Command { std: "docker" "inspect" "6c59009a5f8d06053522cb79897d99e2fddca97fd8773bbbaeb4427e7c29a219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c59009a5f8d06053522cb79897d99e2fddca97fd8773bbbaeb4427e7c29a219", kill_on_drop: false }` [INFO] [stdout] 6c59009a5f8d06053522cb79897d99e2fddca97fd8773bbbaeb4427e7c29a219