Oct 10 18:12:50.788 INFO testing moratorium08/reversi-ai against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 10 18:12:50.789 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 10 18:12:50.790 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 10 18:12:51.270 INFO blam! 3cc25643fc521e50fa3e4991e04fec6f50559ffcd5d8a821b4f8a1ea97c26475 Oct 10 18:12:51.272 INFO running `"docker" "start" "-a" "3cc25643fc521e50fa3e4991e04fec6f50559ffcd5d8a821b4f8a1ea97c26475"` Oct 10 18:12:52.856 INFO kablam! usermod: no changes Oct 10 18:12:52.993 INFO kablam! Compiling memchr v2.0.1 Oct 10 18:12:53.884 INFO kablam! Compiling nom v4.0.0 Oct 10 18:12:57.484 INFO kablam! Compiling client v0.1.0 (/source) Oct 10 18:13:02.753 INFO kablam! warning: unused variable: `scores` Oct 10 18:13:02.753 INFO kablam! --> src/interface/game.rs:48:42 Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! 48 | client::Command::Bye(scores) => { Oct 10 18:13:02.753 INFO kablam! | ^^^^^^ help: consider using `_scores` instead Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 18:13:02.753 INFO kablam! Oct 10 18:13:02.753 INFO kablam! warning: unused variable: `t` Oct 10 18:13:02.753 INFO kablam! --> src/interface/game.rs:52:58 Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! 52 | client::Command::Start(color, oname, t) => { Oct 10 18:13:02.753 INFO kablam! | ^ help: consider using `_t` instead Oct 10 18:13:02.753 INFO kablam! Oct 10 18:13:02.753 INFO kablam! warning: unused variable: `x` Oct 10 18:13:02.753 INFO kablam! --> src/interface/game.rs:67:21 Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! 67 | x => panic!("Invalid Command") Oct 10 18:13:02.753 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:02.753 INFO kablam! Oct 10 18:13:02.753 INFO kablam! warning: unused variable: `result` Oct 10 18:13:02.753 INFO kablam! --> src/interface/game.rs:133:42 Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:02.753 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:02.753 INFO kablam! Oct 10 18:13:02.753 INFO kablam! warning: unused variable: `n` Oct 10 18:13:02.753 INFO kablam! --> src/interface/game.rs:133:50 Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:02.753 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:02.753 INFO kablam! Oct 10 18:13:02.753 INFO kablam! warning: unused variable: `m` Oct 10 18:13:02.753 INFO kablam! --> src/interface/game.rs:133:53 Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:02.753 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:02.753 INFO kablam! Oct 10 18:13:02.753 INFO kablam! warning: unused variable: `r` Oct 10 18:13:02.753 INFO kablam! --> src/interface/game.rs:133:56 Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:02.753 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:02.753 INFO kablam! Oct 10 18:13:02.753 INFO kablam! warning: unused variable: `x` Oct 10 18:13:02.753 INFO kablam! --> src/interface/game.rs:136:21 Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! 136 | x => panic!("Invalid Command") Oct 10 18:13:02.753 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:02.753 INFO kablam! Oct 10 18:13:02.753 INFO kablam! warning: unused variable: `result` Oct 10 18:13:02.753 INFO kablam! --> src/interface/game.rs:153:42 Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:02.753 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:02.753 INFO kablam! Oct 10 18:13:02.753 INFO kablam! warning: unused variable: `n` Oct 10 18:13:02.753 INFO kablam! --> src/interface/game.rs:153:50 Oct 10 18:13:02.753 INFO kablam! | Oct 10 18:13:02.753 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:02.753 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:02.753 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `m` Oct 10 18:13:02.754 INFO kablam! --> src/interface/game.rs:153:53 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:02.754 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `r` Oct 10 18:13:02.754 INFO kablam! --> src/interface/game.rs:153:56 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:02.754 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `x` Oct 10 18:13:02.754 INFO kablam! --> src/interface/game.rs:156:21 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 156 | x => panic!("Invalid Command") Oct 10 18:13:02.754 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `result` Oct 10 18:13:02.754 INFO kablam! --> src/interface/game.rs:163:24 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:02.754 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `n` Oct 10 18:13:02.754 INFO kablam! --> src/interface/game.rs:163:53 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:02.754 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `m` Oct 10 18:13:02.754 INFO kablam! --> src/interface/game.rs:163:60 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:02.754 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `reason` Oct 10 18:13:02.754 INFO kablam! --> src/interface/game.rs:163:67 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:02.754 INFO kablam! | ^^^^^^ help: consider using `_reason` instead Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:02.754 INFO kablam! --> src/player/learning/analysis.rs:78:21 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 78 | let mut epoch = 0u8; Oct 10 18:13:02.754 INFO kablam! | ^^^^^ Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `x` Oct 10 18:13:02.754 INFO kablam! --> src/player/learning/analysis.rs:159:17 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 159 | let x = 0..1; Oct 10 18:13:02.754 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:02.754 INFO kablam! --> src/player/learning/analysis.rs:195:21 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 195 | let mut epoch = 0u8; Oct 10 18:13:02.754 INFO kablam! | ^^^^^ Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.754 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.754 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.754 INFO kablam! ... Oct 10 18:13:02.754 INFO kablam! 233 | gen_analyzer!(diag4, 81, "DIAG4"); Oct 10 18:13:02.754 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.754 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.754 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.754 INFO kablam! ... Oct 10 18:13:02.754 INFO kablam! 234 | gen_analyzer!(diag5, 243, "DIAG5"); Oct 10 18:13:02.754 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:02.754 INFO kablam! Oct 10 18:13:02.754 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.754 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.754 INFO kablam! | Oct 10 18:13:02.754 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.754 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.754 INFO kablam! ... Oct 10 18:13:02.754 INFO kablam! 235 | gen_analyzer!(diag6, 729, "DIAG6"); Oct 10 18:13:02.754 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:02.756 INFO kablam! Oct 10 18:13:02.756 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.756 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.756 INFO kablam! | Oct 10 18:13:02.756 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.756 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.756 INFO kablam! ... Oct 10 18:13:02.756 INFO kablam! 236 | gen_analyzer!(diag7, 2187, "DIAG7"); Oct 10 18:13:02.756 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:02.756 INFO kablam! Oct 10 18:13:02.756 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.756 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.756 INFO kablam! | Oct 10 18:13:02.756 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.757 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.757 INFO kablam! ... Oct 10 18:13:02.757 INFO kablam! 237 | gen_analyzer!(diag8, 6561, "DIAG8"); Oct 10 18:13:02.757 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:02.757 INFO kablam! Oct 10 18:13:02.757 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.757 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.757 INFO kablam! | Oct 10 18:13:02.757 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.757 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.757 INFO kablam! ... Oct 10 18:13:02.757 INFO kablam! 238 | gen_analyzer!(hor_vert2, 6561, "HOR_VERT2"); Oct 10 18:13:02.757 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:02.757 INFO kablam! Oct 10 18:13:02.757 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.757 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.757 INFO kablam! | Oct 10 18:13:02.757 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.757 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.757 INFO kablam! ... Oct 10 18:13:02.757 INFO kablam! 239 | gen_analyzer!(hor_vert3, 6561, "HOR_VERT3"); Oct 10 18:13:02.757 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:02.757 INFO kablam! Oct 10 18:13:02.757 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.757 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.757 INFO kablam! | Oct 10 18:13:02.757 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.757 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.757 INFO kablam! ... Oct 10 18:13:02.757 INFO kablam! 240 | gen_analyzer!(hor_vert4, 6561, "HOR_VERT4"); Oct 10 18:13:02.757 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:02.757 INFO kablam! Oct 10 18:13:02.757 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.757 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.757 INFO kablam! | Oct 10 18:13:02.757 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.757 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.757 INFO kablam! ... Oct 10 18:13:02.757 INFO kablam! 241 | gen_analyzer!(edge2x, 59049, "EDGE2X"); Oct 10 18:13:02.757 INFO kablam! | --------------------------------------- in this macro invocation Oct 10 18:13:02.757 INFO kablam! Oct 10 18:13:02.757 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.757 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.757 INFO kablam! | Oct 10 18:13:02.757 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.757 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.757 INFO kablam! ... Oct 10 18:13:02.757 INFO kablam! 242 | gen_analyzer!(corner2x5, 59049, "CORNER2X5"); Oct 10 18:13:02.757 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:02.764 INFO kablam! Oct 10 18:13:02.764 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.764 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.764 INFO kablam! | Oct 10 18:13:02.764 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.764 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.764 INFO kablam! ... Oct 10 18:13:02.764 INFO kablam! 243 | gen_analyzer!(corner3x3, 19683, "CORNER3X3"); Oct 10 18:13:02.764 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:02.764 INFO kablam! Oct 10 18:13:02.764 INFO kablam! warning: unused variable: `board` Oct 10 18:13:02.764 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:02.764 INFO kablam! | Oct 10 18:13:02.764 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:02.764 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:02.764 INFO kablam! ... Oct 10 18:13:02.764 INFO kablam! 244 | gen_analyzer!(corner2x2, 81, "CORNER2X2"); Oct 10 18:13:02.764 INFO kablam! | ------------------------------------------ in this macro invocation Oct 10 18:13:02.764 INFO kablam! Oct 10 18:13:02.810 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:02.810 INFO kablam! --> src/interface/tcp_client.rs:55:13 Oct 10 18:13:02.810 INFO kablam! | Oct 10 18:13:02.810 INFO kablam! 55 | let mut ret: Result; Oct 10 18:13:02.810 INFO kablam! | ----^^^ Oct 10 18:13:02.810 INFO kablam! | | Oct 10 18:13:02.810 INFO kablam! | help: remove this `mut` Oct 10 18:13:02.810 INFO kablam! | Oct 10 18:13:02.810 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 18:13:02.810 INFO kablam! Oct 10 18:13:03.196 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:03.196 INFO kablam! --> src/player/learning/analysis.rs:56:12 Oct 10 18:13:03.196 INFO kablam! | Oct 10 18:13:03.196 INFO kablam! 56 | fn new(mut reader: BufReader, output_dir: &'a str) -> Analyzer { Oct 10 18:13:03.196 INFO kablam! | ----^^^^^^ Oct 10 18:13:03.196 INFO kablam! | | Oct 10 18:13:03.196 INFO kablam! | help: remove this `mut` Oct 10 18:13:03.196 INFO kablam! Oct 10 18:13:03.792 INFO kablam! warning: method is never used: `is_valid` Oct 10 18:13:03.792 INFO kablam! --> src/board.rs:401:5 Oct 10 18:13:03.792 INFO kablam! | Oct 10 18:13:03.792 INFO kablam! 401 | fn is_valid(&self, pos: &BitIndexable, player: Color) -> bool { Oct 10 18:13:03.792 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:03.792 INFO kablam! | Oct 10 18:13:03.792 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 18:13:03.792 INFO kablam! Oct 10 18:13:03.792 INFO kablam! warning: method is never used: `proc_end` Oct 10 18:13:03.792 INFO kablam! --> src/interface/game.rs:163:5 Oct 10 18:13:03.792 INFO kablam! | Oct 10 18:13:03.792 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:03.792 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:03.792 INFO kablam! Oct 10 18:13:03.792 INFO kablam! warning: constant item is never used: `map1` Oct 10 18:13:03.792 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:03.792 INFO kablam! | Oct 10 18:13:03.792 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:03.793 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:03.793 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:03.793 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:03.793 INFO kablam! ... | Oct 10 18:13:03.793 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:03.793 INFO kablam! 25 | | ]; Oct 10 18:13:03.793 INFO kablam! | |__^ Oct 10 18:13:03.793 INFO kablam! Oct 10 18:13:03.808 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:03.808 INFO kablam! --> src/interface/tcp_client.rs:84:17 Oct 10 18:13:03.808 INFO kablam! | Oct 10 18:13:03.808 INFO kablam! 84 | self.writer.flush(); Oct 10 18:13:03.808 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:03.808 INFO kablam! | Oct 10 18:13:03.808 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 18:13:03.808 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:03.808 INFO kablam! Oct 10 18:13:03.824 INFO kablam! warning: constant `map1` should have an upper case name such as `MAP1` Oct 10 18:13:03.824 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:03.824 INFO kablam! | Oct 10 18:13:03.824 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:03.824 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:03.824 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:03.824 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:03.824 INFO kablam! ... | Oct 10 18:13:03.824 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:03.824 INFO kablam! 25 | | ]; Oct 10 18:13:03.824 INFO kablam! | |__^ Oct 10 18:13:03.824 INFO kablam! | Oct 10 18:13:03.824 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 10 18:13:03.824 INFO kablam! Oct 10 18:13:03.824 INFO kablam! warning: constant `feature_functions` should have an upper case name such as `FEATURE_FUNCTIONS` Oct 10 18:13:03.825 INFO kablam! --> src/player/linear_evaluator.rs:83:1 Oct 10 18:13:03.825 INFO kablam! | Oct 10 18:13:03.825 INFO kablam! 83 | / pub const feature_functions: [fn(board::Board) -> f32; 12] = [ Oct 10 18:13:03.825 INFO kablam! 84 | | diag4, diag5, diag6, diag7, diag8, hor_vert2, hor_vert3, hor_vert4, Oct 10 18:13:03.825 INFO kablam! 85 | | edge2x, corner2x2, corner3x3, flippable_diff Oct 10 18:13:03.825 INFO kablam! 86 | | ]; Oct 10 18:13:03.825 INFO kablam! | |__________^ Oct 10 18:13:03.825 INFO kablam! Oct 10 18:13:03.825 INFO kablam! warning: constant `feature_names` should have an upper case name such as `FEATURE_NAMES` Oct 10 18:13:03.825 INFO kablam! --> src/player/linear_evaluator.rs:87:1 Oct 10 18:13:03.825 INFO kablam! | Oct 10 18:13:03.825 INFO kablam! 87 | / pub const feature_names: [&str; 12] = [ Oct 10 18:13:03.825 INFO kablam! 88 | | "diag4", "diag5", "diag6", "diag7", "diag8", "hor_vert2", "hor_vert3", "hor_vert4", Oct 10 18:13:03.825 INFO kablam! 89 | | "edge2x", "corner2x2", "corner3x3", "flippable_diff" Oct 10 18:13:03.825 INFO kablam! 90 | | ]; Oct 10 18:13:03.825 INFO kablam! | |__^ Oct 10 18:13:03.825 INFO kablam! Oct 10 18:13:03.829 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:03.829 INFO kablam! --> src/player/learning/analysis.rs:139:13 Oct 10 18:13:03.829 INFO kablam! | Oct 10 18:13:03.829 INFO kablam! 139 | create_dir(path); Oct 10 18:13:03.829 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 10 18:13:03.829 INFO kablam! | Oct 10 18:13:03.829 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:03.829 INFO kablam! Oct 10 18:13:13.165 INFO kablam! warning: unused variable: `scores` Oct 10 18:13:13.165 INFO kablam! --> src/interface/game.rs:48:42 Oct 10 18:13:13.165 INFO kablam! | Oct 10 18:13:13.166 INFO kablam! 48 | client::Command::Bye(scores) => { Oct 10 18:13:13.166 INFO kablam! | ^^^^^^ help: consider using `_scores` instead Oct 10 18:13:13.166 INFO kablam! | Oct 10 18:13:13.166 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 18:13:13.167 INFO kablam! Oct 10 18:13:13.167 INFO kablam! warning: unused variable: `t` Oct 10 18:13:13.167 INFO kablam! --> src/interface/game.rs:52:58 Oct 10 18:13:13.167 INFO kablam! | Oct 10 18:13:13.168 INFO kablam! 52 | client::Command::Start(color, oname, t) => { Oct 10 18:13:13.168 INFO kablam! | ^ help: consider using `_t` instead Oct 10 18:13:13.168 INFO kablam! Oct 10 18:13:13.168 INFO kablam! warning: unused variable: `x` Oct 10 18:13:13.169 INFO kablam! --> src/interface/game.rs:67:21 Oct 10 18:13:13.169 INFO kablam! | Oct 10 18:13:13.169 INFO kablam! 67 | x => panic!("Invalid Command") Oct 10 18:13:13.169 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:13.170 INFO kablam! Oct 10 18:13:13.177 INFO kablam! warning: unused variable: `result` Oct 10 18:13:13.178 INFO kablam! --> src/interface/game.rs:133:42 Oct 10 18:13:13.178 INFO kablam! | Oct 10 18:13:13.178 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.178 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:13.179 INFO kablam! Oct 10 18:13:13.179 INFO kablam! warning: unused variable: `n` Oct 10 18:13:13.179 INFO kablam! --> src/interface/game.rs:133:50 Oct 10 18:13:13.180 INFO kablam! | Oct 10 18:13:13.180 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.180 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:13.181 INFO kablam! Oct 10 18:13:13.181 INFO kablam! warning: unused variable: `m` Oct 10 18:13:13.181 INFO kablam! --> src/interface/game.rs:133:53 Oct 10 18:13:13.181 INFO kablam! | Oct 10 18:13:13.182 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.182 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:13.182 INFO kablam! Oct 10 18:13:13.183 INFO kablam! warning: unused variable: `r` Oct 10 18:13:13.183 INFO kablam! --> src/interface/game.rs:133:56 Oct 10 18:13:13.183 INFO kablam! | Oct 10 18:13:13.183 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.184 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:13.184 INFO kablam! Oct 10 18:13:13.184 INFO kablam! warning: unused variable: `x` Oct 10 18:13:13.185 INFO kablam! --> src/interface/game.rs:136:21 Oct 10 18:13:13.185 INFO kablam! | Oct 10 18:13:13.185 INFO kablam! 136 | x => panic!("Invalid Command") Oct 10 18:13:13.186 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:13.186 INFO kablam! Oct 10 18:13:13.186 INFO kablam! warning: unused variable: `result` Oct 10 18:13:13.186 INFO kablam! --> src/interface/game.rs:153:42 Oct 10 18:13:13.187 INFO kablam! | Oct 10 18:13:13.187 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.187 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:13.188 INFO kablam! Oct 10 18:13:13.192 INFO kablam! warning: unused variable: `n` Oct 10 18:13:13.192 INFO kablam! --> src/interface/game.rs:153:50 Oct 10 18:13:13.193 INFO kablam! | Oct 10 18:13:13.193 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.193 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:13.194 INFO kablam! Oct 10 18:13:13.194 INFO kablam! warning: unused variable: `m` Oct 10 18:13:13.194 INFO kablam! --> src/interface/game.rs:153:53 Oct 10 18:13:13.194 INFO kablam! | Oct 10 18:13:13.195 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.195 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:13.195 INFO kablam! Oct 10 18:13:13.196 INFO kablam! warning: unused variable: `r` Oct 10 18:13:13.196 INFO kablam! --> src/interface/game.rs:153:56 Oct 10 18:13:13.196 INFO kablam! | Oct 10 18:13:13.196 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.197 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:13.197 INFO kablam! Oct 10 18:13:13.197 INFO kablam! warning: unused variable: `x` Oct 10 18:13:13.198 INFO kablam! --> src/interface/game.rs:156:21 Oct 10 18:13:13.198 INFO kablam! | Oct 10 18:13:13.198 INFO kablam! 156 | x => panic!("Invalid Command") Oct 10 18:13:13.199 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:13.199 INFO kablam! Oct 10 18:13:13.199 INFO kablam! warning: unused variable: `result` Oct 10 18:13:13.199 INFO kablam! --> src/interface/game.rs:163:24 Oct 10 18:13:13.200 INFO kablam! | Oct 10 18:13:13.200 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:13.200 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:13.201 INFO kablam! Oct 10 18:13:13.201 INFO kablam! warning: unused variable: `n` Oct 10 18:13:13.201 INFO kablam! --> src/interface/game.rs:163:53 Oct 10 18:13:13.201 INFO kablam! | Oct 10 18:13:13.202 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:13.202 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:13.202 INFO kablam! Oct 10 18:13:13.203 INFO kablam! warning: unused variable: `m` Oct 10 18:13:13.203 INFO kablam! --> src/interface/game.rs:163:60 Oct 10 18:13:13.203 INFO kablam! | Oct 10 18:13:13.203 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:13.204 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:13.208 INFO kablam! Oct 10 18:13:13.209 INFO kablam! warning: unused variable: `reason` Oct 10 18:13:13.209 INFO kablam! --> src/interface/game.rs:163:67 Oct 10 18:13:13.209 INFO kablam! | Oct 10 18:13:13.209 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:13.210 INFO kablam! | ^^^^^^ help: consider using `_reason` instead Oct 10 18:13:13.210 INFO kablam! Oct 10 18:13:13.210 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:13.211 INFO kablam! --> src/player/learning/analysis.rs:78:21 Oct 10 18:13:13.211 INFO kablam! | Oct 10 18:13:13.211 INFO kablam! 78 | let mut epoch = 0u8; Oct 10 18:13:13.212 INFO kablam! | ^^^^^ Oct 10 18:13:13.212 INFO kablam! | Oct 10 18:13:13.212 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:13.213 INFO kablam! Oct 10 18:13:13.213 INFO kablam! warning: unused variable: `x` Oct 10 18:13:13.213 INFO kablam! --> src/player/learning/analysis.rs:159:17 Oct 10 18:13:13.213 INFO kablam! | Oct 10 18:13:13.214 INFO kablam! 159 | let x = 0..1; Oct 10 18:13:13.214 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:13.214 INFO kablam! Oct 10 18:13:13.215 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:13.215 INFO kablam! --> src/player/learning/analysis.rs:195:21 Oct 10 18:13:13.215 INFO kablam! | Oct 10 18:13:13.216 INFO kablam! 195 | let mut epoch = 0u8; Oct 10 18:13:13.216 INFO kablam! | ^^^^^ Oct 10 18:13:13.216 INFO kablam! | Oct 10 18:13:13.216 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:13.217 INFO kablam! Oct 10 18:13:13.217 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.217 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.217 INFO kablam! | Oct 10 18:13:13.218 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.218 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.218 INFO kablam! ... Oct 10 18:13:13.218 INFO kablam! 233 | gen_analyzer!(diag4, 81, "DIAG4"); Oct 10 18:13:13.219 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:13.219 INFO kablam! Oct 10 18:13:13.219 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.219 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.220 INFO kablam! | Oct 10 18:13:13.220 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.220 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.220 INFO kablam! ... Oct 10 18:13:13.221 INFO kablam! 234 | gen_analyzer!(diag5, 243, "DIAG5"); Oct 10 18:13:13.221 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:13.221 INFO kablam! Oct 10 18:13:13.221 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.222 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.222 INFO kablam! | Oct 10 18:13:13.222 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.223 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.223 INFO kablam! ... Oct 10 18:13:13.223 INFO kablam! 235 | gen_analyzer!(diag6, 729, "DIAG6"); Oct 10 18:13:13.223 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:13.224 INFO kablam! Oct 10 18:13:13.224 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.224 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.224 INFO kablam! | Oct 10 18:13:13.225 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.225 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.225 INFO kablam! ... Oct 10 18:13:13.226 INFO kablam! 236 | gen_analyzer!(diag7, 2187, "DIAG7"); Oct 10 18:13:13.226 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:13.226 INFO kablam! Oct 10 18:13:13.226 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.227 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.227 INFO kablam! | Oct 10 18:13:13.227 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.228 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.228 INFO kablam! ... Oct 10 18:13:13.228 INFO kablam! 237 | gen_analyzer!(diag8, 6561, "DIAG8"); Oct 10 18:13:13.229 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:13.229 INFO kablam! Oct 10 18:13:13.229 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.229 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.230 INFO kablam! | Oct 10 18:13:13.230 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.230 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.231 INFO kablam! ... Oct 10 18:13:13.231 INFO kablam! 238 | gen_analyzer!(hor_vert2, 6561, "HOR_VERT2"); Oct 10 18:13:13.231 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:13.232 INFO kablam! Oct 10 18:13:13.232 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.232 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.232 INFO kablam! | Oct 10 18:13:13.233 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.233 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.233 INFO kablam! ... Oct 10 18:13:13.234 INFO kablam! 239 | gen_analyzer!(hor_vert3, 6561, "HOR_VERT3"); Oct 10 18:13:13.234 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:13.234 INFO kablam! Oct 10 18:13:13.234 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.235 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.235 INFO kablam! | Oct 10 18:13:13.235 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.235 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.236 INFO kablam! ... Oct 10 18:13:13.240 INFO kablam! 240 | gen_analyzer!(hor_vert4, 6561, "HOR_VERT4"); Oct 10 18:13:13.241 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:13.241 INFO kablam! Oct 10 18:13:13.241 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.241 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.242 INFO kablam! | Oct 10 18:13:13.242 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.242 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.242 INFO kablam! ... Oct 10 18:13:13.243 INFO kablam! 241 | gen_analyzer!(edge2x, 59049, "EDGE2X"); Oct 10 18:13:13.243 INFO kablam! | --------------------------------------- in this macro invocation Oct 10 18:13:13.243 INFO kablam! Oct 10 18:13:13.243 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.244 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.244 INFO kablam! | Oct 10 18:13:13.244 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.244 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.245 INFO kablam! ... Oct 10 18:13:13.245 INFO kablam! 242 | gen_analyzer!(corner2x5, 59049, "CORNER2X5"); Oct 10 18:13:13.245 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:13.246 INFO kablam! Oct 10 18:13:13.246 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.246 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.247 INFO kablam! | Oct 10 18:13:13.247 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.247 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.247 INFO kablam! ... Oct 10 18:13:13.248 INFO kablam! 243 | gen_analyzer!(corner3x3, 19683, "CORNER3X3"); Oct 10 18:13:13.248 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:13.249 INFO kablam! Oct 10 18:13:13.249 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.249 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.250 INFO kablam! | Oct 10 18:13:13.250 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.250 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.250 INFO kablam! ... Oct 10 18:13:13.251 INFO kablam! 244 | gen_analyzer!(corner2x2, 81, "CORNER2X2"); Oct 10 18:13:13.251 INFO kablam! | ------------------------------------------ in this macro invocation Oct 10 18:13:13.251 INFO kablam! Oct 10 18:13:13.252 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:13.252 INFO kablam! --> src/main.rs:36:12 Oct 10 18:13:13.252 INFO kablam! | Oct 10 18:13:13.253 INFO kablam! 36 | Ok(mut g) => g.main_loop(), Oct 10 18:13:13.253 INFO kablam! | ----^ Oct 10 18:13:13.253 INFO kablam! | | Oct 10 18:13:13.253 INFO kablam! | help: remove this `mut` Oct 10 18:13:13.254 INFO kablam! | Oct 10 18:13:13.254 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 18:13:13.254 INFO kablam! Oct 10 18:13:13.269 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:13.269 INFO kablam! --> src/interface/tcp_client.rs:55:13 Oct 10 18:13:13.269 INFO kablam! | Oct 10 18:13:13.270 INFO kablam! 55 | let mut ret: Result; Oct 10 18:13:13.270 INFO kablam! | ----^^^ Oct 10 18:13:13.270 INFO kablam! | | Oct 10 18:13:13.270 INFO kablam! | help: remove this `mut` Oct 10 18:13:13.271 INFO kablam! Oct 10 18:13:13.580 INFO kablam! warning: unused variable: `scores` Oct 10 18:13:13.581 INFO kablam! --> src/interface/game.rs:48:42 Oct 10 18:13:13.581 INFO kablam! | Oct 10 18:13:13.581 INFO kablam! 48 | client::Command::Bye(scores) => { Oct 10 18:13:13.582 INFO kablam! | ^^^^^^ help: consider using `_scores` instead Oct 10 18:13:13.582 INFO kablam! | Oct 10 18:13:13.582 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 18:13:13.583 INFO kablam! Oct 10 18:13:13.583 INFO kablam! warning: unused variable: `t` Oct 10 18:13:13.583 INFO kablam! --> src/interface/game.rs:52:58 Oct 10 18:13:13.584 INFO kablam! | Oct 10 18:13:13.584 INFO kablam! 52 | client::Command::Start(color, oname, t) => { Oct 10 18:13:13.584 INFO kablam! | ^ help: consider using `_t` instead Oct 10 18:13:13.584 INFO kablam! Oct 10 18:13:13.585 INFO kablam! warning: unused variable: `x` Oct 10 18:13:13.585 INFO kablam! --> src/interface/game.rs:67:21 Oct 10 18:13:13.585 INFO kablam! | Oct 10 18:13:13.585 INFO kablam! 67 | x => panic!("Invalid Command") Oct 10 18:13:13.586 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:13.586 INFO kablam! Oct 10 18:13:13.586 INFO kablam! warning: unused variable: `result` Oct 10 18:13:13.587 INFO kablam! --> src/interface/game.rs:133:42 Oct 10 18:13:13.587 INFO kablam! | Oct 10 18:13:13.587 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.587 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:13.587 INFO kablam! Oct 10 18:13:13.587 INFO kablam! warning: unused variable: `n` Oct 10 18:13:13.587 INFO kablam! --> src/interface/game.rs:133:50 Oct 10 18:13:13.587 INFO kablam! | Oct 10 18:13:13.588 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.588 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:13.588 INFO kablam! Oct 10 18:13:13.588 INFO kablam! warning: unused variable: `m` Oct 10 18:13:13.588 INFO kablam! --> src/interface/game.rs:133:53 Oct 10 18:13:13.588 INFO kablam! | Oct 10 18:13:13.588 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.588 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:13.588 INFO kablam! Oct 10 18:13:13.588 INFO kablam! warning: unused variable: `r` Oct 10 18:13:13.588 INFO kablam! --> src/interface/game.rs:133:56 Oct 10 18:13:13.588 INFO kablam! | Oct 10 18:13:13.588 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.588 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:13.588 INFO kablam! Oct 10 18:13:13.588 INFO kablam! warning: unused variable: `x` Oct 10 18:13:13.588 INFO kablam! --> src/interface/game.rs:136:21 Oct 10 18:13:13.588 INFO kablam! | Oct 10 18:13:13.588 INFO kablam! 136 | x => panic!("Invalid Command") Oct 10 18:13:13.588 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:13.588 INFO kablam! Oct 10 18:13:13.588 INFO kablam! warning: unused variable: `result` Oct 10 18:13:13.588 INFO kablam! --> src/interface/game.rs:153:42 Oct 10 18:13:13.589 INFO kablam! | Oct 10 18:13:13.589 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.589 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:13.589 INFO kablam! Oct 10 18:13:13.589 INFO kablam! warning: unused variable: `n` Oct 10 18:13:13.589 INFO kablam! --> src/interface/game.rs:153:50 Oct 10 18:13:13.589 INFO kablam! | Oct 10 18:13:13.589 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.589 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:13.589 INFO kablam! Oct 10 18:13:13.589 INFO kablam! warning: unused variable: `m` Oct 10 18:13:13.589 INFO kablam! --> src/interface/game.rs:153:53 Oct 10 18:13:13.589 INFO kablam! | Oct 10 18:13:13.589 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.589 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:13.589 INFO kablam! Oct 10 18:13:13.589 INFO kablam! warning: unused variable: `r` Oct 10 18:13:13.589 INFO kablam! --> src/interface/game.rs:153:56 Oct 10 18:13:13.589 INFO kablam! | Oct 10 18:13:13.589 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:13.589 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:13.589 INFO kablam! Oct 10 18:13:13.589 INFO kablam! warning: unused variable: `x` Oct 10 18:13:13.590 INFO kablam! --> src/interface/game.rs:156:21 Oct 10 18:13:13.590 INFO kablam! | Oct 10 18:13:13.590 INFO kablam! 156 | x => panic!("Invalid Command") Oct 10 18:13:13.590 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:13.590 INFO kablam! Oct 10 18:13:13.590 INFO kablam! warning: unused variable: `result` Oct 10 18:13:13.590 INFO kablam! --> src/interface/game.rs:163:24 Oct 10 18:13:13.590 INFO kablam! | Oct 10 18:13:13.590 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:13.590 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:13.590 INFO kablam! Oct 10 18:13:13.590 INFO kablam! warning: unused variable: `n` Oct 10 18:13:13.590 INFO kablam! --> src/interface/game.rs:163:53 Oct 10 18:13:13.590 INFO kablam! | Oct 10 18:13:13.590 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:13.590 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:13.590 INFO kablam! Oct 10 18:13:13.590 INFO kablam! warning: unused variable: `m` Oct 10 18:13:13.590 INFO kablam! --> src/interface/game.rs:163:60 Oct 10 18:13:13.590 INFO kablam! | Oct 10 18:13:13.590 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:13.590 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:13.591 INFO kablam! Oct 10 18:13:13.591 INFO kablam! warning: unused variable: `reason` Oct 10 18:13:13.591 INFO kablam! --> src/interface/game.rs:163:67 Oct 10 18:13:13.591 INFO kablam! | Oct 10 18:13:13.591 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:13.591 INFO kablam! | ^^^^^^ help: consider using `_reason` instead Oct 10 18:13:13.591 INFO kablam! Oct 10 18:13:13.591 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:13.591 INFO kablam! --> src/player/learning/analysis.rs:78:21 Oct 10 18:13:13.591 INFO kablam! | Oct 10 18:13:13.591 INFO kablam! 78 | let mut epoch = 0u8; Oct 10 18:13:13.591 INFO kablam! | ^^^^^ Oct 10 18:13:13.591 INFO kablam! | Oct 10 18:13:13.591 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:13.591 INFO kablam! Oct 10 18:13:13.591 INFO kablam! warning: unused variable: `x` Oct 10 18:13:13.591 INFO kablam! --> src/player/learning/analysis.rs:159:17 Oct 10 18:13:13.591 INFO kablam! | Oct 10 18:13:13.591 INFO kablam! 159 | let x = 0..1; Oct 10 18:13:13.591 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:13.591 INFO kablam! Oct 10 18:13:13.591 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:13.591 INFO kablam! --> src/player/learning/analysis.rs:195:21 Oct 10 18:13:13.592 INFO kablam! | Oct 10 18:13:13.592 INFO kablam! 195 | let mut epoch = 0u8; Oct 10 18:13:13.592 INFO kablam! | ^^^^^ Oct 10 18:13:13.592 INFO kablam! | Oct 10 18:13:13.592 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:13.592 INFO kablam! Oct 10 18:13:13.592 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.592 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.592 INFO kablam! | Oct 10 18:13:13.592 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.592 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.592 INFO kablam! ... Oct 10 18:13:13.592 INFO kablam! 233 | gen_analyzer!(diag4, 81, "DIAG4"); Oct 10 18:13:13.592 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:13.592 INFO kablam! Oct 10 18:13:13.592 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.592 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.592 INFO kablam! | Oct 10 18:13:13.592 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.592 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.592 INFO kablam! ... Oct 10 18:13:13.592 INFO kablam! 234 | gen_analyzer!(diag5, 243, "DIAG5"); Oct 10 18:13:13.593 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:13.593 INFO kablam! Oct 10 18:13:13.593 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.593 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.593 INFO kablam! | Oct 10 18:13:13.593 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.593 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.593 INFO kablam! ... Oct 10 18:13:13.593 INFO kablam! 235 | gen_analyzer!(diag6, 729, "DIAG6"); Oct 10 18:13:13.593 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:13.593 INFO kablam! Oct 10 18:13:13.593 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.593 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.593 INFO kablam! | Oct 10 18:13:13.593 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.593 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.593 INFO kablam! ... Oct 10 18:13:13.593 INFO kablam! 236 | gen_analyzer!(diag7, 2187, "DIAG7"); Oct 10 18:13:13.593 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:13.593 INFO kablam! Oct 10 18:13:13.593 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.593 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.593 INFO kablam! | Oct 10 18:13:13.594 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.594 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.594 INFO kablam! ... Oct 10 18:13:13.594 INFO kablam! 237 | gen_analyzer!(diag8, 6561, "DIAG8"); Oct 10 18:13:13.594 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:13.594 INFO kablam! Oct 10 18:13:13.594 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.594 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.594 INFO kablam! | Oct 10 18:13:13.594 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.594 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.594 INFO kablam! ... Oct 10 18:13:13.594 INFO kablam! 238 | gen_analyzer!(hor_vert2, 6561, "HOR_VERT2"); Oct 10 18:13:13.594 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:13.594 INFO kablam! Oct 10 18:13:13.594 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.594 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.594 INFO kablam! | Oct 10 18:13:13.594 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.594 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.594 INFO kablam! ... Oct 10 18:13:13.594 INFO kablam! 239 | gen_analyzer!(hor_vert3, 6561, "HOR_VERT3"); Oct 10 18:13:13.594 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:13.595 INFO kablam! Oct 10 18:13:13.595 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.595 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.595 INFO kablam! | Oct 10 18:13:13.595 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.595 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.595 INFO kablam! ... Oct 10 18:13:13.595 INFO kablam! 240 | gen_analyzer!(hor_vert4, 6561, "HOR_VERT4"); Oct 10 18:13:13.595 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:13.595 INFO kablam! Oct 10 18:13:13.595 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.595 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.595 INFO kablam! | Oct 10 18:13:13.595 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.595 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.595 INFO kablam! ... Oct 10 18:13:13.595 INFO kablam! 241 | gen_analyzer!(edge2x, 59049, "EDGE2X"); Oct 10 18:13:13.595 INFO kablam! | --------------------------------------- in this macro invocation Oct 10 18:13:13.595 INFO kablam! Oct 10 18:13:13.595 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.595 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.595 INFO kablam! | Oct 10 18:13:13.596 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.596 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.596 INFO kablam! ... Oct 10 18:13:13.596 INFO kablam! 242 | gen_analyzer!(corner2x5, 59049, "CORNER2X5"); Oct 10 18:13:13.596 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:13.596 INFO kablam! Oct 10 18:13:13.596 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.596 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.596 INFO kablam! | Oct 10 18:13:13.596 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.596 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.596 INFO kablam! ... Oct 10 18:13:13.596 INFO kablam! 243 | gen_analyzer!(corner3x3, 19683, "CORNER3X3"); Oct 10 18:13:13.596 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:13.596 INFO kablam! Oct 10 18:13:13.596 INFO kablam! warning: unused variable: `board` Oct 10 18:13:13.596 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:13.596 INFO kablam! | Oct 10 18:13:13.596 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:13.596 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:13.596 INFO kablam! ... Oct 10 18:13:13.596 INFO kablam! 244 | gen_analyzer!(corner2x2, 81, "CORNER2X2"); Oct 10 18:13:13.596 INFO kablam! | ------------------------------------------ in this macro invocation Oct 10 18:13:13.597 INFO kablam! Oct 10 18:13:13.680 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:13.680 INFO kablam! --> src/interface/tcp_client.rs:55:13 Oct 10 18:13:13.680 INFO kablam! | Oct 10 18:13:13.680 INFO kablam! 55 | let mut ret: Result; Oct 10 18:13:13.680 INFO kablam! | ----^^^ Oct 10 18:13:13.680 INFO kablam! | | Oct 10 18:13:13.680 INFO kablam! | help: remove this `mut` Oct 10 18:13:13.680 INFO kablam! | Oct 10 18:13:13.680 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 18:13:13.680 INFO kablam! Oct 10 18:13:14.000 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:14.000 INFO kablam! --> src/player/learning/analysis.rs:56:12 Oct 10 18:13:14.000 INFO kablam! | Oct 10 18:13:14.000 INFO kablam! 56 | fn new(mut reader: BufReader, output_dir: &'a str) -> Analyzer { Oct 10 18:13:14.000 INFO kablam! | ----^^^^^^ Oct 10 18:13:14.000 INFO kablam! | | Oct 10 18:13:14.000 INFO kablam! | help: remove this `mut` Oct 10 18:13:14.000 INFO kablam! Oct 10 18:13:14.160 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:14.160 INFO kablam! --> src/player/learning/analysis.rs:56:12 Oct 10 18:13:14.160 INFO kablam! | Oct 10 18:13:14.160 INFO kablam! 56 | fn new(mut reader: BufReader, output_dir: &'a str) -> Analyzer { Oct 10 18:13:14.160 INFO kablam! | ----^^^^^^ Oct 10 18:13:14.160 INFO kablam! | | Oct 10 18:13:14.160 INFO kablam! | help: remove this `mut` Oct 10 18:13:14.160 INFO kablam! Oct 10 18:13:14.752 INFO kablam! warning: method is never used: `is_valid` Oct 10 18:13:14.752 INFO kablam! --> src/board.rs:401:5 Oct 10 18:13:14.752 INFO kablam! | Oct 10 18:13:14.752 INFO kablam! 401 | fn is_valid(&self, pos: &BitIndexable, player: Color) -> bool { Oct 10 18:13:14.752 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:14.752 INFO kablam! | Oct 10 18:13:14.752 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 18:13:14.752 INFO kablam! Oct 10 18:13:14.752 INFO kablam! warning: method is never used: `proc_end` Oct 10 18:13:14.752 INFO kablam! --> src/interface/game.rs:163:5 Oct 10 18:13:14.752 INFO kablam! | Oct 10 18:13:14.752 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:14.752 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:14.752 INFO kablam! Oct 10 18:13:14.752 INFO kablam! warning: constant item is never used: `map1` Oct 10 18:13:14.752 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:14.752 INFO kablam! | Oct 10 18:13:14.752 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:14.753 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:14.753 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:14.753 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:14.753 INFO kablam! ... | Oct 10 18:13:14.753 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:14.753 INFO kablam! 25 | | ]; Oct 10 18:13:14.753 INFO kablam! | |__^ Oct 10 18:13:14.753 INFO kablam! Oct 10 18:13:14.780 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:14.780 INFO kablam! --> src/interface/tcp_client.rs:84:17 Oct 10 18:13:14.780 INFO kablam! | Oct 10 18:13:14.780 INFO kablam! 84 | self.writer.flush(); Oct 10 18:13:14.780 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:14.780 INFO kablam! | Oct 10 18:13:14.780 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 18:13:14.780 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:14.780 INFO kablam! Oct 10 18:13:14.794 INFO kablam! warning: constant `map1` should have an upper case name such as `MAP1` Oct 10 18:13:14.794 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:14.794 INFO kablam! | Oct 10 18:13:14.794 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:14.794 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:14.794 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:14.794 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:14.794 INFO kablam! ... | Oct 10 18:13:14.794 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:14.794 INFO kablam! 25 | | ]; Oct 10 18:13:14.794 INFO kablam! | |__^ Oct 10 18:13:14.794 INFO kablam! | Oct 10 18:13:14.794 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 10 18:13:14.794 INFO kablam! Oct 10 18:13:14.799 INFO kablam! warning: constant `feature_functions` should have an upper case name such as `FEATURE_FUNCTIONS` Oct 10 18:13:14.799 INFO kablam! --> src/player/linear_evaluator.rs:83:1 Oct 10 18:13:14.799 INFO kablam! | Oct 10 18:13:14.799 INFO kablam! 83 | / pub const feature_functions: [fn(board::Board) -> f32; 12] = [ Oct 10 18:13:14.799 INFO kablam! 84 | | diag4, diag5, diag6, diag7, diag8, hor_vert2, hor_vert3, hor_vert4, Oct 10 18:13:14.799 INFO kablam! 85 | | edge2x, corner2x2, corner3x3, flippable_diff Oct 10 18:13:14.799 INFO kablam! 86 | | ]; Oct 10 18:13:14.799 INFO kablam! | |__________^ Oct 10 18:13:14.799 INFO kablam! Oct 10 18:13:14.799 INFO kablam! warning: constant `feature_names` should have an upper case name such as `FEATURE_NAMES` Oct 10 18:13:14.799 INFO kablam! --> src/player/linear_evaluator.rs:87:1 Oct 10 18:13:14.799 INFO kablam! | Oct 10 18:13:14.799 INFO kablam! 87 | / pub const feature_names: [&str; 12] = [ Oct 10 18:13:14.799 INFO kablam! 88 | | "diag4", "diag5", "diag6", "diag7", "diag8", "hor_vert2", "hor_vert3", "hor_vert4", Oct 10 18:13:14.799 INFO kablam! 89 | | "edge2x", "corner2x2", "corner3x3", "flippable_diff" Oct 10 18:13:14.799 INFO kablam! 90 | | ]; Oct 10 18:13:14.799 INFO kablam! | |__^ Oct 10 18:13:14.799 INFO kablam! Oct 10 18:13:14.804 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:14.804 INFO kablam! --> src/player/learning/analysis.rs:139:13 Oct 10 18:13:14.804 INFO kablam! | Oct 10 18:13:14.804 INFO kablam! 139 | create_dir(path); Oct 10 18:13:14.804 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 10 18:13:14.804 INFO kablam! | Oct 10 18:13:14.804 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:14.804 INFO kablam! Oct 10 18:13:15.008 INFO kablam! warning: method is never used: `is_valid` Oct 10 18:13:15.008 INFO kablam! --> src/board.rs:401:5 Oct 10 18:13:15.008 INFO kablam! | Oct 10 18:13:15.008 INFO kablam! 401 | fn is_valid(&self, pos: &BitIndexable, player: Color) -> bool { Oct 10 18:13:15.008 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:15.016 INFO kablam! | Oct 10 18:13:15.016 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 18:13:15.016 INFO kablam! Oct 10 18:13:15.016 INFO kablam! warning: method is never used: `proc_end` Oct 10 18:13:15.016 INFO kablam! --> src/interface/game.rs:163:5 Oct 10 18:13:15.016 INFO kablam! | Oct 10 18:13:15.016 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:15.016 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:15.024 INFO kablam! Oct 10 18:13:15.024 INFO kablam! warning: constant item is never used: `map1` Oct 10 18:13:15.024 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:15.024 INFO kablam! | Oct 10 18:13:15.024 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:15.024 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:15.024 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:15.024 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:15.024 INFO kablam! ... | Oct 10 18:13:15.024 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:15.024 INFO kablam! 25 | | ]; Oct 10 18:13:15.024 INFO kablam! | |__^ Oct 10 18:13:15.024 INFO kablam! Oct 10 18:13:15.060 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:15.060 INFO kablam! --> src/interface/tcp_client.rs:84:17 Oct 10 18:13:15.060 INFO kablam! | Oct 10 18:13:15.060 INFO kablam! 84 | self.writer.flush(); Oct 10 18:13:15.060 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:15.060 INFO kablam! | Oct 10 18:13:15.060 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 18:13:15.060 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:15.060 INFO kablam! Oct 10 18:13:15.092 INFO kablam! warning: constant `map1` should have an upper case name such as `MAP1` Oct 10 18:13:15.092 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:15.092 INFO kablam! | Oct 10 18:13:15.092 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:15.092 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:15.092 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:15.092 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:15.092 INFO kablam! ... | Oct 10 18:13:15.092 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:15.092 INFO kablam! 25 | | ]; Oct 10 18:13:15.092 INFO kablam! | |__^ Oct 10 18:13:15.093 INFO kablam! | Oct 10 18:13:15.093 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 10 18:13:15.093 INFO kablam! Oct 10 18:13:15.096 INFO kablam! warning: constant `feature_functions` should have an upper case name such as `FEATURE_FUNCTIONS` Oct 10 18:13:15.096 INFO kablam! --> src/player/linear_evaluator.rs:83:1 Oct 10 18:13:15.096 INFO kablam! | Oct 10 18:13:15.096 INFO kablam! 83 | / pub const feature_functions: [fn(board::Board) -> f32; 12] = [ Oct 10 18:13:15.096 INFO kablam! 84 | | diag4, diag5, diag6, diag7, diag8, hor_vert2, hor_vert3, hor_vert4, Oct 10 18:13:15.096 INFO kablam! 85 | | edge2x, corner2x2, corner3x3, flippable_diff Oct 10 18:13:15.096 INFO kablam! 86 | | ]; Oct 10 18:13:15.096 INFO kablam! | |__________^ Oct 10 18:13:15.096 INFO kablam! Oct 10 18:13:15.096 INFO kablam! warning: constant `feature_names` should have an upper case name such as `FEATURE_NAMES` Oct 10 18:13:15.096 INFO kablam! --> src/player/linear_evaluator.rs:87:1 Oct 10 18:13:15.096 INFO kablam! | Oct 10 18:13:15.096 INFO kablam! 87 | / pub const feature_names: [&str; 12] = [ Oct 10 18:13:15.096 INFO kablam! 88 | | "diag4", "diag5", "diag6", "diag7", "diag8", "hor_vert2", "hor_vert3", "hor_vert4", Oct 10 18:13:15.096 INFO kablam! 89 | | "edge2x", "corner2x2", "corner3x3", "flippable_diff" Oct 10 18:13:15.096 INFO kablam! 90 | | ]; Oct 10 18:13:15.096 INFO kablam! | |__^ Oct 10 18:13:15.096 INFO kablam! Oct 10 18:13:15.100 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:15.100 INFO kablam! --> src/player/learning/analysis.rs:139:13 Oct 10 18:13:15.100 INFO kablam! | Oct 10 18:13:15.100 INFO kablam! 139 | create_dir(path); Oct 10 18:13:15.100 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 10 18:13:15.100 INFO kablam! | Oct 10 18:13:15.100 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:15.100 INFO kablam! Oct 10 18:13:15.529 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:15.529 INFO kablam! --> src/main.rs:35:5 Oct 10 18:13:15.529 INFO kablam! | Oct 10 18:13:15.529 INFO kablam! 35 | / match game::Game::new(client, player, NAME) { Oct 10 18:13:15.529 INFO kablam! 36 | | Ok(mut g) => g.main_loop(), Oct 10 18:13:15.529 INFO kablam! 37 | | Err(s) => panic!("Fail: {}", s), Oct 10 18:13:15.529 INFO kablam! 38 | | }; Oct 10 18:13:15.529 INFO kablam! | |______^ Oct 10 18:13:15.529 INFO kablam! | Oct 10 18:13:15.529 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:15.529 INFO kablam! Oct 10 18:13:15.984 INFO kablam! warning: constant `filename` should have an upper case name such as `FILENAME` Oct 10 18:13:15.984 INFO kablam! --> src/analysis.rs:19:1 Oct 10 18:13:15.984 INFO kablam! | Oct 10 18:13:15.984 INFO kablam! 19 | const filename: &str = "data/data"; Oct 10 18:13:15.984 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:15.984 INFO kablam! Oct 10 18:13:15.984 INFO kablam! warning: constant `output_dir` should have an upper case name such as `OUTPUT_DIR` Oct 10 18:13:15.984 INFO kablam! --> src/analysis.rs:20:1 Oct 10 18:13:15.984 INFO kablam! | Oct 10 18:13:15.985 INFO kablam! 20 | const output_dir: &str = "output/"; Oct 10 18:13:15.985 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:15.985 INFO kablam! Oct 10 18:13:18.287 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 25.38s Oct 10 18:13:18.292 INFO kablam! su: No module specific data is present Oct 10 18:13:19.008 INFO running `"docker" "rm" "-f" "3cc25643fc521e50fa3e4991e04fec6f50559ffcd5d8a821b4f8a1ea97c26475"` Oct 10 18:13:19.280 INFO blam! 3cc25643fc521e50fa3e4991e04fec6f50559ffcd5d8a821b4f8a1ea97c26475 Oct 10 18:13:19.288 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 10 18:13:19.289 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 10 18:13:19.659 INFO blam! 8807fc36373b920d0ac9fb4419338041af69932cffb1b748673348441a8d5630 Oct 10 18:13:19.661 INFO running `"docker" "start" "-a" "8807fc36373b920d0ac9fb4419338041af69932cffb1b748673348441a8d5630"` Oct 10 18:13:20.394 INFO kablam! usermod: no changes Oct 10 18:13:20.466 INFO kablam! Compiling client v0.1.0 (/source) Oct 10 18:13:29.788 INFO kablam! warning: unused variable: `v` Oct 10 18:13:29.788 INFO kablam! --> src/interface/parser.rs:184:34 Oct 10 18:13:29.788 INFO kablam! | Oct 10 18:13:29.788 INFO kablam! 184 | (x, Command::Bye(v)) => { panic!("hoge={}", x); } Oct 10 18:13:29.788 INFO kablam! | ^ help: consider using `_v` instead Oct 10 18:13:29.788 INFO kablam! | Oct 10 18:13:29.788 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 18:13:29.789 INFO kablam! Oct 10 18:13:29.789 INFO kablam! warning: unused variable: `scores` Oct 10 18:13:29.789 INFO kablam! --> src/interface/game.rs:48:42 Oct 10 18:13:29.789 INFO kablam! | Oct 10 18:13:29.789 INFO kablam! 48 | client::Command::Bye(scores) => { Oct 10 18:13:29.789 INFO kablam! | ^^^^^^ help: consider using `_scores` instead Oct 10 18:13:29.789 INFO kablam! Oct 10 18:13:29.789 INFO kablam! warning: unused variable: `t` Oct 10 18:13:29.789 INFO kablam! --> src/interface/game.rs:52:58 Oct 10 18:13:29.789 INFO kablam! | Oct 10 18:13:29.789 INFO kablam! 52 | client::Command::Start(color, oname, t) => { Oct 10 18:13:29.789 INFO kablam! | ^ help: consider using `_t` instead Oct 10 18:13:29.789 INFO kablam! Oct 10 18:13:29.789 INFO kablam! warning: unused variable: `x` Oct 10 18:13:29.789 INFO kablam! --> src/interface/game.rs:67:21 Oct 10 18:13:29.789 INFO kablam! | Oct 10 18:13:29.789 INFO kablam! 67 | x => panic!("Invalid Command") Oct 10 18:13:29.789 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:29.789 INFO kablam! Oct 10 18:13:29.789 INFO kablam! warning: unused variable: `result` Oct 10 18:13:29.789 INFO kablam! --> src/interface/game.rs:133:42 Oct 10 18:13:29.789 INFO kablam! | Oct 10 18:13:29.789 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:29.790 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:29.790 INFO kablam! Oct 10 18:13:29.790 INFO kablam! warning: unused variable: `n` Oct 10 18:13:29.790 INFO kablam! --> src/interface/game.rs:133:50 Oct 10 18:13:29.790 INFO kablam! | Oct 10 18:13:29.790 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:29.790 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:29.790 INFO kablam! Oct 10 18:13:29.790 INFO kablam! warning: unused variable: `m` Oct 10 18:13:29.790 INFO kablam! --> src/interface/game.rs:133:53 Oct 10 18:13:29.790 INFO kablam! | Oct 10 18:13:29.790 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:29.790 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:29.790 INFO kablam! Oct 10 18:13:29.790 INFO kablam! warning: unused variable: `r` Oct 10 18:13:29.790 INFO kablam! --> src/interface/game.rs:133:56 Oct 10 18:13:29.790 INFO kablam! | Oct 10 18:13:29.790 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:29.790 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:29.790 INFO kablam! Oct 10 18:13:29.790 INFO kablam! warning: unused variable: `x` Oct 10 18:13:29.790 INFO kablam! --> src/interface/game.rs:136:21 Oct 10 18:13:29.791 INFO kablam! | Oct 10 18:13:29.791 INFO kablam! 136 | x => panic!("Invalid Command") Oct 10 18:13:29.791 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:29.791 INFO kablam! Oct 10 18:13:29.791 INFO kablam! warning: unused variable: `result` Oct 10 18:13:29.791 INFO kablam! --> src/interface/game.rs:153:42 Oct 10 18:13:29.791 INFO kablam! | Oct 10 18:13:29.791 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:29.791 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:29.791 INFO kablam! Oct 10 18:13:29.791 INFO kablam! warning: unused variable: `n` Oct 10 18:13:29.791 INFO kablam! --> src/interface/game.rs:153:50 Oct 10 18:13:29.791 INFO kablam! | Oct 10 18:13:29.791 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:29.791 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:29.791 INFO kablam! Oct 10 18:13:29.791 INFO kablam! warning: unused variable: `m` Oct 10 18:13:29.791 INFO kablam! --> src/interface/game.rs:153:53 Oct 10 18:13:29.791 INFO kablam! | Oct 10 18:13:29.791 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:29.791 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:29.791 INFO kablam! Oct 10 18:13:29.791 INFO kablam! warning: unused variable: `r` Oct 10 18:13:29.792 INFO kablam! --> src/interface/game.rs:153:56 Oct 10 18:13:29.792 INFO kablam! | Oct 10 18:13:29.792 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:29.792 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:29.792 INFO kablam! Oct 10 18:13:29.792 INFO kablam! warning: unused variable: `x` Oct 10 18:13:29.792 INFO kablam! --> src/interface/game.rs:156:21 Oct 10 18:13:29.792 INFO kablam! | Oct 10 18:13:29.792 INFO kablam! 156 | x => panic!("Invalid Command") Oct 10 18:13:29.792 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:29.792 INFO kablam! Oct 10 18:13:29.792 INFO kablam! warning: unused variable: `result` Oct 10 18:13:29.792 INFO kablam! --> src/interface/game.rs:163:24 Oct 10 18:13:29.792 INFO kablam! | Oct 10 18:13:29.792 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:29.792 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:29.792 INFO kablam! Oct 10 18:13:29.792 INFO kablam! warning: unused variable: `n` Oct 10 18:13:29.792 INFO kablam! --> src/interface/game.rs:163:53 Oct 10 18:13:29.792 INFO kablam! | Oct 10 18:13:29.792 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:29.792 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:29.793 INFO kablam! Oct 10 18:13:29.793 INFO kablam! warning: unused variable: `m` Oct 10 18:13:29.793 INFO kablam! --> src/interface/game.rs:163:60 Oct 10 18:13:29.793 INFO kablam! | Oct 10 18:13:29.793 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:29.793 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:29.793 INFO kablam! Oct 10 18:13:29.793 INFO kablam! warning: unused variable: `reason` Oct 10 18:13:29.793 INFO kablam! --> src/interface/game.rs:163:67 Oct 10 18:13:29.793 INFO kablam! | Oct 10 18:13:29.793 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:29.793 INFO kablam! | ^^^^^^ help: consider using `_reason` instead Oct 10 18:13:29.793 INFO kablam! Oct 10 18:13:29.793 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:29.793 INFO kablam! --> src/player/learning/analysis.rs:78:21 Oct 10 18:13:29.793 INFO kablam! | Oct 10 18:13:29.793 INFO kablam! 78 | let mut epoch = 0u8; Oct 10 18:13:29.793 INFO kablam! | ^^^^^ Oct 10 18:13:29.793 INFO kablam! | Oct 10 18:13:29.793 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:29.793 INFO kablam! Oct 10 18:13:29.793 INFO kablam! warning: unused variable: `x` Oct 10 18:13:29.793 INFO kablam! --> src/player/learning/analysis.rs:159:17 Oct 10 18:13:29.793 INFO kablam! | Oct 10 18:13:29.794 INFO kablam! 159 | let x = 0..1; Oct 10 18:13:29.794 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:29.794 INFO kablam! Oct 10 18:13:29.794 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:29.794 INFO kablam! --> src/player/learning/analysis.rs:195:21 Oct 10 18:13:29.794 INFO kablam! | Oct 10 18:13:29.794 INFO kablam! 195 | let mut epoch = 0u8; Oct 10 18:13:29.794 INFO kablam! | ^^^^^ Oct 10 18:13:29.794 INFO kablam! | Oct 10 18:13:29.794 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:29.794 INFO kablam! Oct 10 18:13:29.794 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.794 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.794 INFO kablam! | Oct 10 18:13:29.794 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.794 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.794 INFO kablam! ... Oct 10 18:13:29.794 INFO kablam! 233 | gen_analyzer!(diag4, 81, "DIAG4"); Oct 10 18:13:29.794 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:29.794 INFO kablam! Oct 10 18:13:29.794 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.794 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.794 INFO kablam! | Oct 10 18:13:29.794 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.795 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.795 INFO kablam! ... Oct 10 18:13:29.795 INFO kablam! 234 | gen_analyzer!(diag5, 243, "DIAG5"); Oct 10 18:13:29.795 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:29.795 INFO kablam! Oct 10 18:13:29.795 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.795 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.795 INFO kablam! | Oct 10 18:13:29.795 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.795 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.795 INFO kablam! ... Oct 10 18:13:29.795 INFO kablam! 235 | gen_analyzer!(diag6, 729, "DIAG6"); Oct 10 18:13:29.795 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:29.795 INFO kablam! Oct 10 18:13:29.795 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.795 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.795 INFO kablam! | Oct 10 18:13:29.795 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.795 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.795 INFO kablam! ... Oct 10 18:13:29.795 INFO kablam! 236 | gen_analyzer!(diag7, 2187, "DIAG7"); Oct 10 18:13:29.795 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:29.795 INFO kablam! Oct 10 18:13:29.795 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.796 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.796 INFO kablam! | Oct 10 18:13:29.796 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.796 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.796 INFO kablam! ... Oct 10 18:13:29.796 INFO kablam! 237 | gen_analyzer!(diag8, 6561, "DIAG8"); Oct 10 18:13:29.796 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:29.796 INFO kablam! Oct 10 18:13:29.796 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.796 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.796 INFO kablam! | Oct 10 18:13:29.796 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.796 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.796 INFO kablam! ... Oct 10 18:13:29.796 INFO kablam! 238 | gen_analyzer!(hor_vert2, 6561, "HOR_VERT2"); Oct 10 18:13:29.796 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:29.796 INFO kablam! Oct 10 18:13:29.796 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.796 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.796 INFO kablam! | Oct 10 18:13:29.796 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.796 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.796 INFO kablam! ... Oct 10 18:13:29.797 INFO kablam! 239 | gen_analyzer!(hor_vert3, 6561, "HOR_VERT3"); Oct 10 18:13:29.797 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:29.812 INFO kablam! Oct 10 18:13:29.812 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.812 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.812 INFO kablam! | Oct 10 18:13:29.812 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.812 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.812 INFO kablam! ... Oct 10 18:13:29.812 INFO kablam! 240 | gen_analyzer!(hor_vert4, 6561, "HOR_VERT4"); Oct 10 18:13:29.812 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:29.813 INFO kablam! Oct 10 18:13:29.813 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.813 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.813 INFO kablam! | Oct 10 18:13:29.813 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.813 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.813 INFO kablam! ... Oct 10 18:13:29.813 INFO kablam! 241 | gen_analyzer!(edge2x, 59049, "EDGE2X"); Oct 10 18:13:29.813 INFO kablam! | --------------------------------------- in this macro invocation Oct 10 18:13:29.813 INFO kablam! Oct 10 18:13:29.813 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.813 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.813 INFO kablam! | Oct 10 18:13:29.813 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.813 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.813 INFO kablam! ... Oct 10 18:13:29.813 INFO kablam! 242 | gen_analyzer!(corner2x5, 59049, "CORNER2X5"); Oct 10 18:13:29.813 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:29.813 INFO kablam! Oct 10 18:13:29.813 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.813 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.813 INFO kablam! | Oct 10 18:13:29.813 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.813 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.813 INFO kablam! ... Oct 10 18:13:29.814 INFO kablam! 243 | gen_analyzer!(corner3x3, 19683, "CORNER3X3"); Oct 10 18:13:29.814 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:29.814 INFO kablam! Oct 10 18:13:29.814 INFO kablam! warning: unused variable: `board` Oct 10 18:13:29.814 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:29.814 INFO kablam! | Oct 10 18:13:29.814 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:29.814 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:29.814 INFO kablam! ... Oct 10 18:13:29.814 INFO kablam! 244 | gen_analyzer!(corner2x2, 81, "CORNER2X2"); Oct 10 18:13:29.814 INFO kablam! | ------------------------------------------ in this macro invocation Oct 10 18:13:29.814 INFO kablam! Oct 10 18:13:29.984 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:29.984 INFO kablam! --> src/interface/tcp_client.rs:55:13 Oct 10 18:13:29.984 INFO kablam! | Oct 10 18:13:29.984 INFO kablam! 55 | let mut ret: Result; Oct 10 18:13:29.984 INFO kablam! | ----^^^ Oct 10 18:13:29.984 INFO kablam! | | Oct 10 18:13:29.984 INFO kablam! | help: remove this `mut` Oct 10 18:13:29.984 INFO kablam! | Oct 10 18:13:29.984 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 18:13:29.984 INFO kablam! Oct 10 18:13:30.776 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:30.776 INFO kablam! --> src/player/learning/analysis.rs:56:12 Oct 10 18:13:30.776 INFO kablam! | Oct 10 18:13:30.776 INFO kablam! 56 | fn new(mut reader: BufReader, output_dir: &'a str) -> Analyzer { Oct 10 18:13:30.776 INFO kablam! | ----^^^^^^ Oct 10 18:13:30.776 INFO kablam! | | Oct 10 18:13:30.776 INFO kablam! | help: remove this `mut` Oct 10 18:13:30.776 INFO kablam! Oct 10 18:13:30.785 INFO kablam! warning: unused variable: `v` Oct 10 18:13:30.785 INFO kablam! --> src/interface/parser.rs:184:34 Oct 10 18:13:30.785 INFO kablam! | Oct 10 18:13:30.785 INFO kablam! 184 | (x, Command::Bye(v)) => { panic!("hoge={}", x); } Oct 10 18:13:30.785 INFO kablam! | ^ help: consider using `_v` instead Oct 10 18:13:30.785 INFO kablam! | Oct 10 18:13:30.785 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 18:13:30.785 INFO kablam! Oct 10 18:13:30.785 INFO kablam! warning: unused variable: `scores` Oct 10 18:13:30.785 INFO kablam! --> src/interface/game.rs:48:42 Oct 10 18:13:30.785 INFO kablam! | Oct 10 18:13:30.785 INFO kablam! 48 | client::Command::Bye(scores) => { Oct 10 18:13:30.785 INFO kablam! | ^^^^^^ help: consider using `_scores` instead Oct 10 18:13:30.785 INFO kablam! Oct 10 18:13:30.785 INFO kablam! warning: unused variable: `t` Oct 10 18:13:30.785 INFO kablam! --> src/interface/game.rs:52:58 Oct 10 18:13:30.785 INFO kablam! | Oct 10 18:13:30.785 INFO kablam! 52 | client::Command::Start(color, oname, t) => { Oct 10 18:13:30.785 INFO kablam! | ^ help: consider using `_t` instead Oct 10 18:13:30.785 INFO kablam! Oct 10 18:13:30.785 INFO kablam! warning: unused variable: `x` Oct 10 18:13:30.785 INFO kablam! --> src/interface/game.rs:67:21 Oct 10 18:13:30.785 INFO kablam! | Oct 10 18:13:30.785 INFO kablam! 67 | x => panic!("Invalid Command") Oct 10 18:13:30.785 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:30.785 INFO kablam! Oct 10 18:13:30.785 INFO kablam! warning: unused variable: `result` Oct 10 18:13:30.785 INFO kablam! --> src/interface/game.rs:133:42 Oct 10 18:13:30.785 INFO kablam! | Oct 10 18:13:30.785 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:30.785 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:30.785 INFO kablam! Oct 10 18:13:30.785 INFO kablam! warning: unused variable: `n` Oct 10 18:13:30.785 INFO kablam! --> src/interface/game.rs:133:50 Oct 10 18:13:30.785 INFO kablam! | Oct 10 18:13:30.785 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:30.785 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:30.785 INFO kablam! Oct 10 18:13:30.785 INFO kablam! warning: unused variable: `m` Oct 10 18:13:30.785 INFO kablam! --> src/interface/game.rs:133:53 Oct 10 18:13:30.785 INFO kablam! | Oct 10 18:13:30.785 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:30.785 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:30.785 INFO kablam! Oct 10 18:13:30.785 INFO kablam! warning: unused variable: `r` Oct 10 18:13:30.785 INFO kablam! --> src/interface/game.rs:133:56 Oct 10 18:13:30.785 INFO kablam! | Oct 10 18:13:30.785 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:30.785 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:30.785 INFO kablam! Oct 10 18:13:30.785 INFO kablam! warning: unused variable: `x` Oct 10 18:13:30.786 INFO kablam! --> src/interface/game.rs:136:21 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 136 | x => panic!("Invalid Command") Oct 10 18:13:30.786 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `result` Oct 10 18:13:30.786 INFO kablam! --> src/interface/game.rs:153:42 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:30.786 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `n` Oct 10 18:13:30.786 INFO kablam! --> src/interface/game.rs:153:50 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:30.786 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `m` Oct 10 18:13:30.786 INFO kablam! --> src/interface/game.rs:153:53 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:30.786 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `r` Oct 10 18:13:30.786 INFO kablam! --> src/interface/game.rs:153:56 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:30.786 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `x` Oct 10 18:13:30.786 INFO kablam! --> src/interface/game.rs:156:21 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 156 | x => panic!("Invalid Command") Oct 10 18:13:30.786 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `result` Oct 10 18:13:30.786 INFO kablam! --> src/interface/game.rs:163:24 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:30.786 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `n` Oct 10 18:13:30.786 INFO kablam! --> src/interface/game.rs:163:53 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:30.786 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `m` Oct 10 18:13:30.786 INFO kablam! --> src/interface/game.rs:163:60 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:30.786 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `reason` Oct 10 18:13:30.786 INFO kablam! --> src/interface/game.rs:163:67 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:30.786 INFO kablam! | ^^^^^^ help: consider using `_reason` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:30.786 INFO kablam! --> src/player/learning/analysis.rs:78:21 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 78 | let mut epoch = 0u8; Oct 10 18:13:30.786 INFO kablam! | ^^^^^ Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `x` Oct 10 18:13:30.786 INFO kablam! --> src/player/learning/analysis.rs:159:17 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 159 | let x = 0..1; Oct 10 18:13:30.786 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:30.786 INFO kablam! --> src/player/learning/analysis.rs:195:21 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 195 | let mut epoch = 0u8; Oct 10 18:13:30.786 INFO kablam! | ^^^^^ Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:30.786 INFO kablam! Oct 10 18:13:30.786 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.786 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.786 INFO kablam! | Oct 10 18:13:30.786 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.786 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.786 INFO kablam! ... Oct 10 18:13:30.786 INFO kablam! 233 | gen_analyzer!(diag4, 81, "DIAG4"); Oct 10 18:13:30.786 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:30.787 INFO kablam! Oct 10 18:13:30.787 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.787 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.787 INFO kablam! | Oct 10 18:13:30.787 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.787 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.787 INFO kablam! ... Oct 10 18:13:30.787 INFO kablam! 234 | gen_analyzer!(diag5, 243, "DIAG5"); Oct 10 18:13:30.787 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:30.787 INFO kablam! Oct 10 18:13:30.787 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.787 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.787 INFO kablam! | Oct 10 18:13:30.787 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.787 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.787 INFO kablam! ... Oct 10 18:13:30.787 INFO kablam! 235 | gen_analyzer!(diag6, 729, "DIAG6"); Oct 10 18:13:30.787 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:30.787 INFO kablam! Oct 10 18:13:30.787 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.787 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.787 INFO kablam! | Oct 10 18:13:30.787 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.787 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.787 INFO kablam! ... Oct 10 18:13:30.787 INFO kablam! 236 | gen_analyzer!(diag7, 2187, "DIAG7"); Oct 10 18:13:30.787 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:30.787 INFO kablam! Oct 10 18:13:30.787 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.787 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.787 INFO kablam! | Oct 10 18:13:30.787 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.787 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.787 INFO kablam! ... Oct 10 18:13:30.787 INFO kablam! 237 | gen_analyzer!(diag8, 6561, "DIAG8"); Oct 10 18:13:30.787 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:30.787 INFO kablam! Oct 10 18:13:30.787 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.787 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.787 INFO kablam! | Oct 10 18:13:30.787 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.787 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.787 INFO kablam! ... Oct 10 18:13:30.787 INFO kablam! 238 | gen_analyzer!(hor_vert2, 6561, "HOR_VERT2"); Oct 10 18:13:30.787 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:30.787 INFO kablam! Oct 10 18:13:30.787 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.787 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.787 INFO kablam! | Oct 10 18:13:30.787 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.787 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.787 INFO kablam! ... Oct 10 18:13:30.787 INFO kablam! 239 | gen_analyzer!(hor_vert3, 6561, "HOR_VERT3"); Oct 10 18:13:30.787 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:30.787 INFO kablam! Oct 10 18:13:30.787 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.787 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.787 INFO kablam! | Oct 10 18:13:30.787 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.787 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.787 INFO kablam! ... Oct 10 18:13:30.787 INFO kablam! 240 | gen_analyzer!(hor_vert4, 6561, "HOR_VERT4"); Oct 10 18:13:30.787 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:30.787 INFO kablam! Oct 10 18:13:30.787 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.787 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.787 INFO kablam! | Oct 10 18:13:30.787 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.787 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.787 INFO kablam! ... Oct 10 18:13:30.787 INFO kablam! 241 | gen_analyzer!(edge2x, 59049, "EDGE2X"); Oct 10 18:13:30.787 INFO kablam! | --------------------------------------- in this macro invocation Oct 10 18:13:30.787 INFO kablam! Oct 10 18:13:30.792 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.792 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.792 INFO kablam! | Oct 10 18:13:30.792 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.792 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.792 INFO kablam! ... Oct 10 18:13:30.792 INFO kablam! 242 | gen_analyzer!(corner2x5, 59049, "CORNER2X5"); Oct 10 18:13:30.792 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:30.792 INFO kablam! Oct 10 18:13:30.792 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.792 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.792 INFO kablam! | Oct 10 18:13:30.792 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.792 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.792 INFO kablam! ... Oct 10 18:13:30.792 INFO kablam! 243 | gen_analyzer!(corner3x3, 19683, "CORNER3X3"); Oct 10 18:13:30.792 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:30.792 INFO kablam! Oct 10 18:13:30.792 INFO kablam! warning: unused variable: `board` Oct 10 18:13:30.792 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:30.792 INFO kablam! | Oct 10 18:13:30.792 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:30.792 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:30.792 INFO kablam! ... Oct 10 18:13:30.792 INFO kablam! 244 | gen_analyzer!(corner2x2, 81, "CORNER2X2"); Oct 10 18:13:30.792 INFO kablam! | ------------------------------------------ in this macro invocation Oct 10 18:13:30.792 INFO kablam! Oct 10 18:13:30.792 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:30.792 INFO kablam! --> src/main.rs:36:12 Oct 10 18:13:30.792 INFO kablam! | Oct 10 18:13:30.792 INFO kablam! 36 | Ok(mut g) => g.main_loop(), Oct 10 18:13:30.792 INFO kablam! | ----^ Oct 10 18:13:30.792 INFO kablam! | | Oct 10 18:13:30.792 INFO kablam! | help: remove this `mut` Oct 10 18:13:30.792 INFO kablam! | Oct 10 18:13:30.792 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 18:13:30.792 INFO kablam! Oct 10 18:13:30.846 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:30.846 INFO kablam! --> src/interface/tcp_client.rs:55:13 Oct 10 18:13:30.846 INFO kablam! | Oct 10 18:13:30.846 INFO kablam! 55 | let mut ret: Result; Oct 10 18:13:30.846 INFO kablam! | ----^^^ Oct 10 18:13:30.846 INFO kablam! | | Oct 10 18:13:30.846 INFO kablam! | help: remove this `mut` Oct 10 18:13:30.846 INFO kablam! Oct 10 18:13:31.260 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:31.260 INFO kablam! --> src/player/learning/analysis.rs:56:12 Oct 10 18:13:31.260 INFO kablam! | Oct 10 18:13:31.260 INFO kablam! 56 | fn new(mut reader: BufReader, output_dir: &'a str) -> Analyzer { Oct 10 18:13:31.260 INFO kablam! | ----^^^^^^ Oct 10 18:13:31.260 INFO kablam! | | Oct 10 18:13:31.260 INFO kablam! | help: remove this `mut` Oct 10 18:13:31.260 INFO kablam! Oct 10 18:13:31.357 INFO kablam! warning: unused variable: `v` Oct 10 18:13:31.357 INFO kablam! --> src/interface/parser.rs:184:34 Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! 184 | (x, Command::Bye(v)) => { panic!("hoge={}", x); } Oct 10 18:13:31.357 INFO kablam! | ^ help: consider using `_v` instead Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 18:13:31.357 INFO kablam! Oct 10 18:13:31.357 INFO kablam! warning: unused variable: `scores` Oct 10 18:13:31.357 INFO kablam! --> src/interface/game.rs:48:42 Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! 48 | client::Command::Bye(scores) => { Oct 10 18:13:31.357 INFO kablam! | ^^^^^^ help: consider using `_scores` instead Oct 10 18:13:31.357 INFO kablam! Oct 10 18:13:31.357 INFO kablam! warning: unused variable: `t` Oct 10 18:13:31.357 INFO kablam! --> src/interface/game.rs:52:58 Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! 52 | client::Command::Start(color, oname, t) => { Oct 10 18:13:31.357 INFO kablam! | ^ help: consider using `_t` instead Oct 10 18:13:31.357 INFO kablam! Oct 10 18:13:31.357 INFO kablam! warning: unused variable: `x` Oct 10 18:13:31.357 INFO kablam! --> src/interface/game.rs:67:21 Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! 67 | x => panic!("Invalid Command") Oct 10 18:13:31.357 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:31.357 INFO kablam! Oct 10 18:13:31.357 INFO kablam! warning: unused variable: `result` Oct 10 18:13:31.357 INFO kablam! --> src/interface/game.rs:133:42 Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:31.357 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:31.357 INFO kablam! Oct 10 18:13:31.357 INFO kablam! warning: unused variable: `n` Oct 10 18:13:31.357 INFO kablam! --> src/interface/game.rs:133:50 Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:31.357 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:31.357 INFO kablam! Oct 10 18:13:31.357 INFO kablam! warning: unused variable: `m` Oct 10 18:13:31.357 INFO kablam! --> src/interface/game.rs:133:53 Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:31.357 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:31.357 INFO kablam! Oct 10 18:13:31.357 INFO kablam! warning: unused variable: `r` Oct 10 18:13:31.357 INFO kablam! --> src/interface/game.rs:133:56 Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! 133 | client::Command::End(result, n, m, r) => { Oct 10 18:13:31.357 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:31.357 INFO kablam! Oct 10 18:13:31.357 INFO kablam! warning: unused variable: `x` Oct 10 18:13:31.357 INFO kablam! --> src/interface/game.rs:136:21 Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! 136 | x => panic!("Invalid Command") Oct 10 18:13:31.357 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:31.357 INFO kablam! Oct 10 18:13:31.357 INFO kablam! warning: unused variable: `result` Oct 10 18:13:31.357 INFO kablam! --> src/interface/game.rs:153:42 Oct 10 18:13:31.357 INFO kablam! | Oct 10 18:13:31.357 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:31.357 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:31.357 INFO kablam! Oct 10 18:13:31.358 INFO kablam! warning: unused variable: `n` Oct 10 18:13:31.358 INFO kablam! --> src/interface/game.rs:153:50 Oct 10 18:13:31.358 INFO kablam! | Oct 10 18:13:31.358 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:31.358 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:31.358 INFO kablam! Oct 10 18:13:31.358 INFO kablam! warning: unused variable: `m` Oct 10 18:13:31.358 INFO kablam! --> src/interface/game.rs:153:53 Oct 10 18:13:31.358 INFO kablam! | Oct 10 18:13:31.358 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:31.358 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:31.358 INFO kablam! Oct 10 18:13:31.358 INFO kablam! warning: unused variable: `r` Oct 10 18:13:31.358 INFO kablam! --> src/interface/game.rs:153:56 Oct 10 18:13:31.358 INFO kablam! | Oct 10 18:13:31.358 INFO kablam! 153 | client::Command::End(result, n, m, r) => { Oct 10 18:13:31.358 INFO kablam! | ^ help: consider using `_r` instead Oct 10 18:13:31.358 INFO kablam! Oct 10 18:13:31.358 INFO kablam! warning: unused variable: `x` Oct 10 18:13:31.358 INFO kablam! --> src/interface/game.rs:156:21 Oct 10 18:13:31.358 INFO kablam! | Oct 10 18:13:31.358 INFO kablam! 156 | x => panic!("Invalid Command") Oct 10 18:13:31.358 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:31.358 INFO kablam! Oct 10 18:13:31.358 INFO kablam! warning: unused variable: `result` Oct 10 18:13:31.358 INFO kablam! --> src/interface/game.rs:163:24 Oct 10 18:13:31.358 INFO kablam! | Oct 10 18:13:31.358 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:31.358 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 10 18:13:31.358 INFO kablam! Oct 10 18:13:31.358 INFO kablam! warning: unused variable: `n` Oct 10 18:13:31.358 INFO kablam! --> src/interface/game.rs:163:53 Oct 10 18:13:31.358 INFO kablam! | Oct 10 18:13:31.358 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:31.358 INFO kablam! | ^ help: consider using `_n` instead Oct 10 18:13:31.358 INFO kablam! Oct 10 18:13:31.358 INFO kablam! warning: unused variable: `m` Oct 10 18:13:31.358 INFO kablam! --> src/interface/game.rs:163:60 Oct 10 18:13:31.358 INFO kablam! | Oct 10 18:13:31.358 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:31.358 INFO kablam! | ^ help: consider using `_m` instead Oct 10 18:13:31.358 INFO kablam! Oct 10 18:13:31.358 INFO kablam! warning: unused variable: `reason` Oct 10 18:13:31.358 INFO kablam! --> src/interface/game.rs:163:67 Oct 10 18:13:31.358 INFO kablam! | Oct 10 18:13:31.358 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:31.358 INFO kablam! | ^^^^^^ help: consider using `_reason` instead Oct 10 18:13:31.358 INFO kablam! Oct 10 18:13:31.360 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:31.360 INFO kablam! --> src/player/learning/analysis.rs:78:21 Oct 10 18:13:31.360 INFO kablam! | Oct 10 18:13:31.360 INFO kablam! 78 | let mut epoch = 0u8; Oct 10 18:13:31.360 INFO kablam! | ^^^^^ Oct 10 18:13:31.360 INFO kablam! | Oct 10 18:13:31.360 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:31.360 INFO kablam! Oct 10 18:13:31.360 INFO kablam! warning: unused variable: `x` Oct 10 18:13:31.360 INFO kablam! --> src/player/learning/analysis.rs:159:17 Oct 10 18:13:31.360 INFO kablam! | Oct 10 18:13:31.360 INFO kablam! 159 | let x = 0..1; Oct 10 18:13:31.360 INFO kablam! | ^ help: consider using `_x` instead Oct 10 18:13:31.360 INFO kablam! Oct 10 18:13:31.360 INFO kablam! warning: variable `epoch` is assigned to, but never used Oct 10 18:13:31.360 INFO kablam! --> src/player/learning/analysis.rs:195:21 Oct 10 18:13:31.360 INFO kablam! | Oct 10 18:13:31.360 INFO kablam! 195 | let mut epoch = 0u8; Oct 10 18:13:31.360 INFO kablam! | ^^^^^ Oct 10 18:13:31.360 INFO kablam! | Oct 10 18:13:31.360 INFO kablam! = note: consider using `_epoch` instead Oct 10 18:13:31.360 INFO kablam! Oct 10 18:13:31.360 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.360 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.360 INFO kablam! | Oct 10 18:13:31.360 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.360 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.361 INFO kablam! ... Oct 10 18:13:31.361 INFO kablam! 233 | gen_analyzer!(diag4, 81, "DIAG4"); Oct 10 18:13:31.361 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:31.361 INFO kablam! Oct 10 18:13:31.361 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.361 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.361 INFO kablam! | Oct 10 18:13:31.361 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.361 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.361 INFO kablam! ... Oct 10 18:13:31.361 INFO kablam! 234 | gen_analyzer!(diag5, 243, "DIAG5"); Oct 10 18:13:31.361 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:31.361 INFO kablam! Oct 10 18:13:31.361 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.361 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.361 INFO kablam! | Oct 10 18:13:31.361 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.361 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.361 INFO kablam! ... Oct 10 18:13:31.361 INFO kablam! 235 | gen_analyzer!(diag6, 729, "DIAG6"); Oct 10 18:13:31.361 INFO kablam! | ----------------------------------- in this macro invocation Oct 10 18:13:31.361 INFO kablam! Oct 10 18:13:31.361 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.361 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.361 INFO kablam! | Oct 10 18:13:31.361 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.361 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.361 INFO kablam! ... Oct 10 18:13:31.361 INFO kablam! 236 | gen_analyzer!(diag7, 2187, "DIAG7"); Oct 10 18:13:31.361 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:31.361 INFO kablam! Oct 10 18:13:31.361 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.361 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.361 INFO kablam! | Oct 10 18:13:31.361 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.361 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.361 INFO kablam! ... Oct 10 18:13:31.361 INFO kablam! 237 | gen_analyzer!(diag8, 6561, "DIAG8"); Oct 10 18:13:31.361 INFO kablam! | ------------------------------------ in this macro invocation Oct 10 18:13:31.361 INFO kablam! Oct 10 18:13:31.361 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.361 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.361 INFO kablam! | Oct 10 18:13:31.361 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.361 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.361 INFO kablam! ... Oct 10 18:13:31.361 INFO kablam! 238 | gen_analyzer!(hor_vert2, 6561, "HOR_VERT2"); Oct 10 18:13:31.361 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:31.361 INFO kablam! Oct 10 18:13:31.361 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.361 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.361 INFO kablam! | Oct 10 18:13:31.361 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.361 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.361 INFO kablam! ... Oct 10 18:13:31.361 INFO kablam! 239 | gen_analyzer!(hor_vert3, 6561, "HOR_VERT3"); Oct 10 18:13:31.361 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:31.361 INFO kablam! Oct 10 18:13:31.361 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.361 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.361 INFO kablam! | Oct 10 18:13:31.361 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.361 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.361 INFO kablam! ... Oct 10 18:13:31.361 INFO kablam! 240 | gen_analyzer!(hor_vert4, 6561, "HOR_VERT4"); Oct 10 18:13:31.361 INFO kablam! | -------------------------------------------- in this macro invocation Oct 10 18:13:31.361 INFO kablam! Oct 10 18:13:31.361 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.361 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.361 INFO kablam! | Oct 10 18:13:31.361 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.361 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.361 INFO kablam! ... Oct 10 18:13:31.361 INFO kablam! 241 | gen_analyzer!(edge2x, 59049, "EDGE2X"); Oct 10 18:13:31.361 INFO kablam! | --------------------------------------- in this macro invocation Oct 10 18:13:31.361 INFO kablam! Oct 10 18:13:31.368 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.368 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.368 INFO kablam! | Oct 10 18:13:31.368 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.368 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.368 INFO kablam! ... Oct 10 18:13:31.368 INFO kablam! 242 | gen_analyzer!(corner2x5, 59049, "CORNER2X5"); Oct 10 18:13:31.368 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:31.368 INFO kablam! Oct 10 18:13:31.368 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.368 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.368 INFO kablam! | Oct 10 18:13:31.368 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.368 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.368 INFO kablam! ... Oct 10 18:13:31.368 INFO kablam! 243 | gen_analyzer!(corner3x3, 19683, "CORNER3X3"); Oct 10 18:13:31.368 INFO kablam! | --------------------------------------------- in this macro invocation Oct 10 18:13:31.368 INFO kablam! Oct 10 18:13:31.368 INFO kablam! warning: unused variable: `board` Oct 10 18:13:31.368 INFO kablam! --> src/player/learning/analysis.rs:25:17 Oct 10 18:13:31.368 INFO kablam! | Oct 10 18:13:31.368 INFO kablam! 25 | let board = self.simulate(|board: board::Board, result: MatchResult, epoch: usize| { Oct 10 18:13:31.368 INFO kablam! | ^^^^^ help: consider using `_board` instead Oct 10 18:13:31.369 INFO kablam! ... Oct 10 18:13:31.369 INFO kablam! 244 | gen_analyzer!(corner2x2, 81, "CORNER2X2"); Oct 10 18:13:31.369 INFO kablam! | ------------------------------------------ in this macro invocation Oct 10 18:13:31.369 INFO kablam! Oct 10 18:13:31.384 INFO kablam! warning: method is never used: `is_valid` Oct 10 18:13:31.384 INFO kablam! --> src/board.rs:401:5 Oct 10 18:13:31.384 INFO kablam! | Oct 10 18:13:31.384 INFO kablam! 401 | fn is_valid(&self, pos: &BitIndexable, player: Color) -> bool { Oct 10 18:13:31.384 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:31.384 INFO kablam! | Oct 10 18:13:31.384 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 18:13:31.384 INFO kablam! Oct 10 18:13:31.384 INFO kablam! warning: method is never used: `proc_end` Oct 10 18:13:31.384 INFO kablam! --> src/interface/game.rs:163:5 Oct 10 18:13:31.384 INFO kablam! | Oct 10 18:13:31.384 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:31.384 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:31.384 INFO kablam! Oct 10 18:13:31.384 INFO kablam! warning: constant item is never used: `map1` Oct 10 18:13:31.384 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:31.384 INFO kablam! | Oct 10 18:13:31.384 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:31.384 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:31.385 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:31.385 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:31.385 INFO kablam! ... | Oct 10 18:13:31.385 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:31.385 INFO kablam! 25 | | ]; Oct 10 18:13:31.385 INFO kablam! | |__^ Oct 10 18:13:31.385 INFO kablam! Oct 10 18:13:31.396 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:31.396 INFO kablam! --> src/interface/tcp_client.rs:84:17 Oct 10 18:13:31.396 INFO kablam! | Oct 10 18:13:31.396 INFO kablam! 84 | self.writer.flush(); Oct 10 18:13:31.396 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:31.396 INFO kablam! | Oct 10 18:13:31.396 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 18:13:31.396 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:31.396 INFO kablam! Oct 10 18:13:31.409 INFO kablam! warning: constant `map1` should have an upper case name such as `MAP1` Oct 10 18:13:31.409 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:31.409 INFO kablam! | Oct 10 18:13:31.410 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:31.410 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:31.410 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:31.410 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:31.410 INFO kablam! ... | Oct 10 18:13:31.410 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:31.410 INFO kablam! 25 | | ]; Oct 10 18:13:31.410 INFO kablam! | |__^ Oct 10 18:13:31.410 INFO kablam! Oct 10 18:13:31.410 INFO kablam! warning: constant `feature_functions` should have an upper case name such as `FEATURE_FUNCTIONS` Oct 10 18:13:31.410 INFO kablam! --> src/player/linear_evaluator.rs:83:1 Oct 10 18:13:31.410 INFO kablam! | Oct 10 18:13:31.410 INFO kablam! 83 | / pub const feature_functions: [fn(board::Board) -> f32; 12] = [ Oct 10 18:13:31.410 INFO kablam! 84 | | diag4, diag5, diag6, diag7, diag8, hor_vert2, hor_vert3, hor_vert4, Oct 10 18:13:31.410 INFO kablam! 85 | | edge2x, corner2x2, corner3x3, flippable_diff Oct 10 18:13:31.410 INFO kablam! 86 | | ]; Oct 10 18:13:31.410 INFO kablam! | |__________^ Oct 10 18:13:31.412 INFO kablam! Oct 10 18:13:31.412 INFO kablam! warning: constant `feature_names` should have an upper case name such as `FEATURE_NAMES` Oct 10 18:13:31.412 INFO kablam! --> src/player/linear_evaluator.rs:87:1 Oct 10 18:13:31.412 INFO kablam! | Oct 10 18:13:31.412 INFO kablam! 87 | / pub const feature_names: [&str; 12] = [ Oct 10 18:13:31.412 INFO kablam! 88 | | "diag4", "diag5", "diag6", "diag7", "diag8", "hor_vert2", "hor_vert3", "hor_vert4", Oct 10 18:13:31.412 INFO kablam! 89 | | "edge2x", "corner2x2", "corner3x3", "flippable_diff" Oct 10 18:13:31.412 INFO kablam! 90 | | ]; Oct 10 18:13:31.412 INFO kablam! | |__^ Oct 10 18:13:31.412 INFO kablam! Oct 10 18:13:31.412 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:31.412 INFO kablam! --> src/interface/tcp_client.rs:55:13 Oct 10 18:13:31.412 INFO kablam! | Oct 10 18:13:31.412 INFO kablam! 55 | let mut ret: Result; Oct 10 18:13:31.412 INFO kablam! | ----^^^ Oct 10 18:13:31.412 INFO kablam! | | Oct 10 18:13:31.412 INFO kablam! | help: remove this `mut` Oct 10 18:13:31.412 INFO kablam! | Oct 10 18:13:31.412 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 18:13:31.412 INFO kablam! Oct 10 18:13:31.416 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:31.416 INFO kablam! --> src/player/learning/analysis.rs:139:13 Oct 10 18:13:31.416 INFO kablam! | Oct 10 18:13:31.416 INFO kablam! 139 | create_dir(path); Oct 10 18:13:31.416 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 10 18:13:31.416 INFO kablam! | Oct 10 18:13:31.416 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:31.416 INFO kablam! Oct 10 18:13:31.820 INFO kablam! warning: variable does not need to be mutable Oct 10 18:13:31.820 INFO kablam! --> src/player/learning/analysis.rs:56:12 Oct 10 18:13:31.820 INFO kablam! | Oct 10 18:13:31.820 INFO kablam! 56 | fn new(mut reader: BufReader, output_dir: &'a str) -> Analyzer { Oct 10 18:13:31.820 INFO kablam! | ----^^^^^^ Oct 10 18:13:31.820 INFO kablam! | | Oct 10 18:13:31.820 INFO kablam! | help: remove this `mut` Oct 10 18:13:31.820 INFO kablam! Oct 10 18:13:32.092 INFO kablam! warning: constant `filename` should have an upper case name such as `FILENAME` Oct 10 18:13:32.092 INFO kablam! --> src/analysis.rs:19:1 Oct 10 18:13:32.092 INFO kablam! | Oct 10 18:13:32.092 INFO kablam! 19 | const filename: &str = "data/data"; Oct 10 18:13:32.093 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:32.093 INFO kablam! Oct 10 18:13:32.093 INFO kablam! warning: constant `output_dir` should have an upper case name such as `OUTPUT_DIR` Oct 10 18:13:32.093 INFO kablam! --> src/analysis.rs:20:1 Oct 10 18:13:32.093 INFO kablam! | Oct 10 18:13:32.093 INFO kablam! 20 | const output_dir: &str = "output/"; Oct 10 18:13:32.093 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:32.094 INFO kablam! Oct 10 18:13:32.120 INFO kablam! warning: method is never used: `is_valid` Oct 10 18:13:32.120 INFO kablam! --> src/board.rs:401:5 Oct 10 18:13:32.121 INFO kablam! | Oct 10 18:13:32.121 INFO kablam! 401 | fn is_valid(&self, pos: &BitIndexable, player: Color) -> bool { Oct 10 18:13:32.121 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:32.121 INFO kablam! | Oct 10 18:13:32.121 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 18:13:32.121 INFO kablam! Oct 10 18:13:32.121 INFO kablam! warning: method is never used: `proc_end` Oct 10 18:13:32.121 INFO kablam! --> src/interface/game.rs:163:5 Oct 10 18:13:32.121 INFO kablam! | Oct 10 18:13:32.121 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:32.121 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:32.121 INFO kablam! Oct 10 18:13:32.121 INFO kablam! warning: constant item is never used: `map1` Oct 10 18:13:32.121 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:32.121 INFO kablam! | Oct 10 18:13:32.122 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:32.122 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:32.122 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:32.122 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:32.122 INFO kablam! ... | Oct 10 18:13:32.122 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:32.122 INFO kablam! 25 | | ]; Oct 10 18:13:32.122 INFO kablam! | |__^ Oct 10 18:13:32.122 INFO kablam! Oct 10 18:13:32.176 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:32.176 INFO kablam! --> src/interface/tcp_client.rs:84:17 Oct 10 18:13:32.176 INFO kablam! | Oct 10 18:13:32.176 INFO kablam! 84 | self.writer.flush(); Oct 10 18:13:32.176 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:32.176 INFO kablam! | Oct 10 18:13:32.176 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 18:13:32.176 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:32.177 INFO kablam! Oct 10 18:13:32.204 INFO kablam! warning: constant `map1` should have an upper case name such as `MAP1` Oct 10 18:13:32.204 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:32.204 INFO kablam! | Oct 10 18:13:32.204 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:32.204 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:32.204 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:32.204 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:32.204 INFO kablam! ... | Oct 10 18:13:32.204 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:32.205 INFO kablam! 25 | | ]; Oct 10 18:13:32.205 INFO kablam! | |__^ Oct 10 18:13:32.205 INFO kablam! Oct 10 18:13:32.205 INFO kablam! warning: constant `feature_functions` should have an upper case name such as `FEATURE_FUNCTIONS` Oct 10 18:13:32.205 INFO kablam! --> src/player/linear_evaluator.rs:83:1 Oct 10 18:13:32.205 INFO kablam! | Oct 10 18:13:32.205 INFO kablam! 83 | / pub const feature_functions: [fn(board::Board) -> f32; 12] = [ Oct 10 18:13:32.205 INFO kablam! 84 | | diag4, diag5, diag6, diag7, diag8, hor_vert2, hor_vert3, hor_vert4, Oct 10 18:13:32.208 INFO kablam! 85 | | edge2x, corner2x2, corner3x3, flippable_diff Oct 10 18:13:32.208 INFO kablam! 86 | | ]; Oct 10 18:13:32.208 INFO kablam! | |__________^ Oct 10 18:13:32.208 INFO kablam! Oct 10 18:13:32.208 INFO kablam! warning: constant `feature_names` should have an upper case name such as `FEATURE_NAMES` Oct 10 18:13:32.208 INFO kablam! --> src/player/linear_evaluator.rs:87:1 Oct 10 18:13:32.208 INFO kablam! | Oct 10 18:13:32.208 INFO kablam! 87 | / pub const feature_names: [&str; 12] = [ Oct 10 18:13:32.208 INFO kablam! 88 | | "diag4", "diag5", "diag6", "diag7", "diag8", "hor_vert2", "hor_vert3", "hor_vert4", Oct 10 18:13:32.208 INFO kablam! 89 | | "edge2x", "corner2x2", "corner3x3", "flippable_diff" Oct 10 18:13:32.209 INFO kablam! 90 | | ]; Oct 10 18:13:32.209 INFO kablam! | |__^ Oct 10 18:13:32.209 INFO kablam! Oct 10 18:13:32.244 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:32.244 INFO kablam! --> src/player/learning/analysis.rs:139:13 Oct 10 18:13:32.244 INFO kablam! | Oct 10 18:13:32.244 INFO kablam! 139 | create_dir(path); Oct 10 18:13:32.244 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 10 18:13:32.244 INFO kablam! | Oct 10 18:13:32.244 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:32.244 INFO kablam! Oct 10 18:13:32.820 INFO kablam! warning: method is never used: `is_valid` Oct 10 18:13:32.820 INFO kablam! --> src/board.rs:401:5 Oct 10 18:13:32.820 INFO kablam! | Oct 10 18:13:32.820 INFO kablam! 401 | fn is_valid(&self, pos: &BitIndexable, player: Color) -> bool { Oct 10 18:13:32.820 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:32.820 INFO kablam! | Oct 10 18:13:32.820 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 18:13:32.820 INFO kablam! Oct 10 18:13:32.823 INFO kablam! warning: method is never used: `proc_end` Oct 10 18:13:32.823 INFO kablam! --> src/interface/game.rs:163:5 Oct 10 18:13:32.823 INFO kablam! | Oct 10 18:13:32.823 INFO kablam! 163 | fn proc_end(&self, result: client::MatchResult, n: u8, m: u8, reason: String) {} Oct 10 18:13:32.823 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:32.823 INFO kablam! Oct 10 18:13:32.825 INFO kablam! warning: constant item is never used: `map1` Oct 10 18:13:32.825 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:32.825 INFO kablam! | Oct 10 18:13:32.825 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:32.825 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:32.825 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:32.825 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:32.825 INFO kablam! ... | Oct 10 18:13:32.825 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:32.825 INFO kablam! 25 | | ]; Oct 10 18:13:32.825 INFO kablam! | |__^ Oct 10 18:13:32.825 INFO kablam! Oct 10 18:13:32.904 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:32.904 INFO kablam! --> src/interface/tcp_client.rs:84:17 Oct 10 18:13:32.904 INFO kablam! | Oct 10 18:13:32.904 INFO kablam! 84 | self.writer.flush(); Oct 10 18:13:32.904 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 18:13:32.904 INFO kablam! | Oct 10 18:13:32.904 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 18:13:32.904 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:32.904 INFO kablam! Oct 10 18:13:32.987 INFO kablam! warning: constant `map1` should have an upper case name such as `MAP1` Oct 10 18:13:32.987 INFO kablam! --> src/player/linear_evaluator.rs:16:1 Oct 10 18:13:32.987 INFO kablam! | Oct 10 18:13:32.987 INFO kablam! 16 | / const map1: [[i64; 8]; 8] = [ Oct 10 18:13:32.987 INFO kablam! 17 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:32.987 INFO kablam! 18 | | [-40, -40, 1, 1, 1, 1, -40, -40], Oct 10 18:13:32.987 INFO kablam! 19 | | [5, 1, 1, 1, 1, 1, 1, 5], Oct 10 18:13:32.987 INFO kablam! ... | Oct 10 18:13:32.987 INFO kablam! 24 | | [1000, -40, 5, 5, 5, 5, -40, 1000], Oct 10 18:13:32.987 INFO kablam! 25 | | ]; Oct 10 18:13:32.987 INFO kablam! | |__^ Oct 10 18:13:32.987 INFO kablam! Oct 10 18:13:32.990 INFO kablam! warning: constant `feature_functions` should have an upper case name such as `FEATURE_FUNCTIONS` Oct 10 18:13:32.990 INFO kablam! --> src/player/linear_evaluator.rs:83:1 Oct 10 18:13:32.990 INFO kablam! | Oct 10 18:13:32.990 INFO kablam! 83 | / pub const feature_functions: [fn(board::Board) -> f32; 12] = [ Oct 10 18:13:32.990 INFO kablam! 84 | | diag4, diag5, diag6, diag7, diag8, hor_vert2, hor_vert3, hor_vert4, Oct 10 18:13:32.990 INFO kablam! 85 | | edge2x, corner2x2, corner3x3, flippable_diff Oct 10 18:13:32.990 INFO kablam! 86 | | ]; Oct 10 18:13:32.990 INFO kablam! | |__________^ Oct 10 18:13:32.990 INFO kablam! Oct 10 18:13:32.990 INFO kablam! warning: constant `feature_names` should have an upper case name such as `FEATURE_NAMES` Oct 10 18:13:32.990 INFO kablam! --> src/player/linear_evaluator.rs:87:1 Oct 10 18:13:32.990 INFO kablam! | Oct 10 18:13:32.990 INFO kablam! 87 | / pub const feature_names: [&str; 12] = [ Oct 10 18:13:32.990 INFO kablam! 88 | | "diag4", "diag5", "diag6", "diag7", "diag8", "hor_vert2", "hor_vert3", "hor_vert4", Oct 10 18:13:32.990 INFO kablam! 89 | | "edge2x", "corner2x2", "corner3x3", "flippable_diff" Oct 10 18:13:32.990 INFO kablam! 90 | | ]; Oct 10 18:13:32.990 INFO kablam! | |__^ Oct 10 18:13:32.990 INFO kablam! Oct 10 18:13:33.000 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:33.000 INFO kablam! --> src/player/learning/analysis.rs:139:13 Oct 10 18:13:33.000 INFO kablam! | Oct 10 18:13:33.000 INFO kablam! 139 | create_dir(path); Oct 10 18:13:33.000 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 10 18:13:33.000 INFO kablam! | Oct 10 18:13:33.000 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:33.000 INFO kablam! Oct 10 18:13:33.760 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 18:13:33.760 INFO kablam! --> src/main.rs:35:5 Oct 10 18:13:33.760 INFO kablam! | Oct 10 18:13:33.760 INFO kablam! 35 | / match game::Game::new(client, player, NAME) { Oct 10 18:13:33.760 INFO kablam! 36 | | Ok(mut g) => g.main_loop(), Oct 10 18:13:33.760 INFO kablam! 37 | | Err(s) => panic!("Fail: {}", s), Oct 10 18:13:33.760 INFO kablam! 38 | | }; Oct 10 18:13:33.760 INFO kablam! | |______^ Oct 10 18:13:33.760 INFO kablam! | Oct 10 18:13:33.760 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 18:13:33.760 INFO kablam! Oct 10 18:13:36.354 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 15.93s Oct 10 18:13:36.362 INFO kablam! su: No module specific data is present Oct 10 18:13:36.941 INFO running `"docker" "rm" "-f" "8807fc36373b920d0ac9fb4419338041af69932cffb1b748673348441a8d5630"` Oct 10 18:13:37.268 INFO blam! 8807fc36373b920d0ac9fb4419338041af69932cffb1b748673348441a8d5630 Oct 10 18:13:37.273 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 10 18:13:37.274 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 10 18:13:37.672 INFO blam! ab19b40447e155c2dac087df63ab662f369123f2fd3dae12f806677db4eb1ad7 Oct 10 18:13:37.672 INFO running `"docker" "start" "-a" "ab19b40447e155c2dac087df63ab662f369123f2fd3dae12f806677db4eb1ad7"` Oct 10 18:13:38.870 INFO kablam! usermod: no changes Oct 10 18:13:38.996 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.08s Oct 10 18:13:39.016 INFO kablam! Running /target/debug/deps/client-39380fc646f3f89a Oct 10 18:13:39.016 INFO blam! Oct 10 18:13:39.016 INFO blam! running 8 tests Oct 10 18:13:39.016 INFO blam! test interface::parser::test_bye_command ... ok Oct 10 18:13:39.016 INFO blam! test interface::parser::test_move_command ... ok Oct 10 18:13:39.016 INFO blam! test interface::parser::test_ack_command ... ok Oct 10 18:13:39.021 INFO blam! test interface::parser::test_command_parser ... ok Oct 10 18:13:39.040 INFO blam! test interface::parser::test_end_command ... ok Oct 10 18:13:39.040 INFO blam! test interface::parser::test_start_command ... ok Oct 10 18:13:39.044 INFO blam! test interface::parser::test_open_command ... ok Oct 10 18:13:39.128 INFO blam! test player::learning::parser::tests::test_parse_csv_line ... FAILED Oct 10 18:13:39.128 INFO kablam! error: test failed, to rerun pass '--lib' Oct 10 18:13:39.128 INFO blam! Oct 10 18:13:39.128 INFO kablam! su: No module specific data is present Oct 10 18:13:39.128 INFO blam! failures: Oct 10 18:13:39.128 INFO blam! Oct 10 18:13:39.128 INFO blam! ---- player::learning::parser::tests::test_parse_csv_line stdout ---- Oct 10 18:13:39.128 INFO blam! thread 'player::learning::parser::tests::test_parse_csv_line' panicked at 'attempt to add with overflow', src/board.rs:293:35 Oct 10 18:13:39.128 INFO blam! stack backtrace: Oct 10 18:13:39.128 INFO blam! 0: 0x563b3eba9b5e - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h52ace5b3d4e95617 Oct 10 18:13:39.128 INFO blam! at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 Oct 10 18:13:39.128 INFO blam! 1: 0x563b3ebb2a06 - std::sys_common::backtrace::print::h6cfc8a66009c1cc9 Oct 10 18:13:39.128 INFO blam! at libstd/sys_common/backtrace.rs:71 Oct 10 18:13:39.128 INFO blam! at libstd/sys_common/backtrace.rs:59 Oct 10 18:13:39.128 INFO blam! 2: 0x563b3ebad75d - std::panicking::default_hook::{{closure}}::h47bedf778bf88480 Oct 10 18:13:39.128 INFO blam! at libstd/panicking.rs:211 Oct 10 18:13:39.128 INFO blam! 3: 0x563b3ebad46b - std::panicking::default_hook::h1ef46fa7cd894809 Oct 10 18:13:39.128 INFO blam! at libstd/panicking.rs:221 Oct 10 18:13:39.128 INFO blam! 4: 0x563b3ebade0c - std::panicking::rust_panic_with_hook::h05510fde8841c579 Oct 10 18:13:39.128 INFO blam! at libstd/panicking.rs:476 Oct 10 18:13:39.128 INFO blam! 5: 0x563b3ebad9c9 - std::panicking::continue_panic_fmt::h6e11f50e47f94b00 Oct 10 18:13:39.128 INFO blam! at libstd/panicking.rs:390 Oct 10 18:13:39.128 INFO blam! 6: 0x563b3ebad8c5 - rust_begin_unwind Oct 10 18:13:39.128 INFO blam! at libstd/panicking.rs:325 Oct 10 18:13:39.128 INFO blam! 7: 0x563b3ebedc6b - core::panicking::panic_fmt::hf99aac1e278ac2e5 Oct 10 18:13:39.128 INFO blam! at libcore/panicking.rs:77 Oct 10 18:13:39.128 INFO blam! 8: 0x563b3ebedb9a - core::panicking::panic::hf8fbd9f6b140980c Oct 10 18:13:39.128 INFO blam! at libcore/panicking.rs:52 Oct 10 18:13:39.128 INFO blam! 9: 0x563b3eb528d2 - client::board::Board::gen_flip::h3ebc02f5c4c8acf1 Oct 10 18:13:39.128 INFO blam! at src/board.rs:293 Oct 10 18:13:39.128 INFO blam! 10: 0x563b3eb51c51 - client::board::Board::flip::hb614bb4d1f8e36f9 Oct 10 18:13:39.128 INFO blam! at src/board.rs:255 Oct 10 18:13:39.128 INFO blam! 11: 0x563b3eb48a4e - client::player::learning::parser::tests::test_parse_csv_line::hfe8b71f9fe239cb6 Oct 10 18:13:39.128 INFO blam! at src/player/learning/parser.rs:149 Oct 10 18:13:39.128 INFO blam! 12: 0x563b3eb482a9 - client::player::learning::parser::tests::test_parse_csv_line::{{closure}}::hfcda66919d6c7bbb Oct 10 18:13:39.128 INFO blam! at src/player/learning/parser.rs:128 Oct 10 18:13:39.128 INFO blam! 13: 0x563b3eb461dd - core::ops::function::FnOnce::call_once::h04054464431bfbbc Oct 10 18:13:39.128 INFO blam! at libcore/ops/function.rs:238 Oct 10 18:13:39.128 INFO blam! 14: 0x563b3eb58dfe - >::call_box::h95b7cb918af67b5d Oct 10 18:13:39.128 INFO blam! at libtest/lib.rs:1468 Oct 10 18:13:39.128 INFO blam! at libcore/ops/function.rs:238 Oct 10 18:13:39.128 INFO blam! at liballoc/boxed.rs:672 Oct 10 18:13:39.129 INFO blam! 15: 0x563b3ebbdbd9 - __rust_maybe_catch_panic Oct 10 18:13:39.129 INFO blam! at libpanic_unwind/lib.rs:102 Oct 10 18:13:39.129 INFO blam! 16: 0x563b3eb7994d - std::sys_common::backtrace::__rust_begin_short_backtrace::he1120aab928e481f Oct 10 18:13:39.129 INFO blam! at libstd/panicking.rs:289 Oct 10 18:13:39.129 INFO blam! at libstd/panic.rs:392 Oct 10 18:13:39.129 INFO blam! at libtest/lib.rs:1423 Oct 10 18:13:39.129 INFO blam! at libstd/sys_common/backtrace.rs:136 Oct 10 18:13:39.129 INFO blam! 17: 0x563b3eb7a554 - std::panicking::try::do_call::ha990a345054c2d63 Oct 10 18:13:39.129 INFO blam! at libstd/thread/mod.rs:409 Oct 10 18:13:39.129 INFO blam! at libstd/panic.rs:313 Oct 10 18:13:39.129 INFO blam! at libstd/panicking.rs:310 Oct 10 18:13:39.129 INFO blam! 18: 0x563b3ebbdbd9 - __rust_maybe_catch_panic Oct 10 18:13:39.129 INFO blam! at libpanic_unwind/lib.rs:102 Oct 10 18:13:39.129 INFO blam! 19: 0x563b3eb67b16 - >::call_box::h96125cb29a9ba44b Oct 10 18:13:39.129 INFO blam! at libstd/panicking.rs:289 Oct 10 18:13:39.129 INFO blam! at libstd/panic.rs:392 Oct 10 18:13:39.129 INFO blam! at libstd/thread/mod.rs:408 Oct 10 18:13:39.129 INFO blam! at liballoc/boxed.rs:672 Oct 10 18:13:39.129 INFO blam! 20: 0x563b3ebabb9a - std::sys_common::thread::start_thread::h97c4c5d82028f6b1 Oct 10 18:13:39.129 INFO blam! at liballoc/boxed.rs:682 Oct 10 18:13:39.129 INFO blam! at libstd/sys_common/thread.rs:24 Oct 10 18:13:39.129 INFO blam! 21: 0x563b3eba1325 - std::sys::unix::thread::Thread::new::thread_start::he7d65efc4dd16886 Oct 10 18:13:39.129 INFO blam! at libstd/sys/unix/thread.rs:90 Oct 10 18:13:39.129 INFO blam! 22: 0x7f55c4b1c6b9 - start_thread Oct 10 18:13:39.129 INFO blam! 23: 0x7f55c463c41c - clone Oct 10 18:13:39.129 INFO blam! 24: 0x0 - Oct 10 18:13:39.129 INFO blam! Oct 10 18:13:39.129 INFO blam! Oct 10 18:13:39.129 INFO blam! failures: Oct 10 18:13:39.129 INFO blam! player::learning::parser::tests::test_parse_csv_line Oct 10 18:13:39.129 INFO blam! Oct 10 18:13:39.129 INFO blam! test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out Oct 10 18:13:39.129 INFO blam! Oct 10 18:13:39.612 INFO running `"docker" "rm" "-f" "ab19b40447e155c2dac087df63ab662f369123f2fd3dae12f806677db4eb1ad7"` Oct 10 18:13:39.979 INFO blam! ab19b40447e155c2dac087df63ab662f369123f2fd3dae12f806677db4eb1ad7