[INFO] cloning 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" "clone" "--bare" "https://github.com/bachrc/tic-tac-toe-remix-kata" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbachrc%2Ftic-tac-toe-remix-kata", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbachrc%2Ftic-tac-toe-remix-kata'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bffcfe9c6fb876eaf24e481ec45c611794029486 [INFO] checking bachrc/tic-tac-toe-remix-kata against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbachrc%2Ftic-tac-toe-remix-kata" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bachrc/tic-tac-toe-remix-kata on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 377ab6b533e22dd806d69eca667c4f74a4e80ce8c5df0692549fc163fbac530e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "377ab6b533e22dd806d69eca667c4f74a4e80ce8c5df0692549fc163fbac530e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "377ab6b533e22dd806d69eca667c4f74a4e80ce8c5df0692549fc163fbac530e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377ab6b533e22dd806d69eca667c4f74a4e80ce8c5df0692549fc163fbac530e", kill_on_drop: false }` [INFO] [stdout] 377ab6b533e22dd806d69eca667c4f74a4e80ce8c5df0692549fc163fbac530e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a22266186c745be1efcb807a55f83e63284fd46a8ca65164a5d9328f0da591ec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a22266186c745be1efcb807a55f83e63284fd46a8ca65164a5d9328f0da591ec", 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: associated function is never used: `new` [INFO] [stdout] --> src/entities/grid.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(size: usize) -> Grid { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compute_representation` [INFO] [stdout] --> src/entities/grid.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn compute_representation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `game_state` [INFO] [stdout] --> src/entities/grid.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn game_state(&self) -> GameState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/entities/grid.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn tick(&mut self, coordinates: &Coordinates, tick_type: &TickType) -> Result<(), TicTacToeError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_there_an_horizontal_winner` [INFO] [stdout] --> src/entities/grid.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn is_there_an_horizontal_winner(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_there_a_vertical_winner` [INFO] [stdout] --> src/entities/grid.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn is_there_a_vertical_winner(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_vertical_line_at` [INFO] [stdout] --> src/entities/grid.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn fetch_vertical_line_at(&self, x: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_grid_full` [INFO] [stdout] --> src/entities/grid.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn is_grid_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_line_at` [INFO] [stdout] --> src/entities/grid.rs:77:8 [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 is never constructed: `Coordinates` [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 is never used: `from` [INFO] [stdout] --> src/entities/coordinates.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn from(x: usize, y: usize) -> Coordinates { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/entities/player.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(name: &str, tick_type: TickType) -> Player { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play` [INFO] [stdout] --> src/entities/player.rs:19:12 [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: variant is never constructed: `Nought` [INFO] [stdout] --> src/entities/ticktype.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Nought, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cross` [INFO] [stdout] --> src/entities/ticktype.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Cross [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compute_representation` [INFO] [stdout] --> src/entities/ticktype.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compute_representation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InProgress` [INFO] [stdout] --> src/entities/gamestate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Finished` [INFO] [stdout] --> src/entities/gamestate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Finished, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Won` [INFO] [stdout] --> src/entities/gamestate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Won [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/entities/line.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(size: usize) -> Line { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/entities/line.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn from(cells: Vec<&Cell>) -> Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compute_representation` [INFO] [stdout] --> src/entities/line.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn compute_representation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/entities/line.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn tick(&mut self, coordinates: &Coordinates, tick_type: &TickType) -> Result<(), TicTacToeError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_cell_empty` [INFO] [stdout] --> src/entities/line.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn is_cell_empty(&self, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `retrieve_cell_at` [INFO] [stdout] --> src/entities/line.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn retrieve_cell_at(&self, index: usize) -> Result<&Cell, TicTacToeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_won` [INFO] [stdout] --> src/entities/line.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn is_won(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_full` [INFO] [stdout] --> src/entities/line.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/entities/cell.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Cell{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/entities/cell.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn from(tick_type: &TickType) -> Cell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/entities/cell.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_full` [INFO] [stdout] --> src/entities/cell.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compute_representation` [INFO] [stdout] --> src/entities/cell.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn compute_representation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CellNotEmpty` [INFO] [stdout] --> src/errors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | CellNotEmpty, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CoordinateOutOfScope` [INFO] [stdout] --> src/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | CoordinateOutOfScope [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.74s [INFO] running `Command { std: "docker" "inspect" "a22266186c745be1efcb807a55f83e63284fd46a8ca65164a5d9328f0da591ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a22266186c745be1efcb807a55f83e63284fd46a8ca65164a5d9328f0da591ec", kill_on_drop: false }` [INFO] [stdout] a22266186c745be1efcb807a55f83e63284fd46a8ca65164a5d9328f0da591ec