[INFO] cloning repository https://github.com/hemangandhi/tichu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hemangandhi/tichu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemangandhi%2Ftichu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemangandhi%2Ftichu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0c441cd5ba38b2148b04017f44b1ae28f33d2f79
[INFO] checking hemangandhi/tichu against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemangandhi%2Ftichu" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hemangandhi/tichu
[INFO] finished tweaking git repo https://github.com/hemangandhi/tichu
[INFO] tweaked toml for git repo https://github.com/hemangandhi/tichu written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hemangandhi/tichu on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hemangandhi/tichu 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 14 packages to latest compatible versions
[INFO] [stderr]       Adding cfg-if v1.0.4
[INFO] [stderr]     Updating getrandom v0.1.6 -> v0.2.17
[INFO] [stderr]     Updating libc v0.2.58 -> v0.2.186
[INFO] [stderr]     Updating ppv-lite86 v0.2.5 -> v0.2.21
[INFO] [stderr]       Adding proc-macro2 v1.0.106
[INFO] [stderr]       Adding quote v1.0.45
[INFO] [stderr]     Updating rand v0.7.0 -> v0.8.6 (available: v0.10.1)
[INFO] [stderr]     Updating rand_chacha v0.2.0 -> v0.3.1
[INFO] [stderr]     Updating rand_core v0.5.0 -> v0.6.4
[INFO] [stderr]       Adding syn v2.0.118
[INFO] [stderr]       Adding unicode-ident v1.0.24
[INFO] [stderr]       Adding wasi v0.11.1+wasi-snapshot-preview1
[INFO] [stderr]       Adding zerocopy v0.8.52
[INFO] [stderr]       Adding zerocopy-derive v0.8.52
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded parking_lot v0.7.1
[INFO] [stderr]   Downloaded cached v0.8.0
[INFO] [stderr]   Downloaded once_cell v0.1.8
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.52
[INFO] [stderr]   Downloaded bitflags v1.1.0
[INFO] [stderr]   Downloaded smallvec v0.6.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 280c5952fe43c5ee3767024f469e48388c34e16f93f3d22a47273345818d6214
[INFO] running `Command { std: "docker" "start" "280c5952fe43c5ee3767024f469e48388c34e16f93f3d22a47273345818d6214", 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" "280c5952fe43c5ee3767024f469e48388c34e16f93f3d22a47273345818d6214" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "280c5952fe43c5ee3767024f469e48388c34e16f93f3d22a47273345818d6214", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "280c5952fe43c5ee3767024f469e48388c34e16f93f3d22a47273345818d6214" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking once_cell v0.1.8
[INFO] [stderr]     Checking cached v0.8.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking tishu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/tichu/game.rs:357:57
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let mut hands: [PlayerCards; 4] = std::mem::uninitialized();
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/tichu/game.rs:357:57
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let mut hands: [PlayerCards; 4] = std::mem::uninitialized();
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `distance_to` and `point_value` are never used
[INFO] [stdout]   --> src/tichu/hand.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Value {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn distance_to(&self, other: &Self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn point_value(&self, keep_dragon: bool) -> i32 {
[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 `HandType` is never used
[INFO] [stdout]    --> src/tichu/hand.rs:133:10
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub enum HandType {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `num_cards` is never used
[INFO] [stdout]    --> src/tichu/hand.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 145 | impl HandType {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 146 |     pub fn num_cards(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hand` is never constructed
[INFO] [stdout]    --> src/tichu/hand.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub struct Hand<'a> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `groups_of_n_such_that` is never used
[INFO] [stdout]    --> src/tichu/hand.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn groups_of_n_such_that(n: u32, cond: Option<&Value>, use_pheonix: bool, unseen: &[Card]) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `length_n_straights_of_k_beating` is never used
[INFO] [stdout]    --> src/tichu/hand.rs:198:4
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn length_n_straights_of_k_beating(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_straight_flush_bombs` is never used
[INFO] [stdout]    --> src/tichu/hand.rs:247:4
[INFO] [stdout]     |
[INFO] [stdout] 247 | fn count_straight_flush_bombs(n_cards: u32, unseen_cards: &[Card]) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `value`, `is_bomb`, `num_non_bomb_plays_that_beat`, `is_pass`, and `probability_of_being_beaten` are never used
[INFO] [stdout]    --> src/tichu/hand.rs:262:12
[INFO] [stdout]     |
[INFO] [stdout] 261 | impl<'a> Hand<'a> {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] 262 |     pub fn value(&self, keep_dragon: bool) -> i32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 269 |     pub fn is_bomb(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     fn num_non_bomb_plays_that_beat(&self, unseen_cards: &[Card]) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 315 |     fn is_pass(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 319 |     pub fn probability_of_being_beaten(&self, unseen_cards: &[Card], opp_hand_size: u32) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NoCall`, `Tichu`, and `GrandTichu` are never constructed
[INFO] [stdout]    --> src/tichu/game.rs:245:5
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub enum TichuCall {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout] 244 |     NotYetPlayed,
[INFO] [stdout] 245 |     NoCall,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     Tichu(f64),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 250 |     GrandTichu(f64),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TichuCall` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `censor` is never used
[INFO] [stdout]    --> src/tichu/game.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 296 | impl TichuCall {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 297 |     pub fn censor(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/tichu/game.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub struct Game {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 308 |     pub players: [PlayerCards; 4],
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 309 |     pub slash_score: i32, // slash and cross are arbitrary, just
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 310 |     pub cross_score: i32, // to distinguish the teams (players know
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 311 |     // about their partner)
[INFO] [stdout] 312 |     turn_index: u8,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 313 |     tichu_calls: [TichuCall; 4],
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 314 |     pub expected_slash_points: i32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 315 |     pub expected_cross_points: i32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Player` is never used
[INFO] [stdout]    --> src/tichu/game.rs:318:11
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub trait Player {
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `play_move_helper`, `play_move`, `show_cards_to_player`, `swap_cards`, `do_pass`, and `play_game` are never used
[INFO] [stdout]    --> src/tichu/game.rs:383:8
[INFO] [stdout]     |
[INFO] [stdout] 345 | impl Game {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 383 |     fn play_move_helper<T: Player>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 447 |     fn play_move<T: Player>(
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 495 |     fn show_cards_to_player<T: Player>(cards: PlayerCards, player: &mut T) -> TichuCall {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 528 |     fn swap_cards(
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 557 |     fn do_pass<T: Player>(
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 627 |     pub fn play_game<T: Player>(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `distance_to` and `point_value` are never used
[INFO] [stdout]   --> src/tichu/hand.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Value {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn distance_to(&self, other: &Self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn point_value(&self, keep_dragon: bool) -> i32 {
[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 `HandType` is never used
[INFO] [stdout]    --> src/tichu/hand.rs:133:10
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub enum HandType {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `num_cards` is never used
[INFO] [stdout]    --> src/tichu/hand.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 145 | impl HandType {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 146 |     pub fn num_cards(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hand` is never constructed
[INFO] [stdout]    --> src/tichu/hand.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub struct Hand<'a> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `groups_of_n_such_that` is never used
[INFO] [stdout]    --> src/tichu/hand.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn groups_of_n_such_that(n: u32, cond: Option<&Value>, use_pheonix: bool, unseen: &[Card]) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `deck` should have an upper case name
[INFO] [stdout]   --> src/tichu/game.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub static deck: [hand::Card; 14 * 4] = [
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub static deck: [hand::Card; 14 * 4] = [
[INFO] [stdout] 14 + pub static DECK: [hand::Card; 14 * 4] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `length_n_straights_of_k_beating` is never used
[INFO] [stdout]    --> src/tichu/hand.rs:198:4
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn length_n_straights_of_k_beating(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_straight_flush_bombs` is never used
[INFO] [stdout]    --> src/tichu/hand.rs:247:4
[INFO] [stdout]     |
[INFO] [stdout] 247 | fn count_straight_flush_bombs(n_cards: u32, unseen_cards: &[Card]) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `value`, `is_bomb`, `num_non_bomb_plays_that_beat`, `is_pass`, and `probability_of_being_beaten` are never used
[INFO] [stdout]    --> src/tichu/hand.rs:262:12
[INFO] [stdout]     |
[INFO] [stdout] 261 | impl<'a> Hand<'a> {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] 262 |     pub fn value(&self, keep_dragon: bool) -> i32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 269 |     pub fn is_bomb(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     fn num_non_bomb_plays_that_beat(&self, unseen_cards: &[Card]) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 315 |     fn is_pass(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 319 |     pub fn probability_of_being_beaten(&self, unseen_cards: &[Card], opp_hand_size: u32) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NoCall`, `Tichu`, and `GrandTichu` are never constructed
[INFO] [stdout]    --> src/tichu/game.rs:245:5
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub enum TichuCall {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout] 244 |     NotYetPlayed,
[INFO] [stdout] 245 |     NoCall,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     Tichu(f64),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 250 |     GrandTichu(f64),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TichuCall` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `censor` is never used
[INFO] [stdout]    --> src/tichu/game.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 296 | impl TichuCall {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 297 |     pub fn censor(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/tichu/game.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub struct Game {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 308 |     pub players: [PlayerCards; 4],
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 309 |     pub slash_score: i32, // slash and cross are arbitrary, just
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 310 |     pub cross_score: i32, // to distinguish the teams (players know
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 311 |     // about their partner)
[INFO] [stdout] 312 |     turn_index: u8,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 313 |     tichu_calls: [TichuCall; 4],
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 314 |     pub expected_slash_points: i32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 315 |     pub expected_cross_points: i32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Player` is never used
[INFO] [stdout]    --> src/tichu/game.rs:318:11
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub trait Player {
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `play_move_helper`, `play_move`, `show_cards_to_player`, `swap_cards`, `do_pass`, and `play_game` are never used
[INFO] [stdout]    --> src/tichu/game.rs:383:8
[INFO] [stdout]     |
[INFO] [stdout] 345 | impl Game {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 383 |     fn play_move_helper<T: Player>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 447 |     fn play_move<T: Player>(
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 495 |     fn show_cards_to_player<T: Player>(cards: PlayerCards, player: &mut T) -> TichuCall {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 528 |     fn swap_cards(
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 557 |     fn do_pass<T: Player>(
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 627 |     pub fn play_game<T: Player>(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tichu/game.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |     fn play(&mut self, own_hand: PlayerCards) -> (hand::Hand, TichuCall);
[INFO] [stdout]     |             ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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] 321 |     fn play(&mut self, own_hand: PlayerCards) -> (hand::Hand<'_>, TichuCall);
[INFO] [stdout]     |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `deck` should have an upper case name
[INFO] [stdout]   --> src/tichu/game.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub static deck: [hand::Card; 14 * 4] = [
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub static deck: [hand::Card; 14 * 4] = [
[INFO] [stdout] 14 + pub static DECK: [hand::Card; 14 * 4] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tichu/game.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |     fn play(&mut self, own_hand: PlayerCards) -> (hand::Hand, TichuCall);
[INFO] [stdout]     |             ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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] 321 |     fn play(&mut self, own_hand: PlayerCards) -> (hand::Hand<'_>, TichuCall);
[INFO] [stdout]     |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[[Option<Card>; 14]; 4]` does not permit being left uninitialized
[INFO] [stdout]    --> src/tichu/game.rs:357:47
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let mut hands: [PlayerCards; 4] = std::mem::uninitialized();
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               this code causes undefined behavior when executed
[INFO] [stdout]     |                                               help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant
[INFO] [stdout]    --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/option.rs:597:0
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[[Option<Card>; 14]; 4]` does not permit being left uninitialized
[INFO] [stdout]    --> src/tichu/game.rs:357:47
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let mut hands: [PlayerCards; 4] = std::mem::uninitialized();
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               this code causes undefined behavior when executed
[INFO] [stdout]     |                                               help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant
[INFO] [stdout]    --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/option.rs:597:0
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.93s
[INFO] running `Command { std: "docker" "inspect" "280c5952fe43c5ee3767024f469e48388c34e16f93f3d22a47273345818d6214", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "280c5952fe43c5ee3767024f469e48388c34e16f93f3d22a47273345818d6214", kill_on_drop: false }`
[INFO] [stdout] 280c5952fe43c5ee3767024f469e48388c34e16f93f3d22a47273345818d6214
