[INFO] cloning repository https://github.com/ottoblep/schafkopf-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ottoblep/schafkopf-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fottoblep%2Fschafkopf-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fottoblep%2Fschafkopf-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 943a88615c933d75df90734bfd82ee422f07d9f4 [INFO] checking ottoblep/schafkopf-engine against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fottoblep%2Fschafkopf-engine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ottoblep/schafkopf-engine on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ottoblep/schafkopf-engine [INFO] finished tweaking git repo https://github.com/ottoblep/schafkopf-engine [INFO] tweaked toml for git repo https://github.com/ottoblep/schafkopf-engine written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ottoblep/schafkopf-engine 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56cf197251e0766c07edb464ab55ddbd8d9d0babba0c5885cf16a0b1bd4683e1 [INFO] running `Command { std: "docker" "start" "-a" "56cf197251e0766c07edb464ab55ddbd8d9d0babba0c5885cf16a0b1bd4683e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56cf197251e0766c07edb464ab55ddbd8d9d0babba0c5885cf16a0b1bd4683e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56cf197251e0766c07edb464ab55ddbd8d9d0babba0c5885cf16a0b1bd4683e1", kill_on_drop: false }` [INFO] [stdout] 56cf197251e0766c07edb464ab55ddbd8d9d0babba0c5885cf16a0b1bd4683e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8c620e09b914bd794797cc84d50fb3b733f18507d3dda0c6d091ba1f926de1e [INFO] running `Command { std: "docker" "start" "-a" "e8c620e09b914bd794797cc84d50fb3b733f18507d3dda0c6d091ba1f926de1e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking strum v0.17.1 [INFO] [stderr] Checking hamming v0.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling strum_macros v0.17.1 [INFO] [stderr] Checking schafkopf-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::table::rulesets::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::table::rulesets::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::table::Game` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::table::Game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::table::rulesets::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::table::rulesets::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::table::Game` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::table::Game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/table.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | cards: &HashMap, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/table.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | cards: &HashMap, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `winner`, `play_turn`, `vorhand`, and `first_card` are never read [INFO] [stdout] --> src/table.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub winner: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub play_turn: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub vorhand: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | pub first_card: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `card_is_valid`, `has_color_in_hand`, `has_trump_in_hand`, `determine_round_winner`, and `determine_game_winner` are never used [INFO] [stdout] --> src/table.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn card_is_valid(&self, card: &Card) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn has_color_in_hand(&self, color: Colors, hand: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn has_trump_in_hand(&self, hand: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn determine_round_winner(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn determine_game_winner(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EICHEL_SAUSPIEL` is never used [INFO] [stdout] --> src/table/rulesets.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub static EICHEL_SAUSPIEL: Ruleset = Ruleset { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GRAS_SAUSPIEL` is never used [INFO] [stdout] --> src/table/rulesets.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub static GRAS_SAUSPIEL: Ruleset = Ruleset { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SCHELLEN_SAUSPIEL` is never used [INFO] [stdout] --> src/table/rulesets.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub static SCHELLEN_SAUSPIEL: Ruleset = Ruleset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WENZ` is never used [INFO] [stdout] --> src/table/rulesets.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub static WENZ: Ruleset = Ruleset { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AnnounceNone` should have a snake case name [INFO] [stdout] --> src/table/state.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn AnnounceNone(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `announce_none` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AnnounceSome` should have a snake case name [INFO] [stdout] --> src/table/state.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn AnnounceSome(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `announce_some` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `PlayCard` should have a snake case name [INFO] [stdout] --> src/table/state.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn PlayCard(&mut self) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `play_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NextRound` should have a snake case name [INFO] [stdout] --> src/table/state.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn NextRound(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Finish` should have a snake case name [INFO] [stdout] --> src/table/state.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn Finish(&mut self) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `finish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `winner`, `play_turn`, `vorhand`, and `first_card` are never read [INFO] [stdout] --> src/table.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub winner: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub play_turn: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub vorhand: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | pub first_card: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `card_is_valid`, `has_color_in_hand`, `has_trump_in_hand`, `determine_round_winner`, and `determine_game_winner` are never used [INFO] [stdout] --> src/table.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn card_is_valid(&self, card: &Card) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn has_color_in_hand(&self, color: Colors, hand: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn has_trump_in_hand(&self, hand: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn determine_round_winner(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn determine_game_winner(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WENZ` is never used [INFO] [stdout] --> src/table/rulesets.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub static WENZ: Ruleset = Ruleset { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AnnounceNone` should have a snake case name [INFO] [stdout] --> src/table/state.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn AnnounceNone(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `announce_none` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AnnounceSome` should have a snake case name [INFO] [stdout] --> src/table/state.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn AnnounceSome(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `announce_some` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `PlayCard` should have a snake case name [INFO] [stdout] --> src/table/state.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn PlayCard(&mut self) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `play_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NextRound` should have a snake case name [INFO] [stdout] --> src/table/state.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn NextRound(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Finish` should have a snake case name [INFO] [stdout] --> src/table/state.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn Finish(&mut self) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `finish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "e8c620e09b914bd794797cc84d50fb3b733f18507d3dda0c6d091ba1f926de1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c620e09b914bd794797cc84d50fb3b733f18507d3dda0c6d091ba1f926de1e", kill_on_drop: false }` [INFO] [stdout] e8c620e09b914bd794797cc84d50fb3b733f18507d3dda0c6d091ba1f926de1e