[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#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmovalle4%2Fchess-board-representation" "/workspace/builds/worker-56/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/movalle4/chess-board-representation on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-56/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27c998ff6d2fcc0191f3f86e85baee1e5481d2adafd37eaa21ca3212ec8bd5bf [INFO] running `Command { std: "docker" "start" "-a" "27c998ff6d2fcc0191f3f86e85baee1e5481d2adafd37eaa21ca3212ec8bd5bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27c998ff6d2fcc0191f3f86e85baee1e5481d2adafd37eaa21ca3212ec8bd5bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27c998ff6d2fcc0191f3f86e85baee1e5481d2adafd37eaa21ca3212ec8bd5bf", kill_on_drop: false }` [INFO] [stdout] 27c998ff6d2fcc0191f3f86e85baee1e5481d2adafd37eaa21ca3212ec8bd5bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e46b9b4e33cf7f6358160e30683b04675665ba196cfd9144ccb0619e049f12be [INFO] running `Command { std: "docker" "start" "-a" "e46b9b4e33cf7f6358160e30683b04675665ba196cfd9144ccb0619e049f12be", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: `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: `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: 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: 7 warnings emitted [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 1.03s [INFO] running `Command { std: "docker" "inspect" "e46b9b4e33cf7f6358160e30683b04675665ba196cfd9144ccb0619e049f12be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46b9b4e33cf7f6358160e30683b04675665ba196cfd9144ccb0619e049f12be", kill_on_drop: false }` [INFO] [stdout] e46b9b4e33cf7f6358160e30683b04675665ba196cfd9144ccb0619e049f12be