[INFO] cloning repository https://github.com/T-O-R-U-S/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/T-O-R-U-S/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FT-O-R-U-S%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FT-O-R-U-S%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67145f19afd841aadda0746ef6bc051db029876e [INFO] checking T-O-R-U-S/chess against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FT-O-R-U-S%2Fchess" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/T-O-R-U-S/chess on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/T-O-R-U-S/chess [INFO] finished tweaking git repo https://github.com/T-O-R-U-S/chess [INFO] tweaked toml for git repo https://github.com/T-O-R-U-S/chess written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/T-O-R-U-S/chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9e855618b886bf1c4e87d4d9e97426486dc6d34ee424f4e58e3c112c3da140e [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" "f9e855618b886bf1c4e87d4d9e97426486dc6d34ee424f4e58e3c112c3da140e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9e855618b886bf1c4e87d4d9e97426486dc6d34ee424f4e58e3c112c3da140e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9e855618b886bf1c4e87d4d9e97426486dc6d34ee424f4e58e3c112c3da140e", kill_on_drop: false }` [INFO] [stdout] f9e855618b886bf1c4e87d4d9e97426486dc6d34ee424f4e58e3c112c3da140e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6ff6e717b232c1c8be2e15c38994ea4d1a0c664f210c7fa93507cc579f2eab3 [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" "b6ff6e717b232c1c8be2e15c38994ea4d1a0c664f210c7fa93507cc579f2eab3", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/board/pieces.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | Piece:: Pawn(x, y, s, has_moved) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_moved` [INFO] [stdout] --> src/board/pieces.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | Piece:: Pawn(x, y, s, has_moved) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_moved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/board/pieces.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let default = || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_1` [INFO] [stdout] --> src/board/pieces.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let x_1 = x+1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_x_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_1` [INFO] [stdout] --> src/board/pieces.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let y_1 = y+1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_y_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_pos` [INFO] [stdout] --> src/board/pieces.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn movement(&mut self, new_pos: (isize, isize), board: &mut Board) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/board/pieces.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn movement(&mut self, new_pos: (isize, isize), board: &mut Board) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_option` [INFO] [stdout] --> src/board/pieces.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_option(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pos` [INFO] [stdout] --> src/board/pieces.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn set_pos(&self, prev_pos:(isize, isize), new_pos: (isize, isize), board: &mut Board) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/board/pieces.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | Piece:: Pawn(x, y, s, has_moved) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_moved` [INFO] [stdout] --> src/board/pieces.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | Piece:: Pawn(x, y, s, has_moved) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_moved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/board/pieces.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let default = || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_1` [INFO] [stdout] --> src/board/pieces.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let x_1 = x+1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_x_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_1` [INFO] [stdout] --> src/board/pieces.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let y_1 = y+1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_y_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_pos` [INFO] [stdout] --> src/board/pieces.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn movement(&mut self, new_pos: (isize, isize), board: &mut Board) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/board/pieces.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn movement(&mut self, new_pos: (isize, isize), board: &mut Board) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_option` [INFO] [stdout] --> src/board/pieces.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_option(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pos` [INFO] [stdout] --> src/board/pieces.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn set_pos(&self, prev_pos:(isize, isize), new_pos: (isize, isize), board: &mut Board) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.68s [INFO] running `Command { std: "docker" "inspect" "b6ff6e717b232c1c8be2e15c38994ea4d1a0c664f210c7fa93507cc579f2eab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ff6e717b232c1c8be2e15c38994ea4d1a0c664f210c7fa93507cc579f2eab3", kill_on_drop: false }` [INFO] [stdout] b6ff6e717b232c1c8be2e15c38994ea4d1a0c664f210c7fa93507cc579f2eab3