[INFO] cloning repository https://github.com/movalle4/chess-board-representation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/movalle4/chess-board-representation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmovalle4%2Fchess-board-representation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmovalle4%2Fchess-board-representation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2aae3e6438e6941ebd1191ecb4479b163cd41ae6 [INFO] checking movalle4/chess-board-representation against master#50e1dc1536264ab71c0850f346b12309477f29f7 for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmovalle4%2Fchess-board-representation" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/movalle4/chess-board-representation on toolchain 50e1dc1536264ab71c0850f346b12309477f29f7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/movalle4/chess-board-representation [INFO] finished tweaking git repo https://github.com/movalle4/chess-board-representation [INFO] tweaked toml for git repo https://github.com/movalle4/chess-board-representation written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/movalle4/chess-board-representation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b524085a1976bf2ff0c86449ac6ff4e03c8cb51ae3702f9e84e97fb5a89f251d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b524085a1976bf2ff0c86449ac6ff4e03c8cb51ae3702f9e84e97fb5a89f251d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b524085a1976bf2ff0c86449ac6ff4e03c8cb51ae3702f9e84e97fb5a89f251d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b524085a1976bf2ff0c86449ac6ff4e03c8cb51ae3702f9e84e97fb5a89f251d", kill_on_drop: false }` [INFO] [stdout] b524085a1976bf2ff0c86449ac6ff4e03c8cb51ae3702f9e84e97fb5a89f251d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5e34725b43101e84893f38fcf5cf40948ca3ec8a898a551d421ae1e42d6b95c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c5e34725b43101e84893f38fcf5cf40948ca3ec8a898a551d421ae1e42d6b95c", kill_on_drop: false }` [INFO] [stderr] Checking chess-board-representation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::debugging::*` [INFO] [stdout] --> src/logic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::debugging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PieceType` [INFO] [stdout] --> src/moves.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::structs::{Piece, PieceType, Pos}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debugging::*` [INFO] [stdout] --> src/logic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::debugging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PieceType` [INFO] [stdout] --> src/moves.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::structs::{Piece, PieceType, Pos}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debugging::*` [INFO] [stdout] --> src/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::debugging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PieceType`, `Piece` [INFO] [stdout] --> src/tests.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::structs::{Piece, PieceType, Pos}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_pieces_arrays` [INFO] [stdout] --> src/debugging.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn print_pieces_arrays(game: &Game) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_pieces_array` [INFO] [stdout] --> src/debugging.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn print_pieces_array(array: &[Piece; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_square_color` [INFO] [stdout] --> src/debugging.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn print_square_color(square: &Square) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_piece_type` [INFO] [stdout] --> src/debugging.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn print_piece_type(piece: &Piece) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `valid_pos` [INFO] [stdout] --> src/moves.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn valid_pos(position: Pos) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut game = initialize_game(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_pieces_arrays` [INFO] [stdout] --> src/debugging.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn print_pieces_arrays(game: &Game) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_pieces_array` [INFO] [stdout] --> src/debugging.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn print_pieces_array(array: &[Piece; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_square_color` [INFO] [stdout] --> src/debugging.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn print_square_color(square: &Square) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_piece_type` [INFO] [stdout] --> src/debugging.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn print_piece_type(piece: &Piece) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `valid_pos` [INFO] [stdout] --> src/moves.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn valid_pos(position: Pos) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "c5e34725b43101e84893f38fcf5cf40948ca3ec8a898a551d421ae1e42d6b95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5e34725b43101e84893f38fcf5cf40948ca3ec8a898a551d421ae1e42d6b95c", kill_on_drop: false }` [INFO] [stdout] c5e34725b43101e84893f38fcf5cf40948ca3ec8a898a551d421ae1e42d6b95c