[INFO] updating cached repository https://github.com/craigfay/chess-engine [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/craigfay/chess-engine [INFO] [stderr] 209390e..8fe62d4 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8fe62d48b39ef5113e723295d20506651ed6b78b [INFO] checking craigfay/chess-engine against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Fchess-engine" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/craigfay/chess-engine on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/craigfay/chess-engine [INFO] finished tweaking git repo https://github.com/craigfay/chess-engine [INFO] tweaked toml for git repo https://github.com/craigfay/chess-engine written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/craigfay/chess-engine already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d01d84b53ea12aff2b2890cf8239d913e87d2fffcf898ea2eb9b3d5fa471792 [INFO] running `"docker" "start" "-a" "3d01d84b53ea12aff2b2890cf8239d913e87d2fffcf898ea2eb9b3d5fa471792"` [INFO] [stderr] Checking chess-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `GameState`, `Move` [INFO] [stderr] --> src/controller.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | GameState, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | Move, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Black`, `GameState`, `Move`, `Pawn`, `White` [INFO] [stderr] --> src/notation.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Move, [INFO] [stderr] | ^^^^ [INFO] [stderr] 6 | GameState, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | PieceName::{ [INFO] [stderr] 8 | Pawn [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | }, [INFO] [stderr] 10 | Color::{White,Black}, [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Piece` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Piece, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `square_index_to_algebraic` [INFO] [stderr] --> src/main.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | square_index_to_algebraic, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GameState`, `Move` [INFO] [stderr] --> src/controller.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | GameState, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | Move, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Black`, `GameState`, `Move`, `Pawn`, `White` [INFO] [stderr] --> src/notation.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Move, [INFO] [stderr] | ^^^^ [INFO] [stderr] 6 | GameState, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | PieceName::{ [INFO] [stderr] 8 | Pawn [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | }, [INFO] [stderr] 10 | Color::{White,Black}, [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Piece` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Piece, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `square_index_to_algebraic` [INFO] [stderr] --> src/main.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | square_index_to_algebraic, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `action` [INFO] [stderr] --> src/main.rs:862:9 [INFO] [stderr] | [INFO] [stderr] 862 | let action = Move { from: 29, to: 20 }; [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_action` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_x` [INFO] [stderr] --> src/rules.rs:114:14 [INFO] [stderr] | [INFO] [stderr] 114 | let (delta_x, delta_y) = position_delta(self.from, self.to); [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_delta_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/rules.rs:152:37 [INFO] [stderr] | [INFO] [stderr] 152 | fn as_algebraic_notation(&self, state: &GameState) -> String { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_x` [INFO] [stderr] --> src/rules.rs:199:14 [INFO] [stderr] | [INFO] [stderr] 199 | let (delta_x, delta_y) = position_delta(self.with, self.on); [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_delta_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_y` [INFO] [stderr] --> src/rules.rs:199:23 [INFO] [stderr] | [INFO] [stderr] 199 | let (delta_x, delta_y) = position_delta(self.with, self.on); [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_delta_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/rules.rs:219:37 [INFO] [stderr] | [INFO] [stderr] 219 | fn as_algebraic_notation(&self, state: &GameState) -> String { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/rules.rs:301:37 [INFO] [stderr] | [INFO] [stderr] 301 | fn as_algebraic_notation(&self, state: &GameState) -> String { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/rules.rs:414:37 [INFO] [stderr] | [INFO] [stderr] 414 | fn as_algebraic_notation(&self, state: &GameState) -> String { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:444:9 [INFO] [stderr] | [INFO] [stderr] 444 | let mut state = GameState::with_placements(vec![ [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:1095:9 [INFO] [stderr] | [INFO] [stderr] 1095 | let mut state = GameState::with_placements(vec![ [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | let mut origin_rank = &mut String::from(""); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | let mut origin_file = &mut String::from(""); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `action` [INFO] [stderr] --> src/main.rs:862:9 [INFO] [stderr] | [INFO] [stderr] 862 | let action = Move { from: 29, to: 20 }; [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_action` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_x` [INFO] [stderr] --> src/rules.rs:114:14 [INFO] [stderr] | [INFO] [stderr] 114 | let (delta_x, delta_y) = position_delta(self.from, self.to); [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_delta_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/rules.rs:152:37 [INFO] [stderr] | [INFO] [stderr] 152 | fn as_algebraic_notation(&self, state: &GameState) -> String { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_x` [INFO] [stderr] --> src/rules.rs:199:14 [INFO] [stderr] | [INFO] [stderr] 199 | let (delta_x, delta_y) = position_delta(self.with, self.on); [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_delta_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_y` [INFO] [stderr] --> src/rules.rs:199:23 [INFO] [stderr] | [INFO] [stderr] 199 | let (delta_x, delta_y) = position_delta(self.with, self.on); [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_delta_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/rules.rs:219:37 [INFO] [stderr] | [INFO] [stderr] 219 | fn as_algebraic_notation(&self, state: &GameState) -> String { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/rules.rs:301:37 [INFO] [stderr] | [INFO] [stderr] 301 | fn as_algebraic_notation(&self, state: &GameState) -> String { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/rules.rs:414:37 [INFO] [stderr] | [INFO] [stderr] 414 | fn as_algebraic_notation(&self, state: &GameState) -> String { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `relative_material_values` [INFO] [stderr] --> src/rules.rs:480:8 [INFO] [stderr] | [INFO] [stderr] 480 | pub fn relative_material_values(state: &GameState) -> (usize, usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `piece_value` [INFO] [stderr] --> src/rules.rs:499:8 [INFO] [stderr] | [INFO] [stderr] 499 | pub fn piece_value(name: &PieceName) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `legal_next_states` [INFO] [stderr] --> src/rules.rs:582:8 [INFO] [stderr] | [INFO] [stderr] 582 | pub fn legal_next_states(state: &GameState) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `square_index_to_algebraic` [INFO] [stderr] --> src/notation.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn square_index_to_algebraic(square: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `square_algebraic_to_index` [INFO] [stderr] --> src/notation.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn square_algebraic_to_index(s: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `algebraic_notation_to_index_test` [INFO] [stderr] --> src/main.rs:408:4 [INFO] [stderr] | [INFO] [stderr] 408 | fn algebraic_notation_to_index_test() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:444:9 [INFO] [stderr] | [INFO] [stderr] 444 | let mut state = GameState::with_placements(vec![ [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:1095:9 [INFO] [stderr] | [INFO] [stderr] 1095 | let mut state = GameState::with_placements(vec![ [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | let mut origin_rank = &mut String::from(""); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | let mut origin_file = &mut String::from(""); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `relative_material_values` [INFO] [stderr] --> src/rules.rs:480:8 [INFO] [stderr] | [INFO] [stderr] 480 | pub fn relative_material_values(state: &GameState) -> (usize, usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `piece_value` [INFO] [stderr] --> src/rules.rs:499:8 [INFO] [stderr] | [INFO] [stderr] 499 | pub fn piece_value(name: &PieceName) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `legal_next_states` [INFO] [stderr] --> src/rules.rs:582:8 [INFO] [stderr] | [INFO] [stderr] 582 | pub fn legal_next_states(state: &GameState) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `square_index_to_algebraic` [INFO] [stderr] --> src/notation.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn square_index_to_algebraic(square: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `square_algebraic_to_index` [INFO] [stderr] --> src/notation.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn square_algebraic_to_index(s: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `algebraic_notation_to_index_test` [INFO] [stderr] --> src/main.rs:408:4 [INFO] [stderr] | [INFO] [stderr] 408 | fn algebraic_notation_to_index_test() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `"docker" "inspect" "3d01d84b53ea12aff2b2890cf8239d913e87d2fffcf898ea2eb9b3d5fa471792"` [INFO] running `"docker" "rm" "-f" "3d01d84b53ea12aff2b2890cf8239d913e87d2fffcf898ea2eb9b3d5fa471792"` [INFO] [stdout] 3d01d84b53ea12aff2b2890cf8239d913e87d2fffcf898ea2eb9b3d5fa471792