[INFO] cloning repository https://github.com/beatmadsen/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/beatmadsen/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeatmadsen%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeatmadsen%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4bd1f56a7ea4da6b7ea9f773601463b3ad9e610 [INFO] testing beatmadsen/chess against 1.75.0 for beta-1.76-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeatmadsen%2Fchess" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beatmadsen/chess on toolchain 1.75.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/beatmadsen/chess [INFO] finished tweaking git repo https://github.com/beatmadsen/chess [INFO] tweaked toml for git repo https://github.com/beatmadsen/chess written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/beatmadsen/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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing beatmadsen/chess against beta-2023-12-22 for beta-1.76-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeatmadsen%2Fchess" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beatmadsen/chess on toolchain beta-2023-12-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/beatmadsen/chess [INFO] finished tweaking git repo https://github.com/beatmadsen/chess [INFO] tweaked toml for git repo https://github.com/beatmadsen/chess written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/beatmadsen/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" "+beta-2023-12-22" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing beatmadsen/chess against beta-2023-12-22 for beta-1.76-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeatmadsen%2Fchess" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beatmadsen/chess on toolchain beta-2023-12-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/beatmadsen/chess [INFO] finished tweaking git repo https://github.com/beatmadsen/chess [INFO] tweaked toml for git repo https://github.com/beatmadsen/chess written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/beatmadsen/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" "+beta-2023-12-22" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25c64ec8cdcb0dddf0c410e6a06fbde555fbd80528fc1961961b7d0d700720ea [INFO] running `Command { std: "docker" "start" "-a" "25c64ec8cdcb0dddf0c410e6a06fbde555fbd80528fc1961961b7d0d700720ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25c64ec8cdcb0dddf0c410e6a06fbde555fbd80528fc1961961b7d0d700720ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c64ec8cdcb0dddf0c410e6a06fbde555fbd80528fc1961961b7d0d700720ea", kill_on_drop: false }` [INFO] [stdout] 25c64ec8cdcb0dddf0c410e6a06fbde555fbd80528fc1961961b7d0d700720ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56ca919ab95e2c0044825bc5899c4e5f0f7644b866803bb1bd3b779f1cd51b2b [INFO] running `Command { std: "docker" "start" "-a" "56ca919ab95e2c0044825bc5899c4e5f0f7644b866803bb1bd3b779f1cd51b2b", kill_on_drop: false }` [INFO] [stderr] Compiling chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | (0...7, 0...7) => Name { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | (0...7, 0...7) => Name { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | (0...7, 0...7) => Some(Name { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | (0...7, 0...7) => Some(Name { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | 'a'...'h' => Some(c as i8 - 'a' as i8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'H' => Some(c as i8 - 'A' as i8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/square.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | piece: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | piece: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/piece.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | impl Clone for Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | impl Clone for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/piece.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | fn box_clone(&self) -> Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | fn box_clone(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/piece.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/piece.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | fn box_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | ChessError::new(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pawn` is never constructed [INFO] [stdout] --> src/piece.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Pawn {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queen` is never constructed [INFO] [stdout] --> src/piece.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Queen {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `King` is never constructed [INFO] [stdout] --> src/piece.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct King {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Knight` is never constructed [INFO] [stdout] --> src/piece.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Knight {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rook` is never constructed [INFO] [stdout] --> src/piece.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Rook {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Square` is never constructed [INFO] [stdout] --> src/square.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Square { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `legal_moves` is never used [INFO] [stdout] --> src/square.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Square { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 10 | pub fn legal_moves(&self) -> Vec<(Name, Name)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/square.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `legal_moves` is never used [INFO] [stdout] --> src/square.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Position { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 24 | pub fn legal_moves(&self) -> Vec<(Name, Name)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "56ca919ab95e2c0044825bc5899c4e5f0f7644b866803bb1bd3b779f1cd51b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ca919ab95e2c0044825bc5899c4e5f0f7644b866803bb1bd3b779f1cd51b2b", kill_on_drop: false }` [INFO] [stdout] 56ca919ab95e2c0044825bc5899c4e5f0f7644b866803bb1bd3b779f1cd51b2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89a54794b05b36ae26c1f2e50e5ebe8c12a131d3c0c23c11f4790aab764a9621 [INFO] running `Command { std: "docker" "start" "-a" "89a54794b05b36ae26c1f2e50e5ebe8c12a131d3c0c23c11f4790aab764a9621", kill_on_drop: false }` [INFO] [stderr] Compiling chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | (0...7, 0...7) => Name { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | (0...7, 0...7) => Name { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | (0...7, 0...7) => Some(Name { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | (0...7, 0...7) => Some(Name { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | 'a'...'h' => Some(c as i8 - 'a' as i8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'H' => Some(c as i8 - 'A' as i8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/square.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | piece: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | piece: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/piece.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | impl Clone for Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | impl Clone for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/piece.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | fn box_clone(&self) -> Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | fn box_clone(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/piece.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/piece.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | fn box_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | ChessError::new(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pawn` is never constructed [INFO] [stdout] --> src/piece.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Pawn {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queen` is never constructed [INFO] [stdout] --> src/piece.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Queen {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `King` is never constructed [INFO] [stdout] --> src/piece.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct King {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Knight` is never constructed [INFO] [stdout] --> src/piece.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Knight {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rook` is never constructed [INFO] [stdout] --> src/piece.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Rook {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Square` is never constructed [INFO] [stdout] --> src/square.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Square { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `legal_moves` is never used [INFO] [stdout] --> src/square.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Square { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 10 | pub fn legal_moves(&self) -> Vec<(Name, Name)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/square.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `legal_moves` is never used [INFO] [stdout] --> src/square.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Position { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 24 | pub fn legal_moves(&self) -> Vec<(Name, Name)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "89a54794b05b36ae26c1f2e50e5ebe8c12a131d3c0c23c11f4790aab764a9621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a54794b05b36ae26c1f2e50e5ebe8c12a131d3c0c23c11f4790aab764a9621", kill_on_drop: false }` [INFO] [stdout] 89a54794b05b36ae26c1f2e50e5ebe8c12a131d3c0c23c11f4790aab764a9621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46460e9fb40ce8093db66bcf356cf35798f15383890e9af66f7a5871efd91c02 [INFO] running `Command { std: "docker" "start" "-a" "46460e9fb40ce8093db66bcf356cf35798f15383890e9af66f7a5871efd91c02", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | (0...7, 0...7) => Name { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | (0...7, 0...7) => Name { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:55:15 [INFO] [stderr] | [INFO] [stderr] 55 | (0...7, 0...7) => Some(Name { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:55:22 [INFO] [stderr] | [INFO] [stderr] 55 | (0...7, 0...7) => Some(Name { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:86:20 [INFO] [stderr] | [INFO] [stderr] 86 | 'a'...'h' => Some(c as i8 - 'a' as i8), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:87:20 [INFO] [stderr] | [INFO] [stderr] 87 | 'A'...'H' => Some(c as i8 - 'A' as i8), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/square.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | piece: Option>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 5 | piece: Option>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/piece.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | impl Clone for Box { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 | impl Clone for Box { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/piece.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | fn box_clone(&self) -> Box; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 | fn box_clone(&self) -> Box; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/piece.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | fn clone(&self) -> Box { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 | fn clone(&self) -> Box { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/piece.rs:37:32 [INFO] [stderr] | [INFO] [stderr] 37 | fn box_clone(&self) -> Box { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 37 | fn box_clone(&self) -> Box { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:32:29 [INFO] [stderr] | [INFO] [stderr] 32 | ChessError::new(err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Pawn` is never constructed [INFO] [stderr] --> src/piece.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Pawn {} [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Queen` is never constructed [INFO] [stderr] --> src/piece.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Queen {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `King` is never constructed [INFO] [stderr] --> src/piece.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct King {} [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Knight` is never constructed [INFO] [stderr] --> src/piece.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Knight {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Rook` is never constructed [INFO] [stderr] --> src/piece.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Rook {} [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Square` is never constructed [INFO] [stderr] --> src/square.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Square { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `legal_moves` is never used [INFO] [stderr] --> src/square.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Square { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 10 | pub fn legal_moves(&self) -> Vec<(Name, Name)> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Position` is never constructed [INFO] [stderr] --> src/square.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Position { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `legal_moves` is never used [INFO] [stderr] --> src/square.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Position { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 24 | pub fn legal_moves(&self) -> Vec<(Name, Name)> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chess` (bin "chess" test) generated 21 warnings (run `cargo fix --bin "chess" --tests` to apply 11 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chess-c478db9a13d307dc) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test name::tests::a1_collects_correct_east_neighbours ... ok [INFO] [stdout] test name::tests::a3_collects_correct_south_west_neighbours ... ok [INFO] [stdout] test name::tests::a8_has_no_north_west_neighbour ... ok [INFO] [stdout] test name::tests::b2_has_correct_south_west_neighbour ... ok [INFO] [stdout] test name::tests::a1_has_no_south_west_neighbour ... ok [INFO] [stdout] test name::tests::d4_has_correct_north_neighbour ... ok [INFO] [stdout] test name::tests::d4_has_correct_east_neighbour ... ok [INFO] [stdout] test name::tests::d4_has_correct_south_neighbour ... ok [INFO] [stdout] test name::tests::b7_has_correct_north_west_neighbour ... ok [INFO] [stdout] test name::tests::d4_has_correct_west_neighbour ... ok [INFO] [stdout] test name::tests::h1_has_no_south_east_neighbour ... ok [INFO] [stdout] test name::tests::g7_has_correct_north_east_neighbour ... ok [INFO] [stdout] test name::tests::g2_has_correct_south_east_neighbour ... ok [INFO] [stdout] test name::tests::h8_has_no_north_east_neighbour ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "46460e9fb40ce8093db66bcf356cf35798f15383890e9af66f7a5871efd91c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46460e9fb40ce8093db66bcf356cf35798f15383890e9af66f7a5871efd91c02", kill_on_drop: false }` [INFO] [stdout] 46460e9fb40ce8093db66bcf356cf35798f15383890e9af66f7a5871efd91c02