[INFO] cloning repository https://github.com/paavohuhtala/baromino [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paavohuhtala/baromino" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaavohuhtala%2Fbaromino", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaavohuhtala%2Fbaromino'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd858fa55f92444e319d76beff26a1c0dba34995 [INFO] checking paavohuhtala/baromino against master#ecb170afc878648c3ae355dbd596c8e4b6f7ebdc for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaavohuhtala%2Fbaromino" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paavohuhtala/baromino on toolchain ecb170afc878648c3ae355dbd596c8e4b6f7ebdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/paavohuhtala/baromino [INFO] finished tweaking git repo https://github.com/paavohuhtala/baromino [INFO] tweaked toml for git repo https://github.com/paavohuhtala/baromino written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/paavohuhtala/baromino 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" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64a6d533015181fa10f1d9cf2f49875e05b5d2fab081304cb6996d32858e9d66 [INFO] running `Command { std: "docker" "start" "-a" "64a6d533015181fa10f1d9cf2f49875e05b5d2fab081304cb6996d32858e9d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64a6d533015181fa10f1d9cf2f49875e05b5d2fab081304cb6996d32858e9d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64a6d533015181fa10f1d9cf2f49875e05b5d2fab081304cb6996d32858e9d66", kill_on_drop: false }` [INFO] [stdout] 64a6d533015181fa10f1d9cf2f49875e05b5d2fab081304cb6996d32858e9d66 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b5ec07e06b42e16b8c7e08a985994a00fd29c92a8ff0d1d74ed9978f5fc263a [INFO] running `Command { std: "docker" "start" "-a" "0b5ec07e06b42e16b8c7e08a985994a00fd29c92a8ff0d1d74ed9978f5fc263a", kill_on_drop: false }` [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking baromino v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Forest`, `Wheat`, `Water`, `Grassland`, `Swamp`, and `Mountain` are never constructed [INFO] [stdout] --> src/model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum TileType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 9 | Forest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Wheat, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Water, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Grassland, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | Swamp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Mountain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Castle` and `Domino` are never constructed [INFO] [stdout] --> src/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum AnyTileType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 19 | Castle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Domino(TileType), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnyTileType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flip` is never used [INFO] [stdout] --> src/model.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl Domino { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 33 | pub const fn flip(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `domino` is never used [INFO] [stdout] --> src/model.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | const fn domino(tile1: TileType, crown1: u8, tile2: TileType, crown2: u8) -> Domino { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL_TILES` is never used [INFO] [stdout] --> src/model.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const ALL_TILES: [Domino; 48] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Castle` and `Domino` are never constructed [INFO] [stdout] --> src/model.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub enum Tile { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 107 | Castle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | Domino(Domino), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LeftRight`, `TopBottom`, `RightLeft`, and `BottomTop` are never constructed [INFO] [stdout] --> src/model.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub enum TileOrientation { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 113 | /// The tile is oriented with the first side on the left and the second side on the right [INFO] [stdout] 114 | LeftRight, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | TopBottom, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | RightLeft, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | BottomTop, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileOrientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TilePlacementError` is never used [INFO] [stdout] --> src/model.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | pub enum TilePlacementError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KINGDOM_MAX_SIZE` is never used [INFO] [stdout] --> src/model.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | const KINGDOM_MAX_SIZE: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlacementIndex` is never constructed [INFO] [stdout] --> src/model.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | struct PlacementIndex(u8); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kingdom` is never constructed [INFO] [stdout] --> src/model.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct Kingdom { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kingdom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_positions_filled_by_placement`, and `get_adjacent_positions` are never used [INFO] [stdout] --> src/model.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Kingdom { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 156 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn get_positions_filled_by_placement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn get_adjacent_positions(&self, position: Position) -> [Position; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forest`, `Wheat`, `Water`, `Grassland`, `Swamp`, and `Mountain` are never constructed [INFO] [stdout] --> src/model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum TileType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 9 | Forest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Wheat, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Water, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Grassland, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | Swamp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Mountain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Castle` and `Domino` are never constructed [INFO] [stdout] --> src/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum AnyTileType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 19 | Castle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Domino(TileType), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnyTileType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flip` is never used [INFO] [stdout] --> src/model.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl Domino { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 33 | pub const fn flip(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `domino` is never used [INFO] [stdout] --> src/model.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | const fn domino(tile1: TileType, crown1: u8, tile2: TileType, crown2: u8) -> Domino { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL_TILES` is never used [INFO] [stdout] --> src/model.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const ALL_TILES: [Domino; 48] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Castle` and `Domino` are never constructed [INFO] [stdout] --> src/model.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub enum Tile { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 107 | Castle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | Domino(Domino), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LeftRight`, `TopBottom`, `RightLeft`, and `BottomTop` are never constructed [INFO] [stdout] --> src/model.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub enum TileOrientation { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 113 | /// The tile is oriented with the first side on the left and the second side on the right [INFO] [stdout] 114 | LeftRight, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | TopBottom, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | RightLeft, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | BottomTop, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileOrientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TilePlacementError` is never used [INFO] [stdout] --> src/model.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | pub enum TilePlacementError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KINGDOM_MAX_SIZE` is never used [INFO] [stdout] --> src/model.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | const KINGDOM_MAX_SIZE: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlacementIndex` is never constructed [INFO] [stdout] --> src/model.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | struct PlacementIndex(u8); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kingdom` is never constructed [INFO] [stdout] --> src/model.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct Kingdom { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kingdom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_positions_filled_by_placement`, and `get_adjacent_positions` are never used [INFO] [stdout] --> src/model.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Kingdom { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 156 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn get_positions_filled_by_placement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn get_adjacent_positions(&self, position: Position) -> [Position; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "0b5ec07e06b42e16b8c7e08a985994a00fd29c92a8ff0d1d74ed9978f5fc263a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5ec07e06b42e16b8c7e08a985994a00fd29c92a8ff0d1d74ed9978f5fc263a", kill_on_drop: false }` [INFO] [stdout] 0b5ec07e06b42e16b8c7e08a985994a00fd29c92a8ff0d1d74ed9978f5fc263a