[INFO] updating cached repository https://github.com/bachrc/tic-tac-toe-remix-kata [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bffcfe9c6fb876eaf24e481ec45c611794029486 [INFO] checking bachrc/tic-tac-toe-remix-kata/bffcfe9c6fb876eaf24e481ec45c611794029486 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbachrc%2Ftic-tac-toe-remix-kata" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bachrc/tic-tac-toe-remix-kata on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bachrc/tic-tac-toe-remix-kata [INFO] finished tweaking git repo https://github.com/bachrc/tic-tac-toe-remix-kata [INFO] tweaked toml for git repo https://github.com/bachrc/tic-tac-toe-remix-kata written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bachrc/tic-tac-toe-remix-kata 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1164f6a0c4a2f8f2404583be182ef3c04252fd227440514ccbbdf84716499cc5 [INFO] running `Command { std: "docker" "start" "-a" "1164f6a0c4a2f8f2404583be182ef3c04252fd227440514ccbbdf84716499cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1164f6a0c4a2f8f2404583be182ef3c04252fd227440514ccbbdf84716499cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1164f6a0c4a2f8f2404583be182ef3c04252fd227440514ccbbdf84716499cc5", kill_on_drop: false }` [INFO] [stdout] 1164f6a0c4a2f8f2404583be182ef3c04252fd227440514ccbbdf84716499cc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d81098932c46019f596b82d1ed2f9eba6c544b76b8dfdda080c6c8c521a8057 [INFO] running `Command { std: "docker" "start" "-a" "2d81098932c46019f596b82d1ed2f9eba6c544b76b8dfdda080c6c8c521a8057", kill_on_drop: false }` [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking kata-morpion-2-ceh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/entities/grid.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Grid { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/entities/grid.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Grid { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(size: usize) -> Grid { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn compute_representation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn game_state(&self) -> GameState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn tick(&mut self, coordinates: &Coordinates, tick_type: &TickType) -> Result<(), TicTacToeError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn is_there_an_horizontal_winner(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn is_there_a_vertical_winner(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn fetch_vertical_line_at(&self, x: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn is_grid_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn fetch_line_at(&mut self, index: usize) -> Option<&mut Line> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coordinates` is never constructed [INFO] [stdout] --> src/entities/coordinates.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Coordinates { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/entities/coordinates.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Coordinates { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 7 | pub fn from(x: usize, y: usize) -> Coordinates { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `play` are never used [INFO] [stdout] --> src/entities/player.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Player { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(name: &str, tick_type: TickType) -> Player { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn play(&self, coordinates: &Coordinates, grid: &mut Grid) -> Result<(), TicTacToeError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nought` and `Cross` are never constructed [INFO] [stdout] --> src/entities/ticktype.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TickType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 3 | Nought, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | Cross [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TickType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compute_representation` is never used [INFO] [stdout] --> src/entities/ticktype.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl TickType { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 8 | pub fn compute_representation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress`, `Finished`, and `Won` are never constructed [INFO] [stdout] --> src/entities/gamestate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum GameState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | Finished, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | Won [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/entities/line.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/entities/line.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Line { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(size: usize) -> Line { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from(cells: Vec<&Cell>) -> Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn compute_representation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn tick(&mut self, coordinates: &Coordinates, tick_type: &TickType) -> Result<(), TicTacToeError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn is_cell_empty(&self, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn retrieve_cell_at(&self, index: usize) -> Result<&Cell, TicTacToeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_won(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from`, `is_empty`, `is_full`, and `compute_representation` are never used [INFO] [stdout] --> src/entities/cell.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Cell { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Cell{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from(tick_type: &TickType) -> Cell { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn compute_representation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MonItertools` is never used [INFO] [stdout] --> src/entities/tictactoechecker.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait MonItertools : Iterator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CellNotEmpty` and `CoordinateOutOfScope` are never constructed [INFO] [stdout] --> src/errors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TicTacToeError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 5 | CellNotEmpty, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | CoordinateOutOfScope [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TicTacToeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "2d81098932c46019f596b82d1ed2f9eba6c544b76b8dfdda080c6c8c521a8057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d81098932c46019f596b82d1ed2f9eba6c544b76b8dfdda080c6c8c521a8057", kill_on_drop: false }` [INFO] [stdout] 2d81098932c46019f596b82d1ed2f9eba6c544b76b8dfdda080c6c8c521a8057