Oct 11 06:16:18.754 INFO testing Isan-Rivkin/snake-rs against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 11 06:16:18.754 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 11 06:16:18.754 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-5/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-5/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 11 06:16:19.239 INFO blam! 534277d3d432bfc0e3bb33a3555b1f7ab7d2fef1c421bf726a3ffe99910ed2c1 Oct 11 06:16:19.241 INFO running `"docker" "start" "-a" "534277d3d432bfc0e3bb33a3555b1f7ab7d2fef1c421bf726a3ffe99910ed2c1"` Oct 11 06:16:20.600 INFO kablam! usermod: no changes Oct 11 06:16:21.009 INFO kablam! Compiling libloading v0.5.0 Oct 11 06:16:21.024 INFO kablam! Compiling ordered-float v0.5.1 Oct 11 06:16:21.025 INFO kablam! Compiling pistoncore-input v0.21.0 Oct 11 06:16:21.025 INFO kablam! Compiling image v0.19.0 Oct 11 06:16:23.988 INFO kablam! Compiling rusttype v0.4.3 Oct 11 06:16:27.169 INFO kablam! Compiling dlib v0.4.1 Oct 11 06:16:28.680 INFO kablam! Compiling wayland-sys v0.12.5 Oct 11 06:16:30.180 INFO kablam! Compiling piston2d-graphics v0.26.0 Oct 11 06:16:33.388 INFO kablam! Compiling wayland-client v0.12.5 Oct 11 06:16:33.708 INFO kablam! Compiling pistoncore-window v0.32.0 Oct 11 06:16:40.841 INFO kablam! Compiling wayland-protocols v0.12.5 Oct 11 06:16:40.841 INFO kablam! Compiling wayland-kbd v0.13.1 Oct 11 06:16:41.252 INFO kablam! Compiling pistoncore-event_loop v0.37.0 Oct 11 06:16:46.064 INFO kablam! Compiling piston v0.37.0 Oct 11 06:16:50.738 INFO kablam! Compiling piston-gfx_texture v0.32.0 Oct 11 06:16:53.711 INFO kablam! Compiling wayland-window v0.13.3 Oct 11 06:16:55.896 INFO kablam! Compiling winit v0.12.0 Oct 11 06:16:56.204 INFO kablam! Compiling piston2d-gfx_graphics v0.51.0 Oct 11 06:17:06.373 INFO kablam! Compiling glutin v0.14.0 Oct 11 06:17:11.228 INFO kablam! Compiling pistoncore-glutin_window v0.47.0 Oct 11 06:17:16.886 INFO kablam! Compiling piston_window v0.80.0 Oct 11 06:17:24.309 INFO kablam! Compiling snake v0.1.0 (/source) Oct 11 06:17:31.181 INFO kablam! warning: unused import: `game::Game` Oct 11 06:17:31.181 INFO kablam! --> src/main.rs:11:5 Oct 11 06:17:31.181 INFO kablam! | Oct 11 06:17:31.181 INFO kablam! 11 | use game::Game; Oct 11 06:17:31.181 INFO kablam! | ^^^^^^^^^^ Oct 11 06:17:31.181 INFO kablam! | Oct 11 06:17:31.181 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 11 06:17:31.181 INFO kablam! Oct 11 06:17:31.348 INFO kablam! warning: unused variable: `window` Oct 11 06:17:31.348 INFO kablam! --> src/main.rs:20:13 Oct 11 06:17:31.348 INFO kablam! | Oct 11 06:17:31.348 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 11 06:17:31.348 INFO kablam! | ^^^^^^ help: consider using `_window` instead Oct 11 06:17:31.348 INFO kablam! | Oct 11 06:17:31.348 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 11 06:17:31.348 INFO kablam! Oct 11 06:17:31.348 INFO kablam! warning: variable does not need to be mutable Oct 11 06:17:31.348 INFO kablam! --> src/main.rs:20:9 Oct 11 06:17:31.348 INFO kablam! | Oct 11 06:17:31.348 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 11 06:17:31.348 INFO kablam! | ----^^^^^^ Oct 11 06:17:31.348 INFO kablam! | | Oct 11 06:17:31.348 INFO kablam! | help: remove this `mut` Oct 11 06:17:31.348 INFO kablam! | Oct 11 06:17:31.348 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 11 06:17:31.348 INFO kablam! Oct 11 06:17:31.352 INFO kablam! warning: function is never used: `draw_block` Oct 11 06:17:31.352 INFO kablam! --> src/draw.rs:14:1 Oct 11 06:17:31.352 INFO kablam! | Oct 11 06:17:31.352 INFO kablam! 14 | pub fn draw_block(color : Color, x : i32, y: i32, con : &Context, g: &mut G2d){ Oct 11 06:17:31.352 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.352 INFO kablam! | Oct 11 06:17:31.352 INFO kablam! = note: #[warn(dead_code)] on by default Oct 11 06:17:31.352 INFO kablam! Oct 11 06:17:31.352 INFO kablam! warning: function is never used: `draw_rectangle` Oct 11 06:17:31.352 INFO kablam! --> src/draw.rs:26:1 Oct 11 06:17:31.352 INFO kablam! | Oct 11 06:17:31.352 INFO kablam! 26 | pub fn draw_rectangle(color : Color,x : i32, y:i32,width:i32, height : i32,con : &Context,g:&mut G2d){ Oct 11 06:17:31.352 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.352 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: constant item is never used: `SNAKE_COLOR` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:8:1 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.357 INFO kablam! 8 | const SNAKE_COLOR : Color = [0.00,0.80,0.00,1.0]; Oct 11 06:17:31.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.357 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: variant is never constructed: `Up` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:11:5 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.357 INFO kablam! 11 | Up, Oct 11 06:17:31.357 INFO kablam! | ^^ Oct 11 06:17:31.357 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: variant is never constructed: `Down` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:12:5 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.357 INFO kablam! 12 | Down, Oct 11 06:17:31.357 INFO kablam! | ^^^^ Oct 11 06:17:31.357 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: variant is never constructed: `Left` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:13:5 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.357 INFO kablam! 13 | Left, Oct 11 06:17:31.357 INFO kablam! | ^^^^ Oct 11 06:17:31.357 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: variant is never constructed: `Right` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:14:5 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.357 INFO kablam! 14 | Right, Oct 11 06:17:31.357 INFO kablam! | ^^^^^ Oct 11 06:17:31.357 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: method is never used: `opposite` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:18:5 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.357 INFO kablam! 18 | pub fn opposite(&self)-> Direction{ Oct 11 06:17:31.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.357 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: struct is never constructed: `Snake` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:34:1 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.357 INFO kablam! 34 | pub struct Snake{ Oct 11 06:17:31.357 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 11 06:17:31.357 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: method is never used: `new` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:41:5 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.357 INFO kablam! 41 | pub fn new(x: i32, y: i32)->Snake{ Oct 11 06:17:31.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.357 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: method is never used: `draw` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:62:5 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.357 INFO kablam! 62 | pub fn draw(&self, con: &Context, g: &mut G2d){ Oct 11 06:17:31.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.357 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: method is never used: `head_position` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:67:5 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.357 INFO kablam! 67 | pub fn head_position(&self)->(i32,i32){ Oct 11 06:17:31.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.357 INFO kablam! Oct 11 06:17:31.357 INFO kablam! warning: method is never used: `move_forward` Oct 11 06:17:31.357 INFO kablam! --> src/snake.rs:71:5 Oct 11 06:17:31.357 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 71 | pub fn move_forward(&mut self, dir: Option){ Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: method is never used: `head_direction` Oct 11 06:17:31.358 INFO kablam! --> src/snake.rs:109:5 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 109 | pub fn head_direction(&self)->Direction{ Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: method is never used: `next_head` Oct 11 06:17:31.358 INFO kablam! --> src/snake.rs:112:5 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 112 | pub fn next_head(&self, dir: Option) -> (i32,i32){ Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: method is never used: `restore_tail` Oct 11 06:17:31.358 INFO kablam! --> src/snake.rs:128:5 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 128 | pub fn restore_tail(&mut self){ Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: method is never used: `overlap_tail` Oct 11 06:17:31.358 INFO kablam! --> src/snake.rs:133:5 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 133 | pub fn overlap_tail(&self, x: i32, y:i32)->bool{ Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: constant item is never used: `FOOD_COLOR` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:9:1 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 9 | const FOOD_COLOR : Color = [0.80,0.00,0.00,1.0]; Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: constant item is never used: `BORDER_COLOR` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:10:1 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 10 | const BORDER_COLOR : Color = [0.00,0.00,0.00,1.0]; Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: constant item is never used: `GAMEOVER_COLOR` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:11:1 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 11 | const GAMEOVER_COLOR : Color = [0.90,0.00,0.00,0.5]; Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: constant item is never used: `MOVING_PERIOD` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:14:1 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 14 | const MOVING_PERIOD : f64 = 0.1; Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: constant item is never used: `RESTART_TIME` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:16:1 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 16 | const RESTART_TIME : f64 = 1.0; Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: struct is never constructed: `Game` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:18:1 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 18 | pub struct Game{ Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: method is never used: `new` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:33:5 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 33 | pub fn new(width : i32, height : i32)->Game{ Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: method is never used: `key_pressed` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:45:5 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 45 | pub fn key_pressed(&mut self, key : Key){ Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: method is never used: `draw` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:63:5 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 63 | pub fn draw(&self, con: &Context, g : &mut G2d){ Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: method is never used: `update` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:79:5 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.358 INFO kablam! 79 | pub fn update(&mut self, delta_time: f64){ Oct 11 06:17:31.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.358 INFO kablam! Oct 11 06:17:31.358 INFO kablam! warning: method is never used: `check_eating` Oct 11 06:17:31.358 INFO kablam! --> src/game.rs:96:5 Oct 11 06:17:31.358 INFO kablam! | Oct 11 06:17:31.359 INFO kablam! 96 | fn check_eating(&mut self){ Oct 11 06:17:31.359 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.359 INFO kablam! Oct 11 06:17:31.359 INFO kablam! warning: method is never used: `check_if_snake_alive` Oct 11 06:17:31.359 INFO kablam! --> src/game.rs:104:5 Oct 11 06:17:31.359 INFO kablam! | Oct 11 06:17:31.359 INFO kablam! 104 | fn check_if_snake_alive(&self, dir: Option)->bool{ Oct 11 06:17:31.359 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.359 INFO kablam! Oct 11 06:17:31.359 INFO kablam! warning: method is never used: `add_food` Oct 11 06:17:31.359 INFO kablam! --> src/game.rs:112:5 Oct 11 06:17:31.359 INFO kablam! | Oct 11 06:17:31.359 INFO kablam! 112 | pub fn add_food(&mut self){ Oct 11 06:17:31.359 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.359 INFO kablam! Oct 11 06:17:31.359 INFO kablam! warning: method is never used: `update_snake` Oct 11 06:17:31.359 INFO kablam! --> src/game.rs:126:5 Oct 11 06:17:31.359 INFO kablam! | Oct 11 06:17:31.359 INFO kablam! 126 | fn update_snake(&mut self, dir: Option){ Oct 11 06:17:31.359 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.359 INFO kablam! Oct 11 06:17:31.359 INFO kablam! warning: method is never used: `restart` Oct 11 06:17:31.359 INFO kablam! --> src/game.rs:136:5 Oct 11 06:17:31.359 INFO kablam! | Oct 11 06:17:31.359 INFO kablam! 136 | fn restart(&mut self){ Oct 11 06:17:31.359 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.359 INFO kablam! Oct 11 06:17:31.359 INFO kablam! warning: constant item is never used: `BACKGROUND_COLOR` Oct 11 06:17:31.359 INFO kablam! --> src/main.rs:14:1 Oct 11 06:17:31.359 INFO kablam! | Oct 11 06:17:31.359 INFO kablam! 14 | const BACKGROUND_COLOR : Color = [0.5,0.5,0.5,1.0]; Oct 11 06:17:31.359 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:31.359 INFO kablam! Oct 11 06:17:35.196 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1m 14s Oct 11 06:17:35.211 INFO kablam! su: No module specific data is present Oct 11 06:17:36.021 INFO running `"docker" "rm" "-f" "534277d3d432bfc0e3bb33a3555b1f7ab7d2fef1c421bf726a3ffe99910ed2c1"` Oct 11 06:17:36.260 INFO blam! 534277d3d432bfc0e3bb33a3555b1f7ab7d2fef1c421bf726a3ffe99910ed2c1 Oct 11 06:17:36.267 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 11 06:17:36.267 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-5/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-5/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 11 06:17:36.788 INFO blam! 1429c2dde3a3e5f43b1a02858d330486c12d1e3a7972ebc63a28c16c31e90931 Oct 11 06:17:36.800 INFO running `"docker" "start" "-a" "1429c2dde3a3e5f43b1a02858d330486c12d1e3a7972ebc63a28c16c31e90931"` Oct 11 06:17:38.088 INFO kablam! usermod: no changes Oct 11 06:17:38.532 INFO kablam! Compiling snake v0.1.0 (/source) Oct 11 06:17:46.144 INFO kablam! warning: unused import: `game::Game` Oct 11 06:17:46.144 INFO kablam! --> src/main.rs:11:5 Oct 11 06:17:46.144 INFO kablam! | Oct 11 06:17:46.144 INFO kablam! 11 | use game::Game; Oct 11 06:17:46.144 INFO kablam! | ^^^^^^^^^^ Oct 11 06:17:46.144 INFO kablam! | Oct 11 06:17:46.144 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 11 06:17:46.144 INFO kablam! Oct 11 06:17:46.312 INFO kablam! warning: unused variable: `window` Oct 11 06:17:46.312 INFO kablam! --> src/main.rs:20:13 Oct 11 06:17:46.312 INFO kablam! | Oct 11 06:17:46.312 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 11 06:17:46.312 INFO kablam! | ^^^^^^ help: consider using `_window` instead Oct 11 06:17:46.312 INFO kablam! | Oct 11 06:17:46.312 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 11 06:17:46.312 INFO kablam! Oct 11 06:17:46.312 INFO kablam! warning: variable does not need to be mutable Oct 11 06:17:46.312 INFO kablam! --> src/main.rs:20:9 Oct 11 06:17:46.312 INFO kablam! | Oct 11 06:17:46.312 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 11 06:17:46.312 INFO kablam! | ----^^^^^^ Oct 11 06:17:46.312 INFO kablam! | | Oct 11 06:17:46.312 INFO kablam! | help: remove this `mut` Oct 11 06:17:46.312 INFO kablam! | Oct 11 06:17:46.312 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 11 06:17:46.312 INFO kablam! Oct 11 06:17:46.329 INFO kablam! warning: function is never used: `draw_block` Oct 11 06:17:46.329 INFO kablam! --> src/draw.rs:14:1 Oct 11 06:17:46.329 INFO kablam! | Oct 11 06:17:46.329 INFO kablam! 14 | pub fn draw_block(color : Color, x : i32, y: i32, con : &Context, g: &mut G2d){ Oct 11 06:17:46.329 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.329 INFO kablam! | Oct 11 06:17:46.329 INFO kablam! = note: #[warn(dead_code)] on by default Oct 11 06:17:46.329 INFO kablam! Oct 11 06:17:46.329 INFO kablam! warning: function is never used: `draw_rectangle` Oct 11 06:17:46.329 INFO kablam! --> src/draw.rs:26:1 Oct 11 06:17:46.329 INFO kablam! | Oct 11 06:17:46.329 INFO kablam! 26 | pub fn draw_rectangle(color : Color,x : i32, y:i32,width:i32, height : i32,con : &Context,g:&mut G2d){ Oct 11 06:17:46.329 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.329 INFO kablam! Oct 11 06:17:46.329 INFO kablam! warning: constant item is never used: `SNAKE_COLOR` Oct 11 06:17:46.329 INFO kablam! --> src/snake.rs:8:1 Oct 11 06:17:46.329 INFO kablam! | Oct 11 06:17:46.329 INFO kablam! 8 | const SNAKE_COLOR : Color = [0.00,0.80,0.00,1.0]; Oct 11 06:17:46.329 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.329 INFO kablam! Oct 11 06:17:46.329 INFO kablam! warning: variant is never constructed: `Up` Oct 11 06:17:46.329 INFO kablam! --> src/snake.rs:11:5 Oct 11 06:17:46.329 INFO kablam! | Oct 11 06:17:46.329 INFO kablam! 11 | Up, Oct 11 06:17:46.329 INFO kablam! | ^^ Oct 11 06:17:46.329 INFO kablam! Oct 11 06:17:46.329 INFO kablam! warning: variant is never constructed: `Down` Oct 11 06:17:46.329 INFO kablam! --> src/snake.rs:12:5 Oct 11 06:17:46.329 INFO kablam! | Oct 11 06:17:46.329 INFO kablam! 12 | Down, Oct 11 06:17:46.329 INFO kablam! | ^^^^ Oct 11 06:17:46.329 INFO kablam! Oct 11 06:17:46.329 INFO kablam! warning: variant is never constructed: `Left` Oct 11 06:17:46.329 INFO kablam! --> src/snake.rs:13:5 Oct 11 06:17:46.329 INFO kablam! | Oct 11 06:17:46.329 INFO kablam! 13 | Left, Oct 11 06:17:46.329 INFO kablam! | ^^^^ Oct 11 06:17:46.329 INFO kablam! Oct 11 06:17:46.329 INFO kablam! warning: variant is never constructed: `Right` Oct 11 06:17:46.329 INFO kablam! --> src/snake.rs:14:5 Oct 11 06:17:46.329 INFO kablam! | Oct 11 06:17:46.329 INFO kablam! 14 | Right, Oct 11 06:17:46.329 INFO kablam! | ^^^^^ Oct 11 06:17:46.329 INFO kablam! Oct 11 06:17:46.329 INFO kablam! warning: method is never used: `opposite` Oct 11 06:17:46.329 INFO kablam! --> src/snake.rs:18:5 Oct 11 06:17:46.329 INFO kablam! | Oct 11 06:17:46.329 INFO kablam! 18 | pub fn opposite(&self)-> Direction{ Oct 11 06:17:46.329 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.329 INFO kablam! Oct 11 06:17:46.329 INFO kablam! warning: struct is never constructed: `Snake` Oct 11 06:17:46.329 INFO kablam! --> src/snake.rs:34:1 Oct 11 06:17:46.329 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 34 | pub struct Snake{ Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: method is never used: `new` Oct 11 06:17:46.330 INFO kablam! --> src/snake.rs:41:5 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 41 | pub fn new(x: i32, y: i32)->Snake{ Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: method is never used: `draw` Oct 11 06:17:46.330 INFO kablam! --> src/snake.rs:62:5 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 62 | pub fn draw(&self, con: &Context, g: &mut G2d){ Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: method is never used: `head_position` Oct 11 06:17:46.330 INFO kablam! --> src/snake.rs:67:5 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 67 | pub fn head_position(&self)->(i32,i32){ Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: method is never used: `move_forward` Oct 11 06:17:46.330 INFO kablam! --> src/snake.rs:71:5 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 71 | pub fn move_forward(&mut self, dir: Option){ Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: method is never used: `head_direction` Oct 11 06:17:46.330 INFO kablam! --> src/snake.rs:109:5 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 109 | pub fn head_direction(&self)->Direction{ Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: method is never used: `next_head` Oct 11 06:17:46.330 INFO kablam! --> src/snake.rs:112:5 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 112 | pub fn next_head(&self, dir: Option) -> (i32,i32){ Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: method is never used: `restore_tail` Oct 11 06:17:46.330 INFO kablam! --> src/snake.rs:128:5 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 128 | pub fn restore_tail(&mut self){ Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: method is never used: `overlap_tail` Oct 11 06:17:46.330 INFO kablam! --> src/snake.rs:133:5 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 133 | pub fn overlap_tail(&self, x: i32, y:i32)->bool{ Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: constant item is never used: `FOOD_COLOR` Oct 11 06:17:46.330 INFO kablam! --> src/game.rs:9:1 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 9 | const FOOD_COLOR : Color = [0.80,0.00,0.00,1.0]; Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: constant item is never used: `BORDER_COLOR` Oct 11 06:17:46.330 INFO kablam! --> src/game.rs:10:1 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 10 | const BORDER_COLOR : Color = [0.00,0.00,0.00,1.0]; Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: constant item is never used: `GAMEOVER_COLOR` Oct 11 06:17:46.330 INFO kablam! --> src/game.rs:11:1 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 11 | const GAMEOVER_COLOR : Color = [0.90,0.00,0.00,0.5]; Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: constant item is never used: `MOVING_PERIOD` Oct 11 06:17:46.330 INFO kablam! --> src/game.rs:14:1 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 14 | const MOVING_PERIOD : f64 = 0.1; Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: constant item is never used: `RESTART_TIME` Oct 11 06:17:46.330 INFO kablam! --> src/game.rs:16:1 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 16 | const RESTART_TIME : f64 = 1.0; Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: struct is never constructed: `Game` Oct 11 06:17:46.330 INFO kablam! --> src/game.rs:18:1 Oct 11 06:17:46.330 INFO kablam! | Oct 11 06:17:46.330 INFO kablam! 18 | pub struct Game{ Oct 11 06:17:46.330 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 11 06:17:46.330 INFO kablam! Oct 11 06:17:46.330 INFO kablam! warning: method is never used: `new` Oct 11 06:17:46.331 INFO kablam! --> src/game.rs:33:5 Oct 11 06:17:46.331 INFO kablam! | Oct 11 06:17:46.331 INFO kablam! 33 | pub fn new(width : i32, height : i32)->Game{ Oct 11 06:17:46.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.331 INFO kablam! Oct 11 06:17:46.331 INFO kablam! warning: method is never used: `key_pressed` Oct 11 06:17:46.331 INFO kablam! --> src/game.rs:45:5 Oct 11 06:17:46.331 INFO kablam! | Oct 11 06:17:46.331 INFO kablam! 45 | pub fn key_pressed(&mut self, key : Key){ Oct 11 06:17:46.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.331 INFO kablam! Oct 11 06:17:46.331 INFO kablam! warning: method is never used: `draw` Oct 11 06:17:46.331 INFO kablam! --> src/game.rs:63:5 Oct 11 06:17:46.331 INFO kablam! | Oct 11 06:17:46.331 INFO kablam! 63 | pub fn draw(&self, con: &Context, g : &mut G2d){ Oct 11 06:17:46.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.331 INFO kablam! Oct 11 06:17:46.331 INFO kablam! warning: method is never used: `update` Oct 11 06:17:46.331 INFO kablam! --> src/game.rs:79:5 Oct 11 06:17:46.331 INFO kablam! | Oct 11 06:17:46.331 INFO kablam! 79 | pub fn update(&mut self, delta_time: f64){ Oct 11 06:17:46.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.331 INFO kablam! Oct 11 06:17:46.331 INFO kablam! warning: method is never used: `check_eating` Oct 11 06:17:46.331 INFO kablam! --> src/game.rs:96:5 Oct 11 06:17:46.331 INFO kablam! | Oct 11 06:17:46.331 INFO kablam! 96 | fn check_eating(&mut self){ Oct 11 06:17:46.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.331 INFO kablam! Oct 11 06:17:46.331 INFO kablam! warning: method is never used: `check_if_snake_alive` Oct 11 06:17:46.331 INFO kablam! --> src/game.rs:104:5 Oct 11 06:17:46.331 INFO kablam! | Oct 11 06:17:46.331 INFO kablam! 104 | fn check_if_snake_alive(&self, dir: Option)->bool{ Oct 11 06:17:46.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.331 INFO kablam! Oct 11 06:17:46.331 INFO kablam! warning: method is never used: `add_food` Oct 11 06:17:46.331 INFO kablam! --> src/game.rs:112:5 Oct 11 06:17:46.331 INFO kablam! | Oct 11 06:17:46.331 INFO kablam! 112 | pub fn add_food(&mut self){ Oct 11 06:17:46.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.331 INFO kablam! Oct 11 06:17:46.331 INFO kablam! warning: method is never used: `update_snake` Oct 11 06:17:46.331 INFO kablam! --> src/game.rs:126:5 Oct 11 06:17:46.331 INFO kablam! | Oct 11 06:17:46.331 INFO kablam! 126 | fn update_snake(&mut self, dir: Option){ Oct 11 06:17:46.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.331 INFO kablam! Oct 11 06:17:46.331 INFO kablam! warning: method is never used: `restart` Oct 11 06:17:46.331 INFO kablam! --> src/game.rs:136:5 Oct 11 06:17:46.331 INFO kablam! | Oct 11 06:17:46.331 INFO kablam! 136 | fn restart(&mut self){ Oct 11 06:17:46.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.331 INFO kablam! Oct 11 06:17:46.331 INFO kablam! warning: constant item is never used: `BACKGROUND_COLOR` Oct 11 06:17:46.331 INFO kablam! --> src/main.rs:14:1 Oct 11 06:17:46.331 INFO kablam! | Oct 11 06:17:46.331 INFO kablam! 14 | const BACKGROUND_COLOR : Color = [0.5,0.5,0.5,1.0]; Oct 11 06:17:46.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:17:46.331 INFO kablam! Oct 11 06:17:46.926 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 8.80s Oct 11 06:17:46.940 INFO kablam! su: No module specific data is present Oct 11 06:17:47.706 INFO running `"docker" "rm" "-f" "1429c2dde3a3e5f43b1a02858d330486c12d1e3a7972ebc63a28c16c31e90931"` Oct 11 06:17:48.072 INFO blam! 1429c2dde3a3e5f43b1a02858d330486c12d1e3a7972ebc63a28c16c31e90931 Oct 11 06:17:48.077 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 11 06:17:48.077 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-5/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-5/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 11 06:17:48.450 INFO blam! 7b89a6ec1fec62b1d531fe87050f9dbc63b3fd4305a7bce52213eaa5d521d0b8 Oct 11 06:17:48.453 INFO running `"docker" "start" "-a" "7b89a6ec1fec62b1d531fe87050f9dbc63b3fd4305a7bce52213eaa5d521d0b8"` Oct 11 06:17:49.550 INFO kablam! usermod: no changes Oct 11 06:17:49.768 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.19s Oct 11 06:17:49.791 INFO kablam! Running /target/debug/deps/snake-6c91285087f1319b Oct 11 06:17:49.793 INFO blam! Oct 11 06:17:49.793 INFO blam! running 0 tests Oct 11 06:17:49.793 INFO blam! Oct 11 06:17:49.793 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 11 06:17:49.793 INFO blam! Oct 11 06:17:49.795 INFO kablam! su: No module specific data is present Oct 11 06:17:50.440 INFO running `"docker" "rm" "-f" "7b89a6ec1fec62b1d531fe87050f9dbc63b3fd4305a7bce52213eaa5d521d0b8"` Oct 11 06:17:50.716 INFO blam! 7b89a6ec1fec62b1d531fe87050f9dbc63b3fd4305a7bce52213eaa5d521d0b8