[INFO] cloning repository https://github.com/bunburya/hnefatafl-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bunburya/hnefatafl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbunburya%2Fhnefatafl-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbunburya%2Fhnefatafl-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8a8d74e0e7ffab8b2bc738c9fa760b2875434a44
[INFO] testing bunburya/hnefatafl-rs against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbunburya%2Fhnefatafl-rs" "/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/bunburya/hnefatafl-rs
[INFO] finished tweaking git repo https://github.com/bunburya/hnefatafl-rs
[INFO] tweaked toml for git repo https://github.com/bunburya/hnefatafl-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bunburya/hnefatafl-rs on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bunburya/hnefatafl-rs 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.89
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a86d4d391d32a8841f4d15f0a3d11166dda4027f53333c29a2156f18535a485c
[INFO] running `Command { std: "docker" "start" "-a" "a86d4d391d32a8841f4d15f0a3d11166dda4027f53333c29a2156f18535a485c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a86d4d391d32a8841f4d15f0a3d11166dda4027f53333c29a2156f18535a485c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a86d4d391d32a8841f4d15f0a3d11166dda4027f53333c29a2156f18535a485c", kill_on_drop: false }`
[INFO] [stdout] a86d4d391d32a8841f4d15f0a3d11166dda4027f53333c29a2156f18535a485c
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4be0c419badeeef9f9ccd365ef73925cdc0fcaa0054a0660099d64291a195435
[INFO] running `Command { std: "docker" "start" "-a" "4be0c419badeeef9f9ccd365ef73925cdc0fcaa0054a0660099d64291a195435", kill_on_drop: false }`
[INFO] [stderr]    Compiling hnefatafl v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::board::state::BoardState`
[INFO] [stdout]  --> src/game/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::board::state::BoardState;
[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: `SubAssign`
[INFO] [stdout]  --> src/tiles.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Add, Sub, SubAssign};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::state::BoardState`
[INFO] [stdout]   --> src/play.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::board::state::BoardState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AxisOffset`
[INFO] [stdout]  --> src/board/geometry.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::tiles::{AxisOffset, Coords, RowColOffset, Tile, TileIterator};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Guard` and `Mercenary`
[INFO] [stdout]  --> src/collections/piecemap.rs:3:66
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::pieces::PieceType::{King, Soldier, Knight, Commander, Guard, Mercenary};
[INFO] [stdout]   |                                                                  ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]  --> src/big_bitfields.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `clear_tiles`, `swap_pieces`, `from_display_str`, `occupied_by`, and `occupied_by_any` are never used
[INFO] [stdout]    --> src/board/state.rs:44:8
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl<P: PieceMap> BoardState<P> {
[INFO] [stdout]     | ------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  44 |     fn clear_tiles(&mut self, tiles: &TileSet<P::BitField>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     fn swap_pieces(&mut self, t1: Tile, t2: Tile) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     fn from_display_str(display_str: &str) -> Result<Self, ParseError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn occupied_by(&self, piece_set: &PieceSet) -> TileSet<P::BitField> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn occupied_by_any(&self) -> TileSet<P::BitField> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "4be0c419badeeef9f9ccd365ef73925cdc0fcaa0054a0660099d64291a195435", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4be0c419badeeef9f9ccd365ef73925cdc0fcaa0054a0660099d64291a195435", kill_on_drop: false }`
[INFO] [stdout] 4be0c419badeeef9f9ccd365ef73925cdc0fcaa0054a0660099d64291a195435
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 189b2956729d30cd64052299967100b2376115f539aa0afe74dd286771f73a07
[INFO] running `Command { std: "docker" "start" "-a" "189b2956729d30cd64052299967100b2376115f539aa0afe74dd286771f73a07", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling virtue v0.0.18
[INFO] [stderr]    Compiling unty v0.0.4
[INFO] [stdout] warning: unused import: `crate::board::state::BoardState`
[INFO] [stdout]  --> src/game/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::board::state::BoardState;
[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: `SubAssign`
[INFO] [stdout]  --> src/tiles.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Add, Sub, SubAssign};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::state::BoardState`
[INFO] [stdout]   --> src/play.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::board::state::BoardState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AxisOffset`
[INFO] [stdout]  --> src/board/geometry.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::tiles::{AxisOffset, Coords, RowColOffset, Tile, TileIterator};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Guard` and `Mercenary`
[INFO] [stdout]  --> src/collections/piecemap.rs:3:66
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::pieces::PieceType::{King, Soldier, Knight, Commander, Guard, Mercenary};
[INFO] [stdout]   |                                                                  ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]  --> src/big_bitfields.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `clear_tiles`, `swap_pieces`, `from_display_str`, `occupied_by`, and `occupied_by_any` are never used
[INFO] [stdout]    --> src/board/state.rs:44:8
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl<P: PieceMap> BoardState<P> {
[INFO] [stdout]     | ------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  44 |     fn clear_tiles(&mut self, tiles: &TileSet<P::BitField>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     fn swap_pieces(&mut self, t1: Tile, t2: Tile) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     fn from_display_str(display_str: &str) -> Result<Self, ParseError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn occupied_by(&self, piece_set: &PieceSet) -> TileSet<P::BitField> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn occupied_by_any(&self) -> TileSet<P::BitField> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bincode_derive v2.0.1
[INFO] [stderr]    Compiling bincode v2.0.1
[INFO] [stderr]    Compiling hnefatafl v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::board::state::BoardState`
[INFO] [stdout]  --> src/game/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::board::state::BoardState;
[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: `SubAssign`
[INFO] [stdout]  --> src/tiles.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Add, Sub, SubAssign};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::state::BoardState`
[INFO] [stdout]   --> src/play.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::board::state::BoardState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AxisOffset`
[INFO] [stdout]  --> src/board/geometry.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::tiles::{AxisOffset, Coords, RowColOffset, Tile, TileIterator};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Guard` and `Mercenary`
[INFO] [stdout]  --> src/collections/piecemap.rs:3:66
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::pieces::PieceType::{King, Soldier, Knight, Commander, Guard, Mercenary};
[INFO] [stdout]   |                                                                  ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]  --> src/big_bitfields.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `clear_tiles`, `occupied_by`, and `occupied_by_any` are never used
[INFO] [stdout]    --> src/board/state.rs:44:8
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl<P: PieceMap> BoardState<P> {
[INFO] [stdout]     | ------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  44 |     fn clear_tiles(&mut self, tiles: &TileSet<P::BitField>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn occupied_by(&self, piece_set: &PieceSet) -> TileSet<P::BitField> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn occupied_by_any(&self) -> TileSet<P::BitField> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.94s
[INFO] running `Command { std: "docker" "inspect" "189b2956729d30cd64052299967100b2376115f539aa0afe74dd286771f73a07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "189b2956729d30cd64052299967100b2376115f539aa0afe74dd286771f73a07", kill_on_drop: false }`
[INFO] [stdout] 189b2956729d30cd64052299967100b2376115f539aa0afe74dd286771f73a07
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 53fa428674397c201a2ae38c44b11013a8a00a93492804754d7f97aff0638f9a
[INFO] running `Command { std: "docker" "start" "-a" "53fa428674397c201a2ae38c44b11013a8a00a93492804754d7f97aff0638f9a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::board::state::BoardState`
[INFO] [stderr]  --> src/game/mod.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::board::state::BoardState;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SubAssign`
[INFO] [stderr]  --> src/tiles.rs:5:26
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::ops::{Add, Sub, SubAssign};
[INFO] [stderr]   |                          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::board::state::BoardState`
[INFO] [stderr]   --> src/play.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use crate::board::state::BoardState;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AxisOffset`
[INFO] [stderr]  --> src/board/geometry.rs:4:20
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::tiles::{AxisOffset, Coords, RowColOffset, Tile, TileIterator};
[INFO] [stderr]   |                    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Guard` and `Mercenary`
[INFO] [stderr]  --> src/collections/piecemap.rs:3:66
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::pieces::PieceType::{King, Soldier, Knight, Commander, Guard, Mercenary};
[INFO] [stderr]   |                                                                  ^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fmt::Formatter`
[INFO] [stderr]  --> src/big_bitfields.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::fmt::Formatter;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `clear_tiles`, `swap_pieces`, `from_display_str`, `occupied_by`, and `occupied_by_any` are never used
[INFO] [stderr]    --> src/board/state.rs:44:8
[INFO] [stderr]     |
[INFO] [stderr]  26 | impl<P: PieceMap> BoardState<P> {
[INFO] [stderr]     | ------------------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  44 |     fn clear_tiles(&mut self, tiles: &TileSet<P::BitField>) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  69 |     fn swap_pieces(&mut self, t1: Tile, t2: Tile) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  89 |     fn from_display_str(display_str: &str) -> Result<Self, ParseError> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 136 |     fn occupied_by(&self, piece_set: &PieceSet) -> TileSet<P::BitField> {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 141 |     fn occupied_by_any(&self) -> TileSet<P::BitField> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `hnefatafl` (lib) generated 7 warnings (run `cargo fix --lib -p hnefatafl` to apply 6 suggestions)
[INFO] [stderr] warning: methods `clear_tiles`, `occupied_by`, and `occupied_by_any` are never used
[INFO] [stderr]    --> src/board/state.rs:44:8
[INFO] [stderr]     |
[INFO] [stderr]  26 | impl<P: PieceMap> BoardState<P> {
[INFO] [stderr]     | ------------------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  44 |     fn clear_tiles(&mut self, tiles: &TileSet<P::BitField>) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 136 |     fn occupied_by(&self, piece_set: &PieceSet) -> TileSet<P::BitField> {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 141 |     fn occupied_by_any(&self) -> TileSet<P::BitField> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `hnefatafl` (lib test) generated 7 warnings (6 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hnefatafl-6670c7681c3e370a)
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stdout] test board::geometry::tests::test_neighbors ... ok
[INFO] [stdout] test board::state::tests::test_from_str ... ok
[INFO] [stdout] test big_bitfields::tests::test_bbf ... ok
[INFO] [stdout] test board::state::tests::test_count_pieces ... ok
[INFO] [stdout] test board::state::tests::test_iter_occupied ... ok
[INFO] [stdout] test board::geometry::tests::test_far_tile ... ok
[INFO] [stdout] test game::logic::tests::test_can_jump ... ok
[INFO] [stdout] test game::logic::tests::test_can_play ... ok
[INFO] [stdout] test board::state::tests::test_piece_movement ... ok
[INFO] [stdout] test game::logic::tests::test_linnaean_capture ... ok
[INFO] [stdout] test game::logic::tests::test_exit_forts ... ok
[INFO] [stdout] test game::logic::tests::test_strong_king_capture ... ok
[INFO] [stdout] test board::state::tests::test_swap_pieces ... ok
[INFO] [stdout] test game::logic::tests::test_play_validity ... ok
[INFO] [stdout] test game::logic::tests::test_enclosures ... ok
[INFO] [stdout] test game::logic::tests::test_encl_secure ... ok
[INFO] [stdout] test game::logic::tests::test_repetitions ... ok
[INFO] [stdout] test game::logic::tests::test_shieldwalls ... ok
[INFO] [stdout] test game::logic::tests::test_play_outcome ... ok
[INFO] [stdout] test game::tests::test_iter_plays ... ok
[INFO] [stdout] test pieces::tests::test_empty ... ok
[INFO] [stdout] test game::tests::test_undo ... ok
[INFO] [stdout] test pieces::tests::test_king_only ... ok
[INFO] [stdout] test tiles::tests::test_parsing_moves ... ok
[INFO] [stdout] test tiles::tests::test_parsing_tiles ... ok
[INFO] [stdout] test tiles::tests::test_tile_creation ... ok
[INFO] [stdout] test game::tests::test_big_board ... ok
[INFO] [stdout] test tiles::tests::test_moves ... ok
[INFO] [stdout] test pieces::tests::test_piece_set ... ok
[INFO] [stderr]      Running tests/test_real_games.rs (/opt/rustwide/target/debug/deps/test_real_games-fb6373edf5389fdf)
[INFO] [stdout] test collections::tileset::tests::basic_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_real_brandubh ... ok
[INFO] [stdout] test test_real_copenhagen ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.23s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests hnefatafl
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "53fa428674397c201a2ae38c44b11013a8a00a93492804754d7f97aff0638f9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53fa428674397c201a2ae38c44b11013a8a00a93492804754d7f97aff0638f9a", kill_on_drop: false }`
[INFO] [stdout] 53fa428674397c201a2ae38c44b11013a8a00a93492804754d7f97aff0638f9a
