[INFO] cloning repository https://github.com/overengineering/rustassonne [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/overengineering/rustassonne" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverengineering%2Frustassonne", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverengineering%2Frustassonne'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d525414a510773004f4c718a0aa8f2d00197a616 [INFO] testing overengineering/rustassonne against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverengineering%2Frustassonne" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/overengineering/rustassonne on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/overengineering/rustassonne [INFO] finished tweaking git repo https://github.com/overengineering/rustassonne [INFO] tweaked toml for git repo https://github.com/overengineering/rustassonne written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/overengineering/rustassonne already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a90f90ac08780380d1fc1c5e518251be348ec94d0738bec286009588a61c3d39 [INFO] running `Command { std: "docker" "start" "-a" "a90f90ac08780380d1fc1c5e518251be348ec94d0738bec286009588a61c3d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a90f90ac08780380d1fc1c5e518251be348ec94d0738bec286009588a61c3d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a90f90ac08780380d1fc1c5e518251be348ec94d0738bec286009588a61c3d39", kill_on_drop: false }` [INFO] [stdout] a90f90ac08780380d1fc1c5e518251be348ec94d0738bec286009588a61c3d39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf1bbb82a09c0ec77332ec6c8b0994008437d4c461afd38e637a593b2d1919eb [INFO] running `Command { std: "docker" "start" "-a" "bf1bbb82a09c0ec77332ec6c8b0994008437d4c461afd38e637a593b2d1919eb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rustassonne v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `::*` [INFO] [stdout] --> src/models/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ::*; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/rules.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/rules.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check(board: &TileMap, tile: &Tile, coordinate: &Coordinate, orientation: &Orientation) -> Result<(), Vec> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/rules.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check(board: &TileMap, tile: &Tile, coordinate: &Coordinate, orientation: &Orientation) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/engine.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/engine.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tiles` [INFO] [stdout] --> src/engine.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_tiles(&self) -> &TileMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `place_next` [INFO] [stdout] --> src/engine.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn place_next>(&self, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `place` [INFO] [stdout] --> src/engine.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn place>(&self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotAdjacent` [INFO] [stdout] --> src/placement_error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | NotAdjacent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PlacementError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/placement_error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TileAlreadyAtCoordinate` [INFO] [stdout] --> src/placement_error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | TileAlreadyAtCoordinate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PlacementError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/placement_error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check` [INFO] [stdout] --> src/rules.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check(board: &TileMap, tile: &Tile, coordinate: &Coordinate, orientation: &Orientation) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_tile_already_at_coordinate` [INFO] [stdout] --> src/rules.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn check_tile_already_at_coordinate(board: &TileMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_not_adjecent` [INFO] [stdout] --> src/rules.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn check_not_adjecent(board: &TileMap, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `City` [INFO] [stdout] --> src/models/feature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / City { [INFO] [stdout] 9 | | badge: bool, [INFO] [stdout] 10 | | connections: HashSet, [INFO] [stdout] 11 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/feature.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Field` [INFO] [stdout] --> src/models/feature.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Field { connections: HashSet }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/feature.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Monastery` [INFO] [stdout] --> src/models/feature.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Monastery, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/feature.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Road` [INFO] [stdout] --> src/models/feature.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Road { connections: HashSet }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/feature.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/tile.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> src/models/orientation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/orientation.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Eq, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/models/orientation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/orientation.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Eq, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/models/orientation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/orientation.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Eq, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/models/orientation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/orientation.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Eq, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "bf1bbb82a09c0ec77332ec6c8b0994008437d4c461afd38e637a593b2d1919eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1bbb82a09c0ec77332ec6c8b0994008437d4c461afd38e637a593b2d1919eb", kill_on_drop: false }` [INFO] [stdout] bf1bbb82a09c0ec77332ec6c8b0994008437d4c461afd38e637a593b2d1919eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73bbcc98f8e0621cba8e447422e52f0d256ed2a105abb2bc84699abbd7ebd20e [INFO] running `Command { std: "docker" "start" "-a" "73bbcc98f8e0621cba8e447422e52f0d256ed2a105abb2bc84699abbd7ebd20e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rustassonne v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `::*` [INFO] [stdout] --> src/models/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ::*; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/rules.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check(board: &TileMap, tile: &Tile, coordinate: &Coordinate, orientation: &Orientation) -> Result<(), Vec> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/rules.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check(board: &TileMap, tile: &Tile, coordinate: &Coordinate, orientation: &Orientation) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `City` [INFO] [stdout] --> src/models/feature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / City { [INFO] [stdout] 9 | | badge: bool, [INFO] [stdout] 10 | | connections: HashSet, [INFO] [stdout] 11 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/feature.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Field` [INFO] [stdout] --> src/models/feature.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Field { connections: HashSet }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/feature.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Monastery` [INFO] [stdout] --> src/models/feature.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Monastery, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/feature.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Road` [INFO] [stdout] --> src/models/feature.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Road { connections: HashSet }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/feature.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/models/orientation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/orientation.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Eq, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/models/orientation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/orientation.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Eq, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/models/orientation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/orientation.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Eq, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rules.rs:83:61 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(err.contains(&PlacementError::NotAdjacent), err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `Vec` [INFO] [stdout] | [INFO] [stdout] 83 | assert!(err.contains(&PlacementError::NotAdjacent), "{:?}", err); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rules.rs:98:73 [INFO] [stdout] | [INFO] [stdout] 98 | assert!(err.contains(&PlacementError::TileAlreadyAtCoordinate), err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `Vec` [INFO] [stdout] | [INFO] [stdout] 98 | assert!(err.contains(&PlacementError::TileAlreadyAtCoordinate), "{:?}", err); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `Command { std: "docker" "inspect" "73bbcc98f8e0621cba8e447422e52f0d256ed2a105abb2bc84699abbd7ebd20e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73bbcc98f8e0621cba8e447422e52f0d256ed2a105abb2bc84699abbd7ebd20e", kill_on_drop: false }` [INFO] [stdout] 73bbcc98f8e0621cba8e447422e52f0d256ed2a105abb2bc84699abbd7ebd20e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 18cb9dad06ff5e7aa8b6b843e25f391799a8f326153be2655ff9bc761718a146 [INFO] running `Command { std: "docker" "start" "-a" "18cb9dad06ff5e7aa8b6b843e25f391799a8f326153be2655ff9bc761718a146", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `::*` [INFO] [stderr] --> src/models/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use ::*; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tile` [INFO] [stderr] --> src/rules.rs:9:31 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn check(board: &TileMap, tile: &Tile, coordinate: &Coordinate, orientation: &Orientation) -> Result<(), Vec> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `orientation` [INFO] [stderr] --> src/rules.rs:9:69 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn check(board: &TileMap, tile: &Tile, coordinate: &Coordinate, orientation: &Orientation) -> Result<(), Vec> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `City` [INFO] [stderr] --> src/models/feature.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / City { [INFO] [stderr] 9 | | badge: bool, [INFO] [stderr] 10 | | connections: HashSet, [INFO] [stderr] 11 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/feature.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Field` [INFO] [stderr] --> src/models/feature.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Field { connections: HashSet }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/feature.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Monastery` [INFO] [stderr] --> src/models/feature.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Monastery, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/feature.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Road` [INFO] [stderr] --> src/models/feature.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Road { connections: HashSet }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Feature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/feature.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, PartialEq, Eq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Right` [INFO] [stderr] --> src/models/orientation.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | Right, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/orientation.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Eq, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Down` [INFO] [stderr] --> src/models/orientation.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Down, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/orientation.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Eq, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Left` [INFO] [stderr] --> src/models/orientation.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Left, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/orientation.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Eq, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/rules.rs:83:61 [INFO] [stderr] | [INFO] [stderr] 83 | assert!(err.contains(&PlacementError::NotAdjacent), err); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{:?}" format string to use the Debug implementation of `Vec` [INFO] [stderr] | [INFO] [stderr] 83 | assert!(err.contains(&PlacementError::NotAdjacent), "{:?}", err); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/rules.rs:98:73 [INFO] [stderr] | [INFO] [stderr] 98 | assert!(err.contains(&PlacementError::TileAlreadyAtCoordinate), err); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{:?}" format string to use the Debug implementation of `Vec` [INFO] [stderr] | [INFO] [stderr] 98 | assert!(err.contains(&PlacementError::TileAlreadyAtCoordinate), "{:?}", err); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `rustassonne` (bin "rustassonne" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.92s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rustassonne-f4078039eae81769) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test engine::test::test_can_place_next_tile ... ok [INFO] [stdout] test engine::test::test_cannot_place_on_center ... ok [INFO] [stdout] test engine::test::test_new_has_center_tile ... ok [INFO] [stdout] test engine::test::test_coord_exists_in_tiles_after_place_next ... ok [INFO] [stdout] test engine::test::test_can_place_tile ... ok [INFO] [stdout] test engine::test::test_placing_not_adjectent_returns_error ... ok [INFO] [stdout] test engine::test::test_tile_exists_in_tiles_after_place ... ok [INFO] [stdout] test engine::test::test_new_only_has_single_tile ... ok [INFO] [stdout] test rules::test::test_rule_can_place_next_to_tile ... ok [INFO] [stdout] test rules::test::test_rule_cannot_place_tiles_in_same_location ... ok [INFO] [stdout] test rules::test::test_rule_cannot_place_with_a_gap ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "18cb9dad06ff5e7aa8b6b843e25f391799a8f326153be2655ff9bc761718a146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18cb9dad06ff5e7aa8b6b843e25f391799a8f326153be2655ff9bc761718a146", kill_on_drop: false }` [INFO] [stdout] 18cb9dad06ff5e7aa8b6b843e25f391799a8f326153be2655ff9bc761718a146