[INFO] cloning repository https://github.com/double-free/cfr-kuhn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/double-free/cfr-kuhn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdouble-free%2Fcfr-kuhn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdouble-free%2Fcfr-kuhn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c6862bb5f607317d99421a2ad7d5d2eddcfca44 [INFO] checking double-free/cfr-kuhn against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdouble-free%2Fcfr-kuhn" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/double-free/cfr-kuhn [INFO] finished tweaking git repo https://github.com/double-free/cfr-kuhn [INFO] tweaked toml for git repo https://github.com/double-free/cfr-kuhn written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/double-free/cfr-kuhn on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/double-free/cfr-kuhn 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0445d8769303f41a040b85243bd960daa4b3ba68b73716a8ecc4fd7ad9dae16 [INFO] running `Command { std: "docker" "start" "-a" "b0445d8769303f41a040b85243bd960daa4b3ba68b73716a8ecc4fd7ad9dae16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0445d8769303f41a040b85243bd960daa4b3ba68b73716a8ecc4fd7ad9dae16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0445d8769303f41a040b85243bd960daa4b3ba68b73716a8ecc4fd7ad9dae16", kill_on_drop: false }` [INFO] [stdout] b0445d8769303f41a040b85243bd960daa4b3ba68b73716a8ecc4fd7ad9dae16 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3528066ec467af912e3810d84285dccfe6c217534756cf22f3f0d1b37a95a51a [INFO] running `Command { std: "docker" "start" "-a" "3528066ec467af912e3810d84285dccfe6c217534756cf22f3f0d1b37a95a51a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking kuhn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `ok` is never read [INFO] [stdout] --> src/player/cfr_player.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let mut ok = writeln!(f, "money = {}, cfr info = ", self.money); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ok` is never read [INFO] [stdout] --> src/player/cfr_player.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | ok = writeln!(f, " {} - {}", info_set, node); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/player/cfr_player.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | for round in 0..iteration { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_id` [INFO] [stdout] --> src/player/cfr_player.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | let opponent_id = 1 - player_id; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ok` is never read [INFO] [stdout] --> src/player/cfr_player.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let mut ok = writeln!(f, "money = {}, cfr info = ", self.money); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ok` is never read [INFO] [stdout] --> src/player/cfr_player.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | ok = writeln!(f, " {} - {}", info_set, node); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/kuhn.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Action { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 23 | pub fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KuhnGame` is never constructed [INFO] [stdout] --> src/kuhn.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct KuhnGame { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_player`, and `start` are never used [INFO] [stdout] --> src/kuhn.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl KuhnGame { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 64 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn add_player(&mut self, mut p: Box) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn start(&mut self, total_round: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_action` is never used [INFO] [stdout] --> src/player/cfr_player.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl CfrNode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_action(&self) -> kuhn::Action { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_id` and `hand_card` are never read [INFO] [stdout] --> src/player/cfr_player.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct CfrPlayer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 129 | player_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 130 | hand_card: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cfr` is never used [INFO] [stdout] --> src/player/cfr_player.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 194 | impl CfrPlayer { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | fn cfr( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Player` is never used [INFO] [stdout] --> src/player/player.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Player: std::fmt::Display { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/player/cfr_player.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | for round in 0..iteration { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_id` [INFO] [stdout] --> src/player/cfr_player.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | let opponent_id = 1 - player_id; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/kuhn.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Action { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 23 | pub fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KuhnGame` is never constructed [INFO] [stdout] --> src/kuhn.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct KuhnGame { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_player`, and `start` are never used [INFO] [stdout] --> src/kuhn.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl KuhnGame { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 64 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn add_player(&mut self, mut p: Box) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn start(&mut self, total_round: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_action` is never used [INFO] [stdout] --> src/player/cfr_player.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl CfrNode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_action(&self) -> kuhn::Action { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_id` and `hand_card` are never read [INFO] [stdout] --> src/player/cfr_player.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct CfrPlayer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 129 | player_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 130 | hand_card: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cfr` is never used [INFO] [stdout] --> src/player/cfr_player.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 194 | impl CfrPlayer { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | fn cfr( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Player` is never used [INFO] [stdout] --> src/player/player.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Player: std::fmt::Display { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] running `Command { std: "docker" "inspect" "3528066ec467af912e3810d84285dccfe6c217534756cf22f3f0d1b37a95a51a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3528066ec467af912e3810d84285dccfe6c217534756cf22f3f0d1b37a95a51a", kill_on_drop: false }` [INFO] [stdout] 3528066ec467af912e3810d84285dccfe6c217534756cf22f3f0d1b37a95a51a