Oct 12 13:07:13.608 INFO checking starrtnow/mcts-connect-four against try#4021bd0b3c5815b087d6db10ce461e7e4854ade7 for pr-54977 Oct 12 13:07:13.608 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-0/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/pr-54977/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/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 +4021bd0b3c5815b087d6db10ce461e7e4854ade7-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:14.222 INFO blam! e27fec8b8e82a690582c9609afefc6209ea12f92432456888154dfc98d161e20 Oct 12 13:07:14.224 INFO running `"docker" "start" "-a" "e27fec8b8e82a690582c9609afefc6209ea12f92432456888154dfc98d161e20"` Oct 12 13:07:16.776 INFO kablam! usermod: no changes Oct 12 13:07:16.884 INFO kablam! Checking time v0.1.35 Oct 12 13:07:17.996 INFO kablam! Checking connect_three v0.1.0 (/source) Oct 12 13:07:18.521 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 13:07:18.521 INFO kablam! --> src/game_state.rs:53:12 Oct 12 13:07:18.521 INFO kablam! | Oct 12 13:07:18.522 INFO kablam! 53 | if (column[i] == Color::Empty){ Oct 12 13:07:18.522 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 13:07:18.522 INFO kablam! | Oct 12 13:07:18.522 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 13:07:18.523 INFO kablam! Oct 12 13:07:18.533 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 13:07:18.534 INFO kablam! --> src/monte_carlo.rs:243:19 Oct 12 13:07:18.534 INFO kablam! | Oct 12 13:07:18.534 INFO kablam! 243 | if(uct > best_uct){ Oct 12 13:07:18.535 INFO kablam! | ^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 13:07:18.535 INFO kablam! Oct 12 13:07:18.561 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 13:07:18.562 INFO kablam! --> src/game_state.rs:53:12 Oct 12 13:07:18.564 INFO kablam! | Oct 12 13:07:18.565 INFO kablam! 53 | if (column[i] == Color::Empty){ Oct 12 13:07:18.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 13:07:18.565 INFO kablam! | Oct 12 13:07:18.566 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 13:07:18.566 INFO kablam! Oct 12 13:07:18.566 INFO kablam! warning: unused import: `super::*` Oct 12 13:07:18.566 INFO kablam! --> src/game_state.rs:190:9 Oct 12 13:07:18.566 INFO kablam! | Oct 12 13:07:18.567 INFO kablam! 190 | use super::*; Oct 12 13:07:18.567 INFO kablam! | ^^^^^^^^ Oct 12 13:07:18.567 INFO kablam! | Oct 12 13:07:18.568 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 13:07:18.568 INFO kablam! Oct 12 13:07:18.568 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 13:07:18.568 INFO kablam! --> src/monte_carlo.rs:243:19 Oct 12 13:07:18.569 INFO kablam! | Oct 12 13:07:18.569 INFO kablam! 243 | if(uct > best_uct){ Oct 12 13:07:18.569 INFO kablam! | ^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 13:07:18.570 INFO kablam! Oct 12 13:07:18.876 INFO kablam! warning: unused variable: `item` Oct 12 13:07:18.877 INFO kablam! --> src/game_state.rs:51:14 Oct 12 13:07:18.877 INFO kablam! | Oct 12 13:07:18.877 INFO kablam! 51 | fn push_back(item : Color, column : &mut [Color; 6]) -> usize{ Oct 12 13:07:18.878 INFO kablam! | ^^^^ help: consider using `_item` instead Oct 12 13:07:18.878 INFO kablam! | Oct 12 13:07:18.878 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 13:07:18.878 INFO kablam! Oct 12 13:07:18.879 INFO kablam! warning: unused variable: `player` Oct 12 13:07:18.879 INFO kablam! --> src/monte_carlo.rs:66:54 Oct 12 13:07:18.879 INFO kablam! | Oct 12 13:07:18.880 INFO kablam! 66 | pub fn run_simulation(state : game_state::GameState, player : game_state::Color) -> game_state::End{ Oct 12 13:07:18.880 INFO kablam! | ^^^^^^ help: consider using `_player` instead Oct 12 13:07:18.880 INFO kablam! Oct 12 13:07:18.909 INFO kablam! warning: unused variable: `item` Oct 12 13:07:18.909 INFO kablam! --> src/game_state.rs:51:14 Oct 12 13:07:18.909 INFO kablam! | Oct 12 13:07:18.910 INFO kablam! 51 | fn push_back(item : Color, column : &mut [Color; 6]) -> usize{ Oct 12 13:07:18.910 INFO kablam! | ^^^^ help: consider using `_item` instead Oct 12 13:07:18.910 INFO kablam! | Oct 12 13:07:18.911 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 13:07:18.911 INFO kablam! Oct 12 13:07:18.911 INFO kablam! warning: unused variable: `player` Oct 12 13:07:18.912 INFO kablam! --> src/monte_carlo.rs:66:54 Oct 12 13:07:18.912 INFO kablam! | Oct 12 13:07:18.912 INFO kablam! 66 | pub fn run_simulation(state : game_state::GameState, player : game_state::Color) -> game_state::End{ Oct 12 13:07:18.912 INFO kablam! | ^^^^^^ help: consider using `_player` instead Oct 12 13:07:18.913 INFO kablam! Oct 12 13:07:18.957 INFO kablam! warning: function is never used: `optimal_move_highest_win` Oct 12 13:07:18.957 INFO kablam! --> src/monte_carlo.rs:161:1 Oct 12 13:07:18.958 INFO kablam! | Oct 12 13:07:18.958 INFO kablam! 161 | fn optimal_move_highest_win(possible_moves : &Vec<(game_state::Move, &UCTData)>) -> game_state::Move{ Oct 12 13:07:18.958 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 13:07:18.958 INFO kablam! | Oct 12 13:07:18.959 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 13:07:18.959 INFO kablam! Oct 12 13:07:18.959 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:18.960 INFO kablam! --> src/game_state.rs:47:35 Oct 12 13:07:18.960 INFO kablam! | Oct 12 13:07:18.960 INFO kablam! 47 | (self.x <= BOARD_WIDTH && self.x >= 0) Oct 12 13:07:18.961 INFO kablam! | ^^^^^^^^^^^^ Oct 12 13:07:18.961 INFO kablam! | Oct 12 13:07:18.961 INFO kablam! = note: #[warn(unused_comparisons)] on by default Oct 12 13:07:18.962 INFO kablam! Oct 12 13:07:18.962 INFO kablam! warning: variable `stepX` should have a snake case name such as `step_x` Oct 12 13:07:18.962 INFO kablam! --> src/game_state.rs:109:62 Oct 12 13:07:18.963 INFO kablam! | Oct 12 13:07:18.963 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:18.963 INFO kablam! | ^^^^^ Oct 12 13:07:18.964 INFO kablam! | Oct 12 13:07:18.964 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 13:07:18.964 INFO kablam! Oct 12 13:07:18.964 INFO kablam! warning: variable `stepY` should have a snake case name such as `step_y` Oct 12 13:07:18.965 INFO kablam! --> src/game_state.rs:109:75 Oct 12 13:07:18.965 INFO kablam! | Oct 12 13:07:18.965 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:18.966 INFO kablam! | ^^^^^ Oct 12 13:07:18.966 INFO kablam! Oct 12 13:07:18.966 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:18.967 INFO kablam! --> src/game_state.rs:114:16 Oct 12 13:07:18.967 INFO kablam! | Oct 12 13:07:18.967 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 12 13:07:18.968 INFO kablam! | ^^^^^ Oct 12 13:07:18.968 INFO kablam! Oct 12 13:07:18.968 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:18.969 INFO kablam! --> src/game_state.rs:114:46 Oct 12 13:07:18.969 INFO kablam! | Oct 12 13:07:18.969 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 12 13:07:18.970 INFO kablam! | ^^^^^ Oct 12 13:07:18.970 INFO kablam! Oct 12 13:07:18.970 INFO kablam! warning: function is never used: `optimal_move_highest_win` Oct 12 13:07:18.970 INFO kablam! --> src/monte_carlo.rs:161:1 Oct 12 13:07:18.971 INFO kablam! | Oct 12 13:07:18.971 INFO kablam! 161 | fn optimal_move_highest_win(possible_moves : &Vec<(game_state::Move, &UCTData)>) -> game_state::Move{ Oct 12 13:07:18.971 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 13:07:18.972 INFO kablam! | Oct 12 13:07:18.980 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 13:07:18.980 INFO kablam! Oct 12 13:07:18.980 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:18.980 INFO kablam! --> src/game_state.rs:47:35 Oct 12 13:07:18.980 INFO kablam! | Oct 12 13:07:18.980 INFO kablam! 47 | (self.x <= BOARD_WIDTH && self.x >= 0) Oct 12 13:07:18.980 INFO kablam! | ^^^^^^^^^^^^ Oct 12 13:07:18.980 INFO kablam! | Oct 12 13:07:18.980 INFO kablam! = note: #[warn(unused_comparisons)] on by default Oct 12 13:07:18.980 INFO kablam! Oct 12 13:07:18.980 INFO kablam! warning: variable `stepX` should have a snake case name such as `step_x` Oct 12 13:07:18.980 INFO kablam! --> src/game_state.rs:109:62 Oct 12 13:07:18.980 INFO kablam! | Oct 12 13:07:18.980 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:18.980 INFO kablam! | ^^^^^ Oct 12 13:07:18.980 INFO kablam! | Oct 12 13:07:18.980 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 13:07:18.980 INFO kablam! Oct 12 13:07:18.980 INFO kablam! warning: variable `stepY` should have a snake case name such as `step_y` Oct 12 13:07:18.980 INFO kablam! --> src/game_state.rs:109:75 Oct 12 13:07:18.980 INFO kablam! | Oct 12 13:07:18.980 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:18.980 INFO kablam! | ^^^^^ Oct 12 13:07:18.980 INFO kablam! Oct 12 13:07:18.980 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:18.980 INFO kablam! --> src/game_state.rs:114:16 Oct 12 13:07:18.980 INFO kablam! | Oct 12 13:07:18.980 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 12 13:07:18.980 INFO kablam! | ^^^^^ Oct 12 13:07:18.980 INFO kablam! Oct 12 13:07:18.980 INFO kablam! warning: comparison is useless due to type limits Oct 12 13:07:18.980 INFO kablam! --> src/game_state.rs:114:46 Oct 12 13:07:18.980 INFO kablam! | Oct 12 13:07:18.980 INFO kablam! 114 | if x < 0 || x >= BOARD_HEIGHT || y < 0 || y >= BOARD_WIDTH{ Oct 12 13:07:18.980 INFO kablam! | ^^^^^ Oct 12 13:07:18.980 INFO kablam! Oct 12 13:07:19.068 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.25s Oct 12 13:07:19.068 INFO kablam! su: No module specific data is present Oct 12 13:07:20.336 INFO running `"docker" "rm" "-f" "e27fec8b8e82a690582c9609afefc6209ea12f92432456888154dfc98d161e20"` Oct 12 13:07:20.622 INFO blam! e27fec8b8e82a690582c9609afefc6209ea12f92432456888154dfc98d161e20