[INFO] cloning repository https://github.com/AlexanderPortland/durak
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexanderPortland/durak" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderPortland%2Fdurak", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderPortland%2Fdurak'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a426bdc1e9c2668a39b531346c4c61146d758380
[INFO] testing AlexanderPortland/durak against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderPortland%2Fdurak" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AlexanderPortland/durak
[INFO] finished tweaking git repo https://github.com/AlexanderPortland/durak
[INFO] tweaked toml for git repo https://github.com/AlexanderPortland/durak written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlexanderPortland/durak on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AlexanderPortland/durak 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand v0.9.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8
[INFO] running `Command { std: "docker" "start" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rand v0.9.4
[INFO] [stderr]    Compiling durak-core v0.1.0 (/opt/rustwide/workdir/durak-core)
[INFO] [stdout] warning: unused import: `action::Action`
[INFO] [stdout]  --> durak-core/src/engine.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{action::Action, player::Player, rules::Ruleset, state::GameState};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Action` is never used
[INFO] [stdout]  --> durak-core/src/action.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Action {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Rank` is never used
[INFO] [stdout]  --> durak-core/src/card.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Rank {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Suit` is never used
[INFO] [stdout]   --> durak-core/src/card.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub enum Suit {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Card` is never constructed
[INFO] [stdout]   --> durak-core/src/card.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct Card {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `beats` is never used
[INFO] [stdout]   --> durak-core/src/card.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl Card {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 66 |     pub fn beats(&self, other: &Card, trump: Suit) -> bool {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANKS` is never used
[INFO] [stdout]  --> durak-core/src/deck.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const RANKS: [Rank; 9] = [
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUITS` is never used
[INFO] [stdout]   --> durak-core/src/deck.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const SUITS: [Suit; 4] = [Suit::Clubs, Suit::Diamonds, Suit::Hearts, Suit::Spades];
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_shuffled` is never used
[INFO] [stdout]   --> durak-core/src/deck.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn new_shuffled(rng: &mut impl Rng) -> Vec<Card> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]  --> durak-core/src/engine.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Game<'r, Rules: Ruleset, Rand: Rng> {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `play` are never used
[INFO] [stdout]   --> durak-core/src/engine.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<'r, Rules: Ruleset, Rand: Rng> Game<'r, Rules, Rand> {
[INFO] [stdout]    | --------------------------------------------------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(players: Vec<Box<dyn Player<Rules, Rand>>>, rng: &'r mut Rand) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn play(mut self) -> (Vec<usize>, usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Player` is never used
[INFO] [stdout]   --> durak-core/src/player.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait Player<Rules: Ruleset, Rand: Rng> {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DeterministicPlayer` is never used
[INFO] [stdout]   --> durak-core/src/player.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait DeterministicPlayer<R: Ruleset> {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomPlayer` is never constructed
[INFO] [stdout]   --> durak-core/src/player.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct RandomPlayer;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InputPlayer` is never constructed
[INFO] [stdout]   --> durak-core/src/player.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct InputPlayer;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Ruleset` is never used
[INFO] [stdout]  --> durak-core/src/rules.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait Ruleset: Debug {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrownDurakRules` is never constructed
[INFO] [stdout]   --> durak-core/src/rules.rs:27:16
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub struct BrownDurakRules;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `offensive_options` is never used
[INFO] [stdout]    --> durak-core/src/rules.rs:148:8
[INFO] [stdout]     |
[INFO] [stdout] 148 |     fn offensive_options(state: &GameState<BrownDurakRules>) -> Vec<Action> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `defensive_options` is never used
[INFO] [stdout]    --> durak-core/src/rules.rs:165:8
[INFO] [stdout]     |
[INFO] [stdout] 165 |     fn defensive_options(state: &GameState<BrownDurakRules>) -> Vec<Action> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `defences` is never used
[INFO] [stdout]    --> durak-core/src/rules.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 |     fn defences(
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `passes` is never used
[INFO] [stdout]    --> durak-core/src/rules.rs:196:8
[INFO] [stdout]     |
[INFO] [stdout] 196 |     fn passes(hand: &[Card], state: &GameState<BrownDurakRules>) -> impl Iterator<Item = Action> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Table` is never used
[INFO] [stdout]   --> durak-core/src/state.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | type Table = Vec<(Card, Option<Card>)>;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameState` is never constructed
[INFO] [stdout]   --> durak-core/src/state.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct GameState<R: Ruleset + ?Sized> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObservedState` is never constructed
[INFO] [stdout]   --> durak-core/src/state.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct ObservedState<'s, R: Ruleset + ?Sized> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> durak-core/src/state.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl<R: Ruleset + ?Sized> GameState<R> {
[INFO] [stdout]     | -------------------------------------- associated items in this implementation
[INFO] [stdout]  49 |     pub fn new(num_players: usize, rng: &mut impl Rng) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<R> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn get_next_active(&self, from: usize) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn table_contains_rank(&self, rank: Rank) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn undefended_attacks(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn table_full(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn draw_up_to_size(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Phase` is never used
[INFO] [stdout]    --> durak-core/src/state.rs:146:10
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub enum Phase {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> durak-core/src/state.rs:73:26
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<R> {
[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] 73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<'_, R> {
[INFO] [stdout]    |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling durak-solver v0.1.0 (/opt/rustwide/workdir/durak-solver)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.01s
[INFO] running `Command { std: "docker" "inspect" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `action::Action`
[INFO] [stdout]  --> durak-core/src/engine.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{action::Action, player::Player, rules::Ruleset, state::GameState};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Action` is never used
[INFO] [stdout]  --> durak-core/src/action.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Action {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Rank` is never used
[INFO] [stdout]  --> durak-core/src/card.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Rank {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Suit` is never used
[INFO] [stdout]   --> durak-core/src/card.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub enum Suit {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Card` is never constructed
[INFO] [stdout]   --> durak-core/src/card.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct Card {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `beats` is never used
[INFO] [stdout]   --> durak-core/src/card.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl Card {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 66 |     pub fn beats(&self, other: &Card, trump: Suit) -> bool {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANKS` is never used
[INFO] [stdout]  --> durak-core/src/deck.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const RANKS: [Rank; 9] = [
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUITS` is never used
[INFO] [stdout]   --> durak-core/src/deck.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const SUITS: [Suit; 4] = [Suit::Clubs, Suit::Diamonds, Suit::Hearts, Suit::Spades];
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_shuffled` is never used
[INFO] [stdout]   --> durak-core/src/deck.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn new_shuffled(rng: &mut impl Rng) -> Vec<Card> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]  --> durak-core/src/engine.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Game<'r, Rules: Ruleset, Rand: Rng> {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `play` are never used
[INFO] [stdout]   --> durak-core/src/engine.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<'r, Rules: Ruleset, Rand: Rng> Game<'r, Rules, Rand> {
[INFO] [stdout]    | --------------------------------------------------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(players: Vec<Box<dyn Player<Rules, Rand>>>, rng: &'r mut Rand) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn play(mut self) -> (Vec<usize>, usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Player` is never used
[INFO] [stdout]   --> durak-core/src/player.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait Player<Rules: Ruleset, Rand: Rng> {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DeterministicPlayer` is never used
[INFO] [stdout]   --> durak-core/src/player.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait DeterministicPlayer<R: Ruleset> {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomPlayer` is never constructed
[INFO] [stdout]   --> durak-core/src/player.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct RandomPlayer;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InputPlayer` is never constructed
[INFO] [stdout]   --> durak-core/src/player.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct InputPlayer;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Ruleset` is never used
[INFO] [stdout]  --> durak-core/src/rules.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait Ruleset: Debug {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrownDurakRules` is never constructed
[INFO] [stdout]   --> durak-core/src/rules.rs:27:16
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub struct BrownDurakRules;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `offensive_options` is never used
[INFO] [stdout]    --> durak-core/src/rules.rs:148:8
[INFO] [stdout]     |
[INFO] [stdout] 148 |     fn offensive_options(state: &GameState<BrownDurakRules>) -> Vec<Action> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `defensive_options` is never used
[INFO] [stdout]    --> durak-core/src/rules.rs:165:8
[INFO] [stdout]     |
[INFO] [stdout] 165 |     fn defensive_options(state: &GameState<BrownDurakRules>) -> Vec<Action> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `defences` is never used
[INFO] [stdout]    --> durak-core/src/rules.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 |     fn defences(
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `passes` is never used
[INFO] [stdout]    --> durak-core/src/rules.rs:196:8
[INFO] [stdout]     |
[INFO] [stdout] 196 |     fn passes(hand: &[Card], state: &GameState<BrownDurakRules>) -> impl Iterator<Item = Action> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Table` is never used
[INFO] [stdout]   --> durak-core/src/state.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | type Table = Vec<(Card, Option<Card>)>;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameState` is never constructed
[INFO] [stdout]   --> durak-core/src/state.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct GameState<R: Ruleset + ?Sized> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObservedState` is never constructed
[INFO] [stdout]   --> durak-core/src/state.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct ObservedState<'s, R: Ruleset + ?Sized> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> durak-core/src/state.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl<R: Ruleset + ?Sized> GameState<R> {
[INFO] [stdout]     | -------------------------------------- associated items in this implementation
[INFO] [stdout]  49 |     pub fn new(num_players: usize, rng: &mut impl Rng) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<R> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn get_next_active(&self, from: usize) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn table_contains_rank(&self, rank: Rank) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn undefended_attacks(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn table_full(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn draw_up_to_size(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Phase` is never used
[INFO] [stdout]    --> durak-core/src/state.rs:146:10
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub enum Phase {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> durak-core/src/state.rs:73:26
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<R> {
[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] 73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<'_, R> {
[INFO] [stdout]    |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling durak-core v0.1.0 (/opt/rustwide/workdir/durak-core)
[INFO] [stderr]    Compiling durak-solver v0.1.0 (/opt/rustwide/workdir/durak-solver)
[INFO] [stdout] warning: unused import: `action::Action`
[INFO] [stdout]  --> durak-core/src/engine.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{action::Action, player::Player, rules::Ruleset, state::GameState};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> durak-core/src/state.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct ObservedState<'s, R: Ruleset + ?Sized> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 32 |     pub my_hand: &'s [Card],
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 33 |     pub my_player_no: usize,
[INFO] [stdout] 34 |     pub active_player: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 35 |     pub attackers: &'s [usize],
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 36 |     pub defender: usize,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 37 |     pub trump: Suit,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 38 |     pub table: &'s Table,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 39 |     pub discard_len: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 40 |     pub deck_len: usize,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 41 |     pub deck_last_card: Option<&'s Card>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub hand_sizes: Vec<usize>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 43 |     pub finish_order: &'s [usize],
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 44 |     pub phase: Phase,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ObservedState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> durak-core/src/state.rs:73:26
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<R> {
[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] 73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<'_, R> {
[INFO] [stdout]    |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s
[INFO] running `Command { std: "docker" "inspect" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `action::Action`
[INFO] [stderr]  --> durak-core/src/engine.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::{action::Action, player::Player, rules::Ruleset, state::GameState};
[INFO] [stderr]   |             ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Action` is never used
[INFO] [stderr]  --> durak-core/src/action.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub enum Action {
[INFO] [stderr]   |          ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Rank` is never used
[INFO] [stderr]  --> durak-core/src/card.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub enum Rank {
[INFO] [stderr]   |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Suit` is never used
[INFO] [stderr]   --> durak-core/src/card.rs:34:10
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub enum Suit {
[INFO] [stderr]    |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Card` is never constructed
[INFO] [stderr]   --> durak-core/src/card.rs:60:12
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub struct Card {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `beats` is never used
[INFO] [stderr]   --> durak-core/src/card.rs:66:12
[INFO] [stderr]    |
[INFO] [stderr] 65 | impl Card {
[INFO] [stderr]    | --------- method in this implementation
[INFO] [stderr] 66 |     pub fn beats(&self, other: &Card, trump: Suit) -> bool {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RANKS` is never used
[INFO] [stderr]  --> durak-core/src/deck.rs:5:7
[INFO] [stderr]   |
[INFO] [stderr] 5 | const RANKS: [Rank; 9] = [
[INFO] [stderr]   |       ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `SUITS` is never used
[INFO] [stderr]   --> durak-core/src/deck.rs:17:7
[INFO] [stderr]    |
[INFO] [stderr] 17 | const SUITS: [Suit; 4] = [Suit::Clubs, Suit::Diamonds, Suit::Hearts, Suit::Spades];
[INFO] [stderr]    |       ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `new_shuffled` is never used
[INFO] [stderr]   --> durak-core/src/deck.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub fn new_shuffled(rng: &mut impl Rng) -> Vec<Card> {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Game` is never constructed
[INFO] [stderr]  --> durak-core/src/engine.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct Game<'r, Rules: Ruleset, Rand: Rng> {
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `play` are never used
[INFO] [stderr]   --> durak-core/src/engine.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl<'r, Rules: Ruleset, Rand: Rng> Game<'r, Rules, Rand> {
[INFO] [stderr]    | --------------------------------------------------------- associated items in this implementation
[INFO] [stderr] 12 |     pub fn new(players: Vec<Box<dyn Player<Rules, Rand>>>, rng: &'r mut Rand) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub fn play(mut self) -> (Vec<usize>, usize) {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Player` is never used
[INFO] [stderr]   --> durak-core/src/player.rs:12:11
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub trait Player<Rules: Ruleset, Rand: Rng> {
[INFO] [stderr]    |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `DeterministicPlayer` is never used
[INFO] [stderr]   --> durak-core/src/player.rs:36:11
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub trait DeterministicPlayer<R: Ruleset> {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RandomPlayer` is never constructed
[INFO] [stderr]   --> durak-core/src/player.rs:40:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub struct RandomPlayer;
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `InputPlayer` is never constructed
[INFO] [stderr]   --> durak-core/src/player.rs:57:12
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub struct InputPlayer;
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Ruleset` is never used
[INFO] [stderr]  --> durak-core/src/rules.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub trait Ruleset: Debug {
[INFO] [stderr]   |           ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BrownDurakRules` is never constructed
[INFO] [stderr]   --> durak-core/src/rules.rs:27:16
[INFO] [stderr]    |
[INFO] [stderr] 27 |     pub struct BrownDurakRules;
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `offensive_options` is never used
[INFO] [stderr]    --> durak-core/src/rules.rs:148:8
[INFO] [stderr]     |
[INFO] [stderr] 148 |     fn offensive_options(state: &GameState<BrownDurakRules>) -> Vec<Action> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `defensive_options` is never used
[INFO] [stderr]    --> durak-core/src/rules.rs:165:8
[INFO] [stderr]     |
[INFO] [stderr] 165 |     fn defensive_options(state: &GameState<BrownDurakRules>) -> Vec<Action> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `defences` is never used
[INFO] [stderr]    --> durak-core/src/rules.rs:183:8
[INFO] [stderr]     |
[INFO] [stderr] 183 |     fn defences(
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `passes` is never used
[INFO] [stderr]    --> durak-core/src/rules.rs:196:8
[INFO] [stderr]     |
[INFO] [stderr] 196 |     fn passes(hand: &[Card], state: &GameState<BrownDurakRules>) -> impl Iterator<Item = Action> {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `Table` is never used
[INFO] [stderr]   --> durak-core/src/state.rs:12:6
[INFO] [stderr]    |
[INFO] [stderr] 12 | type Table = Vec<(Card, Option<Card>)>;
[INFO] [stderr]    |      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GameState` is never constructed
[INFO] [stderr]   --> durak-core/src/state.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub struct GameState<R: Ruleset + ?Sized> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ObservedState` is never constructed
[INFO] [stderr]   --> durak-core/src/state.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub struct ObservedState<'s, R: Ruleset + ?Sized> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> durak-core/src/state.rs:49:12
[INFO] [stderr]     |
[INFO] [stderr]  48 | impl<R: Ruleset + ?Sized> GameState<R> {
[INFO] [stderr]     | -------------------------------------- associated items in this implementation
[INFO] [stderr]  49 |     pub fn new(num_players: usize, rng: &mut impl Rng) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<R> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  92 |     pub fn get_next_active(&self, from: usize) -> usize {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 100 |     pub fn table_contains_rank(&self, rank: Rank) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 107 |     pub fn undefended_attacks(&self) -> usize {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 114 |     pub fn table_full(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 118 |     pub fn draw_up_to_size(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Phase` is never used
[INFO] [stderr]    --> durak-core/src/state.rs:146:10
[INFO] [stderr]     |
[INFO] [stderr] 146 | pub enum Phase {
[INFO] [stderr]     |          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> durak-core/src/state.rs:73:26
[INFO] [stderr]    |
[INFO] [stderr] 73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<R> {
[INFO] [stderr]    |                          ^^^^^                    ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                          |
[INFO] [stderr]    |                          the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 73 |     pub fn as_visible_to(&self, player: usize) -> ObservedState<'_, R> {
[INFO] [stderr]    |                                                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: `durak-core` (lib) generated 27 warnings (run `cargo fix --lib -p durak-core` to apply 2 suggestions)
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> durak-core/src/state.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub struct ObservedState<'s, R: Ruleset + ?Sized> {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] 32 |     pub my_hand: &'s [Card],
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 33 |     pub my_player_no: usize,
[INFO] [stderr] 34 |     pub active_player: usize,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr] 35 |     pub attackers: &'s [usize],
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 36 |     pub defender: usize,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 37 |     pub trump: Suit,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 38 |     pub table: &'s Table,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 39 |     pub discard_len: usize,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 40 |     pub deck_len: usize,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 41 |     pub deck_last_card: Option<&'s Card>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 42 |     pub hand_sizes: Vec<usize>,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 43 |     pub finish_order: &'s [usize],
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 44 |     pub phase: Phase,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ObservedState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `durak-core` (lib test) generated 3 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/durak_core-9e7575d3963dd6b6)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test::test has been running for over 60 seconds
[INFO] [stderr] error: test failed, to rerun pass `-p durak-core --lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/deps/durak_core-9e7575d3963dd6b6` (signal: 9, SIGKILL: kill)
[INFO] running `Command { std: "docker" "inspect" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8", kill_on_drop: false }`
[INFO] [stdout] 4648a0e026d5fc0c5f9b3f134606ae81fa228c4a9b0ac7f201fd362dccf944d8
