[INFO] cloning repository https://github.com/Hoff97/connect-four [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hoff97/connect-four" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoff97%2Fconnect-four", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoff97%2Fconnect-four'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a662359b0749b0bce35928998ae40fd14599589 [INFO] checking Hoff97/connect-four/0a662359b0749b0bce35928998ae40fd14599589 against master#90b65889799733f21ebdf59d96411aa531c5900a for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoff97%2Fconnect-four" "/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/Hoff97/connect-four [INFO] finished tweaking git repo https://github.com/Hoff97/connect-four [INFO] tweaked toml for git repo https://github.com/Hoff97/connect-four written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hoff97/connect-four on toolchain 90b65889799733f21ebdf59d96411aa531c5900a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90b65889799733f21ebdf59d96411aa531c5900a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hoff97/connect-four 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" "+90b65889799733f21ebdf59d96411aa531c5900a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+90b65889799733f21ebdf59d96411aa531c5900a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c37398337184cf312f109f0c1e70c8ceffd94175663ded274c611a12395ac80c [INFO] running `Command { std: "docker" "start" "-a" "c37398337184cf312f109f0c1e70c8ceffd94175663ded274c611a12395ac80c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c37398337184cf312f109f0c1e70c8ceffd94175663ded274c611a12395ac80c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37398337184cf312f109f0c1e70c8ceffd94175663ded274c611a12395ac80c", kill_on_drop: false }` [INFO] [stdout] c37398337184cf312f109f0c1e70c8ceffd94175663ded274c611a12395ac80c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+90b65889799733f21ebdf59d96411aa531c5900a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdb5a2967770dfa0c75853bd2239d430e122d3416b005b3e87da00bca65b486e [INFO] running `Command { std: "docker" "start" "-a" "fdb5a2967770dfa0c75853bd2239d430e122d3416b005b3e87da00bca65b486e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking wasm-bindgen v0.2.100 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.4.5 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking fourrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GameResult` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::minmax::{GameResult, GameState, Player}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameResult` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::minmax::{GameResult, GameState, Player}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum import `GameResult` is private [INFO] [stdout] --> benches/game_benchmark.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use four::{BOARD_WIDTH, FourRow, GameAction, GameResult, Player}; [INFO] [stdout] | ^^^^^^^^^^ private enum import [INFO] [stdout] | [INFO] [stdout] note: the enum import `GameResult` is defined here... [INFO] [stdout] --> benches/../src/four.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::minmax::{GameState, Player, Tile, GameResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the enum `GameResult` which is defined here [INFO] [stdout] --> benches/../src/minmax.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum GameResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `GameResult` through the re-export [INFO] [stdout] | [INFO] [stdout] 13 | use four::{BOARD_WIDTH, FourRow, GameAction, minmax::GameResult, Player}; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum import `Player` is private [INFO] [stdout] --> benches/game_benchmark.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | use four::{BOARD_WIDTH, FourRow, GameAction, GameResult, Player}; [INFO] [stdout] | ^^^^^^ private enum import [INFO] [stdout] | [INFO] [stdout] note: the enum import `Player` is defined here... [INFO] [stdout] --> benches/../src/four.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::minmax::{GameState, Player, Tile, GameResult}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: ...and refers to the enum `Player` which is defined here [INFO] [stdout] --> benches/../src/minmax.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Player { [INFO] [stdout] | ^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `Player` through the re-export [INFO] [stdout] | [INFO] [stdout] 13 | use four::{BOARD_WIDTH, FourRow, GameAction, GameResult, minmax::Player}; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BOARD_WIDTH` [INFO] [stdout] --> benches/game_benchmark.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use four::{BOARD_WIDTH, FourRow, GameAction, GameResult, Player}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameAction` is never constructed [INFO] [stdout] --> src/four.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GameAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_WIDTH` is never used [INFO] [stdout] --> src/four.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const BOARD_WIDTH: usize = 7; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_HEIGHT` is never used [INFO] [stdout] --> src/four.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const BOARD_HEIGHT: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FourRow` is never constructed [INFO] [stdout] --> src/four.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FourRow { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/four.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl FourRow { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn heuristic(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn count_rows_of_three(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn check_three_in_line(&self, positions: [(usize, usize); 3]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn count_extension_sides(&self, positions: &[(usize, usize); 3]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn is_valid_extension_position(&self, pos: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_terminal(&self) -> GameResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tile` is never used [INFO] [stdout] --> src/minmax.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameResult` is never used [INFO] [stdout] --> src/minmax.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum GameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tile` is never used [INFO] [stdout] --> src/minmax.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn tile(&self) -> Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MainLineItem` is never constructed [INFO] [stdout] --> src/minmax.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct MainLineItem<'a, T: GameState> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_children`, `get_evaluation`, and `get_main_line` are never used [INFO] [stdout] --> src/minmax.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl GameTree { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 62 | pub fn new(state: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_children(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_evaluation(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_main_line<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameAction` is never constructed [INFO] [stdout] --> src/four.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GameAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_WIDTH` is never used [INFO] [stdout] --> src/four.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const BOARD_WIDTH: usize = 7; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_HEIGHT` is never used [INFO] [stdout] --> src/four.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const BOARD_HEIGHT: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FourRow` is never constructed [INFO] [stdout] --> src/four.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FourRow { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/four.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl FourRow { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn heuristic(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn count_rows_of_three(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn check_three_in_line(&self, positions: [(usize, usize); 3]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn count_extension_sides(&self, positions: &[(usize, usize); 3]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn is_valid_extension_position(&self, pos: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_terminal(&self) -> GameResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tile` is never used [INFO] [stdout] --> src/minmax.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameResult` is never used [INFO] [stdout] --> src/minmax.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum GameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tile` is never used [INFO] [stdout] --> src/minmax.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn tile(&self) -> Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MainLineItem` is never constructed [INFO] [stdout] --> src/minmax.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct MainLineItem<'a, T: GameState> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_children`, `get_evaluation`, and `get_main_line` are never used [INFO] [stdout] --> src/minmax.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl GameTree { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 62 | pub fn new(state: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_children(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_evaluation(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_main_line<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fourrow` (bench "game_benchmark") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `MainLineItem` is never constructed [INFO] [stdout] --> src/minmax.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct MainLineItem<'a, T: GameState> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_children`, `get_evaluation`, and `get_main_line` are never used [INFO] [stdout] --> src/minmax.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl GameTree { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 62 | pub fn new(state: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_children(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_evaluation(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_main_line<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MainLineItem` is never constructed [INFO] [stdout] --> src/minmax.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct MainLineItem<'a, T: GameState> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_children`, `get_evaluation`, and `get_main_line` are never used [INFO] [stdout] --> src/minmax.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl GameTree { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 62 | pub fn new(state: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_children(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_evaluation(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_main_line<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fdb5a2967770dfa0c75853bd2239d430e122d3416b005b3e87da00bca65b486e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb5a2967770dfa0c75853bd2239d430e122d3416b005b3e87da00bca65b486e", kill_on_drop: false }` [INFO] [stdout] fdb5a2967770dfa0c75853bd2239d430e122d3416b005b3e87da00bca65b486e