[INFO] cloning repository https://github.com/juliusmcp/ChessSVG [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juliusmcp/ChessSVG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliusmcp%2FChessSVG", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliusmcp%2FChessSVG'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faac2634903d54247b5c6737a9bfdba0c988492a [INFO] checking juliusmcp/ChessSVG against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliusmcp%2FChessSVG" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/juliusmcp/ChessSVG on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/juliusmcp/ChessSVG [INFO] finished tweaking git repo https://github.com/juliusmcp/ChessSVG [INFO] tweaked toml for git repo https://github.com/juliusmcp/ChessSVG written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/juliusmcp/ChessSVG 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded svg v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fbbd3134396ecf3bc1560e8c3f037914f17e746f2944eb6cedd2fdb74caa8a8 [INFO] running `Command { std: "docker" "start" "-a" "3fbbd3134396ecf3bc1560e8c3f037914f17e746f2944eb6cedd2fdb74caa8a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fbbd3134396ecf3bc1560e8c3f037914f17e746f2944eb6cedd2fdb74caa8a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fbbd3134396ecf3bc1560e8c3f037914f17e746f2944eb6cedd2fdb74caa8a8", kill_on_drop: false }` [INFO] [stdout] 3fbbd3134396ecf3bc1560e8c3f037914f17e746f2944eb6cedd2fdb74caa8a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 784afb82ebfa5a0d94dc5dcc4036af662e9146d0a87cc26ce7bab6ce6d5bb89b [INFO] running `Command { std: "docker" "start" "-a" "784afb82ebfa5a0d94dc5dcc4036af662e9146d0a87cc26ce7bab6ce6d5bb89b", kill_on_drop: false }` [INFO] [stderr] Checking svg v0.10.0 [INFO] [stderr] Checking bitboard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::board::piecetype::PieceType` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::board::piecetype::PieceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::piecetype::Colour` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::board::piecetype::Colour; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::piecetype::PieceType` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::board::piecetype::PieceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::piecetype::Colour` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::board::piecetype::Colour; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `square::Square` [INFO] [stdout] --> src/board/board.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(a8, Square::A8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | square::Square [INFO] [stdout] | square::Square [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `square::Square` [INFO] [stdout] --> src/board/square.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Square [INFO] [stdout] | ^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `square::Square` with `#[derive(PartialEq)]` [INFO] [stdout] --> src/board/square.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(PartialEq)] [INFO] [stdout] 3 | pub enum Square [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut board = Board::new(); [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `square::Square` doesn't implement `Debug` [INFO] [stdout] --> src/board/board.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(a8, Square::A8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `square::Square` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `square::Square` [INFO] [stdout] = note: add `#[derive(Debug)]` to `square::Square` or manually `impl Debug for square::Square` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `square::Square` with `#[derive(Debug)]` [INFO] [stdout] --> src/board/square.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Debug)] [INFO] [stdout] 3 | pub enum Square [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `square::Square` doesn't implement `Debug` [INFO] [stdout] --> src/board/board.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(a8, Square::A8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `square::Square` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `square::Square` [INFO] [stdout] = note: add `#[derive(Debug)]` to `square::Square` or manually `impl Debug for square::Square` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `square::Square` with `#[derive(Debug)]` [INFO] [stdout] --> src/board/square.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Debug)] [INFO] [stdout] 3 | pub enum Square [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut board = Board::new(); [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] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitboard` (bin "bitboard" test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "784afb82ebfa5a0d94dc5dcc4036af662e9146d0a87cc26ce7bab6ce6d5bb89b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "784afb82ebfa5a0d94dc5dcc4036af662e9146d0a87cc26ce7bab6ce6d5bb89b", kill_on_drop: false }` [INFO] [stdout] 784afb82ebfa5a0d94dc5dcc4036af662e9146d0a87cc26ce7bab6ce6d5bb89b