Aug 29 16:55:38.377 INFO checking mbh95/tetrs against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 29 16:55:38.377 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 29 16:55:38.377 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-0/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 29 16:55:38.622 INFO blam! 5d2a5ecdecbae1e302ea6d519de02ec8d1e1e3730ac75867ab2b4582279772aa Aug 29 16:55:38.624 INFO running `"docker" "start" "-a" "5d2a5ecdecbae1e302ea6d519de02ec8d1e1e3730ac75867ab2b4582279772aa"` Aug 29 16:55:39.620 INFO kablam! Checking c_vec v1.3.1 Aug 29 16:55:40.107 INFO kablam! Checking sdl2 v0.31.0 Aug 29 16:55:47.933 INFO kablam! Checking tetrs v0.1.0 (file:///source) Aug 29 16:55:48.338 INFO kablam! warning: unused import: `tetromino_data::TetrominoType` Aug 29 16:55:48.338 INFO kablam! --> src/grid.rs:3:5 Aug 29 16:55:48.338 INFO kablam! | Aug 29 16:55:48.338 INFO kablam! 3 | use tetromino_data::TetrominoType; Aug 29 16:55:48.338 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:48.338 INFO kablam! | Aug 29 16:55:48.338 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 16:55:48.338 INFO kablam! Aug 29 16:55:48.339 INFO kablam! warning: unused import: `piece::Tetromino` Aug 29 16:55:48.339 INFO kablam! --> src/game.rs:3:5 Aug 29 16:55:48.339 INFO kablam! | Aug 29 16:55:48.339 INFO kablam! 3 | use piece::Tetromino; Aug 29 16:55:48.339 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 29 16:55:48.339 INFO kablam! Aug 29 16:55:48.339 INFO kablam! warning: unnecessary parentheses around assigned value Aug 29 16:55:48.339 INFO kablam! --> src/game.rs:195:32 Aug 29 16:55:48.339 INFO kablam! | Aug 29 16:55:48.339 INFO kablam! 195 | self.lock_timer -= (1.0 / 60.0); Aug 29 16:55:48.339 INFO kablam! | ^^^^^^^^^^^^ help: remove these parentheses Aug 29 16:55:48.339 INFO kablam! | Aug 29 16:55:48.339 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 16:55:48.339 INFO kablam! Aug 29 16:55:48.340 INFO kablam! warning: unused import: `sim::TetrisSim` Aug 29 16:55:48.340 INFO kablam! --> src/main.rs:15:5 Aug 29 16:55:48.340 INFO kablam! | Aug 29 16:55:48.340 INFO kablam! 15 | use sim::TetrisSim; Aug 29 16:55:48.340 INFO kablam! | ^^^^^^^^^^^^^^ Aug 29 16:55:48.340 INFO kablam! Aug 29 16:55:48.340 INFO kablam! warning: unused import: `grid::SetPieceResult` Aug 29 16:55:48.340 INFO kablam! --> src/main.rs:16:5 Aug 29 16:55:48.341 INFO kablam! | Aug 29 16:55:48.341 INFO kablam! 16 | use grid::SetPieceResult; Aug 29 16:55:48.341 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:48.341 INFO kablam! Aug 29 16:55:48.341 INFO kablam! warning: unused import: `piece::Tetromino` Aug 29 16:55:48.341 INFO kablam! --> src/main.rs:21:5 Aug 29 16:55:48.341 INFO kablam! | Aug 29 16:55:48.341 INFO kablam! 21 | use piece::Tetromino; Aug 29 16:55:48.341 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 29 16:55:48.341 INFO kablam! Aug 29 16:55:48.341 INFO kablam! warning: unused import: `game::TetrisGame` Aug 29 16:55:48.341 INFO kablam! --> src/main.rs:22:5 Aug 29 16:55:48.341 INFO kablam! | Aug 29 16:55:48.341 INFO kablam! 22 | use game::TetrisGame; Aug 29 16:55:48.341 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 29 16:55:48.341 INFO kablam! Aug 29 16:55:48.371 INFO kablam! warning: unused import: `tetromino_data::TetrominoType` Aug 29 16:55:48.371 INFO kablam! --> src/grid.rs:3:5 Aug 29 16:55:48.371 INFO kablam! | Aug 29 16:55:48.371 INFO kablam! 3 | use tetromino_data::TetrominoType; Aug 29 16:55:48.371 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:48.371 INFO kablam! | Aug 29 16:55:48.371 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 16:55:48.371 INFO kablam! Aug 29 16:55:48.372 INFO kablam! warning: unused import: `piece::Tetromino` Aug 29 16:55:48.372 INFO kablam! --> src/game.rs:3:5 Aug 29 16:55:48.372 INFO kablam! | Aug 29 16:55:48.372 INFO kablam! 3 | use piece::Tetromino; Aug 29 16:55:48.372 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 29 16:55:48.372 INFO kablam! Aug 29 16:55:48.372 INFO kablam! warning: unnecessary parentheses around assigned value Aug 29 16:55:48.372 INFO kablam! --> src/game.rs:195:32 Aug 29 16:55:48.372 INFO kablam! | Aug 29 16:55:48.372 INFO kablam! 195 | self.lock_timer -= (1.0 / 60.0); Aug 29 16:55:48.372 INFO kablam! | ^^^^^^^^^^^^ help: remove these parentheses Aug 29 16:55:48.372 INFO kablam! | Aug 29 16:55:48.372 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 16:55:48.372 INFO kablam! Aug 29 16:55:48.374 INFO kablam! warning: unused import: `sim::TetrisSim` Aug 29 16:55:48.374 INFO kablam! --> src/main.rs:15:5 Aug 29 16:55:48.374 INFO kablam! | Aug 29 16:55:48.374 INFO kablam! 15 | use sim::TetrisSim; Aug 29 16:55:48.374 INFO kablam! | ^^^^^^^^^^^^^^ Aug 29 16:55:48.374 INFO kablam! Aug 29 16:55:48.374 INFO kablam! warning: unused import: `grid::SetPieceResult` Aug 29 16:55:48.374 INFO kablam! --> src/main.rs:16:5 Aug 29 16:55:48.374 INFO kablam! | Aug 29 16:55:48.374 INFO kablam! 16 | use grid::SetPieceResult; Aug 29 16:55:48.374 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:48.374 INFO kablam! Aug 29 16:55:48.374 INFO kablam! warning: unused import: `piece::Tetromino` Aug 29 16:55:48.374 INFO kablam! --> src/main.rs:21:5 Aug 29 16:55:48.374 INFO kablam! | Aug 29 16:55:48.374 INFO kablam! 21 | use piece::Tetromino; Aug 29 16:55:48.374 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 29 16:55:48.374 INFO kablam! Aug 29 16:55:48.374 INFO kablam! warning: unused import: `game::TetrisGame` Aug 29 16:55:48.374 INFO kablam! --> src/main.rs:22:5 Aug 29 16:55:48.374 INFO kablam! | Aug 29 16:55:48.374 INFO kablam! 22 | use game::TetrisGame; Aug 29 16:55:48.375 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 29 16:55:48.375 INFO kablam! Aug 29 16:55:48.852 INFO kablam! warning: unused variable: `res` Aug 29 16:55:48.852 INFO kablam! --> src/main.rs:57:33 Aug 29 16:55:48.852 INFO kablam! | Aug 29 16:55:48.852 INFO kablam! 57 | let res = tetris_game.input.hard_drop.down_event(); Aug 29 16:55:48.852 INFO kablam! | ^^^ help: consider using `_res` instead Aug 29 16:55:48.852 INFO kablam! | Aug 29 16:55:48.852 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 16:55:48.852 INFO kablam! Aug 29 16:55:48.852 INFO kablam! warning: unused variable: `res` Aug 29 16:55:48.852 INFO kablam! --> src/main.rs:72:33 Aug 29 16:55:48.852 INFO kablam! | Aug 29 16:55:48.852 INFO kablam! 72 | let res = tetris_game.input.hard_drop.up_event(); Aug 29 16:55:48.852 INFO kablam! | ^^^ help: consider using `_res` instead Aug 29 16:55:48.853 INFO kablam! Aug 29 16:55:48.899 INFO kablam! warning: unused variable: `res` Aug 29 16:55:48.899 INFO kablam! --> src/main.rs:57:33 Aug 29 16:55:48.899 INFO kablam! | Aug 29 16:55:48.899 INFO kablam! 57 | let res = tetris_game.input.hard_drop.down_event(); Aug 29 16:55:48.899 INFO kablam! | ^^^ help: consider using `_res` instead Aug 29 16:55:48.899 INFO kablam! | Aug 29 16:55:48.899 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 16:55:48.899 INFO kablam! Aug 29 16:55:48.899 INFO kablam! warning: unused variable: `res` Aug 29 16:55:48.899 INFO kablam! --> src/main.rs:72:33 Aug 29 16:55:48.899 INFO kablam! | Aug 29 16:55:48.899 INFO kablam! 72 | let res = tetris_game.input.hard_drop.up_event(); Aug 29 16:55:48.899 INFO kablam! | ^^^ help: consider using `_res` instead Aug 29 16:55:48.900 INFO kablam! Aug 29 16:55:48.916 INFO kablam! warning: variable does not need to be mutable Aug 29 16:55:48.916 INFO kablam! --> src/queue.rs:13:13 Aug 29 16:55:48.917 INFO kablam! | Aug 29 16:55:48.917 INFO kablam! 13 | let mut generator = Tetromino7Bag::new(); Aug 29 16:55:48.917 INFO kablam! | ----^^^^^^^^^ Aug 29 16:55:48.917 INFO kablam! | | Aug 29 16:55:48.917 INFO kablam! | help: remove this `mut` Aug 29 16:55:48.917 INFO kablam! | Aug 29 16:55:48.917 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 29 16:55:48.917 INFO kablam! Aug 29 16:55:48.917 INFO kablam! warning: variable does not need to be mutable Aug 29 16:55:48.917 INFO kablam! --> src/queue.rs:14:13 Aug 29 16:55:48.917 INFO kablam! | Aug 29 16:55:48.917 INFO kablam! 14 | let mut buffer = Vec::new(); Aug 29 16:55:48.917 INFO kablam! | ----^^^^^^ Aug 29 16:55:48.917 INFO kablam! | | Aug 29 16:55:48.917 INFO kablam! | help: remove this `mut` Aug 29 16:55:48.917 INFO kablam! Aug 29 16:55:48.934 INFO kablam! warning: variable does not need to be mutable Aug 29 16:55:48.934 INFO kablam! --> src/grid.rs:88:13 Aug 29 16:55:48.934 INFO kablam! | Aug 29 16:55:48.934 INFO kablam! 88 | let mut blocks: Vec<(i32, i32)> = piece.iter().collect(); Aug 29 16:55:48.934 INFO kablam! | ----^^^^^^ Aug 29 16:55:48.934 INFO kablam! | | Aug 29 16:55:48.934 INFO kablam! | help: remove this `mut` Aug 29 16:55:48.934 INFO kablam! Aug 29 16:55:48.957 INFO kablam! warning: method is never used: `move_to` Aug 29 16:55:48.957 INFO kablam! --> src/piece.rs:12:5 Aug 29 16:55:48.957 INFO kablam! | Aug 29 16:55:48.957 INFO kablam! 12 | pub fn move_to(&self, r: i32, c: i32) -> Tetromino { Aug 29 16:55:48.957 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:48.957 INFO kablam! | Aug 29 16:55:48.958 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 16:55:48.958 INFO kablam! Aug 29 16:55:48.958 INFO kablam! warning: method is never used: `move_piece_up` Aug 29 16:55:48.958 INFO kablam! --> src/sim.rs:27:5 Aug 29 16:55:48.958 INFO kablam! | Aug 29 16:55:48.958 INFO kablam! 27 | pub fn move_piece_up(&mut self) -> bool { Aug 29 16:55:48.958 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:48.958 INFO kablam! Aug 29 16:55:48.964 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 16:55:48.964 INFO kablam! --> src/main.rs:116:13 Aug 29 16:55:48.964 INFO kablam! | Aug 29 16:55:48.964 INFO kablam! 116 | canvas.fill_rect(Rect::new(320, (64+4) * i as i32, 64, 64)); Aug 29 16:55:48.964 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:48.964 INFO kablam! | Aug 29 16:55:48.965 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 29 16:55:48.965 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 16:55:48.965 INFO kablam! Aug 29 16:55:48.965 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 16:55:48.965 INFO kablam! --> src/main.rs:123:13 Aug 29 16:55:48.965 INFO kablam! | Aug 29 16:55:48.965 INFO kablam! 123 | canvas.fill_rect(Rect::new(320+64+4, 0, 64, 64)); Aug 29 16:55:48.965 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:48.965 INFO kablam! | Aug 29 16:55:48.965 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 16:55:48.965 INFO kablam! Aug 29 16:55:48.965 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 16:55:48.965 INFO kablam! --> src/main.rs:151:13 Aug 29 16:55:48.965 INFO kablam! | Aug 29 16:55:48.965 INFO kablam! 151 | canvas.draw_rect(block_rect); Aug 29 16:55:48.965 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:48.965 INFO kablam! | Aug 29 16:55:48.966 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 16:55:48.966 INFO kablam! Aug 29 16:55:48.966 INFO kablam! warning: variable does not need to be mutable Aug 29 16:55:48.966 INFO kablam! --> src/queue.rs:13:13 Aug 29 16:55:48.966 INFO kablam! | Aug 29 16:55:48.966 INFO kablam! 13 | let mut generator = Tetromino7Bag::new(); Aug 29 16:55:48.967 INFO kablam! | ----^^^^^^^^^ Aug 29 16:55:48.967 INFO kablam! | | Aug 29 16:55:48.967 INFO kablam! | help: remove this `mut` Aug 29 16:55:48.967 INFO kablam! | Aug 29 16:55:48.967 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 29 16:55:48.967 INFO kablam! Aug 29 16:55:48.967 INFO kablam! warning: variable does not need to be mutable Aug 29 16:55:48.967 INFO kablam! --> src/queue.rs:14:13 Aug 29 16:55:48.967 INFO kablam! | Aug 29 16:55:48.967 INFO kablam! 14 | let mut buffer = Vec::new(); Aug 29 16:55:48.967 INFO kablam! | ----^^^^^^ Aug 29 16:55:48.967 INFO kablam! | | Aug 29 16:55:48.967 INFO kablam! | help: remove this `mut` Aug 29 16:55:48.967 INFO kablam! Aug 29 16:55:48.991 INFO kablam! warning: variable does not need to be mutable Aug 29 16:55:48.991 INFO kablam! --> src/grid.rs:88:13 Aug 29 16:55:48.991 INFO kablam! | Aug 29 16:55:48.991 INFO kablam! 88 | let mut blocks: Vec<(i32, i32)> = piece.iter().collect(); Aug 29 16:55:48.991 INFO kablam! | ----^^^^^^ Aug 29 16:55:48.991 INFO kablam! | | Aug 29 16:55:48.991 INFO kablam! | help: remove this `mut` Aug 29 16:55:48.991 INFO kablam! Aug 29 16:55:49.013 INFO kablam! warning: method is never used: `move_to` Aug 29 16:55:49.013 INFO kablam! --> src/piece.rs:12:5 Aug 29 16:55:49.013 INFO kablam! | Aug 29 16:55:49.013 INFO kablam! 12 | pub fn move_to(&self, r: i32, c: i32) -> Tetromino { Aug 29 16:55:49.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:49.013 INFO kablam! | Aug 29 16:55:49.013 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 16:55:49.013 INFO kablam! Aug 29 16:55:49.013 INFO kablam! warning: method is never used: `move_piece_up` Aug 29 16:55:49.013 INFO kablam! --> src/sim.rs:27:5 Aug 29 16:55:49.014 INFO kablam! | Aug 29 16:55:49.014 INFO kablam! 27 | pub fn move_piece_up(&mut self) -> bool { Aug 29 16:55:49.014 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:49.014 INFO kablam! Aug 29 16:55:49.021 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 16:55:49.021 INFO kablam! --> src/main.rs:116:13 Aug 29 16:55:49.021 INFO kablam! | Aug 29 16:55:49.021 INFO kablam! 116 | canvas.fill_rect(Rect::new(320, (64+4) * i as i32, 64, 64)); Aug 29 16:55:49.021 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:49.021 INFO kablam! | Aug 29 16:55:49.021 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 29 16:55:49.021 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 16:55:49.021 INFO kablam! Aug 29 16:55:49.021 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 16:55:49.021 INFO kablam! --> src/main.rs:123:13 Aug 29 16:55:49.021 INFO kablam! | Aug 29 16:55:49.021 INFO kablam! 123 | canvas.fill_rect(Rect::new(320+64+4, 0, 64, 64)); Aug 29 16:55:49.021 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:49.021 INFO kablam! | Aug 29 16:55:49.021 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 16:55:49.021 INFO kablam! Aug 29 16:55:49.021 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 16:55:49.022 INFO kablam! --> src/main.rs:151:13 Aug 29 16:55:49.022 INFO kablam! | Aug 29 16:55:49.022 INFO kablam! 151 | canvas.draw_rect(block_rect); Aug 29 16:55:49.022 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 16:55:49.022 INFO kablam! | Aug 29 16:55:49.022 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 16:55:49.022 INFO kablam! Aug 29 16:55:49.040 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 9.53s Aug 29 16:55:49.043 INFO kablam! su: No module specific data is present Aug 29 16:55:49.404 INFO running `"docker" "rm" "-f" "5d2a5ecdecbae1e302ea6d519de02ec8d1e1e3730ac75867ab2b4582279772aa"` Aug 29 16:55:49.514 INFO blam! 5d2a5ecdecbae1e302ea6d519de02ec8d1e1e3730ac75867ab2b4582279772aa