[INFO] cloning repository https://github.com/cosmobobak/iridium-oxide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cosmobobak/iridium-oxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmobobak%2Firidium-oxide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmobobak%2Firidium-oxide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5cc6fc36e4ac5fa55b068c6eaf766211c225aa9 [INFO] checking cosmobobak/iridium-oxide against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmobobak%2Firidium-oxide" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cosmobobak/iridium-oxide [INFO] finished tweaking git repo https://github.com/cosmobobak/iridium-oxide [INFO] tweaked toml for git repo https://github.com/cosmobobak/iridium-oxide written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cosmobobak/iridium-oxide on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cosmobobak/iridium-oxide 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastapprox v0.3.1 [INFO] [stderr] Downloaded cozy-chess-types v0.2.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.7 [INFO] [stderr] Downloaded crossbeam-utils v0.8.7 [INFO] [stderr] Downloaded cozy-chess v0.3.1 [INFO] [stderr] Downloaded libc v0.2.118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af2198f79e50368e6c177634f63c184a31d369289364fdf0c9288b94d4aba4ee [INFO] running `Command { std: "docker" "start" "-a" "af2198f79e50368e6c177634f63c184a31d369289364fdf0c9288b94d4aba4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af2198f79e50368e6c177634f63c184a31d369289364fdf0c9288b94d4aba4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af2198f79e50368e6c177634f63c184a31d369289364fdf0c9288b94d4aba4ee", kill_on_drop: false }` [INFO] [stdout] af2198f79e50368e6c177634f63c184a31d369289364fdf0c9288b94d4aba4ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e66adbf56bbd1970c1d20abee911b99a274931aa5b17941dd55202c9c68bab9b [INFO] running `Command { std: "docker" "start" "-a" "e66adbf56bbd1970c1d20abee911b99a274931aa5b17941dd55202c9c68bab9b", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling cozy-chess-types v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking fastapprox v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cozy-chess v0.3.1 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking iridium-oxide v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mcts.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 707 | return fused_distribution.iter().enumerate().max_by_key(|(i, v)| **v).unwrap().0; [INFO] [stdout] | -------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 708 | let total_rollouts = fused_distribution.iter().sum::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mcts.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 707 | return fused_distribution.iter().enumerate().max_by_key(|(i, v)| **v).unwrap().0; [INFO] [stdout] | -------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 708 | let total_rollouts = fused_distribution.iter().sum::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mcts.rs:707:63 [INFO] [stdout] | [INFO] [stdout] 707 | return fused_distribution.iter().enumerate().max_by_key(|(i, v)| **v).unwrap().0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_rollouts` [INFO] [stdout] --> src/mcts.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | let total_rollouts = fused_distribution.iter().sum::(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_rollouts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prob_vector` [INFO] [stdout] --> src/mcts.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | let prob_vector = fused_distribution [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prob_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rfloat` [INFO] [stdout] --> src/mcts.rs:719:9 [INFO] [stdout] | [INFO] [stdout] 719 | let rfloat = rand::thread_rng().gen_range(0.0..1.0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rfloat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cumulative_probability` [INFO] [stdout] --> src/mcts.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | let mut cumulative_probability = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cumulative_probability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `choice` [INFO] [stdout] --> src/mcts.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 721 | let mut choice = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_choice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mcts.rs:722:10 [INFO] [stdout] | [INFO] [stdout] 722 | for (i, &prob) in prob_vector.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prob` [INFO] [stdout] --> src/mcts.rs:722:14 [INFO] [stdout] | [INFO] [stdout] 722 | for (i, &prob) in prob_vector.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `csv_header` is never used [INFO] [stdout] --> src/datageneration.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub trait VectoriseState: Game { [INFO] [stdout] | -------------- associated function in this trait [INFO] [stdout] 91 | fn csv_header() -> String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/game.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait MoveBuffer: Debug + Default + Index + Display { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_moves` is never used [INFO] [stdout] --> src/game.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Game: Clone + Eq + Debug + Display + Default + Send + Sync { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn sort_moves(&mut self, _moves: &mut Self::Buffer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_WIDTH` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const BOARD_WIDTH: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_HEIGHT` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BOARD_HEIGHT: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_PIECE` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const NO_PIECE: u8 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `X` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const X: u8 = 1; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `O` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const O: u8 = 2; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_FORCED_BOX` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const NO_FORCED_BOX: u8 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_MOVE` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const NO_MOVE: Move = Move(81); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Undo` is never constructed [INFO] [stdout] --> src/games/ultimatetictactoe.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Undo { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Move` is never constructed [INFO] [stdout] --> src/games/ultimatetictactoe.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Move(u8); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UltimateTicTacToe` is never constructed [INFO] [stdout] --> src/games/ultimatetictactoe.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct UltimateTicTacToe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 57 | impl UltimateTicTacToe { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 58 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Buffer` is never constructed [INFO] [stdout] --> src/games/ultimatetictactoe.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct Buffer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BitIterable` is never used [INFO] [stdout] --> src/iterbits.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BitIterable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterBits` is never constructed [INFO] [stdout] --> src/iterbits.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IterBits { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rollout_cutoff_length` is never used [INFO] [stdout] --> src/mcts.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub trait MCTSExt: Game { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 302 | fn rollout_cutoff_length() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameRecord` is never constructed [INFO] [stdout] --> src/record.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct GameRecord { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameRecordHeader` is never constructed [INFO] [stdout] --> src/record.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct GameRecordHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameRecordEntry` is never constructed [INFO] [stdout] --> src/record.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct GameRecordEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_entry`, `write_to`, and `read_from` are never used [INFO] [stdout] --> src/record.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl GameRecord { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 35 | /// Creates a new game record. [INFO] [stdout] 36 | fn new(header: GameRecordHeader) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn add_entry(&mut self, entry: GameRecordEntry) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn write_to(&self, mut writer: W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn read_from(mut reader: R) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn iter(&self) -> std::slice::Iter; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | fn iter(&self) -> std::slice::Iter<'_, Move>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/games/chess.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | fn iter(&self) -> std::slice::Iter<'_, Move> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/games/connectfour.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 305 | fn iter(&self) -> std::slice::Iter<'_, C4Move> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/games/gomoku.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | fn iter(&self) -> std::slice::Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | fn iter(&self) -> std::slice::Iter<'_, Move> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/games/tictactoe.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | fn iter(&self) -> std::slice::Iter<'_, TicTacToeMove> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/games/ultimatetictactoe.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | fn iter(&self) -> std::slice::Iter<'_, Move> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mcts.rs:707:63 [INFO] [stdout] | [INFO] [stdout] 707 | return fused_distribution.iter().enumerate().max_by_key(|(i, v)| **v).unwrap().0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_rollouts` [INFO] [stdout] --> src/mcts.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | let total_rollouts = fused_distribution.iter().sum::(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_rollouts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prob_vector` [INFO] [stdout] --> src/mcts.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | let prob_vector = fused_distribution [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prob_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rfloat` [INFO] [stdout] --> src/mcts.rs:719:9 [INFO] [stdout] | [INFO] [stdout] 719 | let rfloat = rand::thread_rng().gen_range(0.0..1.0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rfloat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cumulative_probability` [INFO] [stdout] --> src/mcts.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | let mut cumulative_probability = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cumulative_probability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `choice` [INFO] [stdout] --> src/mcts.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 721 | let mut choice = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_choice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mcts.rs:722:10 [INFO] [stdout] | [INFO] [stdout] 722 | for (i, &prob) in prob_vector.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prob` [INFO] [stdout] --> src/mcts.rs:722:14 [INFO] [stdout] | [INFO] [stdout] 722 | for (i, &prob) in prob_vector.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `csv_header` is never used [INFO] [stdout] --> src/datageneration.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub trait VectoriseState: Game { [INFO] [stdout] | -------------- associated function in this trait [INFO] [stdout] 91 | fn csv_header() -> String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/game.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait MoveBuffer: Debug + Default + Index + Display { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_moves` is never used [INFO] [stdout] --> src/game.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Game: Clone + Eq + Debug + Display + Default + Send + Sync { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn sort_moves(&mut self, _moves: &mut Self::Buffer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_WIDTH` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const BOARD_WIDTH: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_HEIGHT` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BOARD_HEIGHT: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_PIECE` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const NO_PIECE: u8 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `X` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const X: u8 = 1; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `O` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const O: u8 = 2; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_FORCED_BOX` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const NO_FORCED_BOX: u8 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_MOVE` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const NO_MOVE: Move = Move(81); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Undo` is never constructed [INFO] [stdout] --> src/games/ultimatetictactoe.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Undo { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Move` is never constructed [INFO] [stdout] --> src/games/ultimatetictactoe.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Move(u8); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UltimateTicTacToe` is never constructed [INFO] [stdout] --> src/games/ultimatetictactoe.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct UltimateTicTacToe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/games/ultimatetictactoe.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 57 | impl UltimateTicTacToe { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 58 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Buffer` is never constructed [INFO] [stdout] --> src/games/ultimatetictactoe.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct Buffer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BitIterable` is never used [INFO] [stdout] --> src/iterbits.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BitIterable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterBits` is never constructed [INFO] [stdout] --> src/iterbits.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IterBits { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rollout_cutoff_length` is never used [INFO] [stdout] --> src/mcts.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub trait MCTSExt: Game { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 302 | fn rollout_cutoff_length() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn iter(&self) -> std::slice::Iter; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | fn iter(&self) -> std::slice::Iter<'_, Move>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/games/chess.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | fn iter(&self) -> std::slice::Iter<'_, Move> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/games/connectfour.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 305 | fn iter(&self) -> std::slice::Iter<'_, C4Move> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/games/gomoku.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | fn iter(&self) -> std::slice::Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | fn iter(&self) -> std::slice::Iter<'_, Move> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/games/tictactoe.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | fn iter(&self) -> std::slice::Iter<'_, TicTacToeMove> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/games/ultimatetictactoe.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | fn iter(&self) -> std::slice::Iter<'_, Move> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.03s [INFO] running `Command { std: "docker" "inspect" "e66adbf56bbd1970c1d20abee911b99a274931aa5b17941dd55202c9c68bab9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e66adbf56bbd1970c1d20abee911b99a274931aa5b17941dd55202c9c68bab9b", kill_on_drop: false }` [INFO] [stdout] e66adbf56bbd1970c1d20abee911b99a274931aa5b17941dd55202c9c68bab9b