[INFO] cloning repository https://github.com/jpleo122/rustan
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jpleo122/rustan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpleo122%2Frustan", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpleo122%2Frustan'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fb0fc464e295bdd9da07f0a92ff41fa2eb44c403
[INFO] testing jpleo122/rustan against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpleo122%2Frustan" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jpleo122/rustan
[INFO] finished tweaking git repo https://github.com/jpleo122/rustan
[INFO] tweaked toml for git repo https://github.com/jpleo122/rustan written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jpleo122/rustan on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jpleo122/rustan 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c6df5cdd631cb1962c2b8e20d260e490b93ac91e934ea660a291d4031d4aa161
[INFO] running `Command { std: "docker" "start" "-a" "c6df5cdd631cb1962c2b8e20d260e490b93ac91e934ea660a291d4031d4aa161", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6df5cdd631cb1962c2b8e20d260e490b93ac91e934ea660a291d4031d4aa161", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6df5cdd631cb1962c2b8e20d260e490b93ac91e934ea660a291d4031d4aa161", kill_on_drop: false }`
[INFO] [stdout] c6df5cdd631cb1962c2b8e20d260e490b93ac91e934ea660a291d4031d4aa161
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] caa636386f59aa1bc711e8274d13122a592c3dcf52975127bd3cbd2f57899b99
[INFO] running `Command { std: "docker" "start" "-a" "caa636386f59aa1bc711e8274d13122a592c3dcf52975127bd3cbd2f57899b99", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling rand_core v0.10.0
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling chacha20 v0.10.0
[INFO] [stderr]    Compiling rand v0.10.0
[INFO] [stderr]    Compiling rustan v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem::replace`
[INFO] [stdout]  --> src/game.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::mem::replace;
[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 variable: `board`
[INFO] [stdout]   --> src/actions.rs:20:36
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn can_place_settlement(&self, board: &Board) -> bool {
[INFO] [stdout]    |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Resource` is never used
[INFO] [stdout]  --> src/map.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Resource {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MapType` is never used
[INFO] [stdout]   --> src/map.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum MapType {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Port` is never constructed
[INFO] [stdout]   --> src/map.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Port {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Tile` is never used
[INFO] [stdout]   --> src/map.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum Tile {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Map` is never constructed
[INFO] [stdout]   --> src/map.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Map {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_map_type`, and `find_desert_tile` are never used
[INFO] [stdout]   --> src/map.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Map {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 41 |     pub fn new(tiles: HashMap<Hex, Tile>) -> Self { Self { tiles } }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 42 |
[INFO] [stdout] 43 |     pub fn from_map_type(map_type: &MapType) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn find_desert_tile(&self) -> Option<Hex> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MapTemplate` is never constructed
[INFO] [stdout]   --> src/map.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct MapTemplate {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `to_map`, and `base_map_template` are never used
[INFO] [stdout]    --> src/map.rs:72:12
[INFO] [stdout]     |
[INFO] [stdout]  70 | impl MapTemplate {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  71 |
[INFO] [stdout]  72 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn to_map(self) -> Map {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn base_map_template() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EdgeRef` is never used
[INFO] [stdout]   --> src/coordinates.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum EdgeRef {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `VertexRef` is never used
[INFO] [stdout]   --> src/coordinates.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum VertexRef {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hex` is never constructed
[INFO] [stdout]   --> src/coordinates.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Hex {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/coordinates.rs:51:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl Hex {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 51 |    pub fn new(q: i8, r: i8) -> Hex {
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HexEdge` is never constructed
[INFO] [stdout]   --> src/coordinates.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct HexEdge {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HexVertex` is never constructed
[INFO] [stdout]   --> src/coordinates.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct HexVertex {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `neighbors` is never used
[INFO] [stdout]   --> src/coordinates.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn neighbors(hex: &Hex) -> Vec<Hex> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_center` is never used
[INFO] [stdout]    --> src/coordinates.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn from_center(center: &Hex, n: i8) -> Vec<Hex> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Player` is never used
[INFO] [stdout]  --> src/board.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type Player = i8;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Road` is never constructed
[INFO] [stdout]  --> src/board.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Road {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Building` is never used
[INFO] [stdout]   --> src/board.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Building {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Board` is never constructed
[INFO] [stdout]   --> src/board.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Board {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_map` and `add_building` are never used
[INFO] [stdout]   --> src/board.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Board {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 31 |     pub fn from_map(map: Map) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn add_building(&mut self, hex_vertex: HexVertex, building: Building) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GameType` is never used
[INFO] [stdout]  --> src/game.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum GameType {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConfigurableRules` is never constructed
[INFO] [stdout]   --> src/game.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ConfigurableRules {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Settings` is never constructed
[INFO] [stdout]   --> src/game.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Settings {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DevelopmentCard` is never used
[INFO] [stdout]   --> src/game.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub enum DevelopmentCard {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bank` is never constructed
[INFO] [stdout]   --> src/game.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct Bank {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `starter_bank` are never used
[INFO] [stdout]   --> src/game.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Bank {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout] 56 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn starter_bank() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CardBank` is never used
[INFO] [stdout]   --> src/game.rs:88:6
[INFO] [stdout]    |
[INFO] [stdout] 88 | type CardBank = HashMap<Resource, i8>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlayerState` is never constructed
[INFO] [stdout]   --> src/game.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct PlayerState {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | impl PlayerState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 97 |     fn new(player: Player) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameState` is never constructed
[INFO] [stdout]    --> src/game.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct GameState {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl GameState {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 109 |     pub fn new(num_players: i8, board: Board) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]    --> src/game.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct Game {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl Game {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 124 |     pub fn new(settings: Settings) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `game_loop` is never used
[INFO] [stdout]    --> src/game.rs:136:4
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn game_loop() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ActionError` is never constructed
[INFO] [stdout]  --> src/actions.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ActionError(String);
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Action` is never used
[INFO] [stdout]  --> src/actions.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait Action {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlaceSettlement` is never constructed
[INFO] [stdout]   --> src/actions.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct PlaceSettlement {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_place_settlement` is never used
[INFO] [stdout]   --> src/actions.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl PlaceSettlement {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 20 |     fn can_place_settlement(&self, board: &Board) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.09s
[INFO] running `Command { std: "docker" "inspect" "caa636386f59aa1bc711e8274d13122a592c3dcf52975127bd3cbd2f57899b99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "caa636386f59aa1bc711e8274d13122a592c3dcf52975127bd3cbd2f57899b99", kill_on_drop: false }`
[INFO] [stdout] caa636386f59aa1bc711e8274d13122a592c3dcf52975127bd3cbd2f57899b99
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 102ee4f84c8aebb10e1f33eedd53bf9c0520fbccb34c3edae46a69d6845880c2
[INFO] running `Command { std: "docker" "start" "-a" "102ee4f84c8aebb10e1f33eedd53bf9c0520fbccb34c3edae46a69d6845880c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustan v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem::replace`
[INFO] [stdout]  --> src/game.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::mem::replace;
[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 variable: `board`
[INFO] [stdout]   --> src/actions.rs:20:36
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn can_place_settlement(&self, board: &Board) -> bool {
[INFO] [stdout]    |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MapType` is never used
[INFO] [stdout]   --> src/map.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum MapType {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `resource` and `hex_vertex` are never read
[INFO] [stdout]   --> src/map.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Port {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 20 |     resource: Resource,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     hex_vertex: HexVertex
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `number` is never read
[INFO] [stdout]   --> src/map.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     LandTile {
[INFO] [stdout]    |     -------- field in this variant
[INFO] [stdout] ...
[INFO] [stdout] 28 |         number: i8
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WaterTile` is never constructed
[INFO] [stdout]   --> src/map.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum Tile {
[INFO] [stdout]    |          ---- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 30 |     WaterTile {
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_map_type` is never used
[INFO] [stdout]   --> src/map.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Map {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn from_map_type(map_type: &MapType) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EdgeRef` is never used
[INFO] [stdout]   --> src/coordinates.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum EdgeRef {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `L` and `R` are never constructed
[INFO] [stdout]   --> src/coordinates.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum VertexRef {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 38 |     L,
[INFO] [stdout]    |     ^
[INFO] [stdout] 39 |     R
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HexEdge` is never constructed
[INFO] [stdout]   --> src/coordinates.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct HexEdge {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Player` is never used
[INFO] [stdout]  --> src/board.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type Player = i8;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Road` is never constructed
[INFO] [stdout]  --> src/board.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Road {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Building` is never used
[INFO] [stdout]   --> src/board.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Building {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Board` is never constructed
[INFO] [stdout]   --> src/board.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Board {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_map` and `add_building` are never used
[INFO] [stdout]   --> src/board.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Board {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 31 |     pub fn from_map(map: Map) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn add_building(&mut self, hex_vertex: HexVertex, building: Building) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GameType` is never used
[INFO] [stdout]  --> src/game.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum GameType {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConfigurableRules` is never constructed
[INFO] [stdout]   --> src/game.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ConfigurableRules {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Settings` is never constructed
[INFO] [stdout]   --> src/game.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Settings {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DevelopmentCard` is never used
[INFO] [stdout]   --> src/game.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub enum DevelopmentCard {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bank` is never constructed
[INFO] [stdout]   --> src/game.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct Bank {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `starter_bank` are never used
[INFO] [stdout]   --> src/game.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Bank {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout] 56 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn starter_bank() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CardBank` is never used
[INFO] [stdout]   --> src/game.rs:88:6
[INFO] [stdout]    |
[INFO] [stdout] 88 | type CardBank = HashMap<Resource, i8>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlayerState` is never constructed
[INFO] [stdout]   --> src/game.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct PlayerState {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | impl PlayerState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 97 |     fn new(player: Player) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameState` is never constructed
[INFO] [stdout]    --> src/game.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct GameState {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl GameState {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 109 |     pub fn new(num_players: i8, board: Board) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]    --> src/game.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct Game {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl Game {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 124 |     pub fn new(settings: Settings) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `game_loop` is never used
[INFO] [stdout]    --> src/game.rs:136:4
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn game_loop() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ActionError` is never constructed
[INFO] [stdout]  --> src/actions.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ActionError(String);
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Action` is never used
[INFO] [stdout]  --> src/actions.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait Action {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlaceSettlement` is never constructed
[INFO] [stdout]   --> src/actions.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct PlaceSettlement {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_place_settlement` is never used
[INFO] [stdout]   --> src/actions.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl PlaceSettlement {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 20 |     fn can_place_settlement(&self, board: &Board) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] running `Command { std: "docker" "inspect" "102ee4f84c8aebb10e1f33eedd53bf9c0520fbccb34c3edae46a69d6845880c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "102ee4f84c8aebb10e1f33eedd53bf9c0520fbccb34c3edae46a69d6845880c2", kill_on_drop: false }`
[INFO] [stdout] 102ee4f84c8aebb10e1f33eedd53bf9c0520fbccb34c3edae46a69d6845880c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 923f7f107fe6fbd150688f04e9bcd449c50957a56644b8100a58a9155f6aded2
[INFO] running `Command { std: "docker" "start" "-a" "923f7f107fe6fbd150688f04e9bcd449c50957a56644b8100a58a9155f6aded2", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::mem::replace`
[INFO] [stderr]  --> src/game.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::mem::replace;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `board`
[INFO] [stderr]   --> src/actions.rs:20:36
[INFO] [stderr]    |
[INFO] [stderr] 20 |     fn can_place_settlement(&self, board: &Board) -> bool {
[INFO] [stderr]    |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `MapType` is never used
[INFO] [stderr]   --> src/map.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub enum MapType {
[INFO] [stderr]    |          ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `resource` and `hex_vertex` are never read
[INFO] [stderr]   --> src/map.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct Port {
[INFO] [stderr]    |            ---- fields in this struct
[INFO] [stderr] 20 |     resource: Resource,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 21 |     hex_vertex: HexVertex
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `number` is never read
[INFO] [stderr]   --> src/map.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |     LandTile {
[INFO] [stderr]    |     -------- field in this variant
[INFO] [stderr] ...
[INFO] [stderr] 28 |         number: i8
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `WaterTile` is never constructed
[INFO] [stderr]   --> src/map.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub enum Tile {
[INFO] [stderr]    |          ---- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 30 |     WaterTile {
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_map_type` is never used
[INFO] [stderr]   --> src/map.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | impl Map {
[INFO] [stderr]    | -------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 43 |     pub fn from_map_type(map_type: &MapType) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `EdgeRef` is never used
[INFO] [stderr]   --> src/coordinates.rs:24:10
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub enum EdgeRef {
[INFO] [stderr]    |          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `L` and `R` are never constructed
[INFO] [stderr]   --> src/coordinates.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub enum VertexRef {
[INFO] [stderr]    |          --------- variants in this enum
[INFO] [stderr] 38 |     L,
[INFO] [stderr]    |     ^
[INFO] [stderr] 39 |     R
[INFO] [stderr]    |     ^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HexEdge` is never constructed
[INFO] [stderr]   --> src/coordinates.rs:65:12
[INFO] [stderr]    |
[INFO] [stderr] 65 | pub struct HexEdge {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `Player` is never used
[INFO] [stderr]  --> src/board.rs:5:10
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub type Player = i8;
[INFO] [stderr]   |          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Road` is never constructed
[INFO] [stderr]  --> src/board.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Road {
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Building` is never used
[INFO] [stderr]   --> src/board.rs:12:10
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub enum Building {
[INFO] [stderr]    |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Board` is never constructed
[INFO] [stderr]   --> src/board.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct Board {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `from_map` and `add_building` are never used
[INFO] [stderr]   --> src/board.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 30 | impl Board {
[INFO] [stderr]    | ---------- associated items in this implementation
[INFO] [stderr] 31 |     pub fn from_map(map: Map) -> Self {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 37 |     pub fn add_building(&mut self, hex_vertex: HexVertex, building: Building) {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `GameType` is never used
[INFO] [stderr]  --> src/game.rs:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub enum GameType {
[INFO] [stderr]   |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ConfigurableRules` is never constructed
[INFO] [stderr]   --> src/game.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct ConfigurableRules {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Settings` is never constructed
[INFO] [stderr]   --> src/game.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct Settings {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `DevelopmentCard` is never used
[INFO] [stderr]   --> src/game.rs:42:10
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub enum DevelopmentCard {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Bank` is never constructed
[INFO] [stderr]   --> src/game.rs:50:8
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct Bank {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new` and `starter_bank` are never used
[INFO] [stderr]   --> src/game.rs:56:12
[INFO] [stderr]    |
[INFO] [stderr] 55 | impl Bank {
[INFO] [stderr]    | --------- associated functions in this implementation
[INFO] [stderr] 56 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 63 |     pub fn starter_bank() -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `CardBank` is never used
[INFO] [stderr]   --> src/game.rs:88:6
[INFO] [stderr]    |
[INFO] [stderr] 88 | type CardBank = HashMap<Resource, i8>;
[INFO] [stderr]    |      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PlayerState` is never constructed
[INFO] [stderr]   --> src/game.rs:90:12
[INFO] [stderr]    |
[INFO] [stderr] 90 | pub struct PlayerState {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/game.rs:97:8
[INFO] [stderr]    |
[INFO] [stderr] 96 | impl PlayerState {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] 97 |     fn new(player: Player) -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GameState` is never constructed
[INFO] [stderr]    --> src/game.rs:102:12
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub struct GameState {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/game.rs:109:12
[INFO] [stderr]     |
[INFO] [stderr] 108 | impl GameState {
[INFO] [stderr]     | -------------- associated function in this implementation
[INFO] [stderr] 109 |     pub fn new(num_players: i8, board: Board) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Game` is never constructed
[INFO] [stderr]    --> src/game.rs:118:12
[INFO] [stderr]     |
[INFO] [stderr] 118 | pub struct Game {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/game.rs:124:12
[INFO] [stderr]     |
[INFO] [stderr] 123 | impl Game {
[INFO] [stderr]     | --------- associated function in this implementation
[INFO] [stderr] 124 |     pub fn new(settings: Settings) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `game_loop` is never used
[INFO] [stderr]    --> src/game.rs:136:4
[INFO] [stderr]     |
[INFO] [stderr] 136 | fn game_loop() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ActionError` is never constructed
[INFO] [stderr]  --> src/actions.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct ActionError(String);
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Action` is never used
[INFO] [stderr]  --> src/actions.rs:8:11
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub trait Action {
[INFO] [stderr]   |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PlaceSettlement` is never constructed
[INFO] [stderr]   --> src/actions.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct PlaceSettlement {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `can_place_settlement` is never used
[INFO] [stderr]   --> src/actions.rs:20:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl PlaceSettlement {
[INFO] [stderr]    | -------------------- method in this implementation
[INFO] [stderr] 20 |     fn can_place_settlement(&self, board: &Board) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rustan` (bin "rustan" test) generated 33 warnings (run `cargo fix --bin "rustan" -p rustan --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustan-3e715b8cc4a3ae4f)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test coordinates::test::test_neighbors ... ok
[INFO] [stdout] test map::test::test_base_map ... ok
[INFO] [stdout] test coordinates::test::test_from_center ... ok
[INFO] [stdout] test map::test::test_find_desert_tile1 ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- map::test::test_find_desert_tile1 stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'map::test::test_find_desert_tile1' (21) panicked at src/map.rs:164:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: Some(Hex { q: 1, r: 1 })
[INFO] [stdout]  right: Some(Hex { q: 0, r: 1 })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x61c2be29f7ba - std[29689e6404d28ef9]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x61c2be29f7ba - std[29689e6404d28ef9]::backtrace_rs::backtrace::trace_unsynchronized::<std[29689e6404d28ef9]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x61c2be29f7ba - std[29689e6404d28ef9]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x61c2be29f7ba - <<std[29689e6404d28ef9]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[e929cb53b82a81ca]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x61c2be2b362a - <core[e929cb53b82a81ca]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x61c2be2b362a - core[e929cb53b82a81ca]::fmt::write
[INFO] [stdout]    6:     0x61c2be2a3ff2 - std[29689e6404d28ef9]::io::default_write_fmt::<alloc[9d7caffeb3b5d2c6]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x61c2be2a3ff2 - <alloc[9d7caffeb3b5d2c6]::vec::Vec<u8> as std[29689e6404d28ef9]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x61c2be27e7bf - <std[29689e6404d28ef9]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x61c2be27e7bf - std[29689e6404d28ef9]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x61c2be297c19 - std[29689e6404d28ef9]::panicking::default_hook
[INFO] [stderr] error: test failed, to rerun pass `--bin rustan`
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61c2be22675c - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn for<'a, 'b> core[e929cb53b82a81ca]::ops::function::Fn<(&'a std[29689e6404d28ef9]::panic::PanicHookInfo<'b>,), Output = ()> + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync> as core[e929cb53b82a81ca]::ops::function::Fn<(&std[29689e6404d28ef9]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x61c2be22675c - test[a24b3028667022f7]::test_main_inner::<test[a24b3028667022f7]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x61c2be297dd2 - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn for<'a, 'b> core[e929cb53b82a81ca]::ops::function::Fn<(&'a std[29689e6404d28ef9]::panic::PanicHookInfo<'b>,), Output = ()> + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync> as core[e929cb53b82a81ca]::ops::function::Fn<(&std[29689e6404d28ef9]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x61c2be297dd2 - std[29689e6404d28ef9]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x61c2be27e878 - std[29689e6404d28ef9]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x61c2be273a89 - std[29689e6404d28ef9]::sys::backtrace::__rust_end_short_backtrace::<std[29689e6404d28ef9]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x61c2be27f58d - __rustc[3aed6af316653e63]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x61c2be2b3d7c - core[e929cb53b82a81ca]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x61c2be2b3c33 - core[e929cb53b82a81ca]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61c2be2062df - core[e929cb53b82a81ca]::panicking::assert_failed::<core[e929cb53b82a81ca]::option::Option<rustan[402e889f3b79b80c]::coordinates::Hex>, core[e929cb53b82a81ca]::option::Option<rustan[402e889f3b79b80c]::coordinates::Hex>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61c2be212296 - rustan[402e889f3b79b80c]::map::test::test_find_desert_tile1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/map.rs:164:9
[INFO] [stdout]   22:     0x61c2be210007 - rustan[402e889f3b79b80c]::map::test::test_find_desert_tile1::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/map.rs:154:32
[INFO] [stdout]   23:     0x61c2be20ccd6 - <rustan[402e889f3b79b80c]::map::test::test_find_desert_tile1::{closure#0} as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x61c2be219a3b - <fn() -> core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61c2be219a3b - test[a24b3028667022f7]::__rust_begin_short_backtrace::<core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>, fn() -> core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x61c2be22722b - test[a24b3028667022f7]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x61c2be22722b - <core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x61c2be22722b - std[29689e6404d28ef9]::panicking::catch_unwind::do_call::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>, core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x61c2be22722b - std[29689e6404d28ef9]::panicking::catch_unwind::<core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>, core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x61c2be22722b - std[29689e6404d28ef9]::panic::catch_unwind::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>, core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x61c2be22722b - test[a24b3028667022f7]::run_test_in_process
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x61c2be22722b - test[a24b3028667022f7]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x61c2be220944 - test[a24b3028667022f7]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x61c2be220944 - std[29689e6404d28ef9]::sys::backtrace::__rust_begin_short_backtrace::<test[a24b3028667022f7]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x61c2be229e32 - std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked::<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x61c2be229e32 - <core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x61c2be229e32 - std[29689e6404d28ef9]::panicking::catch_unwind::do_call::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x61c2be229e32 - std[29689e6404d28ef9]::panicking::catch_unwind::<(), core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x61c2be229e32 - std[29689e6404d28ef9]::panic::catch_unwind::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x61c2be229e32 - std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked::<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x61c2be229e32 - <std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1} as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x61c2be29f0cf - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn core[e929cb53b82a81ca]::ops::function::FnOnce<(), Output = ()> + core[e929cb53b82a81ca]::marker::Send> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   43:     0x61c2be29f0cf - <std[29689e6404d28ef9]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7165411cdaa4 - <unknown>
[INFO] [stdout]   45:     0x71654125aa64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     map::test::test_find_desert_tile1
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "923f7f107fe6fbd150688f04e9bcd449c50957a56644b8100a58a9155f6aded2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "923f7f107fe6fbd150688f04e9bcd449c50957a56644b8100a58a9155f6aded2", kill_on_drop: false }`
[INFO] [stdout] 923f7f107fe6fbd150688f04e9bcd449c50957a56644b8100a58a9155f6aded2
