[INFO] cloning repository https://github.com/schuylermartin45/rust_quoridor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/schuylermartin45/rust_quoridor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschuylermartin45%2Frust_quoridor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschuylermartin45%2Frust_quoridor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1354be6b1b3242104150d993ca29372b113c17c1 [INFO] checking schuylermartin45/rust_quoridor against master#f2d69d5a7c04617d122facd0a7a5bdde0af928ae for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschuylermartin45%2Frust_quoridor" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/schuylermartin45/rust_quoridor on toolchain f2d69d5a7c04617d122facd0a7a5bdde0af928ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/schuylermartin45/rust_quoridor [INFO] finished tweaking git repo https://github.com/schuylermartin45/rust_quoridor [INFO] tweaked toml for git repo https://github.com/schuylermartin45/rust_quoridor written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/schuylermartin45/rust_quoridor 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" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a4d185d111ca45ee3ade31fdaaf622743ba0c18188f200e9acab21e64dbfc0c [INFO] running `Command { std: "docker" "start" "-a" "4a4d185d111ca45ee3ade31fdaaf622743ba0c18188f200e9acab21e64dbfc0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a4d185d111ca45ee3ade31fdaaf622743ba0c18188f200e9acab21e64dbfc0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a4d185d111ca45ee3ade31fdaaf622743ba0c18188f200e9acab21e64dbfc0c", kill_on_drop: false }` [INFO] [stdout] 4a4d185d111ca45ee3ade31fdaaf622743ba0c18188f200e9acab21e64dbfc0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a15b754316828dc690334e1fb76a0c6551802190fccc3a2a81bdb8310f8fb28 [INFO] running `Command { std: "docker" "start" "-a" "8a15b754316828dc690334e1fb76a0c6551802190fccc3a2a81bdb8310f8fb28", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling rstest_macros v0.24.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rstest v0.24.0 [INFO] [stderr] Checking rust_quoridor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let mut player_pt = self.player_tbl.get_mut(&color).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(mut old_board_node) = self.spaces.get_mut(&player_pt) { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | if let Some(mut new_board_node) = self.spaces.get_mut(&new_pt) { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/board.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn place_wall(&mut self, player: &mut Player, wall: Wall) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wall` [INFO] [stdout] --> src/board.rs:207:55 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn place_wall(&mut self, player: &mut Player, wall: Wall) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Wall` is more private than the item `Board::can_place_wall` [INFO] [stdout] --> src/board.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn can_place_wall(&self, wall: Wall) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Board::can_place_wall` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Wall` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/board.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct Wall(Point, Point); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Wall` is more private than the item `Board::place_wall` [INFO] [stdout] --> src/board.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn place_wall(&mut self, player: &mut Player, wall: Wall) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Board::place_wall` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Wall` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/board.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct Wall(Point, Point); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/board.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | write!(f, "({}, {})", self.0, self.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/player.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / write!( [INFO] [stdout] 24 | | f, [INFO] [stdout] 25 | | "{}", [INFO] [stdout] 26 | | match self { [INFO] [stdout] ... | [INFO] [stdout] 32 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let mut player_pt = self.player_tbl.get_mut(&color).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(mut old_board_node) = self.spaces.get_mut(&player_pt) { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | if let Some(mut new_board_node) = self.spaces.get_mut(&new_pt) { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/board.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn place_wall(&mut self, player: &mut Player, wall: Wall) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wall` [INFO] [stdout] --> src/board.rs:207:55 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn place_wall(&mut self, player: &mut Player, wall: Wall) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Wall` is more private than the item `Board::can_place_wall` [INFO] [stdout] --> src/board.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn can_place_wall(&self, wall: Wall) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Board::can_place_wall` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Wall` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/board.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct Wall(Point, Point); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Wall` is more private than the item `Board::place_wall` [INFO] [stdout] --> src/board.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn place_wall(&mut self, player: &mut Player, wall: Wall) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Board::place_wall` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Wall` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/board.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct Wall(Point, Point); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/board.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | write!(f, "({}, {})", self.0, self.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/player.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / write!( [INFO] [stdout] 24 | | f, [INFO] [stdout] 25 | | "{}", [INFO] [stdout] 26 | | match self { [INFO] [stdout] ... | [INFO] [stdout] 32 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.63s [INFO] running `Command { std: "docker" "inspect" "8a15b754316828dc690334e1fb76a0c6551802190fccc3a2a81bdb8310f8fb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a15b754316828dc690334e1fb76a0c6551802190fccc3a2a81bdb8310f8fb28", kill_on_drop: false }` [INFO] [stdout] 8a15b754316828dc690334e1fb76a0c6551802190fccc3a2a81bdb8310f8fb28