Oct 31 20:33:33.365 INFO checking starrtnow/mcts-connect-four against try#d7816399d50d407bbce1efe9dbadf8faaaf568fc for pr-55538 Oct 31 20:33:33.366 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-55538/worker-1/try#d7816399d50d407bbce1efe9dbadf8faaaf568fc:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-1/pr-55538/try#d7816399d50d407bbce1efe9dbadf8faaaf568fc:/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 +d7816399d50d407bbce1efe9dbadf8faaaf568fc-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 31 20:33:33.821 INFO blam! 13a4e0feddcea4d11b078f91c1bd1c6a26039308c6035c2748635806f95f8cd7 Oct 31 20:33:33.824 INFO running `"docker" "start" "-a" "13a4e0feddcea4d11b078f91c1bd1c6a26039308c6035c2748635806f95f8cd7"` Oct 31 20:33:35.027 INFO kablam! usermod: no changes Oct 31 20:33:35.116 INFO kablam! Checking rand v0.3.14 Oct 31 20:33:35.116 INFO kablam! Checking time v0.1.35 Oct 31 20:33:37.174 INFO kablam! Checking connect_three v0.1.0 (/source) Oct 31 20:33:37.804 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 20:33:37.808 INFO kablam! --> src/game_state.rs:53:12 Oct 31 20:33:37.808 INFO kablam! | Oct 31 20:33:37.808 INFO kablam! 53 | if (column[i] == Color::Empty){ Oct 31 20:33:37.808 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 20:33:37.808 INFO kablam! | Oct 31 20:33:37.808 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 31 20:33:37.808 INFO kablam! Oct 31 20:33:37.808 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 20:33:37.808 INFO kablam! --> src/monte_carlo.rs:243:19 Oct 31 20:33:37.808 INFO kablam! | Oct 31 20:33:37.808 INFO kablam! 243 | if(uct > best_uct){ Oct 31 20:33:37.808 INFO kablam! | ^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 20:33:37.808 INFO kablam! Oct 31 20:33:37.861 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 20:33:37.861 INFO kablam! --> src/game_state.rs:53:12 Oct 31 20:33:37.861 INFO kablam! | Oct 31 20:33:37.861 INFO kablam! 53 | if (column[i] == Color::Empty){ Oct 31 20:33:37.861 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 20:33:37.861 INFO kablam! | Oct 31 20:33:37.861 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 31 20:33:37.861 INFO kablam! Oct 31 20:33:37.868 INFO kablam! warning: unused import: `super::*` Oct 31 20:33:37.868 INFO kablam! --> src/game_state.rs:190:9 Oct 31 20:33:37.868 INFO kablam! | Oct 31 20:33:37.868 INFO kablam! 190 | use super::*; Oct 31 20:33:37.868 INFO kablam! | ^^^^^^^^ Oct 31 20:33:37.868 INFO kablam! | Oct 31 20:33:37.868 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 31 20:33:37.868 INFO kablam! Oct 31 20:33:37.868 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 20:33:37.868 INFO kablam! --> src/monte_carlo.rs:243:19 Oct 31 20:33:37.868 INFO kablam! | Oct 31 20:33:37.868 INFO kablam! 243 | if(uct > best_uct){ Oct 31 20:33:37.868 INFO kablam! | ^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 20:33:37.868 INFO kablam! Oct 31 20:33:38.088 INFO kablam! warning: unused variable: `item` Oct 31 20:33:38.088 INFO kablam! --> src/game_state.rs:51:14 Oct 31 20:33:38.088 INFO kablam! | Oct 31 20:33:38.088 INFO kablam! 51 | fn push_back(item : Color, column : &mut [Color; 6]) -> usize{ Oct 31 20:33:38.088 INFO kablam! | ^^^^ help: consider using `_item` instead Oct 31 20:33:38.088 INFO kablam! | Oct 31 20:33:38.089 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 31 20:33:38.089 INFO kablam! Oct 31 20:33:38.089 INFO kablam! warning: unused variable: `player` Oct 31 20:33:38.089 INFO kablam! --> src/monte_carlo.rs:66:54 Oct 31 20:33:38.089 INFO kablam! | Oct 31 20:33:38.089 INFO kablam! 66 | pub fn run_simulation(state : game_state::GameState, player : game_state::Color) -> game_state::End{ Oct 31 20:33:38.089 INFO kablam! | ^^^^^^ help: consider using `_player` instead Oct 31 20:33:38.089 INFO kablam! Oct 31 20:33:38.132 INFO kablam! warning: function is never used: `optimal_move_highest_win` Oct 31 20:33:38.132 INFO kablam! --> src/monte_carlo.rs:161:1 Oct 31 20:33:38.132 INFO kablam! | Oct 31 20:33:38.132 INFO kablam! 161 | fn optimal_move_highest_win(possible_moves : &Vec<(game_state::Move, &UCTData)>) -> game_state::Move{ Oct 31 20:33:38.132 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 20:33:38.132 INFO kablam! | Oct 31 20:33:38.132 INFO kablam! = note: #[warn(dead_code)] on by default Oct 31 20:33:38.132 INFO kablam! Oct 31 20:33:38.136 INFO kablam! warning: comparison is useless due to type limits Oct 31 20:33:38.136 INFO kablam! --> src/game_state.rs:47:35 Oct 31 20:33:38.136 INFO kablam! | Oct 31 20:33:38.136 INFO kablam! 47 | (self.x <= BOARD_WIDTH && self.x >= 0) Oct 31 20:33:38.136 INFO kablam! | ^^^^^^^^^^^^ Oct 31 20:33:38.136 INFO kablam! | Oct 31 20:33:38.136 INFO kablam! = note: #[warn(unused_comparisons)] on by default Oct 31 20:33:38.136 INFO kablam! Oct 31 20:33:38.136 INFO kablam! warning: variable `stepX` should have a snake case name such as `step_x` Oct 31 20:33:38.136 INFO kablam! --> src/game_state.rs:109:62 Oct 31 20:33:38.136 INFO kablam! | Oct 31 20:33:38.136 INFO kablam! 109 | pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{ Oct 31 20:33:38.136 INFO kablam! | ^^^^^ Oct 31 20:33:38.136 INFO kablam! | Oct 31 20:33:38.136 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 31 20:33:38.136 INFO kablam! Oct 31 20:33:38.137 INFO kablam! warning: variable `stepY` should have a snake case name such as `step_y` Oct 31 20:33:38.137 INFO kablam! --> src/game_state.rs:109:75 Oct 31 20:33:38.137 INFO kablam! | Oct 31 20:33:38.137 INFO kablam! 109 | pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{ Oct 31 20:33:38.137 INFO kablam! | ^^^^^ Oct 31 20:33:38.137 INFO kablam! Oct 31 20:33:38.137 INFO kablam! warning: comparison is useless due to type limits Oct 31 20:33:38.137 INFO kablam! --> src/game_state.rs:114:16 Oct 31 20:33:38.137 INFO kablam! | Oct 31 20:33:38.137 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 31 20:33:38.137 INFO kablam! | ^^^^^ Oct 31 20:33:38.137 INFO kablam! Oct 31 20:33:38.137 INFO kablam! warning: comparison is useless due to type limits Oct 31 20:33:38.137 INFO kablam! --> src/game_state.rs:114:46 Oct 31 20:33:38.137 INFO kablam! | Oct 31 20:33:38.137 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 31 20:33:38.137 INFO kablam! | ^^^^^ Oct 31 20:33:38.137 INFO kablam! Oct 31 20:33:38.209 INFO kablam! warning: unused variable: `item` Oct 31 20:33:38.210 INFO kablam! --> src/game_state.rs:51:14 Oct 31 20:33:38.210 INFO kablam! | Oct 31 20:33:38.210 INFO kablam! 51 | fn push_back(item : Color, column : &mut [Color; 6]) -> usize{ Oct 31 20:33:38.210 INFO kablam! | ^^^^ help: consider using `_item` instead Oct 31 20:33:38.210 INFO kablam! | Oct 31 20:33:38.210 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 31 20:33:38.210 INFO kablam! Oct 31 20:33:38.210 INFO kablam! warning: unused variable: `player` Oct 31 20:33:38.210 INFO kablam! --> src/monte_carlo.rs:66:54 Oct 31 20:33:38.210 INFO kablam! | Oct 31 20:33:38.210 INFO kablam! 66 | pub fn run_simulation(state : game_state::GameState, player : game_state::Color) -> game_state::End{ Oct 31 20:33:38.210 INFO kablam! | ^^^^^^ help: consider using `_player` instead Oct 31 20:33:38.210 INFO kablam! Oct 31 20:33:38.260 INFO kablam! warning: function is never used: `optimal_move_highest_win` Oct 31 20:33:38.260 INFO kablam! --> src/monte_carlo.rs:161:1 Oct 31 20:33:38.261 INFO kablam! | Oct 31 20:33:38.261 INFO kablam! 161 | fn optimal_move_highest_win(possible_moves : &Vec<(game_state::Move, &UCTData)>) -> game_state::Move{ Oct 31 20:33:38.261 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 20:33:38.261 INFO kablam! | Oct 31 20:33:38.262 INFO kablam! = note: #[warn(dead_code)] on by default Oct 31 20:33:38.262 INFO kablam! Oct 31 20:33:38.262 INFO kablam! warning: comparison is useless due to type limits Oct 31 20:33:38.263 INFO kablam! --> src/game_state.rs:47:35 Oct 31 20:33:38.263 INFO kablam! | Oct 31 20:33:38.263 INFO kablam! 47 | (self.x <= BOARD_WIDTH && self.x >= 0) Oct 31 20:33:38.264 INFO kablam! | ^^^^^^^^^^^^ Oct 31 20:33:38.264 INFO kablam! | Oct 31 20:33:38.264 INFO kablam! = note: #[warn(unused_comparisons)] on by default Oct 31 20:33:38.264 INFO kablam! Oct 31 20:33:38.265 INFO kablam! warning: variable `stepX` should have a snake case name such as `step_x` Oct 31 20:33:38.265 INFO kablam! --> src/game_state.rs:109:62 Oct 31 20:33:38.265 INFO kablam! | Oct 31 20:33:38.266 INFO kablam! 109 | pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{ Oct 31 20:33:38.266 INFO kablam! | ^^^^^ Oct 31 20:33:38.266 INFO kablam! | Oct 31 20:33:38.266 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 31 20:33:38.267 INFO kablam! Oct 31 20:33:38.267 INFO kablam! warning: variable `stepY` should have a snake case name such as `step_y` Oct 31 20:33:38.267 INFO kablam! --> src/game_state.rs:109:75 Oct 31 20:33:38.267 INFO kablam! | Oct 31 20:33:38.268 INFO kablam! 109 | pub fn linear_match(&self, start_x : i32, start_y : i32, stepX : i32, stepY : i32, color : Color) -> bool{ Oct 31 20:33:38.268 INFO kablam! | ^^^^^ Oct 31 20:33:38.268 INFO kablam! Oct 31 20:33:38.269 INFO kablam! warning: comparison is useless due to type limits Oct 31 20:33:38.269 INFO kablam! --> src/game_state.rs:114:16 Oct 31 20:33:38.269 INFO kablam! | Oct 31 20:33:38.269 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 31 20:33:38.270 INFO kablam! | ^^^^^ Oct 31 20:33:38.270 INFO kablam! Oct 31 20:33:38.270 INFO kablam! warning: comparison is useless due to type limits Oct 31 20:33:38.270 INFO kablam! --> src/game_state.rs:114:46 Oct 31 20:33:38.271 INFO kablam! | Oct 31 20:33:38.271 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 31 20:33:38.271 INFO kablam! | ^^^^^ Oct 31 20:33:38.271 INFO kablam! Oct 31 20:33:38.304 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.24s Oct 31 20:33:38.315 INFO kablam! su: No module specific data is present Oct 31 20:33:39.506 INFO running `"docker" "rm" "-f" "13a4e0feddcea4d11b078f91c1bd1c6a26039308c6035c2748635806f95f8cd7"` Oct 31 20:33:39.865 INFO blam! 13a4e0feddcea4d11b078f91c1bd1c6a26039308c6035c2748635806f95f8cd7