[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [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 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raylib v3.5.0 [INFO] [stderr] Downloaded syn v1.0.63 [INFO] [stderr] Downloaded raylib-sys v3.5.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3bec4f3daea53cc555962f6451991a2055968d5feef8ad77e52a51a57b45ce8 [INFO] running `Command { std: "docker" "start" "-a" "a3bec4f3daea53cc555962f6451991a2055968d5feef8ad77e52a51a57b45ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3bec4f3daea53cc555962f6451991a2055968d5feef8ad77e52a51a57b45ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3bec4f3daea53cc555962f6451991a2055968d5feef8ad77e52a51a57b45ce8", kill_on_drop: false }` [INFO] [stdout] a3bec4f3daea53cc555962f6451991a2055968d5feef8ad77e52a51a57b45ce8 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 126a440a26f533ee6df776cd146ff85496f5f189c3daf59022da399f28f89a1e [INFO] running `Command { std: "docker" "start" "-a" "126a440a26f533ee6df776cd146ff85496f5f189c3daf59022da399f28f89a1e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling fs_extra v1.2.0 [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 strum v0.20.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling raylib-sys v3.5.0 [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 [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, [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: 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] [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 [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, [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: 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] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.57s [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" "126a440a26f533ee6df776cd146ff85496f5f189c3daf59022da399f28f89a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "126a440a26f533ee6df776cd146ff85496f5f189c3daf59022da399f28f89a1e", kill_on_drop: false }` [INFO] [stdout] 126a440a26f533ee6df776cd146ff85496f5f189c3daf59022da399f28f89a1e