Oct 12 13:07:18.253 INFO checking starrtnow/mcts-connect-four against master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f for pr-54977 Oct 12 13:07:18.254 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-2/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/pr-54977/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +5af0bb83044c3fb43d59ad5f49ee5ae1a293901f-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 12 13:07:18.681 INFO blam! 8125856c617b98857d8549d1115584dc6a2b1ac1de1e63dd83a0e8b58e4bf2f4 Oct 12 13:07:18.682 INFO running `"docker" "start" "-a" "8125856c617b98857d8549d1115584dc6a2b1ac1de1e63dd83a0e8b58e4bf2f4"` Oct 12 13:07:21.052 INFO kablam! usermod: no changes Oct 12 13:07:21.144 INFO kablam! Checking rand v0.3.14 Oct 12 13:07:21.148 INFO kablam! Checking time v0.1.35 Oct 12 13:07:23.460 INFO kablam! Checking connect_three v0.1.0 (/source) Oct 12 13:07:23.724 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 13:07:23.724 INFO kablam! --> src/game_state.rs:53:12 Oct 12 13:07:23.724 INFO kablam! | Oct 12 13:07:23.724 INFO kablam! 53 | if (column[i] == Color::Empty){ Oct 12 13:07:23.724 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 13:07:23.725 INFO kablam! | Oct 12 13:07:23.725 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 13:07:23.725 INFO kablam! Oct 12 13:07:23.725 INFO kablam! warning: unused import: `super::*` Oct 12 13:07:23.725 INFO kablam! --> src/game_state.rs:190:9 Oct 12 13:07:23.725 INFO kablam! | Oct 12 13:07:23.725 INFO kablam! 190 | use super::*; Oct 12 13:07:23.725 INFO kablam! | ^^^^^^^^ Oct 12 13:07:23.725 INFO kablam! | Oct 12 13:07:23.725 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 13:07:23.725 INFO kablam! Oct 12 13:07:23.725 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 13:07:23.725 INFO kablam! --> src/monte_carlo.rs:243:19 Oct 12 13:07:23.725 INFO kablam! | Oct 12 13:07:23.725 INFO kablam! 243 | if(uct > best_uct){ Oct 12 13:07:23.725 INFO kablam! | ^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 13:07:23.725 INFO kablam! Oct 12 13:07:23.846 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 13:07:23.846 INFO kablam! --> src/game_state.rs:53:12 Oct 12 13:07:23.847 INFO kablam! | Oct 12 13:07:23.847 INFO kablam! 53 | if (column[i] == Color::Empty){ Oct 12 13:07:23.847 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 13:07:23.848 INFO kablam! | Oct 12 13:07:23.848 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 13:07:23.848 INFO kablam! Oct 12 13:07:23.848 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 13:07:23.849 INFO kablam! --> src/monte_carlo.rs:243:19 Oct 12 13:07:23.849 INFO kablam! | Oct 12 13:07:23.849 INFO kablam! 243 | if(uct > best_uct){ Oct 12 13:07:23.849 INFO kablam! | ^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 13:07:23.850 INFO kablam! Oct 12 13:07:23.992 INFO kablam! warning: unused variable: `item` Oct 12 13:07:23.992 INFO kablam! --> src/game_state.rs:51:14 Oct 12 13:07:23.992 INFO kablam! | Oct 12 13:07:23.992 INFO kablam! 51 | fn push_back(item : Color, column : &mut [Color; 6]) -> usize{ Oct 12 13:07:23.992 INFO kablam! | ^^^^ help: consider using `_item` instead Oct 12 13:07:23.992 INFO kablam! | Oct 12 13:07:23.992 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 13:07:23.992 INFO kablam! Oct 12 13:07:23.992 INFO kablam! warning: unused variable: `player` Oct 12 13:07:23.992 INFO kablam! --> src/monte_carlo.rs:66:54 Oct 12 13:07:23.992 INFO kablam! | Oct 12 13:07:23.992 INFO kablam! 66 | pub fn run_simulation(state : game_state::GameState, player : game_state::Color) -> game_state::End{ Oct 12 13:07:23.992 INFO kablam! | ^^^^^^ help: consider using `_player` instead Oct 12 13:07:23.992 INFO kablam! Oct 12 13:07:24.040 INFO kablam! warning: function is never used: `optimal_move_highest_win` Oct 12 13:07:24.040 INFO kablam! --> src/monte_carlo.rs:161:1 Oct 12 13:07:24.040 INFO kablam! | Oct 12 13:07:24.040 INFO kablam! 161 | fn optimal_move_highest_win(possible_moves : &Vec<(game_state::Move, &UCTData)>) -> game_state::Move{ Oct 12 13:07:24.040 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 13:07:24.040 INFO kablam! | Oct 12 13:07:24.040 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 13:07:24.040 INFO kablam! Oct 12 13:07:24.043 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:24.043 INFO kablam! --> src/game_state.rs:47:35 Oct 12 13:07:24.043 INFO kablam! | Oct 12 13:07:24.043 INFO kablam! 47 | (self.x <= BOARD_WIDTH && self.x >= 0) Oct 12 13:07:24.043 INFO kablam! | ^^^^^^^^^^^^ Oct 12 13:07:24.043 INFO kablam! | Oct 12 13:07:24.043 INFO kablam! = note: #[warn(unused_comparisons)] on by default Oct 12 13:07:24.043 INFO kablam! Oct 12 13:07:24.043 INFO kablam! warning: variable `stepX` should have a snake case name such as `step_x` Oct 12 13:07:24.043 INFO kablam! --> src/game_state.rs:109:62 Oct 12 13:07:24.043 INFO kablam! | Oct 12 13:07:24.043 INFO kablam! 109 | pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{ Oct 12 13:07:24.043 INFO kablam! | ^^^^^ Oct 12 13:07:24.043 INFO kablam! | Oct 12 13:07:24.043 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 13:07:24.043 INFO kablam! Oct 12 13:07:24.048 INFO kablam! warning: variable `stepY` should have a snake case name such as `step_y` Oct 12 13:07:24.048 INFO kablam! --> src/game_state.rs:109:75 Oct 12 13:07:24.048 INFO kablam! | Oct 12 13:07:24.048 INFO kablam! 109 | pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{ Oct 12 13:07:24.048 INFO kablam! | ^^^^^ Oct 12 13:07:24.048 INFO kablam! Oct 12 13:07:24.048 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:24.048 INFO kablam! --> src/game_state.rs:114:16 Oct 12 13:07:24.048 INFO kablam! | Oct 12 13:07:24.048 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 12 13:07:24.048 INFO kablam! | ^^^^^ Oct 12 13:07:24.048 INFO kablam! Oct 12 13:07:24.048 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:24.048 INFO kablam! --> src/game_state.rs:114:46 Oct 12 13:07:24.048 INFO kablam! | Oct 12 13:07:24.049 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 12 13:07:24.049 INFO kablam! | ^^^^^ Oct 12 13:07:24.049 INFO kablam! Oct 12 13:07:24.076 INFO kablam! warning: unused variable: `item` Oct 12 13:07:24.076 INFO kablam! --> src/game_state.rs:51:14 Oct 12 13:07:24.076 INFO kablam! | Oct 12 13:07:24.076 INFO kablam! 51 | fn push_back(item : Color, column : &mut [Color; 6]) -> usize{ Oct 12 13:07:24.076 INFO kablam! | ^^^^ help: consider using `_item` instead Oct 12 13:07:24.076 INFO kablam! | Oct 12 13:07:24.076 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 13:07:24.076 INFO kablam! Oct 12 13:07:24.076 INFO kablam! warning: unused variable: `player` Oct 12 13:07:24.076 INFO kablam! --> src/monte_carlo.rs:66:54 Oct 12 13:07:24.076 INFO kablam! | Oct 12 13:07:24.076 INFO kablam! 66 | pub fn run_simulation(state : game_state::GameState, player : game_state::Color) -> game_state::End{ Oct 12 13:07:24.076 INFO kablam! | ^^^^^^ help: consider using `_player` instead Oct 12 13:07:24.076 INFO kablam! Oct 12 13:07:24.148 INFO kablam! warning: function is never used: `optimal_move_highest_win` Oct 12 13:07:24.148 INFO kablam! --> src/monte_carlo.rs:161:1 Oct 12 13:07:24.148 INFO kablam! | Oct 12 13:07:24.148 INFO kablam! 161 | fn optimal_move_highest_win(possible_moves : &Vec<(game_state::Move, &UCTData)>) -> game_state::Move{ Oct 12 13:07:24.148 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 13:07:24.148 INFO kablam! | Oct 12 13:07:24.148 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 13:07:24.148 INFO kablam! Oct 12 13:07:24.148 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:24.148 INFO kablam! --> src/game_state.rs:47:35 Oct 12 13:07:24.148 INFO kablam! | Oct 12 13:07:24.148 INFO kablam! 47 | (self.x <= BOARD_WIDTH && self.x >= 0) Oct 12 13:07:24.149 INFO kablam! | ^^^^^^^^^^^^ Oct 12 13:07:24.149 INFO kablam! | Oct 12 13:07:24.149 INFO kablam! = note: #[warn(unused_comparisons)] on by default Oct 12 13:07:24.149 INFO kablam! Oct 12 13:07:24.149 INFO kablam! warning: variable `stepX` should have a snake case name such as `step_x` Oct 12 13:07:24.149 INFO kablam! --> src/game_state.rs:109:62 Oct 12 13:07:24.149 INFO kablam! | Oct 12 13:07:24.149 INFO kablam! 109 | pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{ Oct 12 13:07:24.149 INFO kablam! | ^^^^^ Oct 12 13:07:24.149 INFO kablam! | Oct 12 13:07:24.149 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 13:07:24.149 INFO kablam! Oct 12 13:07:24.149 INFO kablam! warning: variable `stepY` should have a snake case name such as `step_y` Oct 12 13:07:24.149 INFO kablam! --> src/game_state.rs:109:75 Oct 12 13:07:24.149 INFO kablam! | Oct 12 13:07:24.149 INFO kablam! 109 | pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{ Oct 12 13:07:24.149 INFO kablam! | ^^^^^ Oct 12 13:07:24.149 INFO kablam! Oct 12 13:07:24.149 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:24.149 INFO kablam! --> src/game_state.rs:114:16 Oct 12 13:07:24.149 INFO kablam! | Oct 12 13:07:24.149 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 12 13:07:24.149 INFO kablam! | ^^^^^ Oct 12 13:07:24.149 INFO kablam! Oct 12 13:07:24.149 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:24.149 INFO kablam! --> src/game_state.rs:114:46 Oct 12 13:07:24.149 INFO kablam! | Oct 12 13:07:24.149 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 12 13:07:24.149 INFO kablam! | ^^^^^ Oct 12 13:07:24.149 INFO kablam! Oct 12 13:07:24.208 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.12s Oct 12 13:07:24.212 INFO kablam! su: No module specific data is present Oct 12 13:07:25.822 INFO running `"docker" "rm" "-f" "8125856c617b98857d8549d1115584dc6a2b1ac1de1e63dd83a0e8b58e4bf2f4"` Oct 12 13:07:26.220 INFO blam! 8125856c617b98857d8549d1115584dc6a2b1ac1de1e63dd83a0e8b58e4bf2f4