[INFO] cloning repository https://github.com/moeharuna/rust-chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moeharuna/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoeharuna%2Frust-chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoeharuna%2Frust-chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12950b8a4bca21c00c6f9a2e5350597f9eb42bf6
[INFO] checking moeharuna/rust-chess against master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 for pr-140558
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoeharuna%2Frust-chess" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/moeharuna/rust-chess on toolchain 3350c1eb3fd8fe1bee1ed4c76944d707bd256876
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/moeharuna/rust-chess
[INFO] finished tweaking git repo https://github.com/moeharuna/rust-chess
[INFO] tweaked toml for git repo https://github.com/moeharuna/rust-chess written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/moeharuna/rust-chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ec641f92453052c61961fb1bda48c8155a9bb57089cde90acb9fa744ded85a46
[INFO] running `Command { std: "docker" "start" "-a" "ec641f92453052c61961fb1bda48c8155a9bb57089cde90acb9fa744ded85a46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec641f92453052c61961fb1bda48c8155a9bb57089cde90acb9fa744ded85a46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec641f92453052c61961fb1bda48c8155a9bb57089cde90acb9fa744ded85a46", kill_on_drop: false }`
[INFO] [stdout] ec641f92453052c61961fb1bda48c8155a9bb57089cde90acb9fa744ded85a46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c992e0caaa51dbb6e8a735c5b58c5a33290d9293da500b5bb5d571d96cb3656b
[INFO] running `Command { std: "docker" "start" "-a" "c992e0caaa51dbb6e8a735c5b58c5a33290d9293da500b5bb5d571d96cb3656b", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.63
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking strum v0.20.0
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling cmake v0.1.45
[INFO] [stderr]    Compiling raylib-sys v3.5.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling strum_macros v0.20.1
[INFO] [stderr]     Checking raylib v3.5.0
[INFO] [stderr]     Checking another-chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/pieces.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `raylib::ffi::PFNGLDRAWRANGEELEMENTARRAYATIPROC`
[INFO] [stdout]  --> src/pieces.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use raylib::ffi::PFNGLDRAWRANGEELEMENTARRAYATIPROC;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `raylib::math::Vector2`
[INFO] [stdout]  --> src/pieces.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use raylib::math::Vector2;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/pieces.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `raylib::ffi::PFNGLDRAWRANGEELEMENTARRAYATIPROC`
[INFO] [stdout]  --> src/pieces.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use raylib::ffi::PFNGLDRAWRANGEELEMENTARRAYATIPROC;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `raylib::math::Vector2`
[INFO] [stdout]  --> src/pieces.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use raylib::math::Vector2;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_square_on_ray` is never used
[INFO] [stdout]    --> src/pieces.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 57  | impl Ray
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn is_square_on_ray(&self, square:Square)
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `checked_move_list` and `will_move_save_king` are never used
[INFO] [stdout]    --> src/pieces.rs:298:12
[INFO] [stdout]     |
[INFO] [stdout] 285 | impl Piece
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn checked_move_list(&self, board:&Board) -> Vec<Square>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 315 |     fn will_move_save_king(&self, _board:&Board, _square:&Square) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `checked_king` is never read
[INFO] [stdout]   --> src/board.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub struct Board
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub checked_king:Option<PieceColor>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_square_on_ray` is never used
[INFO] [stdout]    --> src/pieces.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 57  | impl Ray
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn is_square_on_ray(&self, square:Square)
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `has_piece`, `is_square_attacked`, and `is_square_safe` are never used
[INFO] [stdout]    --> src/board.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 12  | impl Board
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn has_piece(&self, square:&Square) -> bool
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn is_square_attacked(&self, square:&Square, attacker_color:PieceColor) -> bool
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn is_square_safe(&self, square:&Square, attacker_color:PieceColor) -> bool
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `checked_move_list` and `will_move_save_king` are never used
[INFO] [stdout]    --> src/pieces.rs:298:12
[INFO] [stdout]     |
[INFO] [stdout] 285 | impl Piece
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn checked_move_list(&self, board:&Board) -> Vec<Square>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 315 |     fn will_move_save_king(&self, _board:&Board, _square:&Square) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `checked_king` is never read
[INFO] [stdout]   --> src/board.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub struct Board
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub checked_king:Option<PieceColor>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Point` is never used
[INFO] [stdout]  --> src/math.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Point = Square;
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_two_points` is never used
[INFO] [stdout]  --> src/math.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn from_two_points(a:Point, b:Point) -> Vector2
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `has_piece`, `is_square_attacked`, and `is_square_safe` are never used
[INFO] [stdout]    --> src/board.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 12  | impl Board
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn has_piece(&self, square:&Square) -> bool
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn is_square_attacked(&self, square:&Square, attacker_color:PieceColor) -> bool
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn is_square_safe(&self, square:&Square, attacker_color:PieceColor) -> bool
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cross_product` is never used
[INFO] [stdout]   --> src/math.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn cross_product(vector1:Vector2, vector2:Vector2) -> f32
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f32eq` is never used
[INFO] [stdout]   --> src/math.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn f32eq(a:f32, b:f32) -> bool
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_point_on_line` is never used
[INFO] [stdout]   --> src/math.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn is_point_on_line(point:Point, line:(Point, Point)) -> bool
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Point` is never used
[INFO] [stdout]  --> src/math.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Point = Square;
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_two_points` is never used
[INFO] [stdout]  --> src/math.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn from_two_points(a:Point, b:Point) -> Vector2
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cross_product` is never used
[INFO] [stdout]   --> src/math.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn cross_product(vector1:Vector2, vector2:Vector2) -> f32
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f32eq` is never used
[INFO] [stdout]   --> src/math.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn f32eq(a:f32, b:f32) -> bool
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_point_on_line` is never used
[INFO] [stdout]   --> src/math.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn is_point_on_line(point:Point, line:(Point, Point)) -> bool
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.15s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "c992e0caaa51dbb6e8a735c5b58c5a33290d9293da500b5bb5d571d96cb3656b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c992e0caaa51dbb6e8a735c5b58c5a33290d9293da500b5bb5d571d96cb3656b", kill_on_drop: false }`
[INFO] [stdout] c992e0caaa51dbb6e8a735c5b58c5a33290d9293da500b5bb5d571d96cb3656b
