[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 try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmovalle4%2Fchess-board-representation" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/movalle4/chess-board-representation on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-9/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ebd6ffe4ab7826d8f29ca4a956545e0be5ba28a2b868d35022493afb4063474 [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" "6ebd6ffe4ab7826d8f29ca4a956545e0be5ba28a2b868d35022493afb4063474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ebd6ffe4ab7826d8f29ca4a956545e0be5ba28a2b868d35022493afb4063474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ebd6ffe4ab7826d8f29ca4a956545e0be5ba28a2b868d35022493afb4063474", kill_on_drop: false }` [INFO] [stdout] 6ebd6ffe4ab7826d8f29ca4a956545e0be5ba28a2b868d35022493afb4063474 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab082d7af16ace3793ced256cf822adb8bdd4cf10ca27b08cc3f5974ac8d9b21 [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" "ab082d7af16ace3793ced256cf822adb8bdd4cf10ca27b08cc3f5974ac8d9b21", 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/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: 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: 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] [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "ab082d7af16ace3793ced256cf822adb8bdd4cf10ca27b08cc3f5974ac8d9b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab082d7af16ace3793ced256cf822adb8bdd4cf10ca27b08cc3f5974ac8d9b21", kill_on_drop: false }` [INFO] [stdout] ab082d7af16ace3793ced256cf822adb8bdd4cf10ca27b08cc3f5974ac8d9b21