[INFO] cloning repository https://github.com/DmitryLeshev/rust_chess_2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DmitryLeshev/rust_chess_2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmitryLeshev%2Frust_chess_2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmitryLeshev%2Frust_chess_2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e5f6cd17013e2d4400842955f54967706c50ec6 [INFO] testing DmitryLeshev/rust_chess_2 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmitryLeshev%2Frust_chess_2" "/workspace/builds/worker-71/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-71/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DmitryLeshev/rust_chess_2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DmitryLeshev/rust_chess_2 [INFO] finished tweaking git repo https://github.com/DmitryLeshev/rust_chess_2 [INFO] tweaked toml for git repo https://github.com/DmitryLeshev/rust_chess_2 written to /workspace/builds/worker-71/source/Cargo.toml [INFO] crate git repo https://github.com/DmitryLeshev/rust_chess_2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e68aa5878dd92d9a5caffdc3b8c1b7b36ceb3ecb16be976fa234de70cb5f078 [INFO] running `Command { std: "docker" "start" "-a" "5e68aa5878dd92d9a5caffdc3b8c1b7b36ceb3ecb16be976fa234de70cb5f078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e68aa5878dd92d9a5caffdc3b8c1b7b36ceb3ecb16be976fa234de70cb5f078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e68aa5878dd92d9a5caffdc3b8c1b7b36ceb3ecb16be976fa234de70cb5f078", kill_on_drop: false }` [INFO] [stdout] 5e68aa5878dd92d9a5caffdc3b8c1b7b36ceb3ecb16be976fa234de70cb5f078 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85f6fcd5c0f550b7a14d251cfe4e169dafe8b32295ff7d5ff6b99431c0056a36 [INFO] running `Command { std: "docker" "start" "-a" "85f6fcd5c0f550b7a14d251cfe4e169dafe8b32295ff7d5ff6b99431c0056a36", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rust_chess_v2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::entities::color::Color` [INFO] [stdout] --> src/controllers/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::entities::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FigureName` [INFO] [stdout] --> src/controllers/game.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::entities::figure::{Figure, FigureName}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FigureName` [INFO] [stdout] --> src/entities/board.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | figure::{Figure, FigureName}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `figure::Figure` [INFO] [stdout] --> src/entities/game.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{board::Board, cell::Cell, color::Color, figure::Figure, player::Player}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/entities/board.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | for (coll, v) in VERTICAL.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> src/entities/board.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | for (row, char) in HORIZONTAL.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/entities/cell.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let name = name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Frame` [INFO] [stdout] --> src/controllers/game.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Frame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/controllers/game.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(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: `Player` [INFO] [stdout] --> src/controllers/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/controllers/game.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(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: `Timer` [INFO] [stdout] --> src/controllers/game.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Timer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/controllers/game.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(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: `Figure` [INFO] [stdout] --> src/controllers/game.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Figure(Figure), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/controllers/game.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(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: associated function is never used: `load` [INFO] [stdout] --> src/entities/board.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn load() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/entities/cell.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(x: u8, y: u8, figure: Option
) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select_player` [INFO] [stdout] --> src/entities/game.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn select_player(&mut self, player: &Player) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/entities/player.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | color: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Player` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/entities/player.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "85f6fcd5c0f550b7a14d251cfe4e169dafe8b32295ff7d5ff6b99431c0056a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85f6fcd5c0f550b7a14d251cfe4e169dafe8b32295ff7d5ff6b99431c0056a36", kill_on_drop: false }` [INFO] [stdout] 85f6fcd5c0f550b7a14d251cfe4e169dafe8b32295ff7d5ff6b99431c0056a36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dedbe447a6cd813d241461fbe5efff32d05c113c4fafacbbf9a20fef4ec2196 [INFO] running `Command { std: "docker" "start" "-a" "0dedbe447a6cd813d241461fbe5efff32d05c113c4fafacbbf9a20fef4ec2196", kill_on_drop: false }` [INFO] [stderr] Compiling rust_chess_v2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::entities::color::Color` [INFO] [stdout] --> src/controllers/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::entities::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FigureName` [INFO] [stdout] --> src/controllers/game.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::entities::figure::{Figure, FigureName}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FigureName` [INFO] [stdout] --> src/entities/board.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | figure::{Figure, FigureName}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `figure::Figure` [INFO] [stdout] --> src/entities/game.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{board::Board, cell::Cell, color::Color, figure::Figure, player::Player}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/entities/board.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | for (coll, v) in VERTICAL.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> src/entities/board.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | for (row, char) in HORIZONTAL.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/entities/cell.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let name = name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Frame` [INFO] [stdout] --> src/controllers/game.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Frame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/controllers/game.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(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: `Player` [INFO] [stdout] --> src/controllers/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/controllers/game.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(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: `Timer` [INFO] [stdout] --> src/controllers/game.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Timer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/controllers/game.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(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: `Figure` [INFO] [stdout] --> src/controllers/game.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Figure(Figure), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/controllers/game.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(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: associated function is never used: `load` [INFO] [stdout] --> src/entities/board.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn load() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/entities/cell.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(x: u8, y: u8, figure: Option
) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select_player` [INFO] [stdout] --> src/entities/game.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn select_player(&mut self, player: &Player) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/entities/player.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | color: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Player` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/entities/player.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.62s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_chess_v2-852b20d9b0d6be1d) [INFO] running `Command { std: "docker" "inspect" "0dedbe447a6cd813d241461fbe5efff32d05c113c4fafacbbf9a20fef4ec2196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dedbe447a6cd813d241461fbe5efff32d05c113c4fafacbbf9a20fef4ec2196", kill_on_drop: false }` [INFO] [stdout] 0dedbe447a6cd813d241461fbe5efff32d05c113c4fafacbbf9a20fef4ec2196 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dcae855a7eadad270e22554fd31595c1ef8ac8dc4150aed9590250763f6e37da [INFO] running `Command { std: "docker" "start" "-a" "dcae855a7eadad270e22554fd31595c1ef8ac8dc4150aed9590250763f6e37da", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::entities::color::Color` [INFO] [stderr] --> src/controllers/game.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::entities::color::Color; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `FigureName` [INFO] [stderr] --> src/controllers/game.rs:4:39 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::entities::figure::{Figure, FigureName}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FigureName` [INFO] [stderr] --> src/entities/board.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | figure::{Figure, FigureName}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `figure::Figure` [INFO] [stderr] --> src/entities/game.rs:3:53 [INFO] [stderr] | [INFO] [stderr] 3 | use super::{board::Board, cell::Cell, color::Color, figure::Figure, player::Player}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/entities/board.rs:22:20 [INFO] [stderr] | [INFO] [stderr] 22 | for (coll, v) in VERTICAL.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `char` [INFO] [stderr] --> src/entities/board.rs:23:23 [INFO] [stderr] | [INFO] [stderr] 23 | for (row, char) in HORIZONTAL.iter().enumerate() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/entities/cell.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | let name = name.clone(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Frame` [INFO] [stderr] --> src/controllers/game.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Frame, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/controllers/game.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(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: `Player` [INFO] [stderr] --> src/controllers/game.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Player, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/controllers/game.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(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: `Timer` [INFO] [stderr] --> src/controllers/game.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Timer, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/controllers/game.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(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: `Figure` [INFO] [stderr] --> src/controllers/game.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Figure(Figure), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PointDtoType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/controllers/game.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(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: associated function is never used: `load` [INFO] [stderr] --> src/entities/board.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn load() {} [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/entities/cell.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(x: u8, y: u8, figure: Option
) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `select_player` [INFO] [stderr] --> src/entities/game.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn select_player(&mut self, player: &Player) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `color` [INFO] [stderr] --> src/entities/player.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | color: Color, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Player` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/entities/player.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(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: `rust_chess_v2` (bin "rust_chess_v2" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_chess_v2-852b20d9b0d6be1d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dcae855a7eadad270e22554fd31595c1ef8ac8dc4150aed9590250763f6e37da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcae855a7eadad270e22554fd31595c1ef8ac8dc4150aed9590250763f6e37da", kill_on_drop: false }` [INFO] [stdout] dcae855a7eadad270e22554fd31595c1ef8ac8dc4150aed9590250763f6e37da